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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/generalmotorsju.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){
		 ?>
<section class="services-section">
    <div class="container">
      <h3 class="amiClass">Hot <?php if($compDATA['admin_product_option']=='Yes'){ ?>Products<? }else{ ?>Services<? } ?></h3>
      <div class="services-box">
        <div class="row">
        <?php
	  while($HOT_DATA=mysqli_fetch_array($sql_hot)){
	  @extract($HOT_DATA);
	?>
          <div class="col-md-3">
            <div class="services-post"> <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']; ?> <? } ?>" style="width:100%; height:160px;">
              <div class="services-content">
                <h2><?=$HOT_DATA['category_name']?></h2>
                 <?php $description=strip_tags($HOT_DATA['category_description']);?>
                <p><?=substr($description,0,100);?>...</p>
                <a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html">Read More <i class="fa fa-angle-right"></i></a> </div>
            </div>
          </div>
          <? } ?>
        </div>
      </div>
    </div>
  </section>
  <? } ?>

MMCT - 2023