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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/sssktrust.com/hot-products.php
<?php
	 $sql_hot=db_query("select * from tbl_category where 1 and category_status='Active' and category_is_hot='Yes' order by rand() limit 0,4");
	 if(mysqli_num_rows($sql_hot)>0){
		 ?>
<div class="container">
<div class="row">
      <div class="col-md-12">
        <section>
          <h2 class="section-title">HOT <?php if($compDATA['admin_product_option']=='Yes'){ ?>Products<? }else{ ?>Services<? } ?></h2>
        </section>
      </div>
    </div>
    </div>
<div id="feature">
  <div class="container">
    <div class="row">
      <?php
	  while($HOT_DATA=mysqli_fetch_array($sql_hot)){
	  @extract($HOT_DATA);
	?>
      <div class="col-md-3 feature-item">
        <img src="<?=$site_url?>/uploaded_files/<?=$HOT_DATA['category_image_name']?>" alt="<?php if($HOT_DATA['category_is_product']=='Yes'){ ?> Manufacturers Exporters and Wholesale Suppliers of <?=$HOT_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? }else{ ?> Service Provider of <?=$HOT_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? } ?>" title="<?php if($HOT_DATA['category_is_product']=='Yes'){ ?> Manufacturers Exporters and Wholesale Suppliers of <?=$HOT_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? }else{ ?> Service Provider of <?=$HOT_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? } ?>" width="100%" height="200" />
        <div class="content">
          <h3 class="heading"><?=$HOT_DATA['category_name']?></h3>
           <?php $description=strip_tags($HOT_DATA['category_description']);?>
          <p class="desc"><?=substr($description,0,100);?></p>
          <div class="read-more-btn"> <a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html" class="read-more mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--accent">read more</a> </div>
        </div>
      </div>
      <? } ?>
    </div>
  </div>
</div>
<? } ?>

MMCT - 2023