name)) { if (file_exists(GVAR::$VAL["PATH_WEB"]."/_logs/_categoryRedirect.php")) { include(GVAR::$VAL["PATH_WEB"]."/_logs/_categoryRedirect.php"); $redirectULR = ""; $redirectCategory = GVAR::getREQUEST("category"); $redirectHTML = GVAR::getREQUEST("html"); if (!empty($categoryRedirect[$redirectCategory])) $redirectULR = "Location: /".GVAR::$VAL["linkCart"]."/category".GVAR::$VAL["phpext"]."?category=".urlencode($categoryRedirect[$redirectCategory]); if (!empty($categoryRedirect[$redirectHTML])) $redirectULR = "Location: ".GVAR::$VAL["linkCategory"].urlencode($categoryRedirect[$redirectHTML]).GVAR::$VAL["phpext"]; if (!empty($redirectULR)) { header("HTTP/1.1 301 Moved Permanently"); header($redirectULR); exit; } } $htmltitle = GVAR::$VAL["name"]; $metakeywords = strtolower(GVAR::$VAL["name"])." store"; $metadescription = GVAR::$VAL["name"]; $CIC->visitsHistory("Catalog"); } else { $htmltitle = $category->name.GVAR::$VAL["titleDivider"].GVAR::$VAL["name"]; if (!empty($category->HTML_title)) $htmltitle = $category->HTML_title; $metadescription = $category->name; if (!empty($category->description)) $metadescription = preg_replace('/(.*?[?!.](?=\s|$)).*/', '\\1', strip_tags($category->description)); if (!empty($category->HTML_description)) $metadescription = $category->HTML_description; $metakeywords = strtolower($category->name); if (!empty($category->HTML_keywords)) $metakeywords = $category->HTML_keywords; $CIC->visitsHistory($category->name); } $navCategory = GVAR::$VAL["linkCategory"]; if (empty($navCategory)) $navCategory = "/".GVAR::$VAL["linkCart"]."/category".GVAR::$VAL["phpext"]; if (GVAR::$VAL["HOST"] == "filljet.com") $getNavigation = $category->getNavigationNew($category->oid); else $getNavigation = $category->getNavigation($category->oid); $navigation = "Home".GVAR::$VAL["navigationDivider"]."Catalog".GVAR::$VAL["navigationDivider"].$getNavigation; $navigationList = "
  • Catalog
  • ".$getNavigation; if (!empty($category->categoryID)) $metaFile = "category.".$category->categoryID.".php"; else $metaFile = "category.php"; //if ($_SERVER['REMOTE_ADDR'] == '104.34.123.132') print $metaFile; if (file_exists(GVAR::$VAL["PATH_WEB"]."/cicini/meta/".$metaFile)) include(GVAR::$VAL["PATH_WEB"]."/cicini/meta/".$metaFile); $tUrl = parse_url($_SERVER['REQUEST_URI']); $script = $tUrl["path"]; $pageSplit = true; if (empty($category->filter) && $category->pageTotal == 1) $pageSplit = false; GVAR::CACHE(); require(GVAR::$VAL["PATH_WEB"]."/cicini/design/header.php"); ?>

    name ?>

    description ?> areProducts && $pageSplit) { ?>

    page == 1) $prev = ' disabled'; if ($category->page == $category->pageTotal) $next = ' disabled'; ?> > >

    " method="post" onsubmit="return addToBasket(this)"> areProducts) { ?>
    renderProducts(); ?>
    renderCategories(); ?>
    areProducts && $pageSplit) { ?>
      > >   NEXT page >