MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.63.148
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  ]

Current File : /home2/ppcad7no/semipreciousslab.com/featured-products.php
<?php
$sql_hot=db_query("select * from tbl_category where 1 and category_status='Active' and category_is_featured='Yes' order by rand() limit 0,3");
if(mysqli_num_rows($sql_hot)>0){
?>
<section id="events" class="padd-100">
			<span class="section-suptitle text-center"> Our Prodcts </span>
			<h2 class="section-title sep-type-2 text-center"> FEATURED PRODUCTS </h2>
			<div class="container">
				<div class="row">
					<div class="col-sm-12  no-padd event-carousel1">
							
<?php
while($HOT_DATA=mysqli_fetch_array($sql_hot)){
@extract($HOT_DATA);
?>                            
                            <div class="col-md-4 col-xs-12 event-item prod">
								<img src="<?=$site_url?>/uploaded_files/<?=$HOT_DATA['category_image_name']?>" alt="<?=$HOT_DATA['category_name']?>" title="<?=$HOT_DATA['category_name']?>"  >
								<div>
									<h3><?=$HOT_DATA['category_name']?></h3>
<?=substr($HOT_DATA['category_description'],0,90)?>

<p><br />
<a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html">Read More</a></p>
								</div>

							</div>

<?php 
}
?>

							
							
                          </div>
				</div>
			</div>
		</section>
<?php
}
?>

MMCT - 2023