File manager - Edit - /home/autoph/public_html/connectv1/dist/js.bak/main.js
Back
$(function () { // parameters // folder var url = window.location.href.split('#')[0]; url = url.split('?')[0]; const url_arr = url.split("/"); // for sidebar menu entirely but not cover treeview $('ul.nav-sidebar a').filter(function() { var href_arr = this.href.split("/"); // console.log( url_arr[3] +' - '+ href_arr[3]); if(this.href == url || (url_arr[3] == href_arr[3] && $(this).attr('href') != '#')){ return true; }else{ return false; } // return this.href == url; }).addClass('active'); // for treeview $('ul.nav-treeview a').filter(function() { var href_arr = this.href.split("/"); if(this.href == url || (url_arr[3] == href_arr[3] && $(this).attr('href') != '#')){ return true; }else{ return false; } // return this.href == url; }).parentsUntil(".nav-sidebar > .nav-treeview").addClass('menu-open'); $("#notification-count").hide(); $.ajax({ url: "api/notification/notifications.php", method: "POST", data: { apiKey: '2625558409416390' }, cache: false, beforeSend: function() { $("#notification-count").hide(); }, success: function(data) { } }) });
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings