MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.218.99.80
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/index-new-arrival.php

<?php
$new_sql=db_query("select * from tbl_category where category_for_home='Yes' and category_status='Active' and category_parent_id!=0 limit 8");
if(mysqli_num_rows($new_sql)>0)
{
?>
<section class="products-area pb-40">
<div class="container">
<div class="section-title">
<h2>New Arrivals Products</h2>
</div>
<div class="row">

<?php
while($new_res=mysqli_fetch_array($new_sql))
  {
$cat_url=db_scalar("select category_url from tbl_category where category_id='$new_res[category_parent_id]' ");
    ?>
<div class="col-lg-3 col-md-4 col-sm-6 change_color_hover">
<div class="single-products-box">
<div class="image ">
<a href="<?=$site_url?>/<?=$new_res['category_url']?>.html" class="d-block">
	<img src="<?=$site_url?>/uploaded_files/<?=$new_res['category_image_name']?>" alt="<?=$new_res['category_name']?>" title="<?=$new_res['category_name']?>">
</a>
</div>
<div class="content">
<h3><a href="<?=$site_url?>/<?=$new_res['category_url']?>.html"><?=$new_res['category_name']?></a></h3>
</div>
</div>
</div>
<?}?>  
    
 

</div>
</div>
</section>

<?}?>

MMCT - 2023