UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
add_testimonial.php
<?php include "top.php";?> <script type="text/javascript"> $(document).ready(function (e){ $("#uploadForm").on('submit',(function(e){ e.preventDefault(); var flag = true; var inputField1 = document.getElementById("customername"); if (inputField1.value == "") { flag = false; alert("Please enter customer name"); document.getElementById("customername").focus(); return false; } var inputField2 = document.getElementById("long_desc"); if (inputField2.value == "") { flag = false; alert("Please enter customer testimonial"); document.getElementById("long_desc").focus(); return false; } var customername = document.getElementById("customername").value; var long_desc = document.getElementById("long_desc").value; //var hdid = document.getElementById("hdid").value; //var btnopration = document.getElementById("btnopration").innerHTML; try { if (flag == true) { var result = confirm("Do you want to add record?"); if (result == true) { $.ajax({ url: "save_testimonial.php", type: "POST", data: new FormData(this), contentType: false, cache: false, processData:false, success: function(data){ window.location.href="list_testimonial.php"; }, error: function(){} }); } } } catch (Error) { alert(Error); } return; })); }); </script> <div id="page-wrapper" class="gray-bg dashbard-1"> <div class="content-main"> <!--banner--> <div class="banner"> <table width="100%"> <tr> <td width="50%"><b><label name="headingtitle" id="headingtitle">Add Testimonial</label></b></td> <td width="50%" align="right"><a class="btn btn-default" href="list_testimonial.php">Testimonial List</a></td> </tr> </table> </div> <!--//banner--> <!--grid--> <div class="validation-system"> <div class="validation-form"> <!----> <form enctype="multipart/form-data" id="uploadForm"> <div class="vali-form"> <!--<input type="hidden" id="hdid" name="hdid">--> <div class="col-md-12 form-group1"> <label class="control-label">Customer Name</label> <input type="text" name="customername" id="customername" placeholder="Customer Name" required=""> </div> <div class="clearfix"> </div> </div> <div class="col-md-12 form-group1 "> <label class="control-label">Customer Testimonial</label> <textarea id='short_desc' name='short_desc' hidden="hidden"></textarea> <textarea id='long_desc' name='long_desc'></textarea> </div> <div class="clearfix"> </div> <br> <div class="col-md-12 form-group"> <input type="submit" class="btn btn-primary" id="btnopration" onclick="data()" value="Submit"/> <button type="reset" class="btn btn-default">Reset</button> </div> <div class="clearfix"> </div> </form> <!----> </div> </div> <!--//grid--> <!-- 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