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 Content:
view_offer.php
<?php ob_start(); session_start(); include('admin/config/connection_config.php'); 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; } $id = $_GET['id']; $q = "Select * from specialoffer_tb where id=".$id; $run = mysqli_query($con,$q); while($row = mysqli_fetch_array($run)){ $id = $row[0]; $tour_name = $row[1]; $banner_image = $row[2]; $thumb_banner = $row[3]; $discription = $row[5]; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>View Offer, Package, 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 custom styles (optional) --> <link href="css/color_style.css" rel="stylesheet"> <!-- Marquee Tour --> <link rel="stylesheet" type="text/css" href="./slick/slick.css"> <link rel="stylesheet" type="text/css" href="./slick/slick-theme.css"> <style type="text/css"> label{font-size:18px;} </style> </head> <body> <!-- Start project--> <!--header--> <?php require("include/header.php"); ?> <!--/header--> <!--Navbar--> <?php require("include/nav.php"); ?> <!--/.Navbar--> <!--content start--> <content> <div class="row"> <img src="upload/Banner/<?php echo $banner_image; ?>" width="100%" style="max-height:350px;"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <br> <h2> <font color="#feba32"> <?php echo $tour_name; ?> </font> <a href="#" class="btn btn-lg btn-danger waves-effect waves-light pull-right" data-toggle="modal" data-target="#contact-form">Enquiry Send for Best Deal</a></h2><hr> <br> </div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding:0;"> <!--Panel--> <div class=""> <div class=""> <!-- Modal: Contact form --> <div class="modal fade" id="contact-form" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header warning-color"> <h4 class="modal-title text-center white-text">Write to us </h4> </div> <div class="modal-body"> <div class="row"> <form class="col-md-12" action="mail.php" method="post"> <p>We like to receive a messages</p> <br> <input type="text" name="path" class="hidden-xl-up hidden-xl-down" value="<?php echo curPageURL(); ?>"> <div class="input-field"> <label for="name">Your name</label> <input type="text" name="name" class="validate"> </div> <div class="input-field"> <label for="mobile">Mobile No.</label> <input type="tel" name="mobile" class="validate"> </div> <div class="input-field"> <label for="email">Email Id</label> <input type="text" name="email" class="validate"> </div> <div class="input-field"> <label for="discription">Discription</label> <textarea id="contact-text" name="discription" class="materialize-textarea"></textarea> </div> <div class="text-center"> <input type="submit" class="btn btn-danger btn-lg waves-effect waves-light" value="Submit" style="width:100%; margin: 15px 0;"> </div> </form> <hr> <div class="col-md-12"> <div class="call"> <p>Or would you prefer to call? <span class="cf-phone"><i class="fa fa-phone"> +01 234 565 280</i></span></p> </div> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger" data-dismiss="modal">X</button> </div> </div> </div> </div> <!--/.Modal: Contact form--> </div> </div> <!--/.Panel--> </div> <div class="clearfix"></div> <div class="col-lg-12"> <h3><b>Discription :</b></h3> <p class="card-text"> <?php echo $discription; ?></p> </div> </div> <br><br> </content> <!--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> <!-- Marquee Tour JavaScript --> <script src="./slick/slick.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript"> $(document).on('ready', function() { $('.autoplay').slick({ slidesToShow: 4, slidesToScroll: 1, autoplay: true, autoplaySpeed: 2000, }); }); </script> <script type="text/javascript"> $(document).on('ready', function() { $('.autoplay1').slick({ slidesToShow: 1, slidesToScroll: 1, autoplay: true, autoplaySpeed: 2000, }); }); </script> </body> </html> <?php if(isset($_GET['m'])){ if($_GET['m']==1) { ?> <script> alert("Your Requset is successfully Send!"); </script> <?php } } ?> <?php ob_flush(); ?>
Edit
Download
Unzip
Chmod
Delete