[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index01.php
<?php include('header.php'); /* if($_SESSION['location']!=''){ $sql="where food_maker.locality like'%".$_SESSION['location']."%' "; } */ if($_SESSION['lat']!=''){ $lat1=round($_SESSION['lat']-$distance,4); $lat2=round($_SESSION['lat']+$distance,4); $long1=round($_SESSION['long']-$distance,4); $long2=round($_SESSION['long']+$distance,4); //$lat2=lat($lat); // $long2=long($long); // $sql="where (food_maker.latitude>=$lat and food_maker.latitude<=$lat2) AND (food_maker.longitude>=$long and food_maker.longitude<=$long2)"; //$sql="where (latitude between $lat1 AND $lat2) AND (longitude between $long1 AND $long2)"; $sql=" where status='ACTIVE'"; }else{ $sql="where status='ACTIVE'"; } //unset($_SESSION['location']); ?> <style type="text/css"> #fli,#fli1 { width: 80%; height: 42px; } #display_s {position: absolute; content: ""; width: 501px; margin: 0px; padding: 2px; display: none; overflow: auto; border: 1px #CCC solid; background-color: white; z-index: 9999; top: 258px; min-height: 150px; } .show,.show1,.show_search { padding: 5px; border-bottom: 1px #999999de dashed; font-size: 14px; text-align: left; list-style: none; } .show:hover,.show1:hover { background:#FFF202; color:#000; cursor:pointer; } .widget{ overflow:visible !important; } </style> <script> function fill_search(Value) { $('#fli').val(Value); $('#display_s').hide(); } $(document).ready(function(){ $("#fli").keyup(function() { var name = $('#fli').val(); //alert(name); if(name=="") { $("#display").html(""); } else { $.ajax({ type: "POST", url: "ajax_check.php", data: "search="+ name , success: function(html){ // alert(result); $("#display_s").html(html).show(); } }); } }); }); </script> <!-- BANNER --> <div class="banner"> <div class="particle-network-animation"></div> <div> <?php $sq=$show->readAll('page_banner'); while($r=$sq->fetch(PDO::FETCH_ASSOC)){ ?> <div class="banner-item"> <img src="<?=$pic_img?>/<?=$r['banner']?>" alt="" class="banner-img"> </div> <?php } ?> </div> <div class="dec-banner"> <div class="container"> <div class="dec-banner-text"> <h3>Tasty & Healthy food is now, at your<span> fingertips!</span></h3> <!--<h5 data-aos="fade-down" style="transition:all 1500ms ease-in-out;">For no one rejects, or hates, or shuns pleasure, because it is pleasure itself; --> <!--but because great pains result from those who do not know how to follow pleasure by reason</h5>--> <div class="w3l_search"> <form action="" method="post"> <div class="search-container"> <button type="submit" name="food_search"><i class="fa fa-search"></i></button> <input type="text" placeholder="Search for restaurant, cuisine or a dish" id="fli" name="search"> <div id="display_s"></div> </div> </form> <?php if(isset($_POST['food_search'])){ header('location:all-results.php?search='.base64_encode($_POST['search'])); } ?> </div> <!--<a href="#" data-aos="fade-down" style="transition:all 1600ms ease-in-out;">--> <!-- <i class="fa fa-mobile"></i> <span>Get the App</span>--> <!--</a>--> <!--<div class="icon-heder"> <ul> <li><img src="images/icon-1.png"/></li> <li><img src="images/icon-2.png"/></li> <li><img src="images/icon-3.png"/></li> </ul> </div>--> </div> </div> </div> </div> <!--Food Option--> <div class="food-option"> <div class="container"> <div class="title-section text-center"> <h3 class="w3ls-title" style="padding: 0px 0 15px;">Order our <span>best food options</span></h3> </div> <div id="food-option-slider" class="owl-carousel"> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-1.png"> <h5>Dhosha</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-2.png"> <h5>Biryani</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-3.png"> <h5>Chinese</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-4.png"> <h5>Pizza</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-5.png"> <h5>Burger</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-6.png"> <h5>South Indian</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-7.png"> <h5>Pure Veg</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-8.png"> <h5>Pasta</h5> </a> </div> </div> </div> <div id="food-option-down-slider" class="owl-carousel"> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-1.png"> <h5>Dhosha</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-2.png"> <h5>Biryani</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-3.png"> <h5>Chinese</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-4.png"> <h5>Pizza</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-5.png"> <h5>Burger</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-6.png"> <h5>South Indian</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-7.png"> <h5>Pure Veg</h5> </a> </div> </div> <div class="item"> <div class="food-option-block"> <a href="#"> <img src="images/food-option-8.png"> <h5>Pasta</h5> </a> </div> </div> </div> </div> </div> <!-- The Most Recent Releases / Our Special --> <div class="recent-product" style="background: #f7f6f6;"> <div class="title-section text-center"> <h3 class="w3ls-title" style="padding: 0px 0 15px;">Featured <span>Restaurant</span></h3> </div> <div class="recent-box"> <div class="row"> <div> <?php $clause="where food_maker.locality like'%".$_SESSION['location']."%'"; //$sq=$show->readAll_clause('food_maker',$clause); $s1="select * from food_maker $sql order by id desc "; //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']; ?> <div class="item"style="width: 15%; float: left;"> <div class="box-secend-food"> <a href="food-single.php?makid=<?=base64_encode($row['maker_id'])?>"> <img src="<?=$pic_img?>/<?=$banner?>" alt="" class="templates-cook"> <img src="<?=$pic_img?>/<?=$profile_pic?>" alt="" class="use-icon-top-img" style="display:none;"> <h4><?=$row['title']?></h4> <div class="product-review"> <?php // echo $uid; $count=1; $sr='review'; $stmt =$show->readwithdata($sr,'maker_id',$row['maker_id']); $num = $stmt->rowCount(); if($num>0){ $num=$num. "+ ";}else{ $num="No "; } $av="select sum(rating) as s,count(id) as c from review where maker_id='".$row['maker_id']."'"; $sav=$con->prepare($av); $sav->execute(); $row_av=$sav->fetch(PDO::FETCH_ASSOC); echo $row_av['rating']; $average=round($row_av['s']/$row_av['c']); // echo $average; ?> <li><img src="images/star<?=$average?>.png"><sub><?=$num?> Review</sub></li> </div> </a> </div> </div> <?php } } ?> </div> </div> </div> </div> <div class="dec-kkki"> <img src="images/new-body.png" alt="" class="kkki-img"> <div class="container"> <div class="dec-kkki-dec"> <h2>Dootkart</h2> <p><b>Dootkart</b> is India’s only platform which connects restaurants and home chefs with diners looking for healthy meals. Our platform is dedicated to helping everyone who is looking for healthy, tasty & safe food, delivered straight from the healty kitchens across the country!</i></b></p> <a href="about.php" class="log-kkki">learn more</a> </div> </div> </div> <!-- The great advantages --> <div class="recent-advantages" style="background: #fff;"> <div class="title-section text-center"> <h3 class="w3ls-title" style="padding: 0px 0 15px;">The great <span>Advantages</span></h3> <!--<p class="w3ls-title-sub">Of a hotel is that it is a refuge from home life</p> --> </div> <div class="advantages-box"> <div class="row"> <div class="col-md-5 col-sm-5 col-xs-12"> <div class="advantages-box-img"> <img src="images/advantages-left.png" alt="" class=""> </div> </div> <div class="col-md-7 col-sm-7 col-xs-12"> <div class="advantages-box-text"> <div class="advantages-text-L-one"> <h2>01</h2> </div> <div class="advantages-text-R-one"> <h3>Meal Delivery</h3> <h5>Lorem ipsum is a placeholder text form of a document or a typeface without relying on meaningful content.</h5> </div> </div> <div class="advantages-box-text"> <div class="advantages-text-L-one"> <h2>02</h2> </div> <div class="advantages-text-R-one"> <h3>Catering</h3> <h5>Lorem ipsum is a placeholder text form of a document or a typeface without relying on meaningful content.</h5> </div> </div> <div class="advantages-box-text"> <div class="advantages-text-L-one"> <h2>03</h2> </div> <div class="advantages-text-R-one"> <h3>Meal Delivery</h3> <h5>Lorem ipsum is a placeholder text form of a document or a typeface without relying on meaningful content.</h5> </div> </div> <div class="advantages-box-text"> <div class="advantages-text-L-one"> <h2>04</h2> </div> <div class="advantages-text-R-one"> <h3>Events</h3> <h5>Lorem ipsum is a placeholder text form of a document or a typeface without relying on meaningful content.</h5> </div> </div> </div> </div> </div> </div> <!--<div data-aos="fade-down" style="transition:all 1500ms ease-in-out;">--> <!-- <img src="images/new-body-2.png" alt="" style="width:100%;">--> <!--</div>--> <div class="chef-testmonial"> <img src="images/test-bg-new2.jpg" class="c-t-bg" style="width:100%;"> <div class="testmonial-dec"> <div class="testmoiinial-text-box"> <div id="testmonial-slider" class="owl-carousel"> <div class="item"> <div class="row"> <div class="col-md-8 col-sm-8 col-xs-8"> <p>Demo Content My entire daily routine involved in and around the kitchen cooking up meals for the family. However as much as I loved it, I always felt that I could do more but leaving the confines of my home scared me. Thanks to <b>Dootkart</b>, I have finally found a purpose with my cooking. Not only do I feel great about being a housewife earning from my house but also love the new sense of identity I have got due to <b>Dootkart</b>.</p> <h6>- <b>Demo Content</b>Demo Content</h6> </div> <div class="col-md-4 col-sm-4 col-xs-4"> <div class="item-test-img"> <img src="images/test-icon1.png"> </div> </div> </div> </div> <div class="item"> <div class="row"> <div class="col-md-8 col-sm-8 col-xs-8"> <p> Demo Content I have been cooking for 45 years now and always enjoy cooking for my family, friends n relatives. This is an entirely new opportunity to be able to cook for the community as well as monetise this skill.I am very excited to be part of this journey thanks to <b>Dootkart</b> for the platform. </p> <h6>- <b>Demo Content Chef</b> Demo Content Miss Biswas</h6> </div> <div class="col-md-4 col-sm-4 col-xs-4"> <div class="item-test-img"> <img src="images/test-icon2.png"> </div> </div> </div> </div> <div class="item"> <div class="row"> <div class="col-md-8 col-sm-8 col-xs-8"> <p>Demo Content With the pandemic around us, I acquired a new found love for cooking and feeding others. However, it was only restricted to my family members. At <b>Dootkart</b>, I found a platform which helped me to portray my cooking skills by providing food to many more people and in return only made my hobby into a passion. Today I actively cook along with my job and I am grateful to <b>Dootkart</b> for helping me with a platform and also giving me a second source of income through the initiative.</p> <h6>- <b>Demo ContentChef</b> Demo Content Miss Das</h6> </div> <div class="col-md-4 col-sm-4 col-xs-4"> <div class="item-test-img"> <img src="images/test-icon3.png"> </div> </div> </div> </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: 677.97 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