[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: all_search.php
<?php include('header.php');$cate=base64_decode($_REQUEST['pid']); $p_name=explode("|",trim($cate)); ?> <!-- BANNER --> <div class="banner-inner" style="height:200px;"> <img src="images/inner-banner.jpg" alt="" class="banner-img"> </div> <!-- Terms --> <div class="restaurant-in"> <div class="title-section text-center"> <p class="w3ls-title-sub"> DootKart </p> <!--<h3 class="w3ls-title">All Restaurant Under<span> <?=$cate?> Category</span></h3>--> <!--<h3 class="w3ls-title">Welcome to <span> <?=$company_name?></span></h3> --> </div> <div style="width: 85%; margin: 0 auto;"> <div class="row"> <!--Filter category--> <div class="col-md-12" style="display:none;"> <form method="post" id="form" enctype=""> <div class="filtercategory" id=""> <label>Type</label> <select class="price common_selector" name="price" id="price"> <option value="">Restaurant</option> <option value="0-99">All Food</option> </select> </div> <div class="filtercategory" id=""> <label>Filter By Food</label> <select class="price common_selector" name="price" id="price"> <option value="">Veg</option> <option value="">Non Veg</option> <option value="">Veg Non+Veg</option> </select> </div> <div class="filtercategory" id=""> <label>Filter By Price</label> <select class="price common_selector" name="price" id="price"> <option value="">0 - 99</option> <option value="">100 - 200</option> <option value="">200 - 500</option> <option value="">500 - 500+</option> </select> </div> <div class="filtercategory" id=""> <label>Popular Dish</label> <select class="price common_selector" name="price" id="price"> <option value="">Biriyani</option> <option value="">Fried Rice</option> <option value="">Mughlai</option> </select> </div> </form> </div> <?php //$sq=$show->readAll_clause('food_maker',$clause); $itm=trim($p_name[1]); $makerp=trim($p_name[0]); $s1="select * from food_maker inner join menu_items on food_maker.maker_id=menu_items.maker_id where menu_items.name like '$itm%' or food_maker.title like '$makerp%' order by food_maker.maker_id"; //echo $s1; //echo $s1; $sq=$con->prepare($s1); $sq->execute(); $num1=$sq->rowCount(); if($num1>0){ while($row=$sq->fetch(PDO::FETCH_ASSOC)){ $banner=$row['banner']==''?'noimg.png':$row['banner']; $profile_pic=$row['profile_pic']==''?'noimg.png':$row['profile_pic']; ?> <!--Product--> <div class="col-md-4"> <div class="box-secend-food-product"> <img src="<?=$pic_img?>/<?=$row['banner']?>" alt="single-img" class="templates-cook"> <!-- <h5>OPEN</h5>--> <h4><?=$row['name']?> [<?=$row['title']?>]</h4> <p><?=$row['locality']?>, <?=$row['state']?> <?=$row['pincode']?></p> <img src="images/starNAN.png" class="star-food"> <a href="food-single.php?makid=<?=base64_encode($row['maker_id'])?>">View</a> </div> </div> <?php } }else{ echo "<h4>No Product Found</h4>"; } ?> <!--- <div class="col-md-4"> <div class="box-secend-food-product"> <img src="images/food-single.jpg" alt="single-img" class="templates-cook"> <img src="images/veg+non-veg.png" alt="single-img" class="prod-veg"> <h5>OPEN</h5> <h4>Dada Boudi Restuarant</h4> <p>Kolkata, West Bengal 700023</p> <img src="images/star3.png" class="star-food"> <a href="food-single.php">View </a> </div> </div> <div class="col-md-4"> <div class="box-secend-food-product"> <img src="images/food-single.jpg" alt="single-img" class="templates-cook"> <img src="images/veg.png" alt="single-img" class="prod-veg"> <h5>OPEN</h5> <h4>Maa Kali Restuarant</h4> <p>Kolkata, West Bengal 700023</p> <img src="images/star5.png" class="star-food"> <a href="food-single.php">View </a> </div> </div> <div class="col-md-4"> <div class="box-secend-food-product"> <img src="images/food-single.jpg" alt="single-img" class="templates-cook"> <img src="images/non-veg.png" alt="single-img" class="prod-veg"> <h5>OPEN</h5> <h4>Dada Boudi Restuarant</h4> <p>Kolkata, West Bengal 700023</p> <img src="images/star2.png" class="star-food"> <a href="food-single.php">View </a> </div> </div> <div class="col-md-4"> <div class="box-secend-food-product"> <img src="images/food-single.jpg" alt="single-img" class="templates-cook"> <img src="images/veg.png" alt="single-img" class="prod-veg"> <h5>OPEN</h5> <h4>Maa Kali Restuarant</h4> <p>Kolkata, West Bengal 700023</p> <img src="images/starNAN.png" class="star-food"> <a href="food-single.php">View </a> </div> </div> <div class="col-md-4"> <div class="box-secend-food-product"> <img src="images/food-single.jpg" alt="single-img" class="templates-cook"> <img src="images/non-veg.png" alt="single-img" class="prod-veg"> <h5>OPEN</h5> <h4>Dada Boudi Restuarant</h4> <p>Kolkata, West Bengal 700023</p> <img src="images/star3.png" class="star-food"> <a href="food-single.php">View </a> </div> </div> --> </div> </div> </div> <?php include('footer.php');?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 678.08 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619