WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/system/controls/TemplateControl.inc.php (3.47 KB)
<?php
/* --------------------------------------------------------------
   TemplateContol.inc.php 2012-05-21 gm
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2012 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of TemplateControl
 *
 * first load:	$coo_template_control =& MainFactory::create_object('TemplateControl', array(CURRENT_TEMPLATE), true);
 * later use:	$coo_template_control =& MainFactory::create_object('TemplateControl', array(), true);
 *
 * @author ncapuno
 */
class TemplateControl
{
	public $v_optional_template_settings_array = array();

	# set in load_template()
	private $v_template_name = '';
	private $v_template_presentation_version = '';
	
	# set in constructor
	private $v_template_container = '';
	private $v_coo_boxes_master = false;

	public static function &get_instance($p_template_name=false)
	{
		static $s_instance;

		if($s_instance === NULL)
		{
			if($p_template_name === false)
			{
				trigger_error('need template-parameter for creating instance', E_USER_ERROR);
				die();
			}
			$s_instance = new TemplateControl($p_template_name);
		}
		return $s_instance;
	}

	public function TemplateControl($p_template_name)
	{
		if(isset($GLOBALS['gmBoxesMaster']))
		{
			$this->v_coo_boxes_master = $GLOBALS['gmBoxesMaster'];
		}
		else {
			$this->v_coo_boxes_master = MainFactory::create_object('SimpleBoxesMaster');
		}
		
		$this->v_template_container = DIR_FS_CATALOG.'templates/';
		$this->load_template($p_template_name);
	}

	public function load_template($p_template_name)
	{
		# look for main file in given template directory name
		$t_check_file = $this->v_template_container.$p_template_name.'/index.html';

		if(file_exists($t_check_file) == false)
		{
			# main file not found. template name invalid?
			trigger_error('template not found: '. $p_template_name, E_USER_ERROR);
			die();
		}

		# all right. set template name
		$this->v_template_name = $p_template_name;

		# try to load template settings
		$t_settings_file = $this->v_template_container.$this->v_template_name.'/template_settings.php';
		if(file_exists($t_settings_file))
		{
			# include file with settings-array inside
			include($t_settings_file);
			
			# load settings
			$this->v_optional_template_settings_array = $t_template_settings_array;
			$this->v_template_presentation_version = $t_template_settings_array['TEMPLATE_PRESENTATION_VERSION'];
		}
		else
		{
			# old templates dont have settings files. use default version (=1.0)
			$this->v_template_presentation_version = 1.0;
		}
	}

	public function get_menubox_status($p_menubox)
	{
		if(isset($_SESSION['style_edit_mode']) && $_SESSION['style_edit_mode'] == 'edit')
		{
			# show all boxes, if style_edit is running
			$t_output = 1;
		}
		else {
			$t_output = $this->v_coo_boxes_master->get_status($p_menubox);
		}
		return $t_output;
	}

	public function get_menubox_position($p_menubox)
	{
		$t_output = $this->v_coo_boxes_master->get_position($p_menubox);
		return $t_output;
	}

	public function get_template_name()
	{
		return $this->v_template_name;
	}

	public function get_template_presentation_version()
	{
		return $this->v_template_presentation_version;
	}
}
?>
namawaktuukuranownerpermaksi
..
FeatureFilter/ 2013-11-12 21:1163.96 KB 76129f60960:kundendxwrx-rx-r
Properties/ 2013-11-12 21:1133.17 KB 76129f60960:kundendxwrx-rx-r
QuantityUnit/ 2013-11-12 21:1111.82 KB 76129f60960:kundendxwrx-rx-r
SliderSet/ 2013-11-12 21:1135.94 KB 76129f60960:kundendxwrx-rx-r
google/ 2013-11-12 21:1113.18 KB 76129f60960:kundendxwrx-rx-r
AdminMenuControl.inc.php 2013-11-12 21:112.54 KB 76129f60960:kunden-xw-x-----
edt
BrowserExtensionControl.inc.php 2013-11-12 21:115.4 KB 76129f60960:kunden-xw-x-----
edt
CacheControl.inc.php 2013-11-12 21:117.99 KB 76129f60960:kunden-xw-x-----
edt
CategoriesAgent.inc.php 2013-11-12 21:119.8 KB 76129f60960:kunden-xw-x-----
edt
DataObjectContainer.inc.php 2013-11-12 21:111.44 KB 76129f60960:kunden-xw-x-----
edt
EkomiAccountManager.inc.php 2013-11-12 21:113.63 KB 76129f60960:kunden-xw-x-----
edt
EkomiManager.inc.php 2013-11-12 21:118.81 KB 76129f60960:kunden-xw-x-----
edt
ExtenderComponent.inc.php 2013-11-12 21:11758 B 76129f60960:kunden-xw-x-----
edt
HTTPCaching.inc.php 2013-11-12 21:113.78 KB 76129f60960:kunden-xw-x-----
edt
JSOptionsControl.inc.php 2013-11-12 21:11654 B 76129f60960:kunden-xw-x-----
edt
LanguageTextManager.inc.php 2013-11-12 21:115.66 KB 76129f60960:kunden-xw-x-----
edt
ListingManager.inc.php 2013-11-12 21:111.34 KB 76129f60960:kunden-xw-x-----
edt
LoadUrl.php 2013-11-12 21:111.86 KB 76129f60960:kunden-xw-x-----
edt
PageTrack.inc.php 2013-11-12 21:111.73 KB 76129f60960:kunden-xw-x-----
edt
RecreateOrder.inc.php 2013-11-12 21:117.99 KB 76129f60960:kunden-xw-x-----
edt
ShopURLHandler.inc.php 2013-11-12 21:112 KB 76129f60960:kunden-xw-x-----
edt
TemplateControl.inc.php 2013-11-12 21:113.47 KB 76129f60960:kunden-xw-x-----
edt
index.html 2013-11-12 21:11395 B 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/system/controls
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK