render($item); if (!empty($err)) $ERROR .= getError($err); $productName = $product->name; if (!empty($product->product["addTitle"])) $productName .= " - ".$product->product["addTitle"]; if (empty($product->oid) && file_exists(GVAR::$VAL["PATH_WEB"]."/_logs/_productRedirect.php")) { include(GVAR::$VAL["PATH_WEB"]."/_logs/_productRedirect.php"); $redirectULR = ""; if (!empty($productRedirect[$item["name"]])) $redirectULR = "/".GVAR::$VAL["linkCart"]."/product".GVAR::$VAL["phpext"]."?product=".urlencode($productRedirect[$item["name"]]); if (!empty($productRedirect[$item["html"]])) $redirectULR = GVAR::$VAL["linkProduct"].urlencode($productRedirect[$item["html"]]).GVAR::$VAL["phpext"]; if (!empty($redirectULR)) { header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$redirectULR); exit; } } if (!empty($product->product["HTML_title"])) $htmltitle = $product->product["HTML_title"]; else $htmltitle = $productName.GVAR::$VAL["titleDivider"].GVAR::$VAL["name"]; if (!empty($product->product["HTML_description"])) $metadescription = $product->product["HTML_description"]; else { if (!empty($product->render["DESCRIPTION"])) { // $metadescription = preg_replace('/(.*?[?!.](?=\s|$)).*/', '\\1', strip_tags($product->render["DESCRIPTION"])); $metadescription = strip_tags($product->render["DESCRIPTION"]); $cutPos = strpos($metadescription, ". "); if ($cutPos !== false) $metadescription = substr($metadescription, 0, $cutPos+1); } else $metadescription = $productName; } if (!empty($product->product["HTML_keywords"])) $metakeywords = $product->product["HTML_keywords"]; else $metakeywords = strtolower($productName).", ".strtolower(GVAR::$VAL["name"]); if (GVAR::$VAL["HOST"] == "filljet.com") $getNavigation = $product->getNavigationNew($product->oid); else $getNavigation = $product->getNavigation($product->oid); $navigation = "Home".GVAR::$VAL["navigationDivider"]."Catalog".GVAR::$VAL["navigationDivider"].$getNavigation; $navigationList = "
  • Catalog
  • ".$getNavigation; $CIC->visitsHistory($product->name); $metaFile = "product.".$product->productID.GVAR::$VAL["phpext"]; if (file_exists(GVAR::$VAL["PATH_WEB"]."/cicini/meta/".$metaFile)) include(GVAR::$VAL["PATH_WEB"]."/cicini/meta/".$metaFile); if (file_exists(GVAR::$VAL["PATH_WEB"]."/cicini/includes/product.header.php")) include(GVAR::$VAL["PATH_WEB"]."/cicini/includes/product.header.php"); if (!headers_sent()) GVAR::CACHE(); require(GVAR::$VAL["PATH_WEB"]."/cicini/design/header.php"); ?> product)) { ?>
    " method="post" onsubmit="return addToBasket(this)">
    product["prop65ca"])) include(GVAR::$VAL["PATH_WEB"]."/".GVAR::$VAL["linkCart"]."/prop65ca.php"); ?>