WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / styroporzuschnitte24_shop / gm / ajax / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/gm/ajax/live_search.php (3.58 KB)
<?php
/* --------------------------------------------------------------
   live_search.php 2011-09-13 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]
   --------------------------------------------------------------


   based on:
   (c) 2003	 nextcommerce (content_preview.php,v 1.2 2003/08/25); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: popup_content.php 1169 2005-08-22 16:07:09Z mz $)

   Released under the GNU General Public License
   ---------------------------------------------------------------------------------------*/

if(defined('_GM_VALID_CALL') === false) die('x0');

$f_needle 				= utf8_decode($_GET['needle']);
$t_needle 				= stripslashes($f_needle);
$c_needle 				= mysql_real_escape_string($t_needle);

$module_content = array();

$t_group_check = '';
if (GROUP_CHECK == 'true') {
	$t_group_check = " and p.group_permission_".(int)$_SESSION['customers_status']['customers_status_id']."=1 ";
}

$t_attr_from = '';
$t_attr_where = '';
if(SEARCH_IN_ATTR == 'true')
{
	$t_attr_from .= " LEFT OUTER JOIN " . TABLE_PRODUCTS_ATTRIBUTES . " AS pa ON (p.products_id = pa.products_id) LEFT OUTER JOIN " . TABLE_PRODUCTS_OPTIONS_VALUES . " AS pov ON (pa.options_values_id = pov.products_options_values_id) LEFT OUTER JOIN products_properties_combis AS ppc ON (p.products_id = ppc.products_id)  LEFT OUTER JOIN products_properties_index AS ppi ON (p.products_id = ppi.products_id) ";
	$t_attr_where .= "OR pa.attributes_model LIKE ('%".$c_needle."%') ";
	$t_attr_where .= "OR ppc.combi_model LIKE ('%".$c_needle."%') ";
	$t_attr_where .= "OR (ppi.properties_name LIKE ('%".$c_needle."%') ";
	$t_attr_where .= "AND ppi.language_id = '".(int) $_SESSION['languages_id']."')";
	$t_attr_where .= "OR (ppi.values_name LIKE ('%".$c_needle."%') ";
	$t_attr_where .= "AND ppi.language_id = '".(int) $_SESSION['languages_id']."')";
	$t_attr_where .= "OR (pov.products_options_values_name LIKE ('%" . $c_needle . "%') AND pov.language_id = '". (int)$_SESSION['languages_id'] . "')";
}

$t_desc_where = '';
if (SEARCH_IN_DESC == 'true')
{
   $t_desc_where .= "OR pd.products_description LIKE ('%". $c_needle ."%') ";
   $t_desc_where .= "OR pd.products_short_description LIKE ('%". $c_needle ."%') ";
}

$result = xtc_db_query('
	SELECT DISTINCT
		pd.products_id AS products_id,
		pd.products_name AS products_name
	FROM
		products p
		' . $t_attr_from . ',
		products_description pd
	WHERE
		p.products_status = 1 AND
		p.products_id = pd.products_id AND
		(pd.products_name LIKE "%' . $c_needle . '%" 
			OR p.products_model LIKE ("%'.$c_needle.'%") 
			OR p.products_ean LIKE ("%'.$c_needle.'%") '
			. $t_desc_where . ' '
			. $t_attr_where . ')
		AND
		pd.language_id = "'	. (int)$_SESSION['languages_id'] . '"
		' . $t_group_check . '
	ORDER BY
		pd.products_name
	LIMIT 0,10
');

while(($row = xtc_db_fetch_array($result) ))
{
	$module_content[] = array(
												'PRODUCTS_ID' 	=> $row['products_id'],
												'PRODUCTS_URL'	=> xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($row['products_id'], $row['products_name']) ),
												'PRODUCTS_NAME' => $row['products_name']
											);
}

if(sizeof($module_content) > 0) {
	$smarty = new Smarty;
	$smarty->assign('module_content', $module_content);

	$smarty->assign('language', $_SESSION['language']);
	$smarty->caching = 0;

	$smarty->display(CURRENT_TEMPLATE.'/module/gm_live_search.html');
}
?>
namawaktuukuranownerpermaksi
..
admin_fav_master.php 2013-11-12 21:021.63 KB 76129f60960:kunden-xw-x-----
edt
admin_lang_edit.php 2013-11-12 21:021.72 KB 76129f60960:kunden-xw-x-----
edt
admin_leftboxes.php 2013-11-12 21:021.74 KB 76129f60960:kunden-xw-x-----
edt
attribute_images.php 2013-11-12 21:022.06 KB 76129f60960:kunden-xw-x-----
edt
attributes_calculator.php 2013-11-12 21:024.75 KB 76129f60960:kunden-xw-x-----
edt
attributes_weight_calculator.php 2013-11-12 21:021.56 KB 76129f60960:kunden-xw-x-----
edt
callback_service.php 2013-11-12 21:022.03 KB 76129f60960:kunden-xw-x-----
edt
guestbook.php 2013-11-12 21:027.63 KB 76129f60960:kunden-xw-x-----
edt
live_search.php 2013-11-12 21:023.58 KB 76129f60960:kunden-xw-x-----
edt
mega_flyover.php 2013-11-12 21:021.66 KB 76129f60960:kunden-xw-x-----
edt
order_quantity_checker.php 2013-11-12 21:021.52 KB 76129f60960:kunden-xw-x-----
edt
product_images.php 2013-11-12 21:023.82 KB 76129f60960:kunden-xw-x-----
edt
products_images_popup.php 2013-11-12 21:023.16 KB 76129f60960:kunden-xw-x-----
edt
tell_a_friend.php 2013-11-12 21:02577 B 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

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