MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.138.69.101
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/comfortaircon.co/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/comfortaircon.co/index.php
<?php
include_once('admin/config.php');
// manage site 
$sql = "SELECT * FROM `tbl_sitedown`";
$run = mysqli_query($db,$sql) or die("Query Not run");
$data = mysqli_fetch_assoc($run);

if($data['site_down']=='No'){
    $sql1 = "SELECT * FROM `tbl_home` WHERE id=1";
    $run1 = mysqli_query($db,$sql1) or die("Query Not run");
    $data1 = mysqli_fetch_assoc($run1);
    
    // for 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);
    
    // for contact
    $sql2 = "SELECT * FROM `tbl_contact` WHERE c_id=1";
    $run2 = mysqli_query($db,$sql2) or die("Query Not run");
    $data2 = mysqli_fetch_assoc($run2);
    
    // for social and footer
    $sql3 = "SELECT * FROM `tbl_footer` WHERE f_id=1";
    $run3 = mysqli_query($db,$sql3) or die("Query Not run");
    $data3 = mysqli_fetch_assoc($run3);

?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $data1['meta_title']?></title>
    <meta name="description" content="<?php echo $data1['meta_desc']?>">
    
    <?php echo $datal["index_follow"];?>
    
    <meta name="google-site-verification" content="<?php echo $datal["site_verification"]; ?>" />
    
    <?php echo $datal["google_analytic"]; ?>
    
    <?php include 'top-link.php';?>

</head>
<body>
<?php include 'header.php';?>
<?php include 'slider.php';?>
<?php include 'index-feature.php';?>
<?php include 'index-about.php';?>
<?php include 'index-service.php';?>
<?php include 'index-cta.php';?>
<?php include 'index-counter.php';?>
<?php include 'testiminial.php';?>
<?php include 'form.php';?>
<?php include 'footer.php';?>
<?php
}else{ 
    echo $data['message'];
    }
?>
</body>
</html

MMCT - 2023