WPZ

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

*	-> class to create a google sitemap
	*/
	class GMOrderFormat {
		
		/*
		*	-> type: invoice or packingslip
		*/
		var $type;


		/*
		*	-> constructor
		*/
		function GMOrderFormat() {
		
		}

		/*
		*	-> get act id from table orders
		*/
		function get_act_id($type) {			
			
			if($type == 'GM_NEXT_INVOICE_ID') {
				$type = 'gm_orders_id'; 
			} else {
				$type = 'gm_packings_id'; 
			}	
			$gm_query = xtc_db_query("
										SELECT
											" . $type . "
										AS
											id
										FROM 
											orders
										ORDER BY
											" . $type . "
										DESC
										LIMIT 1
									");
			if(xtc_db_num_rows($gm_query) > 0) {
				$gm_row = xtc_db_fetch_array($gm_query);
				return $gm_row['id'];
			} else {
				return 0;
			}			
		}		
		
		function get_next_id($type) {
			
			return gm_get_conf($type);
		}
		
		function update_next_id($type, $value, $oID) {			
			
			if($type == 'GM_NEXT_INVOICE_ID') {
				$type = 'gm_orders_id'; 
			} else {
				$type = 'gm_packings_id'; 
			}	
			
			xtc_db_query("
									UPDATE
										orders
									SET
										" . $type . " = '" . $value . "'
									WHERE
										orders_id = '" . $oID . "'
									");

		}

		function update_next_code($type, $value, $oID) {			
			
			if($type == 'GM_NEXT_INVOICE_ID') {
				$type = 'gm_orders_code'; 
			} else {
				$type = 'gm_packings_code'; 
			}	
			
			xtc_db_query("
									UPDATE
										orders
									SET
										" . $type . " = '" . $value . "'
									WHERE
										orders_id = '" . $oID . "'
									");

		}
		
		function set_next_id($type, $next_id) {
			if(is_numeric($next_id) && $next_id > $this->get_act_id($type)) {
				gm_set_conf($type, $next_id);
				return true;
			} else {
				return false;			
			}		
		}

		/*
		*	function to change the order status
		*	@param int		$p_orders_id
		*	@param int		$p_order_status_id
		*	@param int		$p_customer_notified
		*	@param String	$p_comment
		*	@return void
		*/
		function update_orders_status($p_orders_id, $p_order_status_id, $p_customer_notified, $p_comment)
		{
			if(!empty($p_order_status_id))
			{
				xtc_db_query("
								UPDATE " .
									TABLE_ORDERS . "
								SET
									orders_status	= '" . (int)$p_order_status_id	. "',
									last_modified	= NOW()
								WHERE
									orders_id		= '" . (int)$p_orders_id		. "'
				");

				xtc_db_query("
								INSERT INTO " . 
									TABLE_ORDERS_STATUS_HISTORY . " 
								SET
									orders_id			= '" . (int)$p_orders_id		. "',
									orders_status_id	= '" . (int)$p_order_status_id	. "',
									customer_notified	= '" . $customer_notified		. "',
									comments			= '" . $p_comment				. "',
									date_added			= NOW()"
				);
			}
			return;
		}


		/*
		*	function to get the date of the invoice
		*	@param int		$p_orders_id
		*	@param int		$p_order_status_id
		*	@return String
		*/
		function get_invoice_date($p_orders_id, $p_order_status_id)
		{
			$t_invoice_date =  date('d.m.Y');
			
			if(!empty($p_order_status_id))
			{
				$t_query = xtc_db_query("
											SELECT
												date_added
											FROM " . 
												TABLE_ORDERS_STATUS_HISTORY . " 
											WHERE
												orders_id			= '" . (int)$p_orders_id		. "'
											AND
												orders_status_id	= '" . (int)$p_order_status_id	. "'
											GROUP BY 
												orders_status_id
											ORDER BY 
												date_added
											ASC
											LIMIT 1
				");

				if((int)xtc_db_num_rows($t_query) > 0)
				{
					$t_row = xtc_db_fetch_array($t_query);
					
					$t_invoice_date = xtc_date_short($t_row['date_added']);
				}
			}

			return $t_invoice_date;
		}
	}
?>
namawaktuukuranownerpermaksi
..
GMAltText.php 2013-11-12 20:532.55 KB 76129f60960:kunden-xw-x-----
edt
GMGroupIdChecker.php 2013-11-12 20:532.33 KB 76129f60960:kunden-xw-x-----
edt
GMIdStarts.php 2013-11-12 20:532.52 KB 76129f60960:kunden-xw-x-----
edt
GMInvoicing.php 2013-11-12 20:5310.88 KB 76129f60960:kunden-xw-x-----
edt
GMInvoicingConfiguration.php 2013-11-12 20:536.39 KB 76129f60960:kunden-xw-x-----
edt
GMLangFileImport.php 2013-11-12 20:53795 B 76129f60960:kunden-xw-x-----
edt
GMModulesManager.php 2013-11-12 20:5313.34 KB 76129f60960:kunden-xw-x-----
edt
GMOpenSearch.php 2013-11-12 20:534.09 KB 76129f60960:kunden-xw-x-----
edt
GMOrderFormat.php 2013-11-12 20:534.09 KB 76129f60960:kunden-xw-x-----
edt
GMProductExport.php 2013-11-12 20:5356.76 KB 76129f60960:kunden-xw-x-----
edt
GMProductUpload.php 2013-11-12 20:537.9 KB 76129f60960:kunden-xw-x-----
edt
GMSitemapXML.php 2013-11-12 20:5315.42 KB 76129f60960:kunden-xw-x-----
edt
GMStart.php 2013-11-12 20:5311.6 KB 76129f60960:kunden-xw-x-----
edt
GMStat.php 2013-11-12 20:5319.62 KB 76129f60960:kunden-xw-x-----
edt
GMUpload.php 2013-11-12 20:535.52 KB 76129f60960:kunden-xw-x-----
edt
ShowLogs.php 2013-11-12 20:537.29 KB 76129f60960:kunden-xw-x-----
edt
gmOrderPDF.php 2013-11-12 20:5326.84 KB 76129f60960:kunden-xw-x-----
edt
gmPDF.php 2013-11-12 20:5313.37 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

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