UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
edit_gyanalaya_pratiyogita.php
<?php include "top.php"; include "header.php"; include "menu.php"; //include_once('config.php'); $id = $_GET['id']; $sql = "select * from gyanalayapratiyogitatb 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("title"); if (inputField1.value == "") { flag = false; alert("Please enter title"); document.getElementById("title").focus(); return false; } var inputField2 =document.getElementById("long_desc"); if (inputField2.value == "") { flag = false; alert("Please enter discription"); document.getElementById("long_desc").focus(); return false; } var title = document.getElementById("title").value; var iframe = document.getElementById("iframe").value; var long_desc = document.getElementById("long_desc").value; try { if (flag == true) { $.ajax({ url: "update_gyanalaya_pratiyogita.php", type: "POST", data: new FormData(this), contentType: false, cache: false, processData:false, success: function(data){ window.location.href="list_gyanalaya_pratiyogita.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_gyanalaya_pratiyogita.php"><button class="btn btn-sm btn-default"><b>Back to Gyanalaya Pratiyogita 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 Gyanalaya Pratiyogita </header> <div class="panel-body"> <div class="position-center"> <form enctype="multipart/form-data" id="uploadForm" action="update_article.php" method="post"> <input type="hidden" id="pid" name="pid" value="<?php echo $_GET['id'];?>"> <!--<input type="hidden" id="oldvalue" name="oldvalue" value="<?php echo $data['title'];?>">--> <div class="form-group"> <label for="exampleInputEmail1">Title</label> <input type="text" class="form-control" id="title" name="title" placeholder="Title" value="<?php echo $data['title'];?>"> </div> <div class="form-group"> <label for="exampleInputEmail1">Iframe</label> <textarea class="form-control" id='iframe' name='iframe' ><?php echo $data['iframe'];?></textarea> </div> <div class="form-group" style="display:none" > <textarea id='short_desc' name='short_desc' hidden="hidden"></textarea> </div> <div class="form-group"> <label for="exampleInputPassword1">Discription</label> <textarea id='long_desc' name='long_desc'><?php echo $data['discription'];?></textarea> </div> <input type="submit" class="btn btn-info" onclick="data()" value="Submit"> </form> </div> </div> </section> </div> </div> </div> <!-- Script --> <script type="text/javascript"> // Initialize CKEditor CKEDITOR.inline( 'short_desc'); CKEDITOR.replace('long_desc',{ width: "100%", height: "200px" }); </script> <?php include "footer.php"; ?>
Copyright © 2025 - UnknownSec