Server : LiteSpeed System : Linux in-mum-web1112.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64 User : u451330669 ( 451330669) PHP Version : 8.2.27 Disable Function : NONE Directory : /home/u451330669/domains/thedeepenterprise.com/public_html/ |
<?php
require('connection.inc.php');
require('functions.inc.php');
$cat_res=mysqli_query($con,"select * from categories where status=1 order by categories asc");
$cat_arr=array();
while($row=mysqli_fetch_assoc($cat_res)){
$cat_arr[]=$row;
}
$script_name=$_SERVER['SCRIPT_NAME'];
$script_name_arr=explode('/',$script_name);
$mypage=$script_name_arr[count($script_name_arr)-1];
$meta_title="";
$meta_desc="";
$meta_keyword="";
$meta_url=SITE_PATH;
$image="";
$image_required='required';
$meta_url='';
if($mypage=='productdetail.php'){
$product_id=get_safe_value($con,$_GET['id']);
$product_meta=mysqli_fetch_assoc(mysqli_query($con,"select * from product where id='$product_id'"));
$meta_title=$product_meta['meta_title'];
$meta_desc=$product_meta['meta_desc'];
$meta_keyword=$product_meta['meta_keyword'];
$meta_url=SITE_PATH."productdetail.php?id=".$product_id;
$image=$product_meta['image'];
$meta_url=SITE_PATH."productdetail.php?id=".$product_id;
}if($mypage=='contact.php'){
$meta_title='Contact Us';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title name="title"><?php echo $meta_title?></title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="description" content="<?php echo $meta_desc?>">
<meta name="keywords" content="<?php echo $meta_keyword?>">
<meta property="og:image" content="<?php echo PRODUCT_IMAGE_SITE_PATH.$image?>" />
<meta property="og:image:width" content="517">
<meta property="og:image:height" content="427">
<meta property="og:title" content="<?php echo $meta_keyword?>">
<meta name="twitter:description" content="<?php echo $meta_keyword?>">
<meta name="news_keywords" content="<?php echo $meta_desc?>">
<meta property="og:url" content="<?php echo $meta_url?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
<!-- Google Web Fonts -->
<link href="assets/images/favicon/favicon.png" rel="shortcut icon" type="image/png">
<link href="assets/images/favicon/apple-touch-icon-57x57.png" rel="apple-touch-icon" sizes="57x57">
<link href="assets/images/favicon/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
<link href="assets/images/favicon/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
<link href="assets/images/favicon/apple-touch-icon-144x144.png" rel="apple-touch-icon" sizes="144x144">
<!-- Icon fonts -->
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
<link href="assets/css/flaticon.css" rel="stylesheet">
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<!-- Plugins for this template -->
<link href="assets/css/animate.css" rel="stylesheet">
<link href="assets/css/owl.carousel.css" rel="stylesheet">
<link href="assets/css/owl.theme.css" rel="stylesheet">
<link href="assets/css/slick.css" rel="stylesheet">
<link href="assets/css/slick-theme.css" rel="stylesheet">
<link href="assets/css/owl.transitions.css" rel="stylesheet">
<link href="assets/css/jquery.fancybox.css" rel="stylesheet">
<link href="assets/css/jquery.mCustomScrollbar.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="assets/css/style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- start page-wrapper -->
<div class="page-wrapper">
<!-- start preloader -->
<div class="preloader">
<div class="preloader-inner">
<img src="assets/images/preloader.gif" alt>
</div>
</div>
<!-- end preloader -->
<!-- Start header -->
<header id="header" class="site-header header-style-5">
<div class="topbar topbar-style-2">
<div class="container">
<div class="row">
<div class="col col-sm-7">
<div class="topbar-contact-info-wrapper">
<div class="topbar-contact-info">
<div>
<i class="fa fa-location-arrow"></i>
<div class="details">
<p>Ahmedabad-380024, Gujarat, India</p>
</div>
</div>
<div>
<i class="fa fa-phone"></i>
<div class="details">
<p>+91 93270 525827</p>
</div>
</div>
</div>
</div>
</div>
<div class="col col-sm-5">
<div class="social">
<span>Follow: </span>
<ul class="social-links">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-pinterest"></i></a></li>
<li><a href="#"><i class="fa fa-rss"></i></a></li>
</ul>
</div>
</div>
</div>
</div> <!-- end container -->
</div> <!-- end topbar -->
<div class="lower-topbar">
<div class="container">
<div class="row">
<div class="col col-sm-3">
<div class="site-logo">
<a href="index-2.html"><img src="logo.png" alt></a>
</div>
</div>
<div class="col col-sm-9">
<div class="awards">
<div>
<div class="icon"><i class="fi flaticon-title"></i></div>
<div class="award-info">
<h4>Global Certified</h4>
<p>ISO 9001:2016</p>
</div>
</div>
<div>
<div class="icon"><i class="fi flaticon-medal"></i></div>
<div class="award-info">
<h4>Winner</h4>
<p>Construction award 2016</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end lower-topbar -->
<nav class="navigation navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="open-btn">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navbar" class="navbar-collapse collapse navigation-holder">
<button class="close-navbar"><i class="fa fa-close"></i></button>
<ul class="nav navbar-nav">
<li><a href="index.php">Home</a></li>
<li class="menu-item-has-children">
<a href="/">Product</a>
<ul class="sub-menu">
<?php
foreach($cat_arr as $list){
?>
<li class="menu-item-has-children">
<a href="categories.php?id=<?php echo $list['id']?>"><?php echo $list['categories']?></a>
<?php
$cat_id=$list['id'];
$product_res=mysqli_query($con,"select * from product where status='1' and categories_id='$cat_id'");
if(mysqli_num_rows($product_res)>0){
?>
<ul class="sub-menu">
<?php
while($product_rows=mysqli_fetch_assoc($product_res)){
echo '<li><a href="productdetail.php?id='.$product_rows['id'].'">'.$product_rows['name'].'</a></li>
';
}
?>
</ul><?php } ?>
</li>
<?php
}
?>
</ul>
</li>
<li><a href="about.php">About</a></li>
<li><a href="projects.php">Projects</a></li>
<li><a href="contact.php">Contact</a></li>
<li><a href="#">Catalogue</a></li>
</ul>
</div><!-- end of nav-collapse -->
<a href="#" class="theme-btn-s2 request-quote">Request Quote</a>
</div><!-- end of container -->
</nav> <!-- end navigation -->
</header>
<!-- end of header -->