MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.146.206.246
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/cablecubby.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/cablecubby.in/search-result.php
<?php include("site-header.php");?>
    <!-- =-=-=-=-=-=-= HEADER END =-=-=-=-=-=-= -->
    <!-- =-=-=-=-=-=-= INNER FLASH =-=-=-=-=-=-= -->
<?php include("site-header-flash-inner.php");?>  
    <!-- =-=-=-=-=-=-= INNER FLASH END =-=-=-=-=-=-= -->

    <!-- =-=-=-=-=-=-= Our Services =-=-=-=-=-=-= -->
    <section class="section-padding-70 services-2">
    

                 
        <div class="container">
            <!-- Row -->
            <div class="row">

                <div class="col-md-9 col-sm-12 col-md-push-3 col-xs-12">
                
<?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="row">
						<div class="col-md-12">
								<h2 class="border-left-yellow-10 padd-l-10 font-black">Search Result <span style="float:right"> <?php if($count>0){?>
            "Total&nbsp;
            <?=$count?>
            &nbsp;Search Found"
            <? } ?></h2>
                                
                               </span>
							
						</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>            
          <? } ?>    
          
<p>&nbsp;</p>                      

<?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){
$cnt=0;	
while($HOT_DATA=mysqli_fetch_array($sql_category)){
$cnt++;	
@extract($HOT_DATA);
?> 					
	
                    <div class="col-sm-12 col-md-6 col-xs-12">
                        <div class="services-grid-1 services-grid">
                            <div class="service-image">
                                <a href="<?=$site_url?>/uploaded_files/<?=$HOT_DATA['category_image_name']?>" class="tt-lightbox"><img class="img-responsive" 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:216px;"></a>
                            </div>
                            <div class="services-text">
                                <h4><a href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html"><?=$HOT_DATA['category_name']?></a></h4>
                                <p><?=substr(strip_tags($HOT_DATA['category_description']),0,40)?></p>
                                <p></p>
                            </div>
                            <div class="more-about"> <a class="btn btn-primary btn-lg" href="<?=$site_url?>/<?=$HOT_DATA['category_url']?>.html">Read More <i class="fa fa-chevron-circle-right"></i></a> </div>
                        </div>
                        <!-- end services-grid-1 -->
                    </div>
                    <!-- end col-sm-4 -->
<?php
if($cnt%2==0){
echo '<div class="clearfix"></div>';	
}

}
}
?>

                   
                  

                  

                </div>
                <!-- right column -->
                <div class="col-md-3 col-md-pull-9 col-sm-12 col-xs-12" id="side-bar">
                    <div class="theiaStickySidebar">
                        <div class="side-bar-services">
<ul class="side-bar-list">
<li><a href="<?=$site_url?>/products.html" class="active">All Services</a></li>
<?php
$sql_subcat=db_query("select * from tbl_category where 1 and category_parent_id='$catID' and category_status='Active' order by category_id asc");
while($SUBCAT_DATA=mysqli_fetch_array($sql_subcat)){
@extract($SUBCAT_DATA);
?>
<li><a href="<?=$site_url?>/<?=$category_url?>.html"><?=$category_name?></a></li>
<?php }?>
</ul>
                        </div>
                    </div>

                </div>
            </div>
            <!-- Row End -->
        </div>
        <!-- end container -->
    </section>
    <!-- =-=-=-=-=-=-= Our Services-end =-=-=-=-=-=-= -->

     <!-- =-=-=-=-=-=-= Call To Action =-=-=-=-=-=-= -->
    <div class="parallex-small ">
        <div class="container">
            <div class="row custom-padding-20 "> <div class="col-md-8 col-sm-8">
                    <div class="parallex-text">
                        <h4>Not sure which solution fits you business needs?</h4>
                    </div>
                    <!-- end subsection-text -->
                </div>
                <!-- end col-md-8 -->

                <div class="col-md-4 col-sm-4">
                    <div class="parallex-button"> <a href="<?=$site_url?>/enquiry.html" class="btn btn-lg btn-clean">Get a quote <i class="fa fa-angle-double-right "></i></a> </div>
                    <!-- end parallex-button -->
                </div>
                <!-- end col-md-4 -->

            </div>
            <!-- end row -->
        </div>
        <!-- end container -->
    </div>
    <!-- =-=-=-=-=-=-= Call To Action End =-=-=-=-=-=-= -->

    <!-- =-=-=-=-=-=-= FOOTER =-=-=-=-=-=-= -->
  <?php include("site-footer.php");?>

MMCT - 2023