Server IP : 103.53.40.154 / Your IP : 3.16.70.99 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/mauliconstruction.co.in/../serenehomz.com/../ntimachinery.com/inc/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $user_details=user_det(); $logo_details=logo_det(); ?> <?php $title=$_SERVER['REQUEST_URI']; $title=explode('/',$title); $title=$title[1]; if(!empty($title)) { $condi=array('title'=>$title); $page_condi=array('page_url'=>$title); $pages=get_data('cms_menu',$page_condi,"="); foreach($pages as $menu){ $page_name=$menu['page_name']; $page_title=$menu['page_title']; $youtube_url=$menu['youtube_url']; $page_description=$menu['page_description']; $page_keyword=$menu['page_keyword']; $page_url=$menu['page_url']; $page_description=$menu['page_description']; $meta_description=$menu['message']; $up_image=$menu['up_image']; $himage=$menu['himage']; $middle=$menu['fvicon']; } }elseif($_GET['alias']){ $alias=$_GET['alias']; $condi=array('ct_pd_url'=>$alias,'status'=>1); $categories=get_data('cat_prod',$condi,"="); foreach($categories as $cat){ $meta_description=$cat['ct_pd_mt_ds']; $page_title=$cat['ct_pd_title']; $page_url=$cat['ct_pd_url']; } }else{ //$condi=array('title'=>'home'); $page_condi=array('page_url'=>'home'); $pages=get_data('cms_menu',$page_condi,"="); foreach($pages as $menu){ $page_name=$menu['page_name']; $page_title=$menu['page_title']; $page_keyword=$menu['page_keyword']; $page_url=$menu['page_url']; $page_description=$menu['page_description']; $meta_description=$menu['message']; $up_image=$menu['up_image']; $himage=$menu['himage']; $middle=$menu['fvicon']; } } $footers=get_data('users'); foreach($footers as $footer){ $mobile=$footer['mobile']; $enquiry_email=$footer['enquiry_email']; $address=$footer['address']; $website=$footer['website']; $facebook_link=$footer['facebook_link']; $twittter_link=$footer['twittter_link']; $linkedin_link=$footer['linkedin_link']; $instagram_link=$footer['instagram_link']; $youtube_link=$footer['youtube_link']; $pinterest_link=$footer['pinterest_link']; $whatsapp_number=$footer['whatsapp_number']; $copyright=$footer['copyright']; $google_map=$footer['google_map']; } if(!empty($_SESSION['authuserid']) && isset($_SESSION['authuserid'])) { $authemailid= $_SESSION['authuserid']; $data=array('email'=>$authemailid); $authuser=get_data('tbl_user',$data,"="); foreach($authuser as $auser) { $authid=$auser['id']; $auth_email=$auser['email']; $auth_first_name=$auser['first_name']; $auth_last_name=$auser['last_name']; $auth_address=$auser['address']; $auth_mobile=$auser['mobile']; $auth_city=$auser['city']; $auth_state=$auser['state']; $auth_country=$auser['country']; $auth_pincode=$auser['pincode']; } } ?> <header class="main-header header-style-one"> <div class="auto-container"> <div class="header-lower"> <div class="main-box clearfix"> <div class="logo-box"> <div class="logo"><a href="<?=BASE_URL?>"><img src="<?=BASE_URL_IMG?>uploads/logo/<?=$logo_details['logo_image']?>" alt="" title=""></a></div> </div> <div class="nav-outer clearfix"> <!-- Main Menu --> <nav class="main-menu navbar-expand-md "> <div class="navbar-header"> <!-- Toggle Button --> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="icon flaticon-menu-button"></span> </button> </div> <div class="collapse navbar-collapse clearfix" id="navbarSupportedContent"> <ul class="navigation clearfix"> <?php $menus=get_data('cms_menu'); $i=1; foreach($menus as $menu){ if($i==1){ $active="active"; }else{ $active=""; } if($menu['page_category']=='yes'){ ?> <li class="dropdown"><a href="<?php base_url().$menu["page_url"]?>/" ><?php echo $menu["page_name"]; ?><i class="ion-ios-arrow-down"></i></a> <ul> <?php $condi=array('category_id'=>$menu['id'],'sub_category_id'=>0); $produts_menu=get_data('cat_prod',$condi,"="); foreach($produts_menu as $prodcut_menu){ ?> <li><a href="<?php echo BASE_URL().'product-detail/'.$prodcut_menu['ct_pd_url']; ?>/" ><?php echo $prodcut_menu['ct_pd_name']; ?></a></li> <?php } ?> </ul> <?php }else{ if($menu["page_url"] == 'home'){ $menuurl=""; }else{ $menuurl=$menu["page_url"].'/'; } echo '<li ><a href="'.BASE_URL().$menuurl.'">'.$menu["page_name"].'</a></li>'; } $i++; } ?> <ul> </div> </nav><!-- Main Menu End--> <!-- Outer Box--> <div class="outer-box"> <!--Search Box--> <div class="search-box-outer"> <div class="dropdown"> <a href="<?=BASE_URL?>contact-us.php" class="theme-btn btn-style-one">Send Query</a> </div> </div> </div> </div> </div> </div> </div> </header> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>