0 : $src_x); $dst_y = ($d_max_y < $dst_y) ? $d_max_y : ($dst_y < 0 ? 0 : $dst_y); $src_y = ($s_max_y < $src_y) ? $s_max_y : ($src_y < 0 ? 0 : $src_y); $dst_w = ($dst_x + $dst_w > $d_max_x) ? 0 : $dst_w; $dst_h = ($dst_y + $dst_h > $d_max_y) ? 0 : $dst_h; $src_w = ($src_x + $src_w > $s_max_x) ? 0 : $src_w; $src_h = ($src_y + $src_h > $s_max_y) ? 0 : $src_h; } return func_gd_wrapper('imagecopyresampled', $dst, $src, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h); } /** * imagecolortransparent wrapper */ function func_imagecolortransparent($img, $color) { return func_gd_wrapper('imagecolortransparent', $img, $color); } /** * imagefill wrapper */ function func_imagefill($img, $x, $y, $color) { return func_gd_wrapper('imagefill', $img, $x, $y, $color); } /** * imagecopy wrapper */ function func_imagecopy($dst, $src, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h) { return func_gd_wrapper('imagecopy', $dst, $src, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h); } /** * imagecolorallocate wrapper */ function func_imagecolorallocate($img, $r, $g, $b) { return func_gd_wrapper('imagecolorallocate', $img, $r, $g, $b); } /** * imagecolorat wrapper */ function func_imagecolorat($img, $x, $y) { return func_gd_wrapper('imagecolorat', $img, $x, $y); } /** * imagesetpixel wrapper */ function func_imagesetpixel($img, $x, $y, $color) { return func_gd_wrapper('imagesetpixel', $img, $x, $y, $color); } /** * imagealphablending wrapper */ function func_imagealphablending($img, $flag) { return func_gd_wrapper('imagealphablending', $img, $flag); } /** * imagesavealpha wrapper */ function func_imagesavealpha($img, $flag) { return func_gd_wrapper('imagesavealpha', $img, $flag); } /** * imagecolorallocatealpha wrapper */ function func_imagecolorallocatealpha($img, $a, $b, $c, $d) { return func_gd_wrapper('imagecolorallocatealpha', $img, $a, $b, $c, $d); } /** * imagecreatetruecolor wrapper */ function func_imagecreatetruecolor($x, $y) { return func_gd_wrapper('imagecreatetruecolor', $x, $y); } /** * imagecreatefromjpeg wrapper */ function func_imagecreatefromjpeg($file) { return func_gd_wrapper('imagecreatefromjpeg', $file); } /** * imagecreatefromgif wrapper */ function func_imagecreatefromgif($file) { return func_gd_wrapper('imagecreatefromgif', $file); } /** * imagecreatefrompng wrapper */ function func_imagecreatefrompng($file) { return func_gd_wrapper('imagecreatefrompng', $file); } /** * imagecreatefromxpm wrapper */ function func_imagecreatefromxpm($file) { return func_gd_wrapper('imagecreatefromxpm', $file); } /** * imagecreatefromgd wrapper */ function func_imagecreatefromgd($file) { return func_gd_wrapper('imagecreatefromgd', $file); } /** * imagecreatefromgd2 wrapper */ function func_imagecreatefromgd2($file) { return func_gd_wrapper('imagecreatefromgd2', $file); } /** * imagecreatefromwbmp wrapper */ function func_imagecreatefromwbmp($file) { return func_gd_wrapper('imagecreatefromwbmp', $file); } ?> -------------------------------------------------+ | X-Cart Software license agreement | | Copyright (c) 2001-2012 Qualiteam software Ltd | | All rights reserved. | +-----------------------------------------------------------------------------+ | PLEASE READ THE FULL TEXT OF SOFTWARE LICENSE AGREEMENT IN THE "COPYRIGHT" | | FILE PROVIDED WITH THIS DISTRIBUTION. THE AGREEMENT TEXT IS ALSO AVAILABLE | | AT THE FOLLOWING URL: http://www.x-cart.com/license.php | | | | THIS AGREEMENT EXPRESSES THE TERMS AND CONDITIONS ON WHICH YOU MAY USE THIS | | SOFTWARE PROGRAM AND ASSOCIATED DOCUMENTATION THAT QUALITEAM SOFTWARE LTD | | (hereinafter referred to as "THE AUTHOR") OF REPUBLIC OF CYPRUS IS | | FURNISHING OR MAKING AVAILABLE TO YOU WITH THIS AGREEMENT (COLLECTIVELY, | | THE "SOFTWARE"). PLEASE REVIEW THE FOLLOWING TERMS AND CONDITIONS OF THIS | | LICENSE AGREEMENT CAREFULLY BEFORE INSTALLING OR USING THE SOFTWARE. BY | | INSTALLING, COPYING OR OTHERWISE USING THE SOFTWARE, YOU AND YOUR COMPANY | | (COLLECTIVELY, "YOU") ARE ACCEPTING AND AGREEING TO THE TERMS OF THIS | | LICENSE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY THIS AGREEMENT, DO | | NOT INSTALL OR USE THE SOFTWARE. VARIOUS COPYRIGHTS AND OTHER INTELLECTUAL | | PROPERTY RIGHTS PROTECT THE SOFTWARE. THIS AGREEMENT IS A LICENSE AGREEMENT | | THAT GIVES YOU LIMITED RIGHTS TO USE THE SOFTWARE AND NOT AN AGREEMENT FOR | | SALE OR FOR TRANSFER OF TITLE. THE AUTHOR RETAINS ALL RIGHTS NOT EXPRESSLY | | GRANTED BY THIS AGREEMENT. | +-----------------------------------------------------------------------------+ \*****************************************************************************/ /** * Functions for Wishlist module * * @category X-Cart * @package X-Cart * @subpackage Modules * @author Ruslan R. Fazlyev * @copyright Copyright (c) 2001-2012 Qualiteam software Ltd * @license http://www.x-cart.com/license.php X-Cart license agreement * @version $Id: func.php,v 1.1.2.3 2012/07/24 15:15:04 aim Exp $ * @link http://www.x-cart.com/ * @see ____file_see____ */ if ( !defined('XCART_START') ) { header("Location: ../../"); die("Access denied"); } /* * Used from skin/common_files/customer/service_js.tpl */ function func_tpl_is_jcarousel_is_needed() { global $smarty, $config, $active_modules; static $res; if (isset($res)) return $res; if ( !empty($active_modules['Wishlist']) && strstr($config['alt_skin'], 'ideal_comfort') !== false && ($vars = $smarty->get_template_vars()) && $vars['main'] == 'cart' && ( !empty($vars['wl_products']) || !empty($vars['wl_giftcerts']) ) ) { $res = true; } else { $res = false; } return $res; } ?> Cocktelea :: Frutas
Corteza de Limón Deshidratado
 
Corteza de Naranja Deshidratado
 
Frambuesas enteras liofilizadas
Corteza de Limón Deshidratado
 
Corteza de Naranja Deshidratado
 
Frambuesas enteras liofilizadas
4,95 €
 
4,95 €
 
5,75 €
 
 
 
Fresa en Rodajas Liofilizadas
 
Moras Enteras Liofilizadas
 
Pepino en Rodajas Deshidratado
Fresa en Rodajas Liofilizadas
 
Moras Enteras Liofilizadas
 
Pepino en Rodajas Deshidratado
5,75 €
 
5,75 €
 
4,95 €
 
 
 
 
&& is_array($history_url_data) && isset($history_url_data['resource_type']) && isset($history_url_data['resource_id']) ) { $redirect_url = func_get_resource_url($history_url_data['resource_type'], $history_url_data['resource_id']); if ($redirect_url) { func_header_location($redirect_url, true, 301); } } func_page_not_found(); } switch ($config['SEO']['clean_urls_ext_'.strtolower($clean_url_data['resource_type'])]) { case '.html': $redirect_to_canonical_url = !preg_match("/\.html$/Ssi", $ext_dispatched_request) || $dispatched_request_end == '/'; break; case '/': $redirect_to_canonical_url = preg_match("/\.html$/Ssi", $ext_dispatched_request) || $dispatched_request_end != '/'; break; default: $redirect_to_canonical_url = false; } if (!$redirect_to_canonical_url) $redirect_to_canonical_url = $clean_url_data['clean_url'] != $dispatched_request; // Perform permanent redirect to the corresponding dynamic page // if Clean URLs functionality is disabled // - or - // perform permanent redirect to the canonical URL if the path is incorrect. if ($config['SEO']['clean_urls_enabled'] != 'Y' || $redirect_to_canonical_url) { $redirect_url = func_get_resource_url($clean_url_data['resource_type'], $clean_url_data['resource_id'], $QUERY_STRING); if ($redirect_url) { assert("false/*$GLOBALS[HTTP_REFERER], $QUERY_STRING, $dispatched_request, $request_uri_info[path]::Correct is $clean_url_data[clean_url]".$config['SEO']['clean_urls_ext_'.strtolower($clean_url_data['resource_type'])]."*/"); func_header_location($redirect_url, true, 301); } func_page_not_found(); } switch ($clean_url_data['resource_type']) { case 'C': // Category page case $_GET['cat'] = $cat = intval($clean_url_data['resource_id']); $QUERY_STRING = 'cat=' . $cat . (!empty($QUERY_STRING) ? '&' . $QUERY_STRING : ''); $PHP_SELF = dirname($PHP_SELF).'/home.php'; require $xcart_dir.DIR_CUSTOMER.'/home.php'; break; case 'P': // Product page case $_GET['productid'] = $productid = intval($clean_url_data['resource_id']); $QUERY_STRING = 'productid=' . $productid . (!empty($QUERY_STRING) ? '&' . $QUERY_STRING : ''); $PHP_SELF = dirname($PHP_SELF) . '/product.php'; require $xcart_dir.DIR_CUSTOMER.'/product.php'; break; case 'M': // Manufacturer page case $_GET['manufacturerid'] = $manufacturerid = intval($clean_url_data['resource_id']); $QUERY_STRING = 'manufacturerid=' . $manufacturerid . (!empty($QUERY_STRING) ? '&' . $QUERY_STRING : ''); $PHP_SELF = dirname($PHP_SELF) . '/manufacturers.php'; require $xcart_dir.DIR_CUSTOMER.'/manufacturers.php'; break; case 'S': // Static page case $_GET['pageid'] = $pageid = intval($clean_url_data['resource_id']); $QUERY_STRING = 'pageid=' . $pageid . (!empty($QUERY_STRING) ? '&' . $QUERY_STRING : ''); $PHP_SELF = dirname($PHP_SELF) . '/pages.php'; require $xcart_dir.DIR_CUSTOMER.'/pages.php'; break; default: func_page_not_found(); } ?>