MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.220.200.33
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/purplebirdevents.com/../vermaborewell.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/purplebirdevents.com/../vermaborewell.co.in/search-result.php
<?php include("site-header.php");?>
  <!-- Start main-content -->
  <div class="main-content"> 
    <!-- Section: inner-header -->
    <section class="inner-header divider layer-overlay overlay-dark" data-bg-img="<?=$site_url."/uploaded_files/".db_scalar("select header_flash_image_name from tbl_header_flash WHERE header_flash_type='Inner'")?>">
      <div class="container pt-30 pb-30"> 
        <!-- Section Content -->
        <div class="section-content text-center">
          <div class="row">
            <div class="col-md-6 col-md-offset-3 text-center">
              <h2 class="text-theme-colored font-36">Search Result</h2>
              <ol class="breadcrumb text-center mt-10 white">
                <li><a href="<?=$site_url?>/index.html">Home</a></li>
                <li class="active">Search Result</li>
              </ol>
            </div>
          </div>
        </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">
            <div class="section-title-lg text-white" style="font-size:19px;">
              <?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:200px;" 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,80);?>.... </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