403Webshell
Server IP : 192.64.118.117  /  Your IP : 18.218.137.145
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/www/wp-content/plugins/leads/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/www/wp-content/plugins/leads/assets/js/wpl.list-page.js
jQuery(document).ready(function($) {
   // http://glocal.dev/wp-admin/edit.php?page=lead_management&post_type=wp-lead&wplead_list_category%5B%5D=51&relation=AND&orderby=date&order=asc&s=&t=&submit=Search+Leads
   function getParameterByName(url, name) {
       name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
       var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
           results = regex.exec(url);
       return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
   }
   var current_url = window.location.href.split("?");
   console.log(current_url[0]);
   var clean_admin = current_url[0].replace("edit-tags.php", "");
   jQuery('.edit a').each(function(){
   		var url = jQuery(this).attr('href');
   		var id_check = /[?&]tag_ID=([^&]+)/i;
   		var match = id_check.exec(url);
   		if (match != null) {
   		    final_id = match[1];
   		} else {
   		    final_id = "";
   		}
   		console.log(final_id);
   		var replacement_base = clean_admin + "edit.php?page=lead_management&post_type=wp-lead&wplead_list_category%5B%5D=" + final_id + "&relation=AND&orderby=date&order=asc&s=&t=&submit=Search+Leads";
   		var main_link = jQuery(this).parent().parent().parent().find(".row-title");
   		var main_text = main_link.text();
   		main_link.attr('href', replacement_base);
   		main_link.attr('title', "View Leads in " + main_text);
   		jQuery(this).parent().parent().find(".view a").attr('href', replacement_base).attr('title', "View Leads in " + main_text);

   		jQuery(".tag-link-" + final_id).attr('href', replacement_base).attr('title', "View Leads in " + main_text);
   });

 });

Youez - 2016 - github.com/yon3zu
LinuXploit