WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / styroporzuschnitte24_shop / gm / classes / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/gm/classes/GMGPrintSurfacesManager.php (9.62 KB)
<?php
/* --------------------------------------------------------------
   GMGPrintSurfacesManager.php 2009-12-07 mb
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2009 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/
?><?php
class GMGPrintSurfacesManager
{
	var $v_surfaces = array();
	var $v_current_surfaces_id = 0;
	var $v_name = '';
	
	var $v_surfaces_groups_id;
	
	function GMGPrintSurfacesManager($p_surfaces_groups_id)
	{
		$this->v_surfaces_groups_id = (int)$p_surfaces_groups_id;
	}
	
	function create_surface($p_names, $p_width, $p_height)
	{
		$c_surfaces_groups_id = (int)$this->v_surfaces_groups_id;
		
		$t_create_surface = xtc_db_query("INSERT INTO " . TABLE_GM_GPRINT_SURFACES . " 
											SET gm_gprint_surfaces_groups_id = '" . $c_surfaces_groups_id . "'");
		$t_surfaces_id = xtc_db_insert_id();
		
		if(!empty($t_surfaces_id))
		{
			$t_delete_trash = xtc_db_query("DELETE FROM " . TABLE_GM_GPRINT_SURFACES_DESCRIPTION . " 
											WHERE gm_gprint_surfaces_id = '" . $t_surfaces_id . "'");
			
			foreach($p_names AS $t_language_id => $t_name)
			{
				$c_languages_id = (int)$t_language_id;
				$c_name = mysql_real_escape_string(stripslashes($t_name));
				
				$t_create_surface_description = xtc_db_query("INSERT INTO " . TABLE_GM_GPRINT_SURFACES_DESCRIPTION . " 
												SET gm_gprint_surfaces_id = '" . $t_surfaces_id . "',
													name = '" . $c_name . "',
													languages_id = '" . $c_languages_id . "'");
			}
			
			$coo_surface = new GMGPrintSurfaces($t_surfaces_id);
			$coo_surface->set_size($p_width, $p_height);
			$coo_surface->set_names($p_names);
			
			$this->v_surfaces[$t_surfaces_id] =& $coo_surface;
			$this->set_current_surfaces_id($t_surfaces_id);
		}
		
		return $t_surfaces_id;
	}
	
	function load_surfaces_group($p_surfaces_groups_id, &$p_coo_gprint_configuration, $p_product = '')
	{
		$c_surfaces_groups_id = (int)$p_surfaces_groups_id;
		
		$t_get_name = xtc_db_query("SELECT name 
									FROM " . TABLE_GM_GPRINT_SURFACES_GROUPS . " 
									WHERE gm_gprint_surfaces_groups_id = '" . $c_surfaces_groups_id . "'");
		if(xtc_db_num_rows($t_get_name) == 1)
		{
			$t_gm_name = xtc_db_fetch_array($t_get_name);
			$this->set_name($t_gm_name['name']);
		}
		
		$t_get_surfaces = xtc_db_query("SELECT 
											gm_gprint_surfaces_id, 
											width, 
											height 
										FROM " . TABLE_GM_GPRINT_SURFACES . "
										WHERE gm_gprint_surfaces_groups_id = '" . $c_surfaces_groups_id . "'
										ORDER BY gm_gprint_surfaces_id");
		while($t_surfaces = xtc_db_fetch_array($t_get_surfaces))
		{
			$coo_surface = new GMGPrintSurfaces($t_surfaces['gm_gprint_surfaces_id']);
			$coo_surface->set_width($t_surfaces['width']);
			$coo_surface->set_height($t_surfaces['height']);
			
			$t_names = array();
			
			$t_get_surfaces_names = xtc_db_query("SELECT 
														languages_id,
														name
													FROM " . TABLE_GM_GPRINT_SURFACES_DESCRIPTION . "
													WHERE gm_gprint_surfaces_id = '" . $t_surfaces['gm_gprint_surfaces_id'] . "'
													ORDER BY languages_id"); 
			while($t_surfaces_names = xtc_db_fetch_array($t_get_surfaces_names))
			{
				$t_names[$t_surfaces_names['languages_id']] = $t_surfaces_names['name'];
			}
			
			$coo_surface->set_names($t_names);
			
			$coo_surface->load_elements($t_surfaces['gm_gprint_surfaces_id'], $p_coo_gprint_configuration);
			
			$this->v_surfaces[$t_surfaces['gm_gprint_surfaces_id']] = $coo_surface;
			$this->set_current_surfaces_id($t_surfaces['gm_gprint_surfaces_id']);
		}
		
		if(!empty($p_product))
		{
			if(strpos($p_product, 'cart_') === 0)
			{
				$t_product = str_replace('cart_' , '', $p_product);
				
				foreach($this->v_surfaces AS $t_surfaces_id => $t_surface)
				{
					foreach($this->v_surfaces[$t_surfaces_id]->v_elements AS $t_elements_id => $t_element)
					{
						foreach($_SESSION['coo_gprint_cart']->v_elements[$t_product] AS $t_cart_elements_id => $t_cart_elements_value)
						{
							if($t_elements_id == $t_cart_elements_id)
							{
								$t_customers_values = array();
								$t_languages_ids = $p_coo_gprint_configuration->get_languages_ids();
								
								for($i = 0; $i < count($t_languages_ids); $i++)
								{
									$t_customers_values[$t_languages_ids[$i]][] = $t_cart_elements_value;
								}								
								
								if($this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->get_type() != 'dropdown')
								{
									$this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->set_values($t_customers_values);
								}
								else
								{
									$this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->set_selected_dropdown_value($t_cart_elements_value);
								}
								
								if($_SESSION['coo_gprint_cart']->v_files[$t_product][$t_cart_elements_id] > 0)
								{
									$c_uploads_id = (int)$_SESSION['coo_gprint_cart']->v_files[$t_product][$t_cart_elements_id];
									$t_get_download_key = xtc_db_query("SELECT download_key
																		FROM " . TABLE_GM_GPRINT_UPLOADS . "
																		WHERE gm_gprint_uploads_id = '" . $c_uploads_id . "'");
									if(xtc_db_num_rows($t_get_download_key) == 1)
									{
										$t_download_data = xtc_db_fetch_array($t_get_download_key);
										$this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->set_download_key($t_download_data['download_key']);
									}
								}
							}
						}
					}
				}				
			}
			elseif(strpos($p_product, 'wishlist_') === 0)
			{
				$t_product = str_replace('wishlist_' , '', $p_product);
				
				foreach($this->v_surfaces AS $t_surfaces_id => $t_surface)
				{
					foreach($this->v_surfaces[$t_surfaces_id]->v_elements AS $t_elements_id => $t_element)
					{
						foreach($_SESSION['coo_gprint_wishlist']->v_elements[$t_product] AS $t_wishlist_elements_id => $t_wishlist_elements_value)
						{
							if($t_elements_id == $t_wishlist_elements_id)
							{
								$t_customers_values = array();
								$t_languages_ids = $p_coo_gprint_configuration->get_languages_ids();
								
								for($i = 0; $i < count($t_languages_ids); $i++)
								{
									$t_customers_values[$t_languages_ids[$i]][] = $t_wishlist_elements_value;
								}								
								
								if($this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->get_type() != 'dropdown')
								{
									$this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->set_values($t_customers_values);
								}
								else
								{
									$this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->set_selected_dropdown_value($t_wishlist_elements_value);
								}
								
								if($_SESSION['coo_gprint_wishlist']->v_files[$t_product][$t_wishlist_elements_id] > 0)
								{
									$c_uploads_id = (int)$_SESSION['coo_gprint_wishlist']->v_files[$t_product][$t_wishlist_elements_id];
									$t_get_download_key = xtc_db_query("SELECT download_key
																		FROM " . TABLE_GM_GPRINT_UPLOADS . "
																		WHERE gm_gprint_uploads_id = '" . $c_uploads_id . "'");
									if(xtc_db_num_rows($t_get_download_key) == 1)
									{
										$t_download_data = xtc_db_fetch_array($t_get_download_key);
										$this->v_surfaces[$t_surfaces_id]->v_elements[$t_elements_id]->set_download_key($t_download_data['download_key']);
									}
								}
							}
						}
					}
				}				
			}
		}
		
		$coo_json = new GMJSON();
		$t_json = $coo_json->encode($this);
		return $t_json;
	}
	
	function delete_surface($p_surfaces_id)
	{
		$t_success = false;
		
		if(!empty($p_surfaces_id))
		{
			$c_surfaces_id = (int)$p_surfaces_id;
			
			$t_get_elements = xtc_db_query("SELECT gm_gprint_elements_id 
											FROM " . TABLE_GM_GPRINT_ELEMENTS . " 
											WHERE gm_gprint_surfaces_id = '" . $c_surfaces_id. "'");
			while($t_elements = xtc_db_fetch_array($t_get_elements))
			{
				$t_success = $this->v_surfaces[$p_surfaces_id]->delete_element($t_elements['gm_gprint_elements_id']);
			}
			
			if($t_success == 'true' || xtc_db_num_rows($t_get_elements) == 0)
			{
				$t_success = false;
				
				$t_delete_surface_description = xtc_db_query("DELETE FROM " . TABLE_GM_GPRINT_SURFACES_DESCRIPTION . "
																WHERE gm_gprint_surfaces_id = '" . $c_surfaces_id. "'");
				$t_delete_surface = xtc_db_query("DELETE FROM " . TABLE_GM_GPRINT_SURFACES . "
																WHERE gm_gprint_surfaces_id = '" . $c_surfaces_id. "'");
				
				unset($this->v_surfaces[$p_surfaces_id]);
				
				$t_success = 'true';
			}
		}
		
		return $t_success;
	}
	
	function update_name($p_name)
	{
		$c_name = mysql_real_escape_string(stripslashes($p_name));
		$c_surfaces_groups_id = (int)$this->get_surfaces_groups_id();
		$t_success = false;
		
		$t_update_name = xtc_db_query("UPDATE " . TABLE_GM_GPRINT_SURFACES_GROUPS . " 
										SET name = '" . $c_name . "' 
										WHERE gm_gprint_surfaces_groups_id = '" . $c_surfaces_groups_id . "'");
		if($t_update_name !== false)
		{
			$this->set_name($p_name);
			$t_success = true;
		}
		
		return $t_success;
	}
	
	function get_name()
	{
		return $this->v_name;
	}
	
	function set_name($p_name)
	{
		$this->v_name = $p_name;
	}
	
	function get_current_surfaces_id()
	{
		return $this->v_current_surfaces_id;
	}
	
	function set_current_surfaces_id($p_current_surfaces_id)
	{
		$this->v_current_surfaces_id = $p_current_surfaces_id;
	}
	
	function get_surfaces_groups_id()
	{
		return $this->v_surfaces_groups_id;
	}
}
?>
namawaktuukuranownerpermaksi
..
csstidy/ 2013-11-12 21:03125.89 KB 76129f60960:kundendxwrx-rx-r
lib/ 2013-11-12 21:03601.96 KB 76129f60960:kundendxwrx-rx-r
ErrorHandler.php 2013-11-12 21:0310.34 KB 76129f60960:kunden-xw-x-----
edt
FileLog.php 2013-11-12 21:022.93 KB 76129f60960:kunden-xw-x-----
edt
GMAltText.php 2013-11-12 21:032.94 KB 76129f60960:kunden-xw-x-----
edt
GMAttributesCalculator.php 2013-11-12 21:034.65 KB 76129f60960:kunden-xw-x-----
edt
GMCSSMonitor.php 2013-11-12 21:0313.19 KB 76129f60960:kunden-xw-x-----
edt
GMCSSOptimizer.php 2013-11-12 21:0332.87 KB 76129f60960:kunden-xw-x-----
edt
GMCat.php 2013-11-12 21:039.08 KB 76129f60960:kunden-xw-x-----
edt
GMCounter.php 2013-11-12 21:0317.05 KB 76129f60960:kunden-xw-x-----
edt
GMEbay.php 2013-11-12 21:029.16 KB 76129f60960:kunden-xw-x-----
edt
GMGMotion.php 2013-11-12 21:0224.31 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintCartManager.php 2013-11-12 21:0314.66 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintConfiguration.php 2013-11-12 21:032.17 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintContentManager.php 2013-11-12 21:028.79 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintElements.php 2013-11-12 21:0315.79 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintFileManager.php 2013-11-12 21:026.06 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintOrderElements.php 2013-11-12 21:037.46 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintOrderManager.php 2013-11-12 21:036.27 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintOrderSurfaces.php 2013-11-12 21:036.41 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintOrderSurfacesManager.php 2013-11-12 21:034.86 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintProductManager.php 2013-11-12 21:024.55 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintSurfaces.php 2013-11-12 21:039.99 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintSurfacesGroupsManager.php 2013-11-12 21:031.96 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintSurfacesManager.php 2013-11-12 21:039.62 KB 76129f60960:kunden-xw-x-----
edt
GMGPrintWishlistManager.php 2013-11-12 21:0314.81 KB 76129f60960:kunden-xw-x-----
edt
GMJSON.php 2013-11-12 21:032.44 KB 76129f60960:kunden-xw-x-----
edt
GMJanolaw.php 2013-11-12 21:033.76 KB 76129f60960:kunden-xw-x-----
edt
GMLangFileMaster.php 2013-11-12 21:03965 B 76129f60960:kunden-xw-x-----
edt
GMLightboxControl.php 2013-11-12 21:03691 B 76129f60960:kunden-xw-x-----
edt
GMLogoManager.php 2013-11-12 21:036.78 KB 76129f60960:kunden-xw-x-----
edt
GMMeta.php 2013-11-12 21:028.29 KB 76129f60960:kunden-xw-x-----
edt
GMProduct.php 2013-11-12 21:032.37 KB 76129f60960:kunden-xw-x-----
edt
GMSEOBoost.php 2013-11-12 21:0325.63 KB 76129f60960:kunden-xw-x-----
edt
GMSitemap.php 2013-11-12 21:035.32 KB 76129f60960:kunden-xw-x-----
edt
GMStatusbar.php 2013-11-12 21:022.46 KB 76129f60960:kunden-xw-x-----
edt
GMTSWidget.php 2013-11-12 21:034.93 KB 76129f60960:kunden-xw-x-----
edt
GMTabTokenizer.php 2013-11-12 21:032.81 KB 76129f60960:kunden-xw-x-----
edt
GMTracker.php 2013-11-12 21:033.49 KB 76129f60960:kunden-xw-x-----
edt
JSON.php 2013-11-12 21:0339.98 KB 76129f60960:kunden-xw-x-----
edt
application_top.php 2013-11-12 21:0334.02 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/gm/classes
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