MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.225.56.79
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/parthaquafresh.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/parthaquafresh.com/product-details.php
<?php include("site-header.php"); ?>

<?php
$pro_url=$_REQUEST['pro_url'];
$pro_id=db_scalar("select category_id from tbl_category where category_url='$pro_url' ");
if($pro_id=="")
{
	header("location:error.html");
}
$pro_res=mysqli_fetch_array(db_query("select * from tbl_category where category_id='$pro_id' "));
?>



<section class="page-title-area">
<div class="container">
<div class="page-title-content">
<h1><?=$pro_res['category_name']?></h1>
<ul>
<li><a href="<?=$site_url?>">Home</a></li>
<li><?=$pro_res['category_name']?></li>
</ul>
</div>
</div>
</section>


<section class="product-details-area pt-70 pb-40">
<div class="container">
<div class="row">
<div class="col-lg-5 col-md-12">
<div class="products-details-image">
<ul class="products-details-image-slides owl-theme owl-carousel" data-slider-id="1">
<li><img src="<?=$site_url?>/uploaded_files/<?=$pro_res['category_image_name']?>" alt="<?=$pro_res['category_name']?>" title="<?=$pro_res['category_name']?>"></li>

<?php
$img_sql=db_query("select * from tbl_category_image where category_image_status='Active' and category_image_cat_id='$pro_res[category_id]' order by category_image_id desc");
while($img_res=mysqli_fetch_array($img_sql))
	{?>
<li><img src="<?=$site_url?>/category_more_images/<?=$img_res['category_image_name']?>" alt="<?=$pro_res['category_name']?>" title="<?=$pro_res['category_name']?>"></li>
<?}?>

</ul>

<div class="owl-thumbs products-details-image-slides-owl-thumbs" data-slider-id="1">
<div class="owl-thumb-item">
<img src="<?=$site_url?>/uploaded_files/<?=$pro_res['category_image_name']?>" alt="image">
</div>

<?php
$img_sql1=db_query("select * from tbl_category_image where category_image_status='Active' and category_image_cat_id='$pro_res[category_id]' order by category_image_id desc");
while($img_res1=mysqli_fetch_array($img_sql1))
	{?>
<div class="owl-thumb-item">
<img src="<?=$site_url?>/category_more_images/<?=$img_res1['category_image_name']?>" alt="<?=$pro_res['category_name']?>" title="<?=$pro_res['category_name']?>">
</div>
<?}?>


    
</div>
</div>
</div>
<div class="col-lg-7 col-md-12">
<div class="products-details-desc">
<h3><?=$pro_res['category_name']?></h3>
<?=$pro_res['category_description']?>
<div class="buy-checkbox-btn">

<div class="item">
<a href="<?=$site_url?>/enquiry.html" class="default-btn">Enquiry Now</a>
</div>
</div>
</div>
</div>

</div>
 </div>

</section>
<?php include("site-footer.php"); ?>

MMCT - 2023