MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.89.89
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/fastelevator.in/../pccaterers.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevator.in/../pccaterers.in/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'");
?>

<!-- slider area start -->
<div class="breadcumb-area black-opacity bg-img-3" style="background:url(<?=$site_url."/uploaded_files/".db_scalar("select header_flash_image_name from tbl_header_flash WHERE header_flash_type='Inner'")?>) no-repeat center; background-size:cover;">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="breadcumb-wrap">
<h2> <?=$searchKeyword?></h2>
</div>
</div>
</div>
</div>
<div class="breadcumb-menu">
<div class="container">
<div class="row">
<div class="col-xs-12">
<ul>
<li><a href="<?=$site_url?>/index.html">Home</a></li>
<li>/</li>
<li> <?=$searchKeyword?></li>
</ul>
</div>
</div>
</div>
</div>
</div>

<!-- about-area start -->
<section class="blog-area ptb-140 bg-1">
<div class="container">
<div class="row">


<div class="container"> 
<div class="col-md-12" style="margin-top:-20px;border-bottom:#fff thin solid ;margin-bottom:20px">
<div class="section-title-lg about-us">
<h2 class="border-left-yellow-10 padd-l-10 font-black">Search Result
<span class="pull-right font-15" style="color:#03C" > <?php if($count>0){?>
"Total&nbsp;
<?=$count?>
&nbsp;Search Found"
<? } ?></span>
</h2>
</div>
</div>
</div>

<?php if($count==0) {?>
<div class="row">       
<div class="col-lg-12 text-center" style="font-size:16px;font-weight:600;font-weight:600;color:#F00;margin:20px 0 20px 0" >
No Search Found !!<br/>
Please Enter Valid Keyword..
</div>
</div>            
<? }else{ ?> 



<?php    
$sql_hot=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_hot)>0){
?>    

<?php
while($HOT_DATA=mysqli_fetch_array($sql_hot)){
@extract($HOT_DATA);
?> 
<div class="col-md-4 col-sm-6 col-xs-12 col wow fadeInUp" data-wow-delay=".1s">
<div class="blog-wrap mp-ser">
<div class="blog-img servd">
<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:360px;height:260px" />
</div>
<div class="blog-content">

<a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html"><h3><?=$HOT_DATA['category_name']?></h3></a>
<?php $description=strip_tags($HOT_DATA['category_description']);?>
<p><?=substr($description,0,65);?></p>
<a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html" class="btn-style">Read More</a>
</div>
</div>
</div>
<?php }?>                        
<?php }?>  


<?php }?>   




</div>
</div>
</section>
<!-- testmonial-area end -->
<?php include("site-footer.php") ?>

MMCT - 2023