Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/ecom1.picotech.app/public_html_ecom1/public/dist/js/custom/ drwxr-xr-x |
Viewing file: Select action/file-type: "use strict"; // Permission function permission(pdf, csv) { if (pdf == 1 || csv == 1) { var show = setInterval(() => { if ($("#btnGroupDrop1").length) { $("#btnGroupDrop1").css('display','inline-block') $(".btn-group").css({'display':'inline-flex'}) $("#dataTableBuilder_length").css({'margin-top':'0px'}); (pdf == 1) ? $("#pdf").show() : $("#pdf").hide(); (csv == 1) ? $("#csv").show() : $("#csv").hide(); clearInterval(show); } }, 100); } else { var hide = setInterval(() => { if ($("#btnGroupDrop1").length) { $("#btnGroupDrop1").css('display','none') $(".btn-group").css({'display':'inline-block'}) $("#dataTableBuilder_length").css({'margin-top':'-20px'}) clearInterval(hide); } }, 100); } } permission(pdf, csv); function exportPdfCsv(id, url) { if ($('.main-body .page-wrapper').find(id).length) { // For export pdf and csv $(document).on("click", "#csv, #pdf", function(event) { event.preventDefault(); window.location = SITE_URL + url + this.id; }); } } exportPdfCsv('#refund-list-container', '/refund-request/'); exportPdfCsv('#vendor-refund-list-container', '/refund-request/'); exportPdfCsv('#transaction-list-container', '/transactions/'); exportPdfCsv('#withdrawal-list-container', '/withdrawals/'); exportPdfCsv('#subscriber-list-container', '/subscribers/'); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]-- |