403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/system/classes/layout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/system/classes/layout/BottomContentView.inc.php
<?php
/* --------------------------------------------------------------
  BottomContentView.inc.php 2018-02-23
  Gambio GmbH
  http://www.gambio.de
  Copyright (c) 2018 Gambio GmbH
  Released under the GNU General Public License (Version 2)
  [http://www.gnu.org/licenses/gpl-2.0.html]
  --------------------------------------------------------------
 */

class BottomContentView extends ContentView
{
	protected $parse_time;
	protected $extender_html;

	public function __construct()
	{
		parent::__construct();
		
		$this->set_content_template('module/bottom.html');
	}
	
	public function prepare_data()
	{
        
        $developmentEnvironment = file_exists(DIR_FS_CATALOG . '.dev-environment');
        
        if($developmentEnvironment && $_SESSION['customers_status']['customers_status_id'] === '0' && !isset($_GET['hide_debug_bar']))
        {
            // Enable the debug bar. 
	        $this->content_array['debug_bar']              = true;
	        $debugBarAssets                                = StaticGXCoreLoader::getDebugBarAssets();
	        $this->content_array['debug_bar_body_content'] = $debugBarAssets['body'];
        }
        else
        {
            // Disable the debug bar.
            $this->content_array['debug_bar'] = false;
        }
	    
		$t_uninitialized_array = $this->get_uninitialized_variables(array('extender_html'));
		if(empty($t_uninitialized_array))
		{
			$t_content_html = '';

			if($this->parse_time !== null)
			{
				$this->content_array['PARSE_TIME'] = $this->parse_time;
			}

			$t_content_html .= $this->get_modules_html();

			$t_content_html .= $this->extender_html;

			$this->content_array['CONTENT'] = $t_content_html;
		}
		else
		{
			trigger_error("Variable(s) " . implode(', ', $t_uninitialized_array) . " do(es) not exist in class " . get_class($this) . " or is/are null", E_USER_ERROR);
		}
	}
	
	function get_modules_html()
	{
		ob_start();

		/* BOF YOOCHOOSE */
		if(defined('YOOCHOOSE_ACTIVE') && YOOCHOOSE_ACTIVE)
		{
			require_once(DIR_WS_INCLUDES . 'yoochoose/tracking.php');
		}
		/* EOF YOOCHOOSE */
		
		$t_html = ob_get_clean();
		
		return $t_html;
	}
	
	protected function set_validation_rules()
	{
		$this->validation_rules_array['parse_time']		= array('type' => 'string', 'strict' => 'true');
		$this->validation_rules_array['extender_html']	= array('type' => 'string', 'strict' => 'true');
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit