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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/natureamrit.com/hot-products.php
<?php
$sql_hot=db_query("select * from tbl_category where 1 and category_status='Active' and category_is_hot='Yes' and category_parent_id=0 order by rand() limit 0,3");
if(mysqli_num_rows($sql_hot)>0){
	?>
<section class="block-section-4">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <h2 class="text-heading text-center">Hot<strong>
          <?php if($compDATA['admin_product_option']=='Yes'){ ?>
          Products
          <? }else{ ?>
          Services
          <? } ?>
          </strong></h2>
      </div>
    </div>
    <div class="row">
      <?php
while($HOT_DATA=mysqli_fetch_array($sql_hot)){
@extract($HOT_DATA);
?>
      <div class="col-md-4 serd">
        <div class="blog">
          <div class="image text-center"> <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']; ?> <? } ?>"> </div>
          <div class="blog-content">
            <div class="post-text">
              <h2><a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html">
                <?=$HOT_DATA['category_name']?>
                </a></h2>
              <?php $description=strip_tags($HOT_DATA['category_description']);?>
              <p>
                  <?php if($description!="")
                  {?>
                <?=substr($description,0,85);?>
                <?}else{?>
           <?=substr("$compDATA[admin_company_name] Company is the best exporter importer of $HOT_DATA[category_name] in Kachchh Gujarat India,
We are also the best supplier of $HOT_DATA[category_name] at low price rate.",0,85);?>
                <?}?>
                
              </p>
              <a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html" class="btn-readmore">Read More <i class="fa fa-caret-right"></i></a> </div>
          </div>
        </div>
      </div>
      <? } ?>
    </div>
  </div>
</section>
<? } ?>

MMCT - 2023