MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.216.145.37
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/logs/../asksolution.in/fonts/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/logs/../asksolution.in/fonts/../featured-products.php
 <?php
	 $sql_feature=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_feature)>0){
		 ?>
<div id="blog">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <section>
          <h2 class="section-title">FEATURED <?php if($compDATA['admin_product_option']=='Yes'){ ?>Products<? }else{ ?>Services<? } ?></h2>
        </section>
      </div>
    </div>
    <div class="row">
       <?php
	  while($FEATURE_DATA=mysqli_fetch_array($sql_feature)){
	   @extract($FEATURE_DATA);
	?>
      <div class="col-md-4 col-sm-6 post-item">
        <div class="mdl-card mdl-shadow--2dp">
          <div class="mdl-card__title">
            <div class="post-img"> <a href="<?=$site_url?>/<?=$FEATURE_DATA['category_url']?>.html"><img  src="<?=$site_url?>/uploaded_files/<?=$FEATURE_DATA['category_image_name']?>" alt="<?php if($FEATURE_DATA['category_is_product']=='Yes'){ ?> Manufacturers Exporters and Wholesale Suppliers of <?=$FEATURE_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? }else{ ?> Service Provider of <?=$FEATURE_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? } ?>" title="<?php if($FEATURE_DATA['category_is_product']=='Yes'){ ?> Manufacturers Exporters and Wholesale Suppliers of <?=$FEATURE_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? }else{ ?> Service Provider of <?=$FEATURE_DATA['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? } ?>" width="100%" height="200"></a> </div>
          </div>
          <div class="mdl-card__supporting-text">
            <section class="post-title">
              <h2><a href="<?=$site_url?>/<?=$FEATURE_DATA['category_url']?>.html">
      <?=$FEATURE_DATA['category_name']?>
      </a></h2>
            </section>
            <div class="post-summary" style="min-height:90px;">
            <?php $description=strip_tags($FEATURE_DATA['category_description']);?>
              <p><?=substr($description,0,150);?></p>
            </div>
          </div>
          <div class="mdl-card__actions mdl-card--border clearfix"> <a href="<?=$site_url?>/<?=$FEATURE_DATA['category_url']?>.html" class="read-more mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">read more</a> <a href="<?=$site_url?>/enquiry.html" class="comments pull-right mdl-button mdl-js-button mdl-js-ripple-effect">ENQUIRY</a> </div>
        </div>
      </div>
      <? } ?>
    </div>
  </div>
</div>
<? } ?>

MMCT - 2023