UnknownSec Bypass
403
:
/
var
/
www
/
html
/
adminpnl
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
test.php
<!DOCTYPE html> <html> <head> <title>Live Data Search with Pagination in PHP using Ajax</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous"> <link rel="stylesheet" href="https://unpkg.com/placeholder-loading/dist/css/placeholder-loading.min.css"> </head> <body> <br /> <div class="container"> <h3 align="center">Live Data Search with Pagination in PHP Mysql using Ajax</h3> <br /> <div class="card"> <div class="card-header">Dynamic Data</div> <div class="card-body"> <div class="form-group"> <input type="text" name="search_box" id="txtfromdate" class="form-control" placeholder="Type your search query here" /> <input type="text" name="search_box" id="txttodate" class="form-control" placeholder="Type your search query here" /> <button type="submit" name="btnsavecustomer" id="btnsavecustomer" onclick="Loadbooktokendata();" class="btn btn-contact">Show</button> </div> <div class="table-responsive" id="dynamic_content"> </div> </div> </div> </div> </body> </html> <script> $(document).ready(function(){ load_data(1); function load_data(page, query = '') { $.ajax({ url:"fetch.php", method:"POST", data:{page:page, query:query}, success:function(data) { $('#dynamic_content').html(data); } }); } $(document).on('click', '.page-link', function(){ var page = $(this).data('page_number'); var query =""; var inputField1 =document.getElementById("txtfromdate"); if (inputField1.value == "") { flag = false; alert("Please enter from date."); document.getElementById("txtfromdate").focus(); return false; } var inputField2 =document.getElementById("txttodate"); if (inputField2.value == "") { flag = false; alert("Please enter to date date."); document.getElementById("txttodate").focus(); return false; } var fromdate = document.getElementById("txtfromdate").value; var todate = document.getElementById("txttodate").value; $.ajax({ url:"load_token_report.php", method:"POST", data:{page:page, query:query,fromdate:fromdate,todate:todate}, success:function(data) { $('#dynamic_content').html(data); } }); }); $('#search_box').keyup(function(){ var query = $('#search_box').val(); load_data(1, query); }); }); function Loadbooktokendata() { var inputField1 =document.getElementById("txtfromdate"); if (inputField1.value == "") { flag = false; alert("Please enter from date."); document.getElementById("txtfromdate").focus(); return false; } var inputField2 =document.getElementById("txttodate"); if (inputField2.value == "") { flag = false; alert("Please enter to date date."); document.getElementById("txttodate").focus(); return false; } var fromdate = document.getElementById("txtfromdate").value; var todate = document.getElementById("txttodate").value; var page="1"; var query=""; $.ajax({ url:"load_token_report.php", method:"POST", data:{page:page, query:query,fromdate:fromdate,todate:todate}, success:function(data) { $('#dynamic_content').html(data); } }); } </script>
Copyright © 2025 - UnknownSec