MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.218.190.118
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/overseasjunction.com/../brmarketingindia.com/assets/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/overseasjunction.com/../brmarketingindia.com/assets/../search-result.php
<?php include("site-header.php");?>
  <!-- Start main-content -->
  <div class="main-content">
    <!-- Section: inner-header -->
 <section class="inner-intro bg-img  light-color overlay-before parallax-background" style="background-image:url(<?=$site_url."/uploaded_files/".db_scalar("select header_flash_image_name from tbl_header_flash WHERE header_flash_type='Inner'")?>)">
    <div class="container">
      <div class="row title">
     
<h1 data-title="Search Result"><span>Search Result</span></h1>

      </div>
    </div>
  </section>
    <!-- Section: Practice Area -->

             
             
                 
    <section>
      <div class="container">
        <div class="section-content">
        
<?php
$searchKeyword=$_REQUEST['searchtext'];
$count=db_scalar("select count(*) from  tbl_category where 1 and  category_name like '%$_REQUEST[searchtext]%' and category_status='Active'");
?>

 <!-- SERVICE START HERE -->
			
						<div class="col-md-12 mt15">
							<div class="section-title-lg">
								
								<h2 class="border-left-yellow-10 padd-l-10 font-black">Search Result
                  <span class="pull-right font-15" > <?php if($count>0){?>
            "Total&nbsp;
            <?=$count?>
            &nbsp;Search Found"
            <? } ?></span>
                                
                                </h2>
                                
                               
							</div>
						</div>
   <?php if($count==0) {?>
   
   <div class="row">       
<div class="col-md-12"         >
<br>
<br>

         <p align="center" style="color:#C10000; font-weight:bold; font-size:18px; ">No Search Found !!<br/>
            Please Enter Valid Keyword..</p>
</div>
            
</div>            
          <? } ?>  
          
<div class="clearfix">&nbsp;</div>                
        
          <div class="row">

<?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-xs-12 col-sm-6 col-md-4 mb-30">
              <div class="text-left">
                <div class="thumb">
                  <a data-lightbox="image" href="<?=$site_url?>/uploaded_files/<?=$MAIN_CAT['category_image_name']?>"><img class="img-responsive " style="width:100%; height:250px;"  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']; ?> <? } ?>"></a>
                </div>
                <h4 class="mb-0"><a href="<?=$site_url?>/<?=$MAIN_CAT['category_url']?>.html"><?=$MAIN_CAT['category_name']?></a></h4>
                <?php $description=strip_tags($MAIN_CAT['category_description']);?>
                <div><?=substr($description,0,50);?></div>
                <a class="btn btn-sm p-0 text-theme-colored" href="<?=$site_url?>/<?=$MAIN_CAT['category_url']?>.html"><i class="fa fa-angle-double-right"></i> Read more</a>
              </div>
            </div>
                        
<?php 
}
}
?>            
            
            
          </div>
        </div>
      </div>
    </section>
  </div>
  <!-- end main-content -->
  
<?php include("site-footer.php");?>

MMCT - 2023