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.223.125.218
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 /
Instly-quote /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
custom.js
5.25
KB
-rw-r--r--
dashbord.js
3.58
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--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dashbord.js
$(document).ready(function() { // tab create $('.tabBlock-tab').click(function() { var index = $(this).index(); $('.tabBlock-tab').removeClass('is-active'); $(this).addClass('is-active'); $('.tabBlock-pane').removeClass('is-active'); $('.tabBlock-pane').eq(index).addClass('is-active'); }); // Function to handle file selection function handleFileSelect(inputSelector, displaySelector) { $(inputSelector).change(function() { var file = this.files[0]; var fileName = file.name; $(displaySelector).val(fileName); var reader = new FileReader(); reader.onload = function(e) { $('.uploading-img-count img').attr('src', e.target.result); } reader.readAsDataURL(file); }); } handleFileSelect('.input-file-call', '.showing-upload-label'); //datatable function function initializeDataTable(selector, orderablecol ) { $(selector).DataTable({ initComplete: function() { var searchBox = $('.tabledata-start div.dt-container .dt-search .dt-input'); searchBox.attr('placeholder', 'Search Insurer'); }, layout: { topStart: null }, columnDefs: [ { orderable: false, targets: orderablecol} ], }); } // Initialize the DataTable initializeDataTable('#companylist-table', [1, 5]); initializeDataTable('#policy-table', [1, 8]); // add more row function function initializeAddMoreFunctionality(containerClass, buttonClass, rowClass) { $(buttonClass).on('click', function() { var newRow = $(containerClass).find(rowClass).first().clone(); newRow.find('input').val(''); $(containerClass).append(newRow); }); $(containerClass).on('click', '.remove-current img', function() { if ($(containerClass).find(rowClass).length > 1) { $(this).closest(rowClass).remove(); } }); } $('.themore-add .delete-current').on('click', function() { if ($('.deduct-card').length > 1) { $(this).closest('.deduct-card').remove(); } else { alert("Cannot remove the last element."); } }); // Initialize the functionality initializeAddMoreFunctionality('.clone-container', '.addmore-deduct', '.addmore-row'); initializeAddMoreFunctionality('.deduct-x', '.addmore-btn', '.deduct-card'); //counter selector function updateCount(container) { var ulclass = $(container).find('.no-count'); var count = ulclass.children('li').length - 1; //$(container).find('.totalcount').text(count); $(container).find('.totalcount').text("+" + count); } $('.make-shorts').each(function() { updateCount(this); }); }); // code for image change document.addEventListener('DOMContentLoaded', function() { function initializeFileUploads(inputClass, labelClass) { const fileInputs = document.querySelectorAll(`.${inputClass}`); const fileLabels = document.querySelectorAll(`.${labelClass}`); fileInputs.forEach((fileInput, index) => { const fileLabel = fileLabels[index]; const tagline = fileLabel.querySelector('.upload_tagline'); fileLabel.addEventListener('click', function() { fileInput.click(); }); fileInput.addEventListener('change', function() { const fileName = fileInput.files[0] ? fileInput.files[0].name : 'No file chosen'; tagline.textContent = `Selected file: ${fileName}`; }); }); } // Call the function with class names to initialize file uploads initializeFileUploads('file-input', 'file-label'); initializeFileUploads('file-deduct', 'file-label-deduct'); // initializeFileUploads('target-click', 'showing-upload-label'); });
Close