Your Basket has 0 items

Goods Total: £0.00 inc VAT

Checkout

0800 612 6537
international sites

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


( ! ) Warning: include(templates/extras/company_news.html) [function.include]: failed to open stream: No such file or directory in D:\home\ombrelle.co.uk\routines\tSys.php(569) : eval()'d code(2062) : eval()'d code on line 14
Call Stack
#TimeMemoryFunctionLocation
10.0005757576{main}( )..\urlcheck.php:0
20.21414776288tSys->showPage( )..\urlcheck.php:156
30.21996828456eval( '?>theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); ?> theVariables["shop"]["baseDir"] ?> " /> " /> " /> 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if ($_result_num > 0) { $_row = mysql_fetch_assoc($_result); @$this->theVariables["snippet"]["metaDescription"] = $_row["metaDescription"] != "" ? $_row["metaDescription"] : "Buy Fire Safety Products such as Fire Extinguishers, Fire Safes, Smoke Alarms, CO Detectors etc with Best Price Guarantee"; @$this->theVariables["snippet"]["metaKeywords"] = $_row["metaKeywords"] != "" ? $_row["metaKeywords"] : "Fire Safety Products, Fire Extinguishers, Smoke Alarms, CO detectors, dorgard, fire doors, fire safes, door retainers, fire escape ladders, emergency lighting, first aid kits"; @$this->theVariables["snippet"]["CSS"] = $_row["CSS"]; @$this->theVariables["snippet"]["TopBar"] = $_row["TopBar"]; @$this->theVariables["snippet"]["content"] = $_row["content"]; @$this->theVariables["snippet"]["title"] = $_row["title"]; } ?> <?php print @$this->theVariables["snippet"]["title"]; ?> " /> " /> retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_UA = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google UA code..

\n"; } } /*/ get google user account /*/ /* successful conversion, get the google store info */ if ($pageType == 'checkout_order_success') { $strSQL = "SELECT value FROM $tableOptions WHERE name = 'googleStore'"; $gResult = $dbA->retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_STORE = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google Store name..

\n"; } } ?> theVariables["order"]["orderID"] + retrieveOption("orderNumberOffset")); $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; /* $strOrderTo = @$this->theVariables["order"]["deliveryCompany"]; if (trim($strOrderTo) == "") $strOrderTo = @$this->theVariables["order"]["forename"] . " " . @$this->theVariables["order"]["surname"]; if (trim($strOrderTo) == "") $strOrderTo = "Unknown"; */ $GA_STORE = (isset($GA_STORE) && $GA_STORE != '') ? $GA_STORE : 'Unknown'; $CART_CONVERSION_SCRIPT .= " '".$GA_STORE."', // affiliation\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["goodsTotal"],2)) . "', // total\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["taxTotal"],2)) . "', // tax\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["shippingTotal"],2)) . "', // shipping\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryTown"]) . "', // city\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", preg_replace("/^([a-z]+[0-9]+).*/i", "$1", @$this->theVariables["order"]["deliveryPostcode"])) . "', // state (actually we use the first half of the postcode)\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryCountry"]) . "' // country\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_addItem',\n"; $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["code"]) . "', // SKU\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["name"]) . "', // Product Name\n"; $CART_CONVERSION_SCRIPT .= " 'Look in jShop', // Category\n"; $CART_CONVERSION_SCRIPT .= " '" . preg_replace("/[^0-9\.]/", "", @$this->theVariables["order"]["products"][$i]["price"]) . "', // price\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["qty"]) . "' // quantity\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; } $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_trackTrans']);\n"; /* microsoft adCentre tracking code */ $_CART_CONVERSION_SCRIPT_MICROSOFT = "\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= ' '."\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= "\n"; /* twenga tracking code */ $TWENGA_CONVERSION_SCRIPT = ''; $TWENGA_CONVERSION_SCRIPT .= ''; } /* allow ab testing results on the dev servers */ if ((SERVERNAME == "LIVE" && !IS_DEVELOPER && STAFF == 0) || IS_DEVSERVER) { if ($allow['abTesting']) { /* AB TEST RESULTS */ /*global $tableProductsTree, $tableSections; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $strSQL = "SELECT $tableProductsTree.sectionID, $tableSections.parent FROM $tableProductsTree LEFT JOIN $tableSections ON $tableProductsTree.sectionID = $tableSections.sectionID WHERE $tableProductsTree.xShop = '".$_GET['xShop']."' AND $tableProductsTree.productID = " . @$this->theVariables["order"]["products"][$i]["productID"]; $rsSections = $dbA->query($strSQL); if ($dbA->count($rsSections) > 0) { while ($section = $dbA->fetch($rsSections)) { if ((isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']] === true) || (isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']] === true)) { $conversionColumn = 'conversion'.$_SESSION['AB_TEST_GROUP']; $strSQL = "UPDATE ab_results SET $conversionColumn = $conversionColumn + 1 WHERE sectionID = ".$section['sectionID']; $dbA->query($strSQL); } } } } unset($_SESSION['AB_TEST_GROUP_SECTIONS']); */ $conversionColumn = $_SESSION['AB_TEST_GROUP'] . 'TestConversions'; $strSQL = "UPDATE jss_general SET $conversionColumn = $conversionColumn + 1 WHERE companyName = 'Safelincs Ltd'"; $dbA->query($strSQL); } } ?> theVariables["company"]["telephone"] = $_COOKIE["freephone"]; } ?>
Switch to mobile site
theVariables["cart"]["currency"]["pretext"], '', $value['price']); if($_GET['xShop'] == 'templates_safelincsde/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/') { $thisPrice = str_replace(',', '.', $thisPrice); } if($thisPrice < $lowestPrice || !isset($lowestPrice)) { $lowestPrice = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $thisPrice); $thisIDs = $value['options']; } } } ?> 0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if ((float)str_replace('£', '', $item[$id])<(float)str_replace('£', '', $array[$lowest_id][$id])) { $lowest_id = $index; } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); } return $temp_array; } } /* /sort multi-dimensional array - php.net */ ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["product"]; $allExtrafields = array(); $matrixProductPrice = array(); if (count($currentProd) > 0) { foreach ($currentProd as $cPname => $cPvalue) { if (preg_match('/^extra_/', $cPname) && $cPvalue['type'] == 'SELECT' && $cPvalue['options'] != NULL) { $allExtrafields[$cPvalue['title']] = array(); foreach ($cPvalue['options'] as $cPopt) { $allExtrafields[$cPvalue['title']][$cPopt['option']] = $cPopt['id']; } } } } ?> theVariables["product"]["pricing"]["combinationstable"]["entries"] = msort($this->theVariables["product"]["pricing"]["combinationstable"]["entries"], 'price'); ?> theVariables["product"]["pricing"]["combinationstable"]["available"] == "Y") { ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); for ($maloop2 = 0; $maloop2 < $counter2; $maloop2++) { $this->loopCounters["product.pricing.combinationstable.entries"]["count"] = $maloop2 + 1; ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); for ($maloop3 = 0; $maloop3 < $counter3; $maloop3++) { $this->loopCounters["product.pricing.combinationstable.entries.fields"]["count"] = $maloop3 + 1; ?> 0) { $efIds[] = $allExtrafields[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["field"]][@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["value"]]; } ?> @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["price"], 'discountprice' => @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["discountIncVat"], 'stock' => $jsStockArray[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["id"]], 'options' => $tmpEfIds); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["type"] == "USERINPUT") { ?> theVariables["product"]["extrafields"][$maloop1]["requirement"] > 0) { ?>
">

" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>" size="theVariables["product"]["extrafields"][$maloop1]["size"]; ?>" maxlength="theVariables["product"]["extrafields"][$maloop1]["maxlength"]; ?>" /> theVariables["product"]["extrafields"][$maloop1]["error"] == "Y") { ?> Please enter a value here.

theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>

theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: theVariables["product"]["extrafields"][$maloop1]["content"]; ?>

theVariables["product"]["extrafields"][$maloop1]["type"] == "IMAGE") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != "matrix") { ?>

theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>: theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: " alt="" border="1" align="top" />

theVariables["product"]["extrafields"][$maloop1]["type"] == "SELECT") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "CHECKBOXES") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != 'firecommissioning' && @$this->theVariables["product"]["extrafields"][$maloop1]["name"] != 'fireinstallation')) { $numOfExtras++; ob_start(); ?>
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
Add fire extinguisher service? theVariables["snippet=firecomminstservice"]["content"] != "" && @$this->theVariables["snippet=firecomminstservice"]["content"] != "

 

") { ?>(more info)
theVariables["product"]["extrafields"][$maloop1]["name"] != "fireinstallation") { ?>
Add a theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>? theVariables["product"]["extrafields"][$maloop1]["title"]; ?>?
theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?>

Or

theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?> 'templates_budgetfire/', 1 => 'templates_mobile/' ); if (@$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] != "") { $strSQL = "SELECT productid, price1, productDiscount FROM jss_products where code = '" . @$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] . "'"; $priceDetail = $dbA->retrieveAllRecordsFromQuery($strSQL); if ($priceDetail !== FALSE && $priceDetail[0]['price1'] > 0) { if(in_array($_GET['xShop'], $siteArr)) { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($thePrice); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($priceDetail[0]['price1']); } } else { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($thePrice * $optionsArray[$isoCode . '_taxProportion']), 2); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($priceDetail[0]['price1'] * $optionsArray[$isoCode . '_taxProportion']), 2); } } } } ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && $containsFireExtinguisherInstallation) { $strExtraJS = "onclick='checkfirecommissioning(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } else if (@$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" && $containsFireExtinguisherCommissioning) { $strExtraJS = "onclick='checkfireinstallation(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } ?> retrieveAllRecordsFromQuery("select extraFieldID from jss_extrafields_values where exValID = " . @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]); $extraFieldID = $extraFieldID[0]['extraFieldID']; ?> loopCounters["product.extrafields.options"]["count"]; ?>" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin-right: 10px;" /> " type="checkbox" name="updateItem[][extrafields][]" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin: 2px 10px 0 0;" /> theVariables["product"]["extrafields"][$maloop1]["name"] == 'firecommissioning' || @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == 'fireinstallation') { $extrafields_CHECKBOXES_array[@$this->theVariables["product"]["extrafields"][$maloop1]["name"]] = array( 'name' => @$this->theVariables["product"]["extrafields"][$maloop1]["name"].$this->loopCounters["product.extrafields.options"]["count"], 'title' => (@$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] != '' ? @$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] : @$this->theVariables["product"]["extrafields"][$maloop1]["title"]), 'price' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"], 'value' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"] ); } ?> theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "electronicLock") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "palletDelivery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["snippet=firecommissioning"]["content"] != "" && @$this->theVariables["snippet=firecommissioning"]["content"] != "

 

") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "battery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "VandalCage") { ?> (.html?popup=true&keepThis=true&TB_iframe=true&width=650&height=240" title="theVariables["product"]["extra_VandalCage"]["options"]["0"]["option"]; ?> Vandal Cage">more info)
theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?> theVariables["labels"]["product"]["textIncVat"]; ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> + callout charge theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" || ( @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && ($containsFireExtinguisherCommissioning &! $containsFireExtinguisherInstallation) ) ) { ?>
" style="display:none; color:red;"> Please only select one of: Fire Extinguisher Commissioning OR Fire Extinguisher Installation.
(The installation option already includes commissioning.)
 
Please Note: If you order installation / commissioning, a one-off call out charge of £27.00 theVariables["labels"]["product"]["textIncVat"]; ?> will be added at checkout
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "RADIOBUTTONS") { ?>
 
theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?>
" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" loopCounters["product.extrafields.options"]["count"] == 1) { ?> checked="checked" />  theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["option"]; ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> (theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?>)
0) { ?>

The following options are available for this product:

theVariables["cart"]; if (sizeof($tempCart["products"]) > 0) { foreach ($tempCart["products"] as $item) { $totalWeight += $item["weight"] * $item["qty"]; $totalQuantity += $item["qty"]; } } ?>

theVariables["labels"]["quickcart"]["textYourBasket"]; ?> theVariables["labels"]["quickcart"]["textHas"]; ?> theVariables["labels"]["quickcart"]["textItem"]; ?>theVariables["labels"]["quickcart"]["plural"]; ?>

theVariables["labels"]["quickcart"]["textGoodsTotal"]; ?> theVariables["cart"]["totals"]["quickcart"]); $goodsTotal = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $goodsPrice) * $optionsArray[$isoCode . '_taxProportion']; if($goodsTotal > 0) { if($_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsde/') { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . str_replace('.', ',', number_format($goodsTotal, 2)); } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . number_format($goodsTotal, 2); } } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . ($_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsde/' ? '0,00' : '0.00'); } echo $goodsTotal . ' ' . @$this->theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">theVariables["labels"]["quickcart"]["textCheckout"]; ?>

theVariables["company"]["telephone"]; ?>
theVariables["labels"]["header"]["textInternationalSites"]; ?>
theVariables["section"]["rootsectionID"]; global $xGroup; ?> ', $mdIsProduct); ?> retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_products.name AS productName, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_products_tree LEFT JOIN jss_sections ON jss_products_tree.sectionID = jss_sections.sectionID LEFT JOIN jss_products ON jss_products.productID = jss_products_tree.productID WHERE jss_products_tree.productID = $productID AND jss_products_tree.sectionID = $sectionID"); } else { $section = $dbA->retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_sections WHERE jss_sections.sectionID = $sectionID"); } $breadcrumb = ($breadcrumb != "" && $section[0]['visible'] == 'Y') ? '  ›  ' . $breadcrumb : $breadcrumb; if (!$first || $productID !== null) { $aWrap1 = ''; $aWrap2 = ''; } else { $h1Wrap1 = ''; $h1Wrap2 = ''; } $first = false; $breadcrumb = ($section[0]['visible'] == 'Y') ? $h1Wrap1 . $aWrap1 . $section[0]['name'] . $aWrap2 . $h1Wrap2 . $breadcrumb : $breadcrumb; if ($section[0]['parent'] != gblSiteRootSection && $section[0]['parent'] != 1) { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $section[0]['parent']; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } recurseSectionDetails($section[0]['parent'], null, $isFireDoor); } else { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $xSec; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } $homeLink = ($_GET['xShop'] == 'templates_cmp/') ? $jssStoreWebDirHTTPS : $jssStoreWebDirHTTP; if(count($menuCrumb)) { $breadcrumb = '' . $menuCrumb['name'] . '  › ' . $breadcrumb; } $breadcrumb = 'Home  ›  ' . $breadcrumb; } } ?> ' . $b[1] . ''; } else { $breadcrumbExtra .= '  ›  ' . $b[1]; } } return $breadcrumbExtra; } ?>
(time() - 10)) { ?>
theVariables["snippet"]["content"], "<?php") > 0 || strpos(@$this->theVariables["snippet"]["content"], " 0) { // snippet contains php, so needs parsing... @$this->theVariables["snippet"]["content"] = "?>" . str_replace("<?php", "theVariables["snippet"]["content"]); // echo ""; eval(@$this->theVariables["snippet"]["content"]); } else { echo(@$this->theVariables["snippet"]["content"]); } ?>
theVariables["section"]["rootsectionID"]; ?>
theVariables["customer"]["loggedin"] == 'Y') { if (!$_SESSION['customerAccount']['welcomed']) { $_SESSION['customerAccount']['welcomed'] = true; $welcomeMessage = 'Welcome back, '; } else { $welcomeMessage = 'Hello, '; } ?>
theVariables["customer"]["forename"]; ?>.  (">theVariables["labels"]["menuRight"]["textLogout"]; ?>)
theVariables["product"]["productID"]; $strSQL = "SELECT v.vid_vid, v.vid_title, v.vid_description, v.vid_height, v.vid_width, v.vid_duration, v.vid_thumbnail FROM product_video v INNER JOIN product_has_video p ON p.phv_vid = v.vid_vid WHERE p.phv_pid = $pid AND v.vid_pulled = 0 ORDER BY v.vid_filename ASC"; $videoCount = $dbA->count($dbA->query($strSQL)); if($videoCount > 0) { $numberToShow = 3; $videoResult = $dbA->retrieveAllRecordsFromQuery($strSQL); ?> $numberToShow) { ?>

Product Related Videos

$numberToShow) { ?>

View All Videos..

theVariables["product"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingProduct"]; ?>

">More Information theVariables["section"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingSection"]; ?>

">More Information

theVariables["labels"]["menuRight"]["textPostageAndPackaging"]; ?>

theVariables["labels"]["menuRight"]["textPriceFrom"]; ?> theVariables["cart"]["currency"]["pretext"]; ?>retrieveAllRecordsFromQuery('SELECT price1 FROM jss_shipping_rates ORDER BY price1 ASC LIMIT 1'); global $optionsArray,$isoCode; $vat = number_format($vat[0]['price1'] * $optionsArray[$isoCode . "_taxProportion"], 2); echo $vat; ?> theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">View Charges
theVariables["product"]["productID"]; $productsID = @$this->theVariables["products"]["productID"]; if (isset($productsID)) $productID = $productsID; $qdfIcons = $dbA->query("select * from jss_products_icons LEFT JOIN jss_products_certifications ON jss_products_certifications.jss_products_certifications_productID = jss_products_icons.jss_products_icons_productID where jss_products_icons.jss_products_icons_productID=$productID AND jss_products_icons_iconActive = 1"); $iIconsShown = 0; global $aryIcons, $aryIconTypes; $aryIcons = array(); $aryIconTypes = array(); $aryIconsOut = array(); $iconCount = $dbA->count($qdfIcons); while ($rIcon = $dbA->fetch($qdfIcons)) { $aryIconType = explode("_", $rIcon['jss_products_icons_iconName']); $strIconType = $aryIconType[0]; /* get a list of icon files of this type, in case the order numbers have changed */ if (! isset($aryIconTypes[$strIconType]) ) { $aryIconTypes[$strIconType] = glob($_SERVER['DOCUMENT_ROOT'] . "/templates_core/templates/images/icons/" . $strIconType . "_*_icon.gif"); sort($aryIconTypes[$strIconType]); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { $aryIconTypes[$strIconType][$i] = preg_replace("/.*\//", "", $aryIconTypes[$strIconType][$i]); } } /* /get a list of icon files of this type, in case the order numbers have changed */ /* get the alt tags */ if($strIconType == 'Safes') { $aryItems = array(); $aryItems["01"] = "Paper protection"; $aryItems["02"] = "CD/DVD protection"; $aryItems["03"] = "Tape/Film protection"; $aryItems["04"] = "Spray protection"; $aryItems["05"] = "Submersion protection"; $aryItems["06"] = "Key lock"; $aryItems["07"] = "Electronic lock"; $aryItems["08"] = "Fingerprint lock"; $aryItems["09"] = "Cash rating"; $aryItems["10"] = "Valuables rating"; $aryItems["11"] = "Safe weight"; $aryIcons["Safes"] = $aryItems; } else if ($strIconType == 'Certifications') { $aryItems = array(); $aryItems["01"] = "Certifire"; $aryIcons["Certifications"] = $aryItems; } /* /get the alt tags */ /* get the image file and its number */ $strThisImageFile = ""; $strWhichIcon = str_replace($strIconType . "_", "", $rIcon['jss_products_icons_iconName']); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { if (strpos($aryIconTypes[$strIconType][$i], $strWhichIcon) ) { $strThisImageFile = $aryIconTypes[$strIconType][$i]; $iIconNumber = preg_replace("/" . $strIconType . "_([0-9]+).*/", "$1", $aryIconTypes[$strIconType][$i]); } } /* get the image file and its number */ if ($strThisImageFile != "") { $iIconsShown++; $strAltTitle = $aryIcons[$strIconType][$iIconNumber] . ($rIcon['jss_products_icons_iconText'] != "" ? ": " . $rIcon['jss_products_icons_iconText'] : ""); if ($aryIcons[$strIconType][$iIconNumber] == 'Certifire') { $icons_left .= ''; } else { echo ($iIconsShown == 1) ? '
' : ''; if(stristr($strThisImageFile, 'weight_icon')) { $iconClass = 'weight-icon'; } else if(stristr($strThisImageFile, 'e_lock_icon')) { $iconClass= 'elock-icon'; } else if(stristr($strThisImageFile, 'paper_icon')) { $iconClass = 'paper-icon'; } else if(stristr($strThisImageFile, 'fingerprint_icon')) { $iconClass = 'fingerprint-icon'; } else if(stristr($strThisImageFile, 'tape_icon')) { $iconClass = 'tape-icon'; } else if(stristr($strThisImageFile, 'cd_icon')) { $iconClass = 'cd-icon'; } else if(stristr($strThisImageFile, 'jewellery_icon')) { $iconClass = 'valuables-icon'; } else if(stristr($strThisImageFile, 'money_icon')) { $iconClass = 'cash-icon'; } else if(stristr($strThisImageFile, 'key_lock_icon')) { $iconClass = 'key-icon'; } else if(stristr($strThisImageFile, 'safe_icon')) { $iconClass = 'submerge-icon'; } else if(stristr($strThisImageFile, 'spray_icon')) { $iconClass = 'spray-icon'; } ?>
3 ? '
' : ''; echo ($iconCount == $iIconsShown) ? '
' : ''; } /* end if */ } /* end if */ } /* end while */ if (@$this->theVariables["product"]["flags"]["EIApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isGezeApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["3Dimage"] != "") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isDorgardApproved"] == "Y") { $icons_left .= '

' . @$this->theVariables["labels"]["product"]["approvedReseller"] . '

'; } if (@$this->theVariables["product"]["flags"]["isMarinedApproved"] == "Y") { $icons_left .= '

Marine Approved

'; } if (@$this->theVariables["product"]["flags"]["isBritanniaApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isEvacApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isStJohnApproved"] == "Y") { $icons_left .= ''; } ?>
templateFile == 'sectionProducts.html' && $_GET['xShop'] == 'templates_safelincs/') { ?> theVariables["section"]["sectionID"]; if (!is_array($this->theVariables['products'])) { $this->theVariables['products'] = array(); } foreach($this->theVariables['products'] as $product) { $productIDs[] = $product['productID']; } if(!empty($productIDs)) { $strSQL = 'SELECT DISTINCT(technical_data_values.name) AS value, technical_data_types.name AS type, technical_data_values.value_id, technical_data_values.type_id FROM product_has_technical_data_values INNER JOIN technical_data_values ON technical_data_values.value_id = product_has_technical_data_values.value_id INNER JOIN technical_data_types ON technical_data_types.type_id = technical_data_values.type_id INNER JOIN section_has_technical_data_types ON technical_data_types.type_id = section_has_technical_data_types.type_id WHERE product_id IN(' . implode(', ', $productIDs) . ') ORDER BY section_has_technical_data_types.position, technical_data_types.type_id, technical_data_values.position ASC'; $runSQL = $dbA->query($strSQL); if($dbA->count($runSQL) > 0) { ?>

Refine Your Results

retrieveAllRecordsFromQuery($strSQL); $filterTypes = array(); $filterCount = count($filterArray); for($i=0;$i<$filterCount;$i++) { $filterTypes[] = $filterArray[$i]['type_id']; } $typeCount = array_count_values($filterTypes); $j = 0; for($i=0;$i<$filterCount;$i++) { if($typeCount[$filterArray[$i]['type_id']] > 1) { $filterArray[$i]['type'] !== $lastType ? $j++ : ''; echo $filterArray[$i]['type'] !== $lastType ? '
' : '' . "\n"; echo $filterArray[$i]['type'] !== $lastType ? '

' . $filterArray[$i]['type'] . '

' . "\n" : ''; ?>
0 ? "\n" . '
' : '' . "\n"; ?>
theVariables["section"]["extinguisherSection"] == 'Y') { ?>

theVariables["labels"]["menuRight"]["contractTitle"]; ?>

theVariables["labels"]["menuRight"]["contractInfo"]; ?>

theVariables["company"]["telephone"]; $editorEmailAddr = (SERVERNAME != 'LIVE') ? gblAdminEmail : @$this->theVariables["company"]["email"]; if ($allow['productFaqs'] && !defined("INSECTIONPAGE") && (@$this->theVariables["product"]["FAQ_editorid"] > 0)) { if (!defined("NOPRICE")) { $strSQL = "SELECT * FROM faq_editors WHERE faq_editors_id = " . @$this->theVariables["product"]["FAQ_editorid"] . " AND faq_editors_pulled <> 1"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if($_result_num>0) { $_row = mysql_fetch_assoc($_result); $strEditorTelephone = $_row["faq_editors_telephone"]; $strEditorEmail = $_row["faq_editors_email"]; } else { echo "

No results for:
$strSQL

"; } } } if (SERVERNAME != "LIVE") { $strEditorEmail = gblAdminEmail; } $was_image_auth_error = false; if (getForm("sendFAQ") != "") { if(md5(makeSafe(getFORM("_image_auth")))!= $_SESSION["verification_string"]) { $_POST["sendFAQ"] = ""; $was_image_auth_error = true; } if (!$was_image_auth_error) { $strSQL = "INSERT INTO faq (faq_productID, faq_email, faq_question, faq_dateadded, faq_showonwebsite) " . "VALUES ('" . @$this->theVariables["product"]["productID"] . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqEmail"))) . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqDetails"))) . "', " . "now(), " . "0)"; if (DEBUG > 0) echo "

$strSQL

"; $fubar = mysql_query($strSQL); $strSQL = "SELECT Max(faq_id) as NewID FROM faq"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_row = mysql_fetch_assoc($_result); $newID = $_row["NewID"]; @mail($strEditorEmail, "FAQ Question about product: " . @$this->theVariables["product"]["code"], "There is a new question about this product, please follow this link to answer it: \r\n" . "\thttp://" . $_SERVER["SERVER_NAME"] . "/admin/customer_queries.php?account=$strEditorEmail&ref=$newID" . "\r\n\r\nQuestion details:\r\n\t" . html_entity_decode(makeSafe(getForm("faqDetails"))), "From: Safelincs FAQs"); doRedirect(createProductLink(@$this->theVariables["product"]["productID"]) . "?sentFAQ=true&ref=$newID"); } } ?>

theVariables["labels"]["productExpert"]["titleQuestions"]; ?>

theVariables["labels"]["productExpert"]["textQuestions"]; ?>

0800 612 4843

theVariables["labels"]["productExpert"]["textQuestionReceived"]; ?>

theVariables["labels"]["productExpert"]["textQuestionReference"]; ?>theVariables["product"]["productID"]; ?>-

theVariables["labels"]["productExpert"]["textQuestionError"]; ?>

" method="post" onsubmit="return subFAQ(this)"> ">
Your E-Mail:
Your Question:
Authentication image
>Please enter the security code:

Google Seller Rating

= 0.5) ? 1 : 0; $emptyStars = $fullRating - $wholeStars - $halfStars; $numberOfReviews = retrieveOption("googleReviews"); for ($x=0;$x<$wholeStars;$x++) { echo '
'; //echo ''; } if ($halfStars===1) { echo '
'; //echo ''; } for ($x=0;$x<$emptyStars;$x++) { echo '
'; //echo ''; } ?>
/
Based on reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk

[[CrazyEgg tracking code appears here on live site]]

' )
..\tSys.php:569
40.23236732400eval( '?>

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

'
)
..\tSys.php(569) : eval()'d code:2062

( ! ) Warning: include() [function.include]: Failed opening 'templates/extras/company_news.html' for inclusion (include_path='.;C:\php\pear;D:/home/ombrelle.co.uk') in D:\home\ombrelle.co.uk\routines\tSys.php(569) : eval()'d code(2062) : eval()'d code on line 14
Call Stack
#TimeMemoryFunctionLocation
10.0005757576{main}( )..\urlcheck.php:0
20.21414776288tSys->showPage( )..\urlcheck.php:156
30.21996828456eval( '?>theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); ?> theVariables["shop"]["baseDir"] ?> " /> " /> " /> 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if ($_result_num > 0) { $_row = mysql_fetch_assoc($_result); @$this->theVariables["snippet"]["metaDescription"] = $_row["metaDescription"] != "" ? $_row["metaDescription"] : "Buy Fire Safety Products such as Fire Extinguishers, Fire Safes, Smoke Alarms, CO Detectors etc with Best Price Guarantee"; @$this->theVariables["snippet"]["metaKeywords"] = $_row["metaKeywords"] != "" ? $_row["metaKeywords"] : "Fire Safety Products, Fire Extinguishers, Smoke Alarms, CO detectors, dorgard, fire doors, fire safes, door retainers, fire escape ladders, emergency lighting, first aid kits"; @$this->theVariables["snippet"]["CSS"] = $_row["CSS"]; @$this->theVariables["snippet"]["TopBar"] = $_row["TopBar"]; @$this->theVariables["snippet"]["content"] = $_row["content"]; @$this->theVariables["snippet"]["title"] = $_row["title"]; } ?> <?php print @$this->theVariables["snippet"]["title"]; ?> " /> " /> retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_UA = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google UA code..

\n"; } } /*/ get google user account /*/ /* successful conversion, get the google store info */ if ($pageType == 'checkout_order_success') { $strSQL = "SELECT value FROM $tableOptions WHERE name = 'googleStore'"; $gResult = $dbA->retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_STORE = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google Store name..

\n"; } } ?> theVariables["order"]["orderID"] + retrieveOption("orderNumberOffset")); $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; /* $strOrderTo = @$this->theVariables["order"]["deliveryCompany"]; if (trim($strOrderTo) == "") $strOrderTo = @$this->theVariables["order"]["forename"] . " " . @$this->theVariables["order"]["surname"]; if (trim($strOrderTo) == "") $strOrderTo = "Unknown"; */ $GA_STORE = (isset($GA_STORE) && $GA_STORE != '') ? $GA_STORE : 'Unknown'; $CART_CONVERSION_SCRIPT .= " '".$GA_STORE."', // affiliation\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["goodsTotal"],2)) . "', // total\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["taxTotal"],2)) . "', // tax\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["shippingTotal"],2)) . "', // shipping\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryTown"]) . "', // city\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", preg_replace("/^([a-z]+[0-9]+).*/i", "$1", @$this->theVariables["order"]["deliveryPostcode"])) . "', // state (actually we use the first half of the postcode)\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryCountry"]) . "' // country\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_addItem',\n"; $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["code"]) . "', // SKU\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["name"]) . "', // Product Name\n"; $CART_CONVERSION_SCRIPT .= " 'Look in jShop', // Category\n"; $CART_CONVERSION_SCRIPT .= " '" . preg_replace("/[^0-9\.]/", "", @$this->theVariables["order"]["products"][$i]["price"]) . "', // price\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["qty"]) . "' // quantity\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; } $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_trackTrans']);\n"; /* microsoft adCentre tracking code */ $_CART_CONVERSION_SCRIPT_MICROSOFT = "\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= ' '."\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= "\n"; /* twenga tracking code */ $TWENGA_CONVERSION_SCRIPT = ''; $TWENGA_CONVERSION_SCRIPT .= ''; } /* allow ab testing results on the dev servers */ if ((SERVERNAME == "LIVE" && !IS_DEVELOPER && STAFF == 0) || IS_DEVSERVER) { if ($allow['abTesting']) { /* AB TEST RESULTS */ /*global $tableProductsTree, $tableSections; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $strSQL = "SELECT $tableProductsTree.sectionID, $tableSections.parent FROM $tableProductsTree LEFT JOIN $tableSections ON $tableProductsTree.sectionID = $tableSections.sectionID WHERE $tableProductsTree.xShop = '".$_GET['xShop']."' AND $tableProductsTree.productID = " . @$this->theVariables["order"]["products"][$i]["productID"]; $rsSections = $dbA->query($strSQL); if ($dbA->count($rsSections) > 0) { while ($section = $dbA->fetch($rsSections)) { if ((isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']] === true) || (isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']] === true)) { $conversionColumn = 'conversion'.$_SESSION['AB_TEST_GROUP']; $strSQL = "UPDATE ab_results SET $conversionColumn = $conversionColumn + 1 WHERE sectionID = ".$section['sectionID']; $dbA->query($strSQL); } } } } unset($_SESSION['AB_TEST_GROUP_SECTIONS']); */ $conversionColumn = $_SESSION['AB_TEST_GROUP'] . 'TestConversions'; $strSQL = "UPDATE jss_general SET $conversionColumn = $conversionColumn + 1 WHERE companyName = 'Safelincs Ltd'"; $dbA->query($strSQL); } } ?> theVariables["company"]["telephone"] = $_COOKIE["freephone"]; } ?>
Switch to mobile site
theVariables["cart"]["currency"]["pretext"], '', $value['price']); if($_GET['xShop'] == 'templates_safelincsde/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/') { $thisPrice = str_replace(',', '.', $thisPrice); } if($thisPrice < $lowestPrice || !isset($lowestPrice)) { $lowestPrice = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $thisPrice); $thisIDs = $value['options']; } } } ?> 0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if ((float)str_replace('£', '', $item[$id])<(float)str_replace('£', '', $array[$lowest_id][$id])) { $lowest_id = $index; } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); } return $temp_array; } } /* /sort multi-dimensional array - php.net */ ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["product"]; $allExtrafields = array(); $matrixProductPrice = array(); if (count($currentProd) > 0) { foreach ($currentProd as $cPname => $cPvalue) { if (preg_match('/^extra_/', $cPname) && $cPvalue['type'] == 'SELECT' && $cPvalue['options'] != NULL) { $allExtrafields[$cPvalue['title']] = array(); foreach ($cPvalue['options'] as $cPopt) { $allExtrafields[$cPvalue['title']][$cPopt['option']] = $cPopt['id']; } } } } ?> theVariables["product"]["pricing"]["combinationstable"]["entries"] = msort($this->theVariables["product"]["pricing"]["combinationstable"]["entries"], 'price'); ?> theVariables["product"]["pricing"]["combinationstable"]["available"] == "Y") { ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); for ($maloop2 = 0; $maloop2 < $counter2; $maloop2++) { $this->loopCounters["product.pricing.combinationstable.entries"]["count"] = $maloop2 + 1; ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); for ($maloop3 = 0; $maloop3 < $counter3; $maloop3++) { $this->loopCounters["product.pricing.combinationstable.entries.fields"]["count"] = $maloop3 + 1; ?> 0) { $efIds[] = $allExtrafields[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["field"]][@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["value"]]; } ?> @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["price"], 'discountprice' => @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["discountIncVat"], 'stock' => $jsStockArray[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["id"]], 'options' => $tmpEfIds); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["type"] == "USERINPUT") { ?> theVariables["product"]["extrafields"][$maloop1]["requirement"] > 0) { ?>
">

" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>" size="theVariables["product"]["extrafields"][$maloop1]["size"]; ?>" maxlength="theVariables["product"]["extrafields"][$maloop1]["maxlength"]; ?>" /> theVariables["product"]["extrafields"][$maloop1]["error"] == "Y") { ?> Please enter a value here.

theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>

theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: theVariables["product"]["extrafields"][$maloop1]["content"]; ?>

theVariables["product"]["extrafields"][$maloop1]["type"] == "IMAGE") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != "matrix") { ?>

theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>: theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: " alt="" border="1" align="top" />

theVariables["product"]["extrafields"][$maloop1]["type"] == "SELECT") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "CHECKBOXES") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != 'firecommissioning' && @$this->theVariables["product"]["extrafields"][$maloop1]["name"] != 'fireinstallation')) { $numOfExtras++; ob_start(); ?>
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
Add fire extinguisher service? theVariables["snippet=firecomminstservice"]["content"] != "" && @$this->theVariables["snippet=firecomminstservice"]["content"] != "

 

") { ?>(more info)
theVariables["product"]["extrafields"][$maloop1]["name"] != "fireinstallation") { ?>
Add a theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>? theVariables["product"]["extrafields"][$maloop1]["title"]; ?>?
theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?>

Or

theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?> 'templates_budgetfire/', 1 => 'templates_mobile/' ); if (@$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] != "") { $strSQL = "SELECT productid, price1, productDiscount FROM jss_products where code = '" . @$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] . "'"; $priceDetail = $dbA->retrieveAllRecordsFromQuery($strSQL); if ($priceDetail !== FALSE && $priceDetail[0]['price1'] > 0) { if(in_array($_GET['xShop'], $siteArr)) { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($thePrice); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($priceDetail[0]['price1']); } } else { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($thePrice * $optionsArray[$isoCode . '_taxProportion']), 2); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($priceDetail[0]['price1'] * $optionsArray[$isoCode . '_taxProportion']), 2); } } } } ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && $containsFireExtinguisherInstallation) { $strExtraJS = "onclick='checkfirecommissioning(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } else if (@$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" && $containsFireExtinguisherCommissioning) { $strExtraJS = "onclick='checkfireinstallation(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } ?> retrieveAllRecordsFromQuery("select extraFieldID from jss_extrafields_values where exValID = " . @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]); $extraFieldID = $extraFieldID[0]['extraFieldID']; ?> loopCounters["product.extrafields.options"]["count"]; ?>" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin-right: 10px;" /> " type="checkbox" name="updateItem[][extrafields][]" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin: 2px 10px 0 0;" /> theVariables["product"]["extrafields"][$maloop1]["name"] == 'firecommissioning' || @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == 'fireinstallation') { $extrafields_CHECKBOXES_array[@$this->theVariables["product"]["extrafields"][$maloop1]["name"]] = array( 'name' => @$this->theVariables["product"]["extrafields"][$maloop1]["name"].$this->loopCounters["product.extrafields.options"]["count"], 'title' => (@$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] != '' ? @$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] : @$this->theVariables["product"]["extrafields"][$maloop1]["title"]), 'price' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"], 'value' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"] ); } ?> theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "electronicLock") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "palletDelivery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["snippet=firecommissioning"]["content"] != "" && @$this->theVariables["snippet=firecommissioning"]["content"] != "

 

") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "battery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "VandalCage") { ?> (.html?popup=true&keepThis=true&TB_iframe=true&width=650&height=240" title="theVariables["product"]["extra_VandalCage"]["options"]["0"]["option"]; ?> Vandal Cage">more info)
theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?> theVariables["labels"]["product"]["textIncVat"]; ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> + callout charge theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" || ( @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && ($containsFireExtinguisherCommissioning &! $containsFireExtinguisherInstallation) ) ) { ?>
" style="display:none; color:red;"> Please only select one of: Fire Extinguisher Commissioning OR Fire Extinguisher Installation.
(The installation option already includes commissioning.)
 
Please Note: If you order installation / commissioning, a one-off call out charge of £27.00 theVariables["labels"]["product"]["textIncVat"]; ?> will be added at checkout
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "RADIOBUTTONS") { ?>
 
theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?>
" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" loopCounters["product.extrafields.options"]["count"] == 1) { ?> checked="checked" />  theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["option"]; ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> (theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?>)
0) { ?>

The following options are available for this product:

theVariables["cart"]; if (sizeof($tempCart["products"]) > 0) { foreach ($tempCart["products"] as $item) { $totalWeight += $item["weight"] * $item["qty"]; $totalQuantity += $item["qty"]; } } ?>

theVariables["labels"]["quickcart"]["textYourBasket"]; ?> theVariables["labels"]["quickcart"]["textHas"]; ?> theVariables["labels"]["quickcart"]["textItem"]; ?>theVariables["labels"]["quickcart"]["plural"]; ?>

theVariables["labels"]["quickcart"]["textGoodsTotal"]; ?> theVariables["cart"]["totals"]["quickcart"]); $goodsTotal = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $goodsPrice) * $optionsArray[$isoCode . '_taxProportion']; if($goodsTotal > 0) { if($_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsde/') { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . str_replace('.', ',', number_format($goodsTotal, 2)); } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . number_format($goodsTotal, 2); } } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . ($_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsde/' ? '0,00' : '0.00'); } echo $goodsTotal . ' ' . @$this->theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">theVariables["labels"]["quickcart"]["textCheckout"]; ?>

theVariables["company"]["telephone"]; ?>
theVariables["labels"]["header"]["textInternationalSites"]; ?>
theVariables["section"]["rootsectionID"]; global $xGroup; ?> ', $mdIsProduct); ?> retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_products.name AS productName, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_products_tree LEFT JOIN jss_sections ON jss_products_tree.sectionID = jss_sections.sectionID LEFT JOIN jss_products ON jss_products.productID = jss_products_tree.productID WHERE jss_products_tree.productID = $productID AND jss_products_tree.sectionID = $sectionID"); } else { $section = $dbA->retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_sections WHERE jss_sections.sectionID = $sectionID"); } $breadcrumb = ($breadcrumb != "" && $section[0]['visible'] == 'Y') ? '  ›  ' . $breadcrumb : $breadcrumb; if (!$first || $productID !== null) { $aWrap1 = ''; $aWrap2 = ''; } else { $h1Wrap1 = ''; $h1Wrap2 = ''; } $first = false; $breadcrumb = ($section[0]['visible'] == 'Y') ? $h1Wrap1 . $aWrap1 . $section[0]['name'] . $aWrap2 . $h1Wrap2 . $breadcrumb : $breadcrumb; if ($section[0]['parent'] != gblSiteRootSection && $section[0]['parent'] != 1) { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $section[0]['parent']; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } recurseSectionDetails($section[0]['parent'], null, $isFireDoor); } else { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $xSec; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } $homeLink = ($_GET['xShop'] == 'templates_cmp/') ? $jssStoreWebDirHTTPS : $jssStoreWebDirHTTP; if(count($menuCrumb)) { $breadcrumb = '' . $menuCrumb['name'] . '  › ' . $breadcrumb; } $breadcrumb = 'Home  ›  ' . $breadcrumb; } } ?> ' . $b[1] . ''; } else { $breadcrumbExtra .= '  ›  ' . $b[1]; } } return $breadcrumbExtra; } ?>
(time() - 10)) { ?>
theVariables["snippet"]["content"], "<?php") > 0 || strpos(@$this->theVariables["snippet"]["content"], " 0) { // snippet contains php, so needs parsing... @$this->theVariables["snippet"]["content"] = "?>" . str_replace("<?php", "theVariables["snippet"]["content"]); // echo ""; eval(@$this->theVariables["snippet"]["content"]); } else { echo(@$this->theVariables["snippet"]["content"]); } ?>
theVariables["section"]["rootsectionID"]; ?>
theVariables["customer"]["loggedin"] == 'Y') { if (!$_SESSION['customerAccount']['welcomed']) { $_SESSION['customerAccount']['welcomed'] = true; $welcomeMessage = 'Welcome back, '; } else { $welcomeMessage = 'Hello, '; } ?>
theVariables["customer"]["forename"]; ?>.  (">theVariables["labels"]["menuRight"]["textLogout"]; ?>)
theVariables["product"]["productID"]; $strSQL = "SELECT v.vid_vid, v.vid_title, v.vid_description, v.vid_height, v.vid_width, v.vid_duration, v.vid_thumbnail FROM product_video v INNER JOIN product_has_video p ON p.phv_vid = v.vid_vid WHERE p.phv_pid = $pid AND v.vid_pulled = 0 ORDER BY v.vid_filename ASC"; $videoCount = $dbA->count($dbA->query($strSQL)); if($videoCount > 0) { $numberToShow = 3; $videoResult = $dbA->retrieveAllRecordsFromQuery($strSQL); ?> $numberToShow) { ?>

Product Related Videos

$numberToShow) { ?>

View All Videos..

theVariables["product"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingProduct"]; ?>

">More Information theVariables["section"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingSection"]; ?>

">More Information

theVariables["labels"]["menuRight"]["textPostageAndPackaging"]; ?>

theVariables["labels"]["menuRight"]["textPriceFrom"]; ?> theVariables["cart"]["currency"]["pretext"]; ?>retrieveAllRecordsFromQuery('SELECT price1 FROM jss_shipping_rates ORDER BY price1 ASC LIMIT 1'); global $optionsArray,$isoCode; $vat = number_format($vat[0]['price1'] * $optionsArray[$isoCode . "_taxProportion"], 2); echo $vat; ?> theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">View Charges
theVariables["product"]["productID"]; $productsID = @$this->theVariables["products"]["productID"]; if (isset($productsID)) $productID = $productsID; $qdfIcons = $dbA->query("select * from jss_products_icons LEFT JOIN jss_products_certifications ON jss_products_certifications.jss_products_certifications_productID = jss_products_icons.jss_products_icons_productID where jss_products_icons.jss_products_icons_productID=$productID AND jss_products_icons_iconActive = 1"); $iIconsShown = 0; global $aryIcons, $aryIconTypes; $aryIcons = array(); $aryIconTypes = array(); $aryIconsOut = array(); $iconCount = $dbA->count($qdfIcons); while ($rIcon = $dbA->fetch($qdfIcons)) { $aryIconType = explode("_", $rIcon['jss_products_icons_iconName']); $strIconType = $aryIconType[0]; /* get a list of icon files of this type, in case the order numbers have changed */ if (! isset($aryIconTypes[$strIconType]) ) { $aryIconTypes[$strIconType] = glob($_SERVER['DOCUMENT_ROOT'] . "/templates_core/templates/images/icons/" . $strIconType . "_*_icon.gif"); sort($aryIconTypes[$strIconType]); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { $aryIconTypes[$strIconType][$i] = preg_replace("/.*\//", "", $aryIconTypes[$strIconType][$i]); } } /* /get a list of icon files of this type, in case the order numbers have changed */ /* get the alt tags */ if($strIconType == 'Safes') { $aryItems = array(); $aryItems["01"] = "Paper protection"; $aryItems["02"] = "CD/DVD protection"; $aryItems["03"] = "Tape/Film protection"; $aryItems["04"] = "Spray protection"; $aryItems["05"] = "Submersion protection"; $aryItems["06"] = "Key lock"; $aryItems["07"] = "Electronic lock"; $aryItems["08"] = "Fingerprint lock"; $aryItems["09"] = "Cash rating"; $aryItems["10"] = "Valuables rating"; $aryItems["11"] = "Safe weight"; $aryIcons["Safes"] = $aryItems; } else if ($strIconType == 'Certifications') { $aryItems = array(); $aryItems["01"] = "Certifire"; $aryIcons["Certifications"] = $aryItems; } /* /get the alt tags */ /* get the image file and its number */ $strThisImageFile = ""; $strWhichIcon = str_replace($strIconType . "_", "", $rIcon['jss_products_icons_iconName']); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { if (strpos($aryIconTypes[$strIconType][$i], $strWhichIcon) ) { $strThisImageFile = $aryIconTypes[$strIconType][$i]; $iIconNumber = preg_replace("/" . $strIconType . "_([0-9]+).*/", "$1", $aryIconTypes[$strIconType][$i]); } } /* get the image file and its number */ if ($strThisImageFile != "") { $iIconsShown++; $strAltTitle = $aryIcons[$strIconType][$iIconNumber] . ($rIcon['jss_products_icons_iconText'] != "" ? ": " . $rIcon['jss_products_icons_iconText'] : ""); if ($aryIcons[$strIconType][$iIconNumber] == 'Certifire') { $icons_left .= ''; } else { echo ($iIconsShown == 1) ? '
' : ''; if(stristr($strThisImageFile, 'weight_icon')) { $iconClass = 'weight-icon'; } else if(stristr($strThisImageFile, 'e_lock_icon')) { $iconClass= 'elock-icon'; } else if(stristr($strThisImageFile, 'paper_icon')) { $iconClass = 'paper-icon'; } else if(stristr($strThisImageFile, 'fingerprint_icon')) { $iconClass = 'fingerprint-icon'; } else if(stristr($strThisImageFile, 'tape_icon')) { $iconClass = 'tape-icon'; } else if(stristr($strThisImageFile, 'cd_icon')) { $iconClass = 'cd-icon'; } else if(stristr($strThisImageFile, 'jewellery_icon')) { $iconClass = 'valuables-icon'; } else if(stristr($strThisImageFile, 'money_icon')) { $iconClass = 'cash-icon'; } else if(stristr($strThisImageFile, 'key_lock_icon')) { $iconClass = 'key-icon'; } else if(stristr($strThisImageFile, 'safe_icon')) { $iconClass = 'submerge-icon'; } else if(stristr($strThisImageFile, 'spray_icon')) { $iconClass = 'spray-icon'; } ?>
3 ? '
' : ''; echo ($iconCount == $iIconsShown) ? '
' : ''; } /* end if */ } /* end if */ } /* end while */ if (@$this->theVariables["product"]["flags"]["EIApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isGezeApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["3Dimage"] != "") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isDorgardApproved"] == "Y") { $icons_left .= '

' . @$this->theVariables["labels"]["product"]["approvedReseller"] . '

'; } if (@$this->theVariables["product"]["flags"]["isMarinedApproved"] == "Y") { $icons_left .= '

Marine Approved

'; } if (@$this->theVariables["product"]["flags"]["isBritanniaApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isEvacApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isStJohnApproved"] == "Y") { $icons_left .= ''; } ?>
templateFile == 'sectionProducts.html' && $_GET['xShop'] == 'templates_safelincs/') { ?> theVariables["section"]["sectionID"]; if (!is_array($this->theVariables['products'])) { $this->theVariables['products'] = array(); } foreach($this->theVariables['products'] as $product) { $productIDs[] = $product['productID']; } if(!empty($productIDs)) { $strSQL = 'SELECT DISTINCT(technical_data_values.name) AS value, technical_data_types.name AS type, technical_data_values.value_id, technical_data_values.type_id FROM product_has_technical_data_values INNER JOIN technical_data_values ON technical_data_values.value_id = product_has_technical_data_values.value_id INNER JOIN technical_data_types ON technical_data_types.type_id = technical_data_values.type_id INNER JOIN section_has_technical_data_types ON technical_data_types.type_id = section_has_technical_data_types.type_id WHERE product_id IN(' . implode(', ', $productIDs) . ') ORDER BY section_has_technical_data_types.position, technical_data_types.type_id, technical_data_values.position ASC'; $runSQL = $dbA->query($strSQL); if($dbA->count($runSQL) > 0) { ?>

Refine Your Results

retrieveAllRecordsFromQuery($strSQL); $filterTypes = array(); $filterCount = count($filterArray); for($i=0;$i<$filterCount;$i++) { $filterTypes[] = $filterArray[$i]['type_id']; } $typeCount = array_count_values($filterTypes); $j = 0; for($i=0;$i<$filterCount;$i++) { if($typeCount[$filterArray[$i]['type_id']] > 1) { $filterArray[$i]['type'] !== $lastType ? $j++ : ''; echo $filterArray[$i]['type'] !== $lastType ? '
' : '' . "\n"; echo $filterArray[$i]['type'] !== $lastType ? '

' . $filterArray[$i]['type'] . '

' . "\n" : ''; ?>
0 ? "\n" . '
' : '' . "\n"; ?>
theVariables["section"]["extinguisherSection"] == 'Y') { ?>

theVariables["labels"]["menuRight"]["contractTitle"]; ?>

theVariables["labels"]["menuRight"]["contractInfo"]; ?>

theVariables["company"]["telephone"]; $editorEmailAddr = (SERVERNAME != 'LIVE') ? gblAdminEmail : @$this->theVariables["company"]["email"]; if ($allow['productFaqs'] && !defined("INSECTIONPAGE") && (@$this->theVariables["product"]["FAQ_editorid"] > 0)) { if (!defined("NOPRICE")) { $strSQL = "SELECT * FROM faq_editors WHERE faq_editors_id = " . @$this->theVariables["product"]["FAQ_editorid"] . " AND faq_editors_pulled <> 1"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if($_result_num>0) { $_row = mysql_fetch_assoc($_result); $strEditorTelephone = $_row["faq_editors_telephone"]; $strEditorEmail = $_row["faq_editors_email"]; } else { echo "

No results for:
$strSQL

"; } } } if (SERVERNAME != "LIVE") { $strEditorEmail = gblAdminEmail; } $was_image_auth_error = false; if (getForm("sendFAQ") != "") { if(md5(makeSafe(getFORM("_image_auth")))!= $_SESSION["verification_string"]) { $_POST["sendFAQ"] = ""; $was_image_auth_error = true; } if (!$was_image_auth_error) { $strSQL = "INSERT INTO faq (faq_productID, faq_email, faq_question, faq_dateadded, faq_showonwebsite) " . "VALUES ('" . @$this->theVariables["product"]["productID"] . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqEmail"))) . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqDetails"))) . "', " . "now(), " . "0)"; if (DEBUG > 0) echo "

$strSQL

"; $fubar = mysql_query($strSQL); $strSQL = "SELECT Max(faq_id) as NewID FROM faq"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_row = mysql_fetch_assoc($_result); $newID = $_row["NewID"]; @mail($strEditorEmail, "FAQ Question about product: " . @$this->theVariables["product"]["code"], "There is a new question about this product, please follow this link to answer it: \r\n" . "\thttp://" . $_SERVER["SERVER_NAME"] . "/admin/customer_queries.php?account=$strEditorEmail&ref=$newID" . "\r\n\r\nQuestion details:\r\n\t" . html_entity_decode(makeSafe(getForm("faqDetails"))), "From: Safelincs FAQs"); doRedirect(createProductLink(@$this->theVariables["product"]["productID"]) . "?sentFAQ=true&ref=$newID"); } } ?>

theVariables["labels"]["productExpert"]["titleQuestions"]; ?>

theVariables["labels"]["productExpert"]["textQuestions"]; ?>

0800 612 4843

theVariables["labels"]["productExpert"]["textQuestionReceived"]; ?>

theVariables["labels"]["productExpert"]["textQuestionReference"]; ?>theVariables["product"]["productID"]; ?>-

theVariables["labels"]["productExpert"]["textQuestionError"]; ?>

" method="post" onsubmit="return subFAQ(this)"> ">
Your E-Mail:
Your Question:
Authentication image
>Please enter the security code:

Google Seller Rating

= 0.5) ? 1 : 0; $emptyStars = $fullRating - $wholeStars - $halfStars; $numberOfReviews = retrieveOption("googleReviews"); for ($x=0;$x<$wholeStars;$x++) { echo '
'; //echo ''; } if ($halfStars===1) { echo '
'; //echo ''; } for ($x=0;$x<$emptyStars;$x++) { echo '
'; //echo ''; } ?>
/
Based on reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk

[[CrazyEgg tracking code appears here on live site]]

' )
..\tSys.php:569
40.23236732400eval( '?>

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

'
)
..\tSys.php(569) : eval()'d code:2062

( ! ) Warning: include(templates/extras/newsletter_list.html) [function.include]: failed to open stream: No such file or directory in D:\home\ombrelle.co.uk\routines\tSys.php(569) : eval()'d code(2062) : eval()'d code on line 15
Call Stack
#TimeMemoryFunctionLocation
10.0005757576{main}( )..\urlcheck.php:0
20.21414776288tSys->showPage( )..\urlcheck.php:156
30.21996828456eval( '?>theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); ?> theVariables["shop"]["baseDir"] ?> " /> " /> " /> 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if ($_result_num > 0) { $_row = mysql_fetch_assoc($_result); @$this->theVariables["snippet"]["metaDescription"] = $_row["metaDescription"] != "" ? $_row["metaDescription"] : "Buy Fire Safety Products such as Fire Extinguishers, Fire Safes, Smoke Alarms, CO Detectors etc with Best Price Guarantee"; @$this->theVariables["snippet"]["metaKeywords"] = $_row["metaKeywords"] != "" ? $_row["metaKeywords"] : "Fire Safety Products, Fire Extinguishers, Smoke Alarms, CO detectors, dorgard, fire doors, fire safes, door retainers, fire escape ladders, emergency lighting, first aid kits"; @$this->theVariables["snippet"]["CSS"] = $_row["CSS"]; @$this->theVariables["snippet"]["TopBar"] = $_row["TopBar"]; @$this->theVariables["snippet"]["content"] = $_row["content"]; @$this->theVariables["snippet"]["title"] = $_row["title"]; } ?> <?php print @$this->theVariables["snippet"]["title"]; ?> " /> " /> retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_UA = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google UA code..

\n"; } } /*/ get google user account /*/ /* successful conversion, get the google store info */ if ($pageType == 'checkout_order_success') { $strSQL = "SELECT value FROM $tableOptions WHERE name = 'googleStore'"; $gResult = $dbA->retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_STORE = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google Store name..

\n"; } } ?> theVariables["order"]["orderID"] + retrieveOption("orderNumberOffset")); $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; /* $strOrderTo = @$this->theVariables["order"]["deliveryCompany"]; if (trim($strOrderTo) == "") $strOrderTo = @$this->theVariables["order"]["forename"] . " " . @$this->theVariables["order"]["surname"]; if (trim($strOrderTo) == "") $strOrderTo = "Unknown"; */ $GA_STORE = (isset($GA_STORE) && $GA_STORE != '') ? $GA_STORE : 'Unknown'; $CART_CONVERSION_SCRIPT .= " '".$GA_STORE."', // affiliation\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["goodsTotal"],2)) . "', // total\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["taxTotal"],2)) . "', // tax\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["shippingTotal"],2)) . "', // shipping\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryTown"]) . "', // city\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", preg_replace("/^([a-z]+[0-9]+).*/i", "$1", @$this->theVariables["order"]["deliveryPostcode"])) . "', // state (actually we use the first half of the postcode)\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryCountry"]) . "' // country\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_addItem',\n"; $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["code"]) . "', // SKU\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["name"]) . "', // Product Name\n"; $CART_CONVERSION_SCRIPT .= " 'Look in jShop', // Category\n"; $CART_CONVERSION_SCRIPT .= " '" . preg_replace("/[^0-9\.]/", "", @$this->theVariables["order"]["products"][$i]["price"]) . "', // price\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["qty"]) . "' // quantity\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; } $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_trackTrans']);\n"; /* microsoft adCentre tracking code */ $_CART_CONVERSION_SCRIPT_MICROSOFT = "\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= ' '."\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= "\n"; /* twenga tracking code */ $TWENGA_CONVERSION_SCRIPT = ''; $TWENGA_CONVERSION_SCRIPT .= ''; } /* allow ab testing results on the dev servers */ if ((SERVERNAME == "LIVE" && !IS_DEVELOPER && STAFF == 0) || IS_DEVSERVER) { if ($allow['abTesting']) { /* AB TEST RESULTS */ /*global $tableProductsTree, $tableSections; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $strSQL = "SELECT $tableProductsTree.sectionID, $tableSections.parent FROM $tableProductsTree LEFT JOIN $tableSections ON $tableProductsTree.sectionID = $tableSections.sectionID WHERE $tableProductsTree.xShop = '".$_GET['xShop']."' AND $tableProductsTree.productID = " . @$this->theVariables["order"]["products"][$i]["productID"]; $rsSections = $dbA->query($strSQL); if ($dbA->count($rsSections) > 0) { while ($section = $dbA->fetch($rsSections)) { if ((isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']] === true) || (isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']] === true)) { $conversionColumn = 'conversion'.$_SESSION['AB_TEST_GROUP']; $strSQL = "UPDATE ab_results SET $conversionColumn = $conversionColumn + 1 WHERE sectionID = ".$section['sectionID']; $dbA->query($strSQL); } } } } unset($_SESSION['AB_TEST_GROUP_SECTIONS']); */ $conversionColumn = $_SESSION['AB_TEST_GROUP'] . 'TestConversions'; $strSQL = "UPDATE jss_general SET $conversionColumn = $conversionColumn + 1 WHERE companyName = 'Safelincs Ltd'"; $dbA->query($strSQL); } } ?> theVariables["company"]["telephone"] = $_COOKIE["freephone"]; } ?>
Switch to mobile site
theVariables["cart"]["currency"]["pretext"], '', $value['price']); if($_GET['xShop'] == 'templates_safelincsde/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/') { $thisPrice = str_replace(',', '.', $thisPrice); } if($thisPrice < $lowestPrice || !isset($lowestPrice)) { $lowestPrice = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $thisPrice); $thisIDs = $value['options']; } } } ?> 0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if ((float)str_replace('£', '', $item[$id])<(float)str_replace('£', '', $array[$lowest_id][$id])) { $lowest_id = $index; } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); } return $temp_array; } } /* /sort multi-dimensional array - php.net */ ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["product"]; $allExtrafields = array(); $matrixProductPrice = array(); if (count($currentProd) > 0) { foreach ($currentProd as $cPname => $cPvalue) { if (preg_match('/^extra_/', $cPname) && $cPvalue['type'] == 'SELECT' && $cPvalue['options'] != NULL) { $allExtrafields[$cPvalue['title']] = array(); foreach ($cPvalue['options'] as $cPopt) { $allExtrafields[$cPvalue['title']][$cPopt['option']] = $cPopt['id']; } } } } ?> theVariables["product"]["pricing"]["combinationstable"]["entries"] = msort($this->theVariables["product"]["pricing"]["combinationstable"]["entries"], 'price'); ?> theVariables["product"]["pricing"]["combinationstable"]["available"] == "Y") { ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); for ($maloop2 = 0; $maloop2 < $counter2; $maloop2++) { $this->loopCounters["product.pricing.combinationstable.entries"]["count"] = $maloop2 + 1; ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); for ($maloop3 = 0; $maloop3 < $counter3; $maloop3++) { $this->loopCounters["product.pricing.combinationstable.entries.fields"]["count"] = $maloop3 + 1; ?> 0) { $efIds[] = $allExtrafields[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["field"]][@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["value"]]; } ?> @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["price"], 'discountprice' => @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["discountIncVat"], 'stock' => $jsStockArray[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["id"]], 'options' => $tmpEfIds); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["type"] == "USERINPUT") { ?> theVariables["product"]["extrafields"][$maloop1]["requirement"] > 0) { ?>
">

" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>" size="theVariables["product"]["extrafields"][$maloop1]["size"]; ?>" maxlength="theVariables["product"]["extrafields"][$maloop1]["maxlength"]; ?>" /> theVariables["product"]["extrafields"][$maloop1]["error"] == "Y") { ?> Please enter a value here.

theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>

theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: theVariables["product"]["extrafields"][$maloop1]["content"]; ?>

theVariables["product"]["extrafields"][$maloop1]["type"] == "IMAGE") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != "matrix") { ?>

theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>: theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: " alt="" border="1" align="top" />

theVariables["product"]["extrafields"][$maloop1]["type"] == "SELECT") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "CHECKBOXES") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != 'firecommissioning' && @$this->theVariables["product"]["extrafields"][$maloop1]["name"] != 'fireinstallation')) { $numOfExtras++; ob_start(); ?>
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
Add fire extinguisher service? theVariables["snippet=firecomminstservice"]["content"] != "" && @$this->theVariables["snippet=firecomminstservice"]["content"] != "

 

") { ?>(more info)
theVariables["product"]["extrafields"][$maloop1]["name"] != "fireinstallation") { ?>
Add a theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>? theVariables["product"]["extrafields"][$maloop1]["title"]; ?>?
theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?>

Or

theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?> 'templates_budgetfire/', 1 => 'templates_mobile/' ); if (@$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] != "") { $strSQL = "SELECT productid, price1, productDiscount FROM jss_products where code = '" . @$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] . "'"; $priceDetail = $dbA->retrieveAllRecordsFromQuery($strSQL); if ($priceDetail !== FALSE && $priceDetail[0]['price1'] > 0) { if(in_array($_GET['xShop'], $siteArr)) { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($thePrice); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($priceDetail[0]['price1']); } } else { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($thePrice * $optionsArray[$isoCode . '_taxProportion']), 2); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($priceDetail[0]['price1'] * $optionsArray[$isoCode . '_taxProportion']), 2); } } } } ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && $containsFireExtinguisherInstallation) { $strExtraJS = "onclick='checkfirecommissioning(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } else if (@$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" && $containsFireExtinguisherCommissioning) { $strExtraJS = "onclick='checkfireinstallation(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } ?> retrieveAllRecordsFromQuery("select extraFieldID from jss_extrafields_values where exValID = " . @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]); $extraFieldID = $extraFieldID[0]['extraFieldID']; ?> loopCounters["product.extrafields.options"]["count"]; ?>" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin-right: 10px;" /> " type="checkbox" name="updateItem[][extrafields][]" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin: 2px 10px 0 0;" /> theVariables["product"]["extrafields"][$maloop1]["name"] == 'firecommissioning' || @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == 'fireinstallation') { $extrafields_CHECKBOXES_array[@$this->theVariables["product"]["extrafields"][$maloop1]["name"]] = array( 'name' => @$this->theVariables["product"]["extrafields"][$maloop1]["name"].$this->loopCounters["product.extrafields.options"]["count"], 'title' => (@$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] != '' ? @$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] : @$this->theVariables["product"]["extrafields"][$maloop1]["title"]), 'price' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"], 'value' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"] ); } ?> theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "electronicLock") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "palletDelivery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["snippet=firecommissioning"]["content"] != "" && @$this->theVariables["snippet=firecommissioning"]["content"] != "

 

") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "battery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "VandalCage") { ?> (.html?popup=true&keepThis=true&TB_iframe=true&width=650&height=240" title="theVariables["product"]["extra_VandalCage"]["options"]["0"]["option"]; ?> Vandal Cage">more info)
theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?> theVariables["labels"]["product"]["textIncVat"]; ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> + callout charge theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" || ( @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && ($containsFireExtinguisherCommissioning &! $containsFireExtinguisherInstallation) ) ) { ?>
" style="display:none; color:red;"> Please only select one of: Fire Extinguisher Commissioning OR Fire Extinguisher Installation.
(The installation option already includes commissioning.)
 
Please Note: If you order installation / commissioning, a one-off call out charge of £27.00 theVariables["labels"]["product"]["textIncVat"]; ?> will be added at checkout
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "RADIOBUTTONS") { ?>
 
theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?>
" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" loopCounters["product.extrafields.options"]["count"] == 1) { ?> checked="checked" />  theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["option"]; ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> (theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?>)
0) { ?>

The following options are available for this product:

theVariables["cart"]; if (sizeof($tempCart["products"]) > 0) { foreach ($tempCart["products"] as $item) { $totalWeight += $item["weight"] * $item["qty"]; $totalQuantity += $item["qty"]; } } ?>

theVariables["labels"]["quickcart"]["textYourBasket"]; ?> theVariables["labels"]["quickcart"]["textHas"]; ?> theVariables["labels"]["quickcart"]["textItem"]; ?>theVariables["labels"]["quickcart"]["plural"]; ?>

theVariables["labels"]["quickcart"]["textGoodsTotal"]; ?> theVariables["cart"]["totals"]["quickcart"]); $goodsTotal = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $goodsPrice) * $optionsArray[$isoCode . '_taxProportion']; if($goodsTotal > 0) { if($_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsde/') { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . str_replace('.', ',', number_format($goodsTotal, 2)); } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . number_format($goodsTotal, 2); } } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . ($_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsde/' ? '0,00' : '0.00'); } echo $goodsTotal . ' ' . @$this->theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">theVariables["labels"]["quickcart"]["textCheckout"]; ?>

theVariables["company"]["telephone"]; ?>
theVariables["labels"]["header"]["textInternationalSites"]; ?>
theVariables["section"]["rootsectionID"]; global $xGroup; ?> ', $mdIsProduct); ?> retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_products.name AS productName, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_products_tree LEFT JOIN jss_sections ON jss_products_tree.sectionID = jss_sections.sectionID LEFT JOIN jss_products ON jss_products.productID = jss_products_tree.productID WHERE jss_products_tree.productID = $productID AND jss_products_tree.sectionID = $sectionID"); } else { $section = $dbA->retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_sections WHERE jss_sections.sectionID = $sectionID"); } $breadcrumb = ($breadcrumb != "" && $section[0]['visible'] == 'Y') ? '  ›  ' . $breadcrumb : $breadcrumb; if (!$first || $productID !== null) { $aWrap1 = ''; $aWrap2 = ''; } else { $h1Wrap1 = ''; $h1Wrap2 = ''; } $first = false; $breadcrumb = ($section[0]['visible'] == 'Y') ? $h1Wrap1 . $aWrap1 . $section[0]['name'] . $aWrap2 . $h1Wrap2 . $breadcrumb : $breadcrumb; if ($section[0]['parent'] != gblSiteRootSection && $section[0]['parent'] != 1) { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $section[0]['parent']; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } recurseSectionDetails($section[0]['parent'], null, $isFireDoor); } else { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $xSec; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } $homeLink = ($_GET['xShop'] == 'templates_cmp/') ? $jssStoreWebDirHTTPS : $jssStoreWebDirHTTP; if(count($menuCrumb)) { $breadcrumb = '' . $menuCrumb['name'] . '  › ' . $breadcrumb; } $breadcrumb = 'Home  ›  ' . $breadcrumb; } } ?> ' . $b[1] . ''; } else { $breadcrumbExtra .= '  ›  ' . $b[1]; } } return $breadcrumbExtra; } ?>
(time() - 10)) { ?>
theVariables["snippet"]["content"], "<?php") > 0 || strpos(@$this->theVariables["snippet"]["content"], " 0) { // snippet contains php, so needs parsing... @$this->theVariables["snippet"]["content"] = "?>" . str_replace("<?php", "theVariables["snippet"]["content"]); // echo ""; eval(@$this->theVariables["snippet"]["content"]); } else { echo(@$this->theVariables["snippet"]["content"]); } ?>
theVariables["section"]["rootsectionID"]; ?>
theVariables["customer"]["loggedin"] == 'Y') { if (!$_SESSION['customerAccount']['welcomed']) { $_SESSION['customerAccount']['welcomed'] = true; $welcomeMessage = 'Welcome back, '; } else { $welcomeMessage = 'Hello, '; } ?>
theVariables["customer"]["forename"]; ?>.  (">theVariables["labels"]["menuRight"]["textLogout"]; ?>)
theVariables["product"]["productID"]; $strSQL = "SELECT v.vid_vid, v.vid_title, v.vid_description, v.vid_height, v.vid_width, v.vid_duration, v.vid_thumbnail FROM product_video v INNER JOIN product_has_video p ON p.phv_vid = v.vid_vid WHERE p.phv_pid = $pid AND v.vid_pulled = 0 ORDER BY v.vid_filename ASC"; $videoCount = $dbA->count($dbA->query($strSQL)); if($videoCount > 0) { $numberToShow = 3; $videoResult = $dbA->retrieveAllRecordsFromQuery($strSQL); ?> $numberToShow) { ?>

Product Related Videos

$numberToShow) { ?>

View All Videos..

theVariables["product"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingProduct"]; ?>

">More Information theVariables["section"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingSection"]; ?>

">More Information

theVariables["labels"]["menuRight"]["textPostageAndPackaging"]; ?>

theVariables["labels"]["menuRight"]["textPriceFrom"]; ?> theVariables["cart"]["currency"]["pretext"]; ?>retrieveAllRecordsFromQuery('SELECT price1 FROM jss_shipping_rates ORDER BY price1 ASC LIMIT 1'); global $optionsArray,$isoCode; $vat = number_format($vat[0]['price1'] * $optionsArray[$isoCode . "_taxProportion"], 2); echo $vat; ?> theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">View Charges
theVariables["product"]["productID"]; $productsID = @$this->theVariables["products"]["productID"]; if (isset($productsID)) $productID = $productsID; $qdfIcons = $dbA->query("select * from jss_products_icons LEFT JOIN jss_products_certifications ON jss_products_certifications.jss_products_certifications_productID = jss_products_icons.jss_products_icons_productID where jss_products_icons.jss_products_icons_productID=$productID AND jss_products_icons_iconActive = 1"); $iIconsShown = 0; global $aryIcons, $aryIconTypes; $aryIcons = array(); $aryIconTypes = array(); $aryIconsOut = array(); $iconCount = $dbA->count($qdfIcons); while ($rIcon = $dbA->fetch($qdfIcons)) { $aryIconType = explode("_", $rIcon['jss_products_icons_iconName']); $strIconType = $aryIconType[0]; /* get a list of icon files of this type, in case the order numbers have changed */ if (! isset($aryIconTypes[$strIconType]) ) { $aryIconTypes[$strIconType] = glob($_SERVER['DOCUMENT_ROOT'] . "/templates_core/templates/images/icons/" . $strIconType . "_*_icon.gif"); sort($aryIconTypes[$strIconType]); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { $aryIconTypes[$strIconType][$i] = preg_replace("/.*\//", "", $aryIconTypes[$strIconType][$i]); } } /* /get a list of icon files of this type, in case the order numbers have changed */ /* get the alt tags */ if($strIconType == 'Safes') { $aryItems = array(); $aryItems["01"] = "Paper protection"; $aryItems["02"] = "CD/DVD protection"; $aryItems["03"] = "Tape/Film protection"; $aryItems["04"] = "Spray protection"; $aryItems["05"] = "Submersion protection"; $aryItems["06"] = "Key lock"; $aryItems["07"] = "Electronic lock"; $aryItems["08"] = "Fingerprint lock"; $aryItems["09"] = "Cash rating"; $aryItems["10"] = "Valuables rating"; $aryItems["11"] = "Safe weight"; $aryIcons["Safes"] = $aryItems; } else if ($strIconType == 'Certifications') { $aryItems = array(); $aryItems["01"] = "Certifire"; $aryIcons["Certifications"] = $aryItems; } /* /get the alt tags */ /* get the image file and its number */ $strThisImageFile = ""; $strWhichIcon = str_replace($strIconType . "_", "", $rIcon['jss_products_icons_iconName']); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { if (strpos($aryIconTypes[$strIconType][$i], $strWhichIcon) ) { $strThisImageFile = $aryIconTypes[$strIconType][$i]; $iIconNumber = preg_replace("/" . $strIconType . "_([0-9]+).*/", "$1", $aryIconTypes[$strIconType][$i]); } } /* get the image file and its number */ if ($strThisImageFile != "") { $iIconsShown++; $strAltTitle = $aryIcons[$strIconType][$iIconNumber] . ($rIcon['jss_products_icons_iconText'] != "" ? ": " . $rIcon['jss_products_icons_iconText'] : ""); if ($aryIcons[$strIconType][$iIconNumber] == 'Certifire') { $icons_left .= ''; } else { echo ($iIconsShown == 1) ? '
' : ''; if(stristr($strThisImageFile, 'weight_icon')) { $iconClass = 'weight-icon'; } else if(stristr($strThisImageFile, 'e_lock_icon')) { $iconClass= 'elock-icon'; } else if(stristr($strThisImageFile, 'paper_icon')) { $iconClass = 'paper-icon'; } else if(stristr($strThisImageFile, 'fingerprint_icon')) { $iconClass = 'fingerprint-icon'; } else if(stristr($strThisImageFile, 'tape_icon')) { $iconClass = 'tape-icon'; } else if(stristr($strThisImageFile, 'cd_icon')) { $iconClass = 'cd-icon'; } else if(stristr($strThisImageFile, 'jewellery_icon')) { $iconClass = 'valuables-icon'; } else if(stristr($strThisImageFile, 'money_icon')) { $iconClass = 'cash-icon'; } else if(stristr($strThisImageFile, 'key_lock_icon')) { $iconClass = 'key-icon'; } else if(stristr($strThisImageFile, 'safe_icon')) { $iconClass = 'submerge-icon'; } else if(stristr($strThisImageFile, 'spray_icon')) { $iconClass = 'spray-icon'; } ?>
3 ? '
' : ''; echo ($iconCount == $iIconsShown) ? '
' : ''; } /* end if */ } /* end if */ } /* end while */ if (@$this->theVariables["product"]["flags"]["EIApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isGezeApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["3Dimage"] != "") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isDorgardApproved"] == "Y") { $icons_left .= '

' . @$this->theVariables["labels"]["product"]["approvedReseller"] . '

'; } if (@$this->theVariables["product"]["flags"]["isMarinedApproved"] == "Y") { $icons_left .= '

Marine Approved

'; } if (@$this->theVariables["product"]["flags"]["isBritanniaApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isEvacApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isStJohnApproved"] == "Y") { $icons_left .= ''; } ?>
templateFile == 'sectionProducts.html' && $_GET['xShop'] == 'templates_safelincs/') { ?> theVariables["section"]["sectionID"]; if (!is_array($this->theVariables['products'])) { $this->theVariables['products'] = array(); } foreach($this->theVariables['products'] as $product) { $productIDs[] = $product['productID']; } if(!empty($productIDs)) { $strSQL = 'SELECT DISTINCT(technical_data_values.name) AS value, technical_data_types.name AS type, technical_data_values.value_id, technical_data_values.type_id FROM product_has_technical_data_values INNER JOIN technical_data_values ON technical_data_values.value_id = product_has_technical_data_values.value_id INNER JOIN technical_data_types ON technical_data_types.type_id = technical_data_values.type_id INNER JOIN section_has_technical_data_types ON technical_data_types.type_id = section_has_technical_data_types.type_id WHERE product_id IN(' . implode(', ', $productIDs) . ') ORDER BY section_has_technical_data_types.position, technical_data_types.type_id, technical_data_values.position ASC'; $runSQL = $dbA->query($strSQL); if($dbA->count($runSQL) > 0) { ?>

Refine Your Results

retrieveAllRecordsFromQuery($strSQL); $filterTypes = array(); $filterCount = count($filterArray); for($i=0;$i<$filterCount;$i++) { $filterTypes[] = $filterArray[$i]['type_id']; } $typeCount = array_count_values($filterTypes); $j = 0; for($i=0;$i<$filterCount;$i++) { if($typeCount[$filterArray[$i]['type_id']] > 1) { $filterArray[$i]['type'] !== $lastType ? $j++ : ''; echo $filterArray[$i]['type'] !== $lastType ? '
' : '' . "\n"; echo $filterArray[$i]['type'] !== $lastType ? '

' . $filterArray[$i]['type'] . '

' . "\n" : ''; ?>
0 ? "\n" . '
' : '' . "\n"; ?>
theVariables["section"]["extinguisherSection"] == 'Y') { ?>

theVariables["labels"]["menuRight"]["contractTitle"]; ?>

theVariables["labels"]["menuRight"]["contractInfo"]; ?>

theVariables["company"]["telephone"]; $editorEmailAddr = (SERVERNAME != 'LIVE') ? gblAdminEmail : @$this->theVariables["company"]["email"]; if ($allow['productFaqs'] && !defined("INSECTIONPAGE") && (@$this->theVariables["product"]["FAQ_editorid"] > 0)) { if (!defined("NOPRICE")) { $strSQL = "SELECT * FROM faq_editors WHERE faq_editors_id = " . @$this->theVariables["product"]["FAQ_editorid"] . " AND faq_editors_pulled <> 1"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if($_result_num>0) { $_row = mysql_fetch_assoc($_result); $strEditorTelephone = $_row["faq_editors_telephone"]; $strEditorEmail = $_row["faq_editors_email"]; } else { echo "

No results for:
$strSQL

"; } } } if (SERVERNAME != "LIVE") { $strEditorEmail = gblAdminEmail; } $was_image_auth_error = false; if (getForm("sendFAQ") != "") { if(md5(makeSafe(getFORM("_image_auth")))!= $_SESSION["verification_string"]) { $_POST["sendFAQ"] = ""; $was_image_auth_error = true; } if (!$was_image_auth_error) { $strSQL = "INSERT INTO faq (faq_productID, faq_email, faq_question, faq_dateadded, faq_showonwebsite) " . "VALUES ('" . @$this->theVariables["product"]["productID"] . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqEmail"))) . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqDetails"))) . "', " . "now(), " . "0)"; if (DEBUG > 0) echo "

$strSQL

"; $fubar = mysql_query($strSQL); $strSQL = "SELECT Max(faq_id) as NewID FROM faq"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_row = mysql_fetch_assoc($_result); $newID = $_row["NewID"]; @mail($strEditorEmail, "FAQ Question about product: " . @$this->theVariables["product"]["code"], "There is a new question about this product, please follow this link to answer it: \r\n" . "\thttp://" . $_SERVER["SERVER_NAME"] . "/admin/customer_queries.php?account=$strEditorEmail&ref=$newID" . "\r\n\r\nQuestion details:\r\n\t" . html_entity_decode(makeSafe(getForm("faqDetails"))), "From: Safelincs FAQs"); doRedirect(createProductLink(@$this->theVariables["product"]["productID"]) . "?sentFAQ=true&ref=$newID"); } } ?>

theVariables["labels"]["productExpert"]["titleQuestions"]; ?>

theVariables["labels"]["productExpert"]["textQuestions"]; ?>

0800 612 4843

theVariables["labels"]["productExpert"]["textQuestionReceived"]; ?>

theVariables["labels"]["productExpert"]["textQuestionReference"]; ?>theVariables["product"]["productID"]; ?>-

theVariables["labels"]["productExpert"]["textQuestionError"]; ?>

" method="post" onsubmit="return subFAQ(this)"> ">
Your E-Mail:
Your Question:
Authentication image
>Please enter the security code:

Google Seller Rating

= 0.5) ? 1 : 0; $emptyStars = $fullRating - $wholeStars - $halfStars; $numberOfReviews = retrieveOption("googleReviews"); for ($x=0;$x<$wholeStars;$x++) { echo '
'; //echo ''; } if ($halfStars===1) { echo '
'; //echo ''; } for ($x=0;$x<$emptyStars;$x++) { echo '
'; //echo ''; } ?>
/
Based on reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk

[[CrazyEgg tracking code appears here on live site]]

' )
..\tSys.php:569
40.23236732400eval( '?>

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

'
)
..\tSys.php(569) : eval()'d code:2062

( ! ) Warning: include() [function.include]: Failed opening 'templates/extras/newsletter_list.html' for inclusion (include_path='.;C:\php\pear;D:/home/ombrelle.co.uk') in D:\home\ombrelle.co.uk\routines\tSys.php(569) : eval()'d code(2062) : eval()'d code on line 15
Call Stack
#TimeMemoryFunctionLocation
10.0005757576{main}( )..\urlcheck.php:0
20.21414776288tSys->showPage( )..\urlcheck.php:156
30.21996828456eval( '?>theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); ?> theVariables["shop"]["baseDir"] ?> " /> " /> " /> 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if ($_result_num > 0) { $_row = mysql_fetch_assoc($_result); @$this->theVariables["snippet"]["metaDescription"] = $_row["metaDescription"] != "" ? $_row["metaDescription"] : "Buy Fire Safety Products such as Fire Extinguishers, Fire Safes, Smoke Alarms, CO Detectors etc with Best Price Guarantee"; @$this->theVariables["snippet"]["metaKeywords"] = $_row["metaKeywords"] != "" ? $_row["metaKeywords"] : "Fire Safety Products, Fire Extinguishers, Smoke Alarms, CO detectors, dorgard, fire doors, fire safes, door retainers, fire escape ladders, emergency lighting, first aid kits"; @$this->theVariables["snippet"]["CSS"] = $_row["CSS"]; @$this->theVariables["snippet"]["TopBar"] = $_row["TopBar"]; @$this->theVariables["snippet"]["content"] = $_row["content"]; @$this->theVariables["snippet"]["title"] = $_row["title"]; } ?> <?php print @$this->theVariables["snippet"]["title"]; ?> " /> " /> retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_UA = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google UA code..

\n"; } } /*/ get google user account /*/ /* successful conversion, get the google store info */ if ($pageType == 'checkout_order_success') { $strSQL = "SELECT value FROM $tableOptions WHERE name = 'googleStore'"; $gResult = $dbA->retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_STORE = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google Store name..

\n"; } } ?> theVariables["order"]["orderID"] + retrieveOption("orderNumberOffset")); $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; /* $strOrderTo = @$this->theVariables["order"]["deliveryCompany"]; if (trim($strOrderTo) == "") $strOrderTo = @$this->theVariables["order"]["forename"] . " " . @$this->theVariables["order"]["surname"]; if (trim($strOrderTo) == "") $strOrderTo = "Unknown"; */ $GA_STORE = (isset($GA_STORE) && $GA_STORE != '') ? $GA_STORE : 'Unknown'; $CART_CONVERSION_SCRIPT .= " '".$GA_STORE."', // affiliation\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["goodsTotal"],2)) . "', // total\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["taxTotal"],2)) . "', // tax\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["shippingTotal"],2)) . "', // shipping\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryTown"]) . "', // city\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", preg_replace("/^([a-z]+[0-9]+).*/i", "$1", @$this->theVariables["order"]["deliveryPostcode"])) . "', // state (actually we use the first half of the postcode)\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryCountry"]) . "' // country\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_addItem',\n"; $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["code"]) . "', // SKU\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["name"]) . "', // Product Name\n"; $CART_CONVERSION_SCRIPT .= " 'Look in jShop', // Category\n"; $CART_CONVERSION_SCRIPT .= " '" . preg_replace("/[^0-9\.]/", "", @$this->theVariables["order"]["products"][$i]["price"]) . "', // price\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["qty"]) . "' // quantity\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; } $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_trackTrans']);\n"; /* microsoft adCentre tracking code */ $_CART_CONVERSION_SCRIPT_MICROSOFT = "\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= ' '."\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= "\n"; /* twenga tracking code */ $TWENGA_CONVERSION_SCRIPT = ''; $TWENGA_CONVERSION_SCRIPT .= ''; } /* allow ab testing results on the dev servers */ if ((SERVERNAME == "LIVE" && !IS_DEVELOPER && STAFF == 0) || IS_DEVSERVER) { if ($allow['abTesting']) { /* AB TEST RESULTS */ /*global $tableProductsTree, $tableSections; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $strSQL = "SELECT $tableProductsTree.sectionID, $tableSections.parent FROM $tableProductsTree LEFT JOIN $tableSections ON $tableProductsTree.sectionID = $tableSections.sectionID WHERE $tableProductsTree.xShop = '".$_GET['xShop']."' AND $tableProductsTree.productID = " . @$this->theVariables["order"]["products"][$i]["productID"]; $rsSections = $dbA->query($strSQL); if ($dbA->count($rsSections) > 0) { while ($section = $dbA->fetch($rsSections)) { if ((isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']] === true) || (isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']] === true)) { $conversionColumn = 'conversion'.$_SESSION['AB_TEST_GROUP']; $strSQL = "UPDATE ab_results SET $conversionColumn = $conversionColumn + 1 WHERE sectionID = ".$section['sectionID']; $dbA->query($strSQL); } } } } unset($_SESSION['AB_TEST_GROUP_SECTIONS']); */ $conversionColumn = $_SESSION['AB_TEST_GROUP'] . 'TestConversions'; $strSQL = "UPDATE jss_general SET $conversionColumn = $conversionColumn + 1 WHERE companyName = 'Safelincs Ltd'"; $dbA->query($strSQL); } } ?> theVariables["company"]["telephone"] = $_COOKIE["freephone"]; } ?>
Switch to mobile site
theVariables["cart"]["currency"]["pretext"], '', $value['price']); if($_GET['xShop'] == 'templates_safelincsde/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/') { $thisPrice = str_replace(',', '.', $thisPrice); } if($thisPrice < $lowestPrice || !isset($lowestPrice)) { $lowestPrice = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $thisPrice); $thisIDs = $value['options']; } } } ?> 0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if ((float)str_replace('£', '', $item[$id])<(float)str_replace('£', '', $array[$lowest_id][$id])) { $lowest_id = $index; } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); } return $temp_array; } } /* /sort multi-dimensional array - php.net */ ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["product"]; $allExtrafields = array(); $matrixProductPrice = array(); if (count($currentProd) > 0) { foreach ($currentProd as $cPname => $cPvalue) { if (preg_match('/^extra_/', $cPname) && $cPvalue['type'] == 'SELECT' && $cPvalue['options'] != NULL) { $allExtrafields[$cPvalue['title']] = array(); foreach ($cPvalue['options'] as $cPopt) { $allExtrafields[$cPvalue['title']][$cPopt['option']] = $cPopt['id']; } } } } ?> theVariables["product"]["pricing"]["combinationstable"]["entries"] = msort($this->theVariables["product"]["pricing"]["combinationstable"]["entries"], 'price'); ?> theVariables["product"]["pricing"]["combinationstable"]["available"] == "Y") { ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); for ($maloop2 = 0; $maloop2 < $counter2; $maloop2++) { $this->loopCounters["product.pricing.combinationstable.entries"]["count"] = $maloop2 + 1; ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); for ($maloop3 = 0; $maloop3 < $counter3; $maloop3++) { $this->loopCounters["product.pricing.combinationstable.entries.fields"]["count"] = $maloop3 + 1; ?> 0) { $efIds[] = $allExtrafields[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["field"]][@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["value"]]; } ?> @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["price"], 'discountprice' => @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["discountIncVat"], 'stock' => $jsStockArray[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["id"]], 'options' => $tmpEfIds); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["type"] == "USERINPUT") { ?> theVariables["product"]["extrafields"][$maloop1]["requirement"] > 0) { ?>
">

" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>" size="theVariables["product"]["extrafields"][$maloop1]["size"]; ?>" maxlength="theVariables["product"]["extrafields"][$maloop1]["maxlength"]; ?>" /> theVariables["product"]["extrafields"][$maloop1]["error"] == "Y") { ?> Please enter a value here.

theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>

theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: theVariables["product"]["extrafields"][$maloop1]["content"]; ?>

theVariables["product"]["extrafields"][$maloop1]["type"] == "IMAGE") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != "matrix") { ?>

theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>: theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: " alt="" border="1" align="top" />

theVariables["product"]["extrafields"][$maloop1]["type"] == "SELECT") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "CHECKBOXES") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != 'firecommissioning' && @$this->theVariables["product"]["extrafields"][$maloop1]["name"] != 'fireinstallation')) { $numOfExtras++; ob_start(); ?>
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
Add fire extinguisher service? theVariables["snippet=firecomminstservice"]["content"] != "" && @$this->theVariables["snippet=firecomminstservice"]["content"] != "

 

") { ?>(more info)
theVariables["product"]["extrafields"][$maloop1]["name"] != "fireinstallation") { ?>
Add a theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>? theVariables["product"]["extrafields"][$maloop1]["title"]; ?>?
theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?>

Or

theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?> 'templates_budgetfire/', 1 => 'templates_mobile/' ); if (@$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] != "") { $strSQL = "SELECT productid, price1, productDiscount FROM jss_products where code = '" . @$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] . "'"; $priceDetail = $dbA->retrieveAllRecordsFromQuery($strSQL); if ($priceDetail !== FALSE && $priceDetail[0]['price1'] > 0) { if(in_array($_GET['xShop'], $siteArr)) { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($thePrice); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($priceDetail[0]['price1']); } } else { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($thePrice * $optionsArray[$isoCode . '_taxProportion']), 2); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($priceDetail[0]['price1'] * $optionsArray[$isoCode . '_taxProportion']), 2); } } } } ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && $containsFireExtinguisherInstallation) { $strExtraJS = "onclick='checkfirecommissioning(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } else if (@$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" && $containsFireExtinguisherCommissioning) { $strExtraJS = "onclick='checkfireinstallation(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } ?> retrieveAllRecordsFromQuery("select extraFieldID from jss_extrafields_values where exValID = " . @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]); $extraFieldID = $extraFieldID[0]['extraFieldID']; ?> loopCounters["product.extrafields.options"]["count"]; ?>" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin-right: 10px;" /> " type="checkbox" name="updateItem[][extrafields][]" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin: 2px 10px 0 0;" /> theVariables["product"]["extrafields"][$maloop1]["name"] == 'firecommissioning' || @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == 'fireinstallation') { $extrafields_CHECKBOXES_array[@$this->theVariables["product"]["extrafields"][$maloop1]["name"]] = array( 'name' => @$this->theVariables["product"]["extrafields"][$maloop1]["name"].$this->loopCounters["product.extrafields.options"]["count"], 'title' => (@$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] != '' ? @$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] : @$this->theVariables["product"]["extrafields"][$maloop1]["title"]), 'price' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"], 'value' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"] ); } ?> theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "electronicLock") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "palletDelivery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["snippet=firecommissioning"]["content"] != "" && @$this->theVariables["snippet=firecommissioning"]["content"] != "

 

") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "battery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "VandalCage") { ?> (.html?popup=true&keepThis=true&TB_iframe=true&width=650&height=240" title="theVariables["product"]["extra_VandalCage"]["options"]["0"]["option"]; ?> Vandal Cage">more info)
theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?> theVariables["labels"]["product"]["textIncVat"]; ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> + callout charge theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" || ( @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && ($containsFireExtinguisherCommissioning &! $containsFireExtinguisherInstallation) ) ) { ?>
" style="display:none; color:red;"> Please only select one of: Fire Extinguisher Commissioning OR Fire Extinguisher Installation.
(The installation option already includes commissioning.)
 
Please Note: If you order installation / commissioning, a one-off call out charge of £27.00 theVariables["labels"]["product"]["textIncVat"]; ?> will be added at checkout
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "RADIOBUTTONS") { ?>
 
theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?>
" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" loopCounters["product.extrafields.options"]["count"] == 1) { ?> checked="checked" />  theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["option"]; ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> (theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?>)
0) { ?>

The following options are available for this product:

theVariables["cart"]; if (sizeof($tempCart["products"]) > 0) { foreach ($tempCart["products"] as $item) { $totalWeight += $item["weight"] * $item["qty"]; $totalQuantity += $item["qty"]; } } ?>

theVariables["labels"]["quickcart"]["textYourBasket"]; ?> theVariables["labels"]["quickcart"]["textHas"]; ?> theVariables["labels"]["quickcart"]["textItem"]; ?>theVariables["labels"]["quickcart"]["plural"]; ?>

theVariables["labels"]["quickcart"]["textGoodsTotal"]; ?> theVariables["cart"]["totals"]["quickcart"]); $goodsTotal = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $goodsPrice) * $optionsArray[$isoCode . '_taxProportion']; if($goodsTotal > 0) { if($_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsde/') { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . str_replace('.', ',', number_format($goodsTotal, 2)); } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . number_format($goodsTotal, 2); } } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . ($_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsde/' ? '0,00' : '0.00'); } echo $goodsTotal . ' ' . @$this->theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">theVariables["labels"]["quickcart"]["textCheckout"]; ?>

theVariables["company"]["telephone"]; ?>
theVariables["labels"]["header"]["textInternationalSites"]; ?>
theVariables["section"]["rootsectionID"]; global $xGroup; ?> ', $mdIsProduct); ?> retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_products.name AS productName, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_products_tree LEFT JOIN jss_sections ON jss_products_tree.sectionID = jss_sections.sectionID LEFT JOIN jss_products ON jss_products.productID = jss_products_tree.productID WHERE jss_products_tree.productID = $productID AND jss_products_tree.sectionID = $sectionID"); } else { $section = $dbA->retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_sections WHERE jss_sections.sectionID = $sectionID"); } $breadcrumb = ($breadcrumb != "" && $section[0]['visible'] == 'Y') ? '  ›  ' . $breadcrumb : $breadcrumb; if (!$first || $productID !== null) { $aWrap1 = ''; $aWrap2 = ''; } else { $h1Wrap1 = ''; $h1Wrap2 = ''; } $first = false; $breadcrumb = ($section[0]['visible'] == 'Y') ? $h1Wrap1 . $aWrap1 . $section[0]['name'] . $aWrap2 . $h1Wrap2 . $breadcrumb : $breadcrumb; if ($section[0]['parent'] != gblSiteRootSection && $section[0]['parent'] != 1) { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $section[0]['parent']; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } recurseSectionDetails($section[0]['parent'], null, $isFireDoor); } else { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $xSec; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } $homeLink = ($_GET['xShop'] == 'templates_cmp/') ? $jssStoreWebDirHTTPS : $jssStoreWebDirHTTP; if(count($menuCrumb)) { $breadcrumb = '' . $menuCrumb['name'] . '  › ' . $breadcrumb; } $breadcrumb = 'Home  ›  ' . $breadcrumb; } } ?> ' . $b[1] . ''; } else { $breadcrumbExtra .= '  ›  ' . $b[1]; } } return $breadcrumbExtra; } ?>
(time() - 10)) { ?>
theVariables["snippet"]["content"], "<?php") > 0 || strpos(@$this->theVariables["snippet"]["content"], " 0) { // snippet contains php, so needs parsing... @$this->theVariables["snippet"]["content"] = "?>" . str_replace("<?php", "theVariables["snippet"]["content"]); // echo ""; eval(@$this->theVariables["snippet"]["content"]); } else { echo(@$this->theVariables["snippet"]["content"]); } ?>
theVariables["section"]["rootsectionID"]; ?>
theVariables["customer"]["loggedin"] == 'Y') { if (!$_SESSION['customerAccount']['welcomed']) { $_SESSION['customerAccount']['welcomed'] = true; $welcomeMessage = 'Welcome back, '; } else { $welcomeMessage = 'Hello, '; } ?>
theVariables["customer"]["forename"]; ?>.  (">theVariables["labels"]["menuRight"]["textLogout"]; ?>)
theVariables["product"]["productID"]; $strSQL = "SELECT v.vid_vid, v.vid_title, v.vid_description, v.vid_height, v.vid_width, v.vid_duration, v.vid_thumbnail FROM product_video v INNER JOIN product_has_video p ON p.phv_vid = v.vid_vid WHERE p.phv_pid = $pid AND v.vid_pulled = 0 ORDER BY v.vid_filename ASC"; $videoCount = $dbA->count($dbA->query($strSQL)); if($videoCount > 0) { $numberToShow = 3; $videoResult = $dbA->retrieveAllRecordsFromQuery($strSQL); ?> $numberToShow) { ?>

Product Related Videos

$numberToShow) { ?>

View All Videos..

theVariables["product"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingProduct"]; ?>

">More Information theVariables["section"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingSection"]; ?>

">More Information

theVariables["labels"]["menuRight"]["textPostageAndPackaging"]; ?>

theVariables["labels"]["menuRight"]["textPriceFrom"]; ?> theVariables["cart"]["currency"]["pretext"]; ?>retrieveAllRecordsFromQuery('SELECT price1 FROM jss_shipping_rates ORDER BY price1 ASC LIMIT 1'); global $optionsArray,$isoCode; $vat = number_format($vat[0]['price1'] * $optionsArray[$isoCode . "_taxProportion"], 2); echo $vat; ?> theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">View Charges
theVariables["product"]["productID"]; $productsID = @$this->theVariables["products"]["productID"]; if (isset($productsID)) $productID = $productsID; $qdfIcons = $dbA->query("select * from jss_products_icons LEFT JOIN jss_products_certifications ON jss_products_certifications.jss_products_certifications_productID = jss_products_icons.jss_products_icons_productID where jss_products_icons.jss_products_icons_productID=$productID AND jss_products_icons_iconActive = 1"); $iIconsShown = 0; global $aryIcons, $aryIconTypes; $aryIcons = array(); $aryIconTypes = array(); $aryIconsOut = array(); $iconCount = $dbA->count($qdfIcons); while ($rIcon = $dbA->fetch($qdfIcons)) { $aryIconType = explode("_", $rIcon['jss_products_icons_iconName']); $strIconType = $aryIconType[0]; /* get a list of icon files of this type, in case the order numbers have changed */ if (! isset($aryIconTypes[$strIconType]) ) { $aryIconTypes[$strIconType] = glob($_SERVER['DOCUMENT_ROOT'] . "/templates_core/templates/images/icons/" . $strIconType . "_*_icon.gif"); sort($aryIconTypes[$strIconType]); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { $aryIconTypes[$strIconType][$i] = preg_replace("/.*\//", "", $aryIconTypes[$strIconType][$i]); } } /* /get a list of icon files of this type, in case the order numbers have changed */ /* get the alt tags */ if($strIconType == 'Safes') { $aryItems = array(); $aryItems["01"] = "Paper protection"; $aryItems["02"] = "CD/DVD protection"; $aryItems["03"] = "Tape/Film protection"; $aryItems["04"] = "Spray protection"; $aryItems["05"] = "Submersion protection"; $aryItems["06"] = "Key lock"; $aryItems["07"] = "Electronic lock"; $aryItems["08"] = "Fingerprint lock"; $aryItems["09"] = "Cash rating"; $aryItems["10"] = "Valuables rating"; $aryItems["11"] = "Safe weight"; $aryIcons["Safes"] = $aryItems; } else if ($strIconType == 'Certifications') { $aryItems = array(); $aryItems["01"] = "Certifire"; $aryIcons["Certifications"] = $aryItems; } /* /get the alt tags */ /* get the image file and its number */ $strThisImageFile = ""; $strWhichIcon = str_replace($strIconType . "_", "", $rIcon['jss_products_icons_iconName']); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { if (strpos($aryIconTypes[$strIconType][$i], $strWhichIcon) ) { $strThisImageFile = $aryIconTypes[$strIconType][$i]; $iIconNumber = preg_replace("/" . $strIconType . "_([0-9]+).*/", "$1", $aryIconTypes[$strIconType][$i]); } } /* get the image file and its number */ if ($strThisImageFile != "") { $iIconsShown++; $strAltTitle = $aryIcons[$strIconType][$iIconNumber] . ($rIcon['jss_products_icons_iconText'] != "" ? ": " . $rIcon['jss_products_icons_iconText'] : ""); if ($aryIcons[$strIconType][$iIconNumber] == 'Certifire') { $icons_left .= ''; } else { echo ($iIconsShown == 1) ? '
' : ''; if(stristr($strThisImageFile, 'weight_icon')) { $iconClass = 'weight-icon'; } else if(stristr($strThisImageFile, 'e_lock_icon')) { $iconClass= 'elock-icon'; } else if(stristr($strThisImageFile, 'paper_icon')) { $iconClass = 'paper-icon'; } else if(stristr($strThisImageFile, 'fingerprint_icon')) { $iconClass = 'fingerprint-icon'; } else if(stristr($strThisImageFile, 'tape_icon')) { $iconClass = 'tape-icon'; } else if(stristr($strThisImageFile, 'cd_icon')) { $iconClass = 'cd-icon'; } else if(stristr($strThisImageFile, 'jewellery_icon')) { $iconClass = 'valuables-icon'; } else if(stristr($strThisImageFile, 'money_icon')) { $iconClass = 'cash-icon'; } else if(stristr($strThisImageFile, 'key_lock_icon')) { $iconClass = 'key-icon'; } else if(stristr($strThisImageFile, 'safe_icon')) { $iconClass = 'submerge-icon'; } else if(stristr($strThisImageFile, 'spray_icon')) { $iconClass = 'spray-icon'; } ?>
3 ? '
' : ''; echo ($iconCount == $iIconsShown) ? '
' : ''; } /* end if */ } /* end if */ } /* end while */ if (@$this->theVariables["product"]["flags"]["EIApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isGezeApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["3Dimage"] != "") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isDorgardApproved"] == "Y") { $icons_left .= '

' . @$this->theVariables["labels"]["product"]["approvedReseller"] . '

'; } if (@$this->theVariables["product"]["flags"]["isMarinedApproved"] == "Y") { $icons_left .= '

Marine Approved

'; } if (@$this->theVariables["product"]["flags"]["isBritanniaApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isEvacApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isStJohnApproved"] == "Y") { $icons_left .= ''; } ?>
templateFile == 'sectionProducts.html' && $_GET['xShop'] == 'templates_safelincs/') { ?> theVariables["section"]["sectionID"]; if (!is_array($this->theVariables['products'])) { $this->theVariables['products'] = array(); } foreach($this->theVariables['products'] as $product) { $productIDs[] = $product['productID']; } if(!empty($productIDs)) { $strSQL = 'SELECT DISTINCT(technical_data_values.name) AS value, technical_data_types.name AS type, technical_data_values.value_id, technical_data_values.type_id FROM product_has_technical_data_values INNER JOIN technical_data_values ON technical_data_values.value_id = product_has_technical_data_values.value_id INNER JOIN technical_data_types ON technical_data_types.type_id = technical_data_values.type_id INNER JOIN section_has_technical_data_types ON technical_data_types.type_id = section_has_technical_data_types.type_id WHERE product_id IN(' . implode(', ', $productIDs) . ') ORDER BY section_has_technical_data_types.position, technical_data_types.type_id, technical_data_values.position ASC'; $runSQL = $dbA->query($strSQL); if($dbA->count($runSQL) > 0) { ?>

Refine Your Results

retrieveAllRecordsFromQuery($strSQL); $filterTypes = array(); $filterCount = count($filterArray); for($i=0;$i<$filterCount;$i++) { $filterTypes[] = $filterArray[$i]['type_id']; } $typeCount = array_count_values($filterTypes); $j = 0; for($i=0;$i<$filterCount;$i++) { if($typeCount[$filterArray[$i]['type_id']] > 1) { $filterArray[$i]['type'] !== $lastType ? $j++ : ''; echo $filterArray[$i]['type'] !== $lastType ? '
' : '' . "\n"; echo $filterArray[$i]['type'] !== $lastType ? '

' . $filterArray[$i]['type'] . '

' . "\n" : ''; ?>
0 ? "\n" . '
' : '' . "\n"; ?>
theVariables["section"]["extinguisherSection"] == 'Y') { ?>

theVariables["labels"]["menuRight"]["contractTitle"]; ?>

theVariables["labels"]["menuRight"]["contractInfo"]; ?>

theVariables["company"]["telephone"]; $editorEmailAddr = (SERVERNAME != 'LIVE') ? gblAdminEmail : @$this->theVariables["company"]["email"]; if ($allow['productFaqs'] && !defined("INSECTIONPAGE") && (@$this->theVariables["product"]["FAQ_editorid"] > 0)) { if (!defined("NOPRICE")) { $strSQL = "SELECT * FROM faq_editors WHERE faq_editors_id = " . @$this->theVariables["product"]["FAQ_editorid"] . " AND faq_editors_pulled <> 1"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if($_result_num>0) { $_row = mysql_fetch_assoc($_result); $strEditorTelephone = $_row["faq_editors_telephone"]; $strEditorEmail = $_row["faq_editors_email"]; } else { echo "

No results for:
$strSQL

"; } } } if (SERVERNAME != "LIVE") { $strEditorEmail = gblAdminEmail; } $was_image_auth_error = false; if (getForm("sendFAQ") != "") { if(md5(makeSafe(getFORM("_image_auth")))!= $_SESSION["verification_string"]) { $_POST["sendFAQ"] = ""; $was_image_auth_error = true; } if (!$was_image_auth_error) { $strSQL = "INSERT INTO faq (faq_productID, faq_email, faq_question, faq_dateadded, faq_showonwebsite) " . "VALUES ('" . @$this->theVariables["product"]["productID"] . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqEmail"))) . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqDetails"))) . "', " . "now(), " . "0)"; if (DEBUG > 0) echo "

$strSQL

"; $fubar = mysql_query($strSQL); $strSQL = "SELECT Max(faq_id) as NewID FROM faq"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_row = mysql_fetch_assoc($_result); $newID = $_row["NewID"]; @mail($strEditorEmail, "FAQ Question about product: " . @$this->theVariables["product"]["code"], "There is a new question about this product, please follow this link to answer it: \r\n" . "\thttp://" . $_SERVER["SERVER_NAME"] . "/admin/customer_queries.php?account=$strEditorEmail&ref=$newID" . "\r\n\r\nQuestion details:\r\n\t" . html_entity_decode(makeSafe(getForm("faqDetails"))), "From: Safelincs FAQs"); doRedirect(createProductLink(@$this->theVariables["product"]["productID"]) . "?sentFAQ=true&ref=$newID"); } } ?>

theVariables["labels"]["productExpert"]["titleQuestions"]; ?>

theVariables["labels"]["productExpert"]["textQuestions"]; ?>

0800 612 4843

theVariables["labels"]["productExpert"]["textQuestionReceived"]; ?>

theVariables["labels"]["productExpert"]["textQuestionReference"]; ?>theVariables["product"]["productID"]; ?>-

theVariables["labels"]["productExpert"]["textQuestionError"]; ?>

" method="post" onsubmit="return subFAQ(this)"> ">
Your E-Mail:
Your Question:
Authentication image
>Please enter the security code:

Google Seller Rating

= 0.5) ? 1 : 0; $emptyStars = $fullRating - $wholeStars - $halfStars; $numberOfReviews = retrieveOption("googleReviews"); for ($x=0;$x<$wholeStars;$x++) { echo '
'; //echo ''; } if ($halfStars===1) { echo '
'; //echo ''; } for ($x=0;$x<$emptyStars;$x++) { echo '
'; //echo ''; } ?>
/
Based on reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk

[[CrazyEgg tracking code appears here on live site]]

' )
..\tSys.php:569
40.23236732400eval( '?>

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

'
)
..\tSys.php(569) : eval()'d code:2062

( ! ) Warning: include(templates/extras/editorial_list.html) [function.include]: failed to open stream: No such file or directory in D:\home\ombrelle.co.uk\routines\tSys.php(569) : eval()'d code(2062) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0005757576{main}( )..\urlcheck.php:0
20.21414776288tSys->showPage( )..\urlcheck.php:156
30.21996828456eval( '?>theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); ?> theVariables["shop"]["baseDir"] ?> " /> " /> " /> 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if ($_result_num > 0) { $_row = mysql_fetch_assoc($_result); @$this->theVariables["snippet"]["metaDescription"] = $_row["metaDescription"] != "" ? $_row["metaDescription"] : "Buy Fire Safety Products such as Fire Extinguishers, Fire Safes, Smoke Alarms, CO Detectors etc with Best Price Guarantee"; @$this->theVariables["snippet"]["metaKeywords"] = $_row["metaKeywords"] != "" ? $_row["metaKeywords"] : "Fire Safety Products, Fire Extinguishers, Smoke Alarms, CO detectors, dorgard, fire doors, fire safes, door retainers, fire escape ladders, emergency lighting, first aid kits"; @$this->theVariables["snippet"]["CSS"] = $_row["CSS"]; @$this->theVariables["snippet"]["TopBar"] = $_row["TopBar"]; @$this->theVariables["snippet"]["content"] = $_row["content"]; @$this->theVariables["snippet"]["title"] = $_row["title"]; } ?> <?php print @$this->theVariables["snippet"]["title"]; ?> " /> " /> retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_UA = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google UA code..

\n"; } } /*/ get google user account /*/ /* successful conversion, get the google store info */ if ($pageType == 'checkout_order_success') { $strSQL = "SELECT value FROM $tableOptions WHERE name = 'googleStore'"; $gResult = $dbA->retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_STORE = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google Store name..

\n"; } } ?> theVariables["order"]["orderID"] + retrieveOption("orderNumberOffset")); $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; /* $strOrderTo = @$this->theVariables["order"]["deliveryCompany"]; if (trim($strOrderTo) == "") $strOrderTo = @$this->theVariables["order"]["forename"] . " " . @$this->theVariables["order"]["surname"]; if (trim($strOrderTo) == "") $strOrderTo = "Unknown"; */ $GA_STORE = (isset($GA_STORE) && $GA_STORE != '') ? $GA_STORE : 'Unknown'; $CART_CONVERSION_SCRIPT .= " '".$GA_STORE."', // affiliation\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["goodsTotal"],2)) . "', // total\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["taxTotal"],2)) . "', // tax\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["shippingTotal"],2)) . "', // shipping\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryTown"]) . "', // city\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", preg_replace("/^([a-z]+[0-9]+).*/i", "$1", @$this->theVariables["order"]["deliveryPostcode"])) . "', // state (actually we use the first half of the postcode)\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryCountry"]) . "' // country\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_addItem',\n"; $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["code"]) . "', // SKU\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["name"]) . "', // Product Name\n"; $CART_CONVERSION_SCRIPT .= " 'Look in jShop', // Category\n"; $CART_CONVERSION_SCRIPT .= " '" . preg_replace("/[^0-9\.]/", "", @$this->theVariables["order"]["products"][$i]["price"]) . "', // price\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["qty"]) . "' // quantity\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; } $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_trackTrans']);\n"; /* microsoft adCentre tracking code */ $_CART_CONVERSION_SCRIPT_MICROSOFT = "\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= ' '."\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= "\n"; /* twenga tracking code */ $TWENGA_CONVERSION_SCRIPT = ''; $TWENGA_CONVERSION_SCRIPT .= ''; } /* allow ab testing results on the dev servers */ if ((SERVERNAME == "LIVE" && !IS_DEVELOPER && STAFF == 0) || IS_DEVSERVER) { if ($allow['abTesting']) { /* AB TEST RESULTS */ /*global $tableProductsTree, $tableSections; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $strSQL = "SELECT $tableProductsTree.sectionID, $tableSections.parent FROM $tableProductsTree LEFT JOIN $tableSections ON $tableProductsTree.sectionID = $tableSections.sectionID WHERE $tableProductsTree.xShop = '".$_GET['xShop']."' AND $tableProductsTree.productID = " . @$this->theVariables["order"]["products"][$i]["productID"]; $rsSections = $dbA->query($strSQL); if ($dbA->count($rsSections) > 0) { while ($section = $dbA->fetch($rsSections)) { if ((isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']] === true) || (isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']] === true)) { $conversionColumn = 'conversion'.$_SESSION['AB_TEST_GROUP']; $strSQL = "UPDATE ab_results SET $conversionColumn = $conversionColumn + 1 WHERE sectionID = ".$section['sectionID']; $dbA->query($strSQL); } } } } unset($_SESSION['AB_TEST_GROUP_SECTIONS']); */ $conversionColumn = $_SESSION['AB_TEST_GROUP'] . 'TestConversions'; $strSQL = "UPDATE jss_general SET $conversionColumn = $conversionColumn + 1 WHERE companyName = 'Safelincs Ltd'"; $dbA->query($strSQL); } } ?> theVariables["company"]["telephone"] = $_COOKIE["freephone"]; } ?>
Switch to mobile site
theVariables["cart"]["currency"]["pretext"], '', $value['price']); if($_GET['xShop'] == 'templates_safelincsde/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/') { $thisPrice = str_replace(',', '.', $thisPrice); } if($thisPrice < $lowestPrice || !isset($lowestPrice)) { $lowestPrice = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $thisPrice); $thisIDs = $value['options']; } } } ?> 0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if ((float)str_replace('£', '', $item[$id])<(float)str_replace('£', '', $array[$lowest_id][$id])) { $lowest_id = $index; } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); } return $temp_array; } } /* /sort multi-dimensional array - php.net */ ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["product"]; $allExtrafields = array(); $matrixProductPrice = array(); if (count($currentProd) > 0) { foreach ($currentProd as $cPname => $cPvalue) { if (preg_match('/^extra_/', $cPname) && $cPvalue['type'] == 'SELECT' && $cPvalue['options'] != NULL) { $allExtrafields[$cPvalue['title']] = array(); foreach ($cPvalue['options'] as $cPopt) { $allExtrafields[$cPvalue['title']][$cPopt['option']] = $cPopt['id']; } } } } ?> theVariables["product"]["pricing"]["combinationstable"]["entries"] = msort($this->theVariables["product"]["pricing"]["combinationstable"]["entries"], 'price'); ?> theVariables["product"]["pricing"]["combinationstable"]["available"] == "Y") { ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); for ($maloop2 = 0; $maloop2 < $counter2; $maloop2++) { $this->loopCounters["product.pricing.combinationstable.entries"]["count"] = $maloop2 + 1; ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); for ($maloop3 = 0; $maloop3 < $counter3; $maloop3++) { $this->loopCounters["product.pricing.combinationstable.entries.fields"]["count"] = $maloop3 + 1; ?> 0) { $efIds[] = $allExtrafields[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["field"]][@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["value"]]; } ?> @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["price"], 'discountprice' => @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["discountIncVat"], 'stock' => $jsStockArray[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["id"]], 'options' => $tmpEfIds); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["type"] == "USERINPUT") { ?> theVariables["product"]["extrafields"][$maloop1]["requirement"] > 0) { ?>
">

" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>" size="theVariables["product"]["extrafields"][$maloop1]["size"]; ?>" maxlength="theVariables["product"]["extrafields"][$maloop1]["maxlength"]; ?>" /> theVariables["product"]["extrafields"][$maloop1]["error"] == "Y") { ?> Please enter a value here.

theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>

theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: theVariables["product"]["extrafields"][$maloop1]["content"]; ?>

theVariables["product"]["extrafields"][$maloop1]["type"] == "IMAGE") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != "matrix") { ?>

theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>: theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: " alt="" border="1" align="top" />

theVariables["product"]["extrafields"][$maloop1]["type"] == "SELECT") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "CHECKBOXES") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != 'firecommissioning' && @$this->theVariables["product"]["extrafields"][$maloop1]["name"] != 'fireinstallation')) { $numOfExtras++; ob_start(); ?>
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
Add fire extinguisher service? theVariables["snippet=firecomminstservice"]["content"] != "" && @$this->theVariables["snippet=firecomminstservice"]["content"] != "

 

") { ?>(more info)
theVariables["product"]["extrafields"][$maloop1]["name"] != "fireinstallation") { ?>
Add a theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>? theVariables["product"]["extrafields"][$maloop1]["title"]; ?>?
theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?>

Or

theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?> 'templates_budgetfire/', 1 => 'templates_mobile/' ); if (@$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] != "") { $strSQL = "SELECT productid, price1, productDiscount FROM jss_products where code = '" . @$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] . "'"; $priceDetail = $dbA->retrieveAllRecordsFromQuery($strSQL); if ($priceDetail !== FALSE && $priceDetail[0]['price1'] > 0) { if(in_array($_GET['xShop'], $siteArr)) { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($thePrice); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($priceDetail[0]['price1']); } } else { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($thePrice * $optionsArray[$isoCode . '_taxProportion']), 2); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($priceDetail[0]['price1'] * $optionsArray[$isoCode . '_taxProportion']), 2); } } } } ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && $containsFireExtinguisherInstallation) { $strExtraJS = "onclick='checkfirecommissioning(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } else if (@$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" && $containsFireExtinguisherCommissioning) { $strExtraJS = "onclick='checkfireinstallation(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } ?> retrieveAllRecordsFromQuery("select extraFieldID from jss_extrafields_values where exValID = " . @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]); $extraFieldID = $extraFieldID[0]['extraFieldID']; ?> loopCounters["product.extrafields.options"]["count"]; ?>" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin-right: 10px;" /> " type="checkbox" name="updateItem[][extrafields][]" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin: 2px 10px 0 0;" /> theVariables["product"]["extrafields"][$maloop1]["name"] == 'firecommissioning' || @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == 'fireinstallation') { $extrafields_CHECKBOXES_array[@$this->theVariables["product"]["extrafields"][$maloop1]["name"]] = array( 'name' => @$this->theVariables["product"]["extrafields"][$maloop1]["name"].$this->loopCounters["product.extrafields.options"]["count"], 'title' => (@$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] != '' ? @$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] : @$this->theVariables["product"]["extrafields"][$maloop1]["title"]), 'price' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"], 'value' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"] ); } ?> theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "electronicLock") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "palletDelivery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["snippet=firecommissioning"]["content"] != "" && @$this->theVariables["snippet=firecommissioning"]["content"] != "

 

") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "battery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "VandalCage") { ?> (.html?popup=true&keepThis=true&TB_iframe=true&width=650&height=240" title="theVariables["product"]["extra_VandalCage"]["options"]["0"]["option"]; ?> Vandal Cage">more info)
theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?> theVariables["labels"]["product"]["textIncVat"]; ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> + callout charge theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" || ( @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && ($containsFireExtinguisherCommissioning &! $containsFireExtinguisherInstallation) ) ) { ?>
" style="display:none; color:red;"> Please only select one of: Fire Extinguisher Commissioning OR Fire Extinguisher Installation.
(The installation option already includes commissioning.)
 
Please Note: If you order installation / commissioning, a one-off call out charge of £27.00 theVariables["labels"]["product"]["textIncVat"]; ?> will be added at checkout
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "RADIOBUTTONS") { ?>
 
theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?>
" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" loopCounters["product.extrafields.options"]["count"] == 1) { ?> checked="checked" />  theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["option"]; ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> (theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?>)
0) { ?>

The following options are available for this product:

theVariables["cart"]; if (sizeof($tempCart["products"]) > 0) { foreach ($tempCart["products"] as $item) { $totalWeight += $item["weight"] * $item["qty"]; $totalQuantity += $item["qty"]; } } ?>

theVariables["labels"]["quickcart"]["textYourBasket"]; ?> theVariables["labels"]["quickcart"]["textHas"]; ?> theVariables["labels"]["quickcart"]["textItem"]; ?>theVariables["labels"]["quickcart"]["plural"]; ?>

theVariables["labels"]["quickcart"]["textGoodsTotal"]; ?> theVariables["cart"]["totals"]["quickcart"]); $goodsTotal = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $goodsPrice) * $optionsArray[$isoCode . '_taxProportion']; if($goodsTotal > 0) { if($_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsde/') { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . str_replace('.', ',', number_format($goodsTotal, 2)); } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . number_format($goodsTotal, 2); } } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . ($_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsde/' ? '0,00' : '0.00'); } echo $goodsTotal . ' ' . @$this->theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">theVariables["labels"]["quickcart"]["textCheckout"]; ?>

theVariables["company"]["telephone"]; ?>
theVariables["labels"]["header"]["textInternationalSites"]; ?>
theVariables["section"]["rootsectionID"]; global $xGroup; ?> ', $mdIsProduct); ?> retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_products.name AS productName, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_products_tree LEFT JOIN jss_sections ON jss_products_tree.sectionID = jss_sections.sectionID LEFT JOIN jss_products ON jss_products.productID = jss_products_tree.productID WHERE jss_products_tree.productID = $productID AND jss_products_tree.sectionID = $sectionID"); } else { $section = $dbA->retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_sections WHERE jss_sections.sectionID = $sectionID"); } $breadcrumb = ($breadcrumb != "" && $section[0]['visible'] == 'Y') ? '  ›  ' . $breadcrumb : $breadcrumb; if (!$first || $productID !== null) { $aWrap1 = ''; $aWrap2 = ''; } else { $h1Wrap1 = ''; $h1Wrap2 = ''; } $first = false; $breadcrumb = ($section[0]['visible'] == 'Y') ? $h1Wrap1 . $aWrap1 . $section[0]['name'] . $aWrap2 . $h1Wrap2 . $breadcrumb : $breadcrumb; if ($section[0]['parent'] != gblSiteRootSection && $section[0]['parent'] != 1) { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $section[0]['parent']; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } recurseSectionDetails($section[0]['parent'], null, $isFireDoor); } else { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $xSec; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } $homeLink = ($_GET['xShop'] == 'templates_cmp/') ? $jssStoreWebDirHTTPS : $jssStoreWebDirHTTP; if(count($menuCrumb)) { $breadcrumb = '' . $menuCrumb['name'] . '  › ' . $breadcrumb; } $breadcrumb = 'Home  ›  ' . $breadcrumb; } } ?> ' . $b[1] . ''; } else { $breadcrumbExtra .= '  ›  ' . $b[1]; } } return $breadcrumbExtra; } ?>
(time() - 10)) { ?>
theVariables["snippet"]["content"], "<?php") > 0 || strpos(@$this->theVariables["snippet"]["content"], " 0) { // snippet contains php, so needs parsing... @$this->theVariables["snippet"]["content"] = "?>" . str_replace("<?php", "theVariables["snippet"]["content"]); // echo ""; eval(@$this->theVariables["snippet"]["content"]); } else { echo(@$this->theVariables["snippet"]["content"]); } ?>
theVariables["section"]["rootsectionID"]; ?>
theVariables["customer"]["loggedin"] == 'Y') { if (!$_SESSION['customerAccount']['welcomed']) { $_SESSION['customerAccount']['welcomed'] = true; $welcomeMessage = 'Welcome back, '; } else { $welcomeMessage = 'Hello, '; } ?>
theVariables["customer"]["forename"]; ?>.  (">theVariables["labels"]["menuRight"]["textLogout"]; ?>)
theVariables["product"]["productID"]; $strSQL = "SELECT v.vid_vid, v.vid_title, v.vid_description, v.vid_height, v.vid_width, v.vid_duration, v.vid_thumbnail FROM product_video v INNER JOIN product_has_video p ON p.phv_vid = v.vid_vid WHERE p.phv_pid = $pid AND v.vid_pulled = 0 ORDER BY v.vid_filename ASC"; $videoCount = $dbA->count($dbA->query($strSQL)); if($videoCount > 0) { $numberToShow = 3; $videoResult = $dbA->retrieveAllRecordsFromQuery($strSQL); ?> $numberToShow) { ?>

Product Related Videos

$numberToShow) { ?>

View All Videos..

theVariables["product"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingProduct"]; ?>

">More Information theVariables["section"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingSection"]; ?>

">More Information

theVariables["labels"]["menuRight"]["textPostageAndPackaging"]; ?>

theVariables["labels"]["menuRight"]["textPriceFrom"]; ?> theVariables["cart"]["currency"]["pretext"]; ?>retrieveAllRecordsFromQuery('SELECT price1 FROM jss_shipping_rates ORDER BY price1 ASC LIMIT 1'); global $optionsArray,$isoCode; $vat = number_format($vat[0]['price1'] * $optionsArray[$isoCode . "_taxProportion"], 2); echo $vat; ?> theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">View Charges
theVariables["product"]["productID"]; $productsID = @$this->theVariables["products"]["productID"]; if (isset($productsID)) $productID = $productsID; $qdfIcons = $dbA->query("select * from jss_products_icons LEFT JOIN jss_products_certifications ON jss_products_certifications.jss_products_certifications_productID = jss_products_icons.jss_products_icons_productID where jss_products_icons.jss_products_icons_productID=$productID AND jss_products_icons_iconActive = 1"); $iIconsShown = 0; global $aryIcons, $aryIconTypes; $aryIcons = array(); $aryIconTypes = array(); $aryIconsOut = array(); $iconCount = $dbA->count($qdfIcons); while ($rIcon = $dbA->fetch($qdfIcons)) { $aryIconType = explode("_", $rIcon['jss_products_icons_iconName']); $strIconType = $aryIconType[0]; /* get a list of icon files of this type, in case the order numbers have changed */ if (! isset($aryIconTypes[$strIconType]) ) { $aryIconTypes[$strIconType] = glob($_SERVER['DOCUMENT_ROOT'] . "/templates_core/templates/images/icons/" . $strIconType . "_*_icon.gif"); sort($aryIconTypes[$strIconType]); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { $aryIconTypes[$strIconType][$i] = preg_replace("/.*\//", "", $aryIconTypes[$strIconType][$i]); } } /* /get a list of icon files of this type, in case the order numbers have changed */ /* get the alt tags */ if($strIconType == 'Safes') { $aryItems = array(); $aryItems["01"] = "Paper protection"; $aryItems["02"] = "CD/DVD protection"; $aryItems["03"] = "Tape/Film protection"; $aryItems["04"] = "Spray protection"; $aryItems["05"] = "Submersion protection"; $aryItems["06"] = "Key lock"; $aryItems["07"] = "Electronic lock"; $aryItems["08"] = "Fingerprint lock"; $aryItems["09"] = "Cash rating"; $aryItems["10"] = "Valuables rating"; $aryItems["11"] = "Safe weight"; $aryIcons["Safes"] = $aryItems; } else if ($strIconType == 'Certifications') { $aryItems = array(); $aryItems["01"] = "Certifire"; $aryIcons["Certifications"] = $aryItems; } /* /get the alt tags */ /* get the image file and its number */ $strThisImageFile = ""; $strWhichIcon = str_replace($strIconType . "_", "", $rIcon['jss_products_icons_iconName']); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { if (strpos($aryIconTypes[$strIconType][$i], $strWhichIcon) ) { $strThisImageFile = $aryIconTypes[$strIconType][$i]; $iIconNumber = preg_replace("/" . $strIconType . "_([0-9]+).*/", "$1", $aryIconTypes[$strIconType][$i]); } } /* get the image file and its number */ if ($strThisImageFile != "") { $iIconsShown++; $strAltTitle = $aryIcons[$strIconType][$iIconNumber] . ($rIcon['jss_products_icons_iconText'] != "" ? ": " . $rIcon['jss_products_icons_iconText'] : ""); if ($aryIcons[$strIconType][$iIconNumber] == 'Certifire') { $icons_left .= ''; } else { echo ($iIconsShown == 1) ? '
' : ''; if(stristr($strThisImageFile, 'weight_icon')) { $iconClass = 'weight-icon'; } else if(stristr($strThisImageFile, 'e_lock_icon')) { $iconClass= 'elock-icon'; } else if(stristr($strThisImageFile, 'paper_icon')) { $iconClass = 'paper-icon'; } else if(stristr($strThisImageFile, 'fingerprint_icon')) { $iconClass = 'fingerprint-icon'; } else if(stristr($strThisImageFile, 'tape_icon')) { $iconClass = 'tape-icon'; } else if(stristr($strThisImageFile, 'cd_icon')) { $iconClass = 'cd-icon'; } else if(stristr($strThisImageFile, 'jewellery_icon')) { $iconClass = 'valuables-icon'; } else if(stristr($strThisImageFile, 'money_icon')) { $iconClass = 'cash-icon'; } else if(stristr($strThisImageFile, 'key_lock_icon')) { $iconClass = 'key-icon'; } else if(stristr($strThisImageFile, 'safe_icon')) { $iconClass = 'submerge-icon'; } else if(stristr($strThisImageFile, 'spray_icon')) { $iconClass = 'spray-icon'; } ?>
3 ? '
' : ''; echo ($iconCount == $iIconsShown) ? '
' : ''; } /* end if */ } /* end if */ } /* end while */ if (@$this->theVariables["product"]["flags"]["EIApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isGezeApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["3Dimage"] != "") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isDorgardApproved"] == "Y") { $icons_left .= '

' . @$this->theVariables["labels"]["product"]["approvedReseller"] . '

'; } if (@$this->theVariables["product"]["flags"]["isMarinedApproved"] == "Y") { $icons_left .= '

Marine Approved

'; } if (@$this->theVariables["product"]["flags"]["isBritanniaApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isEvacApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isStJohnApproved"] == "Y") { $icons_left .= ''; } ?>
templateFile == 'sectionProducts.html' && $_GET['xShop'] == 'templates_safelincs/') { ?> theVariables["section"]["sectionID"]; if (!is_array($this->theVariables['products'])) { $this->theVariables['products'] = array(); } foreach($this->theVariables['products'] as $product) { $productIDs[] = $product['productID']; } if(!empty($productIDs)) { $strSQL = 'SELECT DISTINCT(technical_data_values.name) AS value, technical_data_types.name AS type, technical_data_values.value_id, technical_data_values.type_id FROM product_has_technical_data_values INNER JOIN technical_data_values ON technical_data_values.value_id = product_has_technical_data_values.value_id INNER JOIN technical_data_types ON technical_data_types.type_id = technical_data_values.type_id INNER JOIN section_has_technical_data_types ON technical_data_types.type_id = section_has_technical_data_types.type_id WHERE product_id IN(' . implode(', ', $productIDs) . ') ORDER BY section_has_technical_data_types.position, technical_data_types.type_id, technical_data_values.position ASC'; $runSQL = $dbA->query($strSQL); if($dbA->count($runSQL) > 0) { ?>

Refine Your Results

retrieveAllRecordsFromQuery($strSQL); $filterTypes = array(); $filterCount = count($filterArray); for($i=0;$i<$filterCount;$i++) { $filterTypes[] = $filterArray[$i]['type_id']; } $typeCount = array_count_values($filterTypes); $j = 0; for($i=0;$i<$filterCount;$i++) { if($typeCount[$filterArray[$i]['type_id']] > 1) { $filterArray[$i]['type'] !== $lastType ? $j++ : ''; echo $filterArray[$i]['type'] !== $lastType ? '
' : '' . "\n"; echo $filterArray[$i]['type'] !== $lastType ? '

' . $filterArray[$i]['type'] . '

' . "\n" : ''; ?>
0 ? "\n" . '
' : '' . "\n"; ?>
theVariables["section"]["extinguisherSection"] == 'Y') { ?>

theVariables["labels"]["menuRight"]["contractTitle"]; ?>

theVariables["labels"]["menuRight"]["contractInfo"]; ?>

theVariables["company"]["telephone"]; $editorEmailAddr = (SERVERNAME != 'LIVE') ? gblAdminEmail : @$this->theVariables["company"]["email"]; if ($allow['productFaqs'] && !defined("INSECTIONPAGE") && (@$this->theVariables["product"]["FAQ_editorid"] > 0)) { if (!defined("NOPRICE")) { $strSQL = "SELECT * FROM faq_editors WHERE faq_editors_id = " . @$this->theVariables["product"]["FAQ_editorid"] . " AND faq_editors_pulled <> 1"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if($_result_num>0) { $_row = mysql_fetch_assoc($_result); $strEditorTelephone = $_row["faq_editors_telephone"]; $strEditorEmail = $_row["faq_editors_email"]; } else { echo "

No results for:
$strSQL

"; } } } if (SERVERNAME != "LIVE") { $strEditorEmail = gblAdminEmail; } $was_image_auth_error = false; if (getForm("sendFAQ") != "") { if(md5(makeSafe(getFORM("_image_auth")))!= $_SESSION["verification_string"]) { $_POST["sendFAQ"] = ""; $was_image_auth_error = true; } if (!$was_image_auth_error) { $strSQL = "INSERT INTO faq (faq_productID, faq_email, faq_question, faq_dateadded, faq_showonwebsite) " . "VALUES ('" . @$this->theVariables["product"]["productID"] . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqEmail"))) . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqDetails"))) . "', " . "now(), " . "0)"; if (DEBUG > 0) echo "

$strSQL

"; $fubar = mysql_query($strSQL); $strSQL = "SELECT Max(faq_id) as NewID FROM faq"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_row = mysql_fetch_assoc($_result); $newID = $_row["NewID"]; @mail($strEditorEmail, "FAQ Question about product: " . @$this->theVariables["product"]["code"], "There is a new question about this product, please follow this link to answer it: \r\n" . "\thttp://" . $_SERVER["SERVER_NAME"] . "/admin/customer_queries.php?account=$strEditorEmail&ref=$newID" . "\r\n\r\nQuestion details:\r\n\t" . html_entity_decode(makeSafe(getForm("faqDetails"))), "From: Safelincs FAQs"); doRedirect(createProductLink(@$this->theVariables["product"]["productID"]) . "?sentFAQ=true&ref=$newID"); } } ?>

theVariables["labels"]["productExpert"]["titleQuestions"]; ?>

theVariables["labels"]["productExpert"]["textQuestions"]; ?>

0800 612 4843

theVariables["labels"]["productExpert"]["textQuestionReceived"]; ?>

theVariables["labels"]["productExpert"]["textQuestionReference"]; ?>theVariables["product"]["productID"]; ?>-

theVariables["labels"]["productExpert"]["textQuestionError"]; ?>

" method="post" onsubmit="return subFAQ(this)"> ">
Your E-Mail:
Your Question:
Authentication image
>Please enter the security code:

Google Seller Rating

= 0.5) ? 1 : 0; $emptyStars = $fullRating - $wholeStars - $halfStars; $numberOfReviews = retrieveOption("googleReviews"); for ($x=0;$x<$wholeStars;$x++) { echo '
'; //echo ''; } if ($halfStars===1) { echo '
'; //echo ''; } for ($x=0;$x<$emptyStars;$x++) { echo '
'; //echo ''; } ?>
/
Based on reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk

[[CrazyEgg tracking code appears here on live site]]

' )
..\tSys.php:569
40.23236732400eval( '?>

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

'
)
..\tSys.php(569) : eval()'d code:2062

( ! ) Warning: include() [function.include]: Failed opening 'templates/extras/editorial_list.html' for inclusion (include_path='.;C:\php\pear;D:/home/ombrelle.co.uk') in D:\home\ombrelle.co.uk\routines\tSys.php(569) : eval()'d code(2062) : eval()'d code on line 16
Call Stack
#TimeMemoryFunctionLocation
10.0005757576{main}( )..\urlcheck.php:0
20.21414776288tSys->showPage( )..\urlcheck.php:156
30.21996828456eval( '?>theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); ?> theVariables["product"]["extrafields"][$maloop1]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); ?> theVariables["shop"]["baseDir"] ?> " /> " /> " /> 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if ($_result_num > 0) { $_row = mysql_fetch_assoc($_result); @$this->theVariables["snippet"]["metaDescription"] = $_row["metaDescription"] != "" ? $_row["metaDescription"] : "Buy Fire Safety Products such as Fire Extinguishers, Fire Safes, Smoke Alarms, CO Detectors etc with Best Price Guarantee"; @$this->theVariables["snippet"]["metaKeywords"] = $_row["metaKeywords"] != "" ? $_row["metaKeywords"] : "Fire Safety Products, Fire Extinguishers, Smoke Alarms, CO detectors, dorgard, fire doors, fire safes, door retainers, fire escape ladders, emergency lighting, first aid kits"; @$this->theVariables["snippet"]["CSS"] = $_row["CSS"]; @$this->theVariables["snippet"]["TopBar"] = $_row["TopBar"]; @$this->theVariables["snippet"]["content"] = $_row["content"]; @$this->theVariables["snippet"]["title"] = $_row["title"]; } ?> <?php print @$this->theVariables["snippet"]["title"]; ?> " /> " /> retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_UA = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google UA code..

\n"; } } /*/ get google user account /*/ /* successful conversion, get the google store info */ if ($pageType == 'checkout_order_success') { $strSQL = "SELECT value FROM $tableOptions WHERE name = 'googleStore'"; $gResult = $dbA->retrieveAllRecordsFromQuery($strSQL); if($dbA->count($dbA->query($strSQL)) > 0) { /* google analytics */ $GA_STORE = $gResult[0]['value']; } else { if(IS_DEVELOPER && DEBUG > 0) { echo "

WARNING! Could not retrieve Google Store name..

\n"; } } ?> theVariables["order"]["orderID"] + retrieveOption("orderNumberOffset")); $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; /* $strOrderTo = @$this->theVariables["order"]["deliveryCompany"]; if (trim($strOrderTo) == "") $strOrderTo = @$this->theVariables["order"]["forename"] . " " . @$this->theVariables["order"]["surname"]; if (trim($strOrderTo) == "") $strOrderTo = "Unknown"; */ $GA_STORE = (isset($GA_STORE) && $GA_STORE != '') ? $GA_STORE : 'Unknown'; $CART_CONVERSION_SCRIPT .= " '".$GA_STORE."', // affiliation\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["goodsTotal"],2)) . "', // total\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["taxTotal"],2)) . "', // tax\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", number_format(@$this->theVariables["order"]["shippingTotal"],2)) . "', // shipping\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryTown"]) . "', // city\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", preg_replace("/^([a-z]+[0-9]+).*/i", "$1", @$this->theVariables["order"]["deliveryPostcode"])) . "', // state (actually we use the first half of the postcode)\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["deliveryCountry"]) . "' // country\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_addItem',\n"; $CART_CONVERSION_SCRIPT .= " '$orderID', // order id\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["code"]) . "', // SKU\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["name"]) . "', // Product Name\n"; $CART_CONVERSION_SCRIPT .= " 'Look in jShop', // Category\n"; $CART_CONVERSION_SCRIPT .= " '" . preg_replace("/[^0-9\.]/", "", @$this->theVariables["order"]["products"][$i]["price"]) . "', // price\n"; $CART_CONVERSION_SCRIPT .= " '" . str_replace("'", "\'", @$this->theVariables["order"]["products"][$i]["qty"]) . "' // quantity\n"; $CART_CONVERSION_SCRIPT .= " ]);\n"; } $CART_CONVERSION_SCRIPT .= " \n_gaq.push(['_trackTrans']);\n"; /* microsoft adCentre tracking code */ $_CART_CONVERSION_SCRIPT_MICROSOFT = "\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= ' '."\n"; $_CART_CONVERSION_SCRIPT_MICROSOFT .= "\n"; /* twenga tracking code */ $TWENGA_CONVERSION_SCRIPT = ''; $TWENGA_CONVERSION_SCRIPT .= ''; } /* allow ab testing results on the dev servers */ if ((SERVERNAME == "LIVE" && !IS_DEVELOPER && STAFF == 0) || IS_DEVSERVER) { if ($allow['abTesting']) { /* AB TEST RESULTS */ /*global $tableProductsTree, $tableSections; for ($i = 0; $i < count(@$this->theVariables["order"]["products"]); $i++) { $strSQL = "SELECT $tableProductsTree.sectionID, $tableSections.parent FROM $tableProductsTree LEFT JOIN $tableSections ON $tableProductsTree.sectionID = $tableSections.sectionID WHERE $tableProductsTree.xShop = '".$_GET['xShop']."' AND $tableProductsTree.productID = " . @$this->theVariables["order"]["products"][$i]["productID"]; $rsSections = $dbA->query($strSQL); if ($dbA->count($rsSections) > 0) { while ($section = $dbA->fetch($rsSections)) { if ((isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['sectionID']] === true) || (isset($_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']]) && $_SESSION['AB_TEST_GROUP_SECTIONS'][$section['parent']] === true)) { $conversionColumn = 'conversion'.$_SESSION['AB_TEST_GROUP']; $strSQL = "UPDATE ab_results SET $conversionColumn = $conversionColumn + 1 WHERE sectionID = ".$section['sectionID']; $dbA->query($strSQL); } } } } unset($_SESSION['AB_TEST_GROUP_SECTIONS']); */ $conversionColumn = $_SESSION['AB_TEST_GROUP'] . 'TestConversions'; $strSQL = "UPDATE jss_general SET $conversionColumn = $conversionColumn + 1 WHERE companyName = 'Safelincs Ltd'"; $dbA->query($strSQL); } } ?> theVariables["company"]["telephone"] = $_COOKIE["freephone"]; } ?>
Switch to mobile site
theVariables["cart"]["currency"]["pretext"], '', $value['price']); if($_GET['xShop'] == 'templates_safelincsde/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/') { $thisPrice = str_replace(',', '.', $thisPrice); } if($thisPrice < $lowestPrice || !isset($lowestPrice)) { $lowestPrice = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $thisPrice); $thisIDs = $value['options']; } } } ?> 0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if ((float)str_replace('£', '', $item[$id])<(float)str_replace('£', '', $array[$lowest_id][$id])) { $lowest_id = $index; } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); } return $temp_array; } } /* /sort multi-dimensional array - php.net */ ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["product"]; $allExtrafields = array(); $matrixProductPrice = array(); if (count($currentProd) > 0) { foreach ($currentProd as $cPname => $cPvalue) { if (preg_match('/^extra_/', $cPname) && $cPvalue['type'] == 'SELECT' && $cPvalue['options'] != NULL) { $allExtrafields[$cPvalue['title']] = array(); foreach ($cPvalue['options'] as $cPopt) { $allExtrafields[$cPvalue['title']][$cPopt['option']] = $cPopt['id']; } } } } ?> theVariables["product"]["pricing"]["combinationstable"]["entries"] = msort($this->theVariables["product"]["pricing"]["combinationstable"]["entries"], 'price'); ?> theVariables["product"]["pricing"]["combinationstable"]["available"] == "Y") { ?> theVariables["product"]["pricing"]["combinationstable"]["entries"]); $this->loopCounters["product.pricing.combinationstable.entries"] = array("count"=>0,"total"=>$counter2,"looper"=>2); for ($maloop2 = 0; $maloop2 < $counter2; $maloop2++) { $this->loopCounters["product.pricing.combinationstable.entries"]["count"] = $maloop2 + 1; ?> theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"]); $this->loopCounters["product.pricing.combinationstable.entries.fields"] = array("count"=>0,"total"=>$counter3,"looper"=>3); for ($maloop3 = 0; $maloop3 < $counter3; $maloop3++) { $this->loopCounters["product.pricing.combinationstable.entries.fields"]["count"] = $maloop3 + 1; ?> 0) { $efIds[] = $allExtrafields[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["field"]][@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["fields"][$maloop3]["value"]]; } ?> @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["price"], 'discountprice' => @$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["discountIncVat"], 'stock' => $jsStockArray[@$this->theVariables["product"]["pricing"]["combinationstable"]["entries"][$maloop2]["id"]], 'options' => $tmpEfIds); ?> theVariables["product"]["extrafields"]); $this->loopCounters["product.extrafields"] = array("count"=>0,"total"=>$counter1,"looper"=>1); for ($maloop1 = 0; $maloop1 < $counter1; $maloop1++) { $this->loopCounters["product.extrafields"]["count"] = $maloop1 + 1; ?> theVariables["product"]["extrafields"][$maloop1]["content"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["type"] == "USERINPUT") { ?> theVariables["product"]["extrafields"][$maloop1]["requirement"] > 0) { ?>
">

" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>" size="theVariables["product"]["extrafields"][$maloop1]["size"]; ?>" maxlength="theVariables["product"]["extrafields"][$maloop1]["maxlength"]; ?>" /> theVariables["product"]["extrafields"][$maloop1]["error"] == "Y") { ?> Please enter a value here.

theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>

theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: theVariables["product"]["extrafields"][$maloop1]["content"]; ?>

theVariables["product"]["extrafields"][$maloop1]["type"] == "IMAGE") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != "matrix") { ?>

theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>: theVariables["product"]["extrafields"][$maloop1]["title"]; ?>: " alt="" border="1" align="top" />

theVariables["product"]["extrafields"][$maloop1]["type"] == "SELECT") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "CHECKBOXES") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] != 'firecommissioning' && @$this->theVariables["product"]["extrafields"][$maloop1]["name"] != 'fireinstallation')) { $numOfExtras++; ob_start(); ?>
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
Add fire extinguisher service? theVariables["snippet=firecomminstservice"]["content"] != "" && @$this->theVariables["snippet=firecomminstservice"]["content"] != "

 

") { ?>(more info)
theVariables["product"]["extrafields"][$maloop1]["name"] != "fireinstallation") { ?>
Add a theVariables["product"]["extrafields"][$maloop1]["customTitle"]) { ?> theVariables["product"]["extrafields"][$maloop1]["customTitle"]; ?>? theVariables["product"]["extrafields"][$maloop1]["title"]; ?>?
theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?>

Or

theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?> 'templates_budgetfire/', 1 => 'templates_mobile/' ); if (@$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] != "") { $strSQL = "SELECT productid, price1, productDiscount FROM jss_products where code = '" . @$this->theVariables["product"]["extrafields"][$maloop1]["productCode"] . "'"; $priceDetail = $dbA->retrieveAllRecordsFromQuery($strSQL); if ($priceDetail !== FALSE && $priceDetail[0]['price1'] > 0) { if(in_array($_GET['xShop'], $siteArr)) { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($thePrice); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = "+" . formatWithoutCalcPrice($priceDetail[0]['price1']); } } else { if($priceDetail[0]['productDiscount'] != 0) { $thePrice = getDiscount($priceDetail[0]['price1'], $priceDetail[0]['productDiscount']); @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($thePrice * $optionsArray[$isoCode . '_taxProportion']), 2); } else { @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] = '+' . @$this->theVariables["cart"]["currency"]["pretext"] . number_format(($priceDetail[0]['price1'] * $optionsArray[$isoCode . '_taxProportion']), 2); } } } } ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && $containsFireExtinguisherInstallation) { $strExtraJS = "onclick='checkfirecommissioning(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } else if (@$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" && $containsFireExtinguisherCommissioning) { $strExtraJS = "onclick='checkfireinstallation(" . $this->loopCounters["product.extrafields.options"]["count"] . ")'"; } ?> retrieveAllRecordsFromQuery("select extraFieldID from jss_extrafields_values where exValID = " . @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]); $extraFieldID = $extraFieldID[0]['extraFieldID']; ?> loopCounters["product.extrafields.options"]["count"]; ?>" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin-right: 10px;" /> " type="checkbox" name="updateItem[][extrafields][]" id="theVariables["product"]["extrafields"][$maloop1]["name"]; ?>loopCounters["product.extrafields.options"]["count"]; ?>" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" style="float: left; margin: 2px 10px 0 0;" /> theVariables["product"]["extrafields"][$maloop1]["name"] == 'firecommissioning' || @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == 'fireinstallation') { $extrafields_CHECKBOXES_array[@$this->theVariables["product"]["extrafields"][$maloop1]["name"]] = array( 'name' => @$this->theVariables["product"]["extrafields"][$maloop1]["name"].$this->loopCounters["product.extrafields.options"]["count"], 'title' => (@$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] != '' ? @$this->theVariables["product"]["extrafields"][$maloop1]["customTitle"] : @$this->theVariables["product"]["extrafields"][$maloop1]["title"]), 'price' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"], 'value' => @$this->theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"] ); } ?> theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "electronicLock") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "palletDelivery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?> theVariables["snippet=firecommissioning"]["content"] != "" && @$this->theVariables["snippet=firecommissioning"]["content"] != "

 

") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "battery") { ?> (more info) theVariables["product"]["extrafields"][$maloop1]["name"] == "VandalCage") { ?> (.html?popup=true&keepThis=true&TB_iframe=true&width=650&height=240" title="theVariables["product"]["extra_VandalCage"]["options"]["0"]["option"]; ?> Vandal Cage">more info)
theVariables["product"]["extrafields"][$maloop1]["content"] == "Y") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?> theVariables["labels"]["product"]["textIncVat"]; ?> theVariables["product"]["extrafields"][$maloop1]["name"] == "blanketInstallation") { ?> + callout charge theVariables["product"]["extrafields"][$maloop1]["name"] == "fireinstallation" || ( @$this->theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning" && ($containsFireExtinguisherCommissioning &! $containsFireExtinguisherInstallation) ) ) { ?>
" style="display:none; color:red;"> Please only select one of: Fire Extinguisher Commissioning OR Fire Extinguisher Installation.
(The installation option already includes commissioning.)
 
Please Note: If you order installation / commissioning, a one-off call out charge of £27.00 theVariables["labels"]["product"]["textIncVat"]; ?> will be added at checkout
theVariables["product"]["extrafields"][$maloop1]["name"] == "firecommissioning") { ?>
theVariables["product"]["extrafields"][$maloop1]["type"] == "RADIOBUTTONS") { ?>
 
theVariables["product"]["extrafields"][$maloop1]["options"]); $this->loopCounters["product.extrafields.options"] = array("count"=>0,"total"=>$counter4,"looper"=>4); for ($maloop4 = 0; $maloop4 < $counter4; $maloop4++) { $this->loopCounters["product.extrafields.options"]["count"] = $maloop4 + 1; ?>
" value="theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["id"]; ?>" loopCounters["product.extrafields.options"]["count"] == 1) { ?> checked="checked" />  theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["option"]; ?> theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"] != "") { ?> (theVariables["product"]["extrafields"][$maloop1]["options"][$maloop4]["price"]; ?>)
0) { ?>

The following options are available for this product:

theVariables["cart"]; if (sizeof($tempCart["products"]) > 0) { foreach ($tempCart["products"] as $item) { $totalWeight += $item["weight"] * $item["qty"]; $totalQuantity += $item["qty"]; } } ?>

theVariables["labels"]["quickcart"]["textYourBasket"]; ?> theVariables["labels"]["quickcart"]["textHas"]; ?> theVariables["labels"]["quickcart"]["textItem"]; ?>theVariables["labels"]["quickcart"]["plural"]; ?>

theVariables["labels"]["quickcart"]["textGoodsTotal"]; ?> theVariables["cart"]["totals"]["quickcart"]); $goodsTotal = str_replace(@$this->theVariables["cart"]["currency"]["pretext"], '', $goodsPrice) * $optionsArray[$isoCode . '_taxProportion']; if($goodsTotal > 0) { if($_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsde/') { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . str_replace('.', ',', number_format($goodsTotal, 2)); } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . number_format($goodsTotal, 2); } } else { $goodsTotal = @$this->theVariables["cart"]["currency"]["pretext"] . ($_GET['xShop'] == 'templates_safelincsit/' || $_GET['xShop'] == 'templates_safelincsie/' || $_GET['xShop'] == 'templates_safelincsde/' ? '0,00' : '0.00'); } echo $goodsTotal . ' ' . @$this->theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">theVariables["labels"]["quickcart"]["textCheckout"]; ?>

theVariables["company"]["telephone"]; ?>
theVariables["labels"]["header"]["textInternationalSites"]; ?>
theVariables["section"]["rootsectionID"]; global $xGroup; ?> ', $mdIsProduct); ?> retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_products.name AS productName, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_products_tree LEFT JOIN jss_sections ON jss_products_tree.sectionID = jss_sections.sectionID LEFT JOIN jss_products ON jss_products.productID = jss_products_tree.productID WHERE jss_products_tree.productID = $productID AND jss_products_tree.sectionID = $sectionID"); } else { $section = $dbA->retrieveAllRecordsFromQuery("SELECT jss_sections.visible AS visible, jss_sections.sectionID, jss_sections.title AS name, jss_sections.urlTitle AS url, jss_sections.parent AS parent FROM jss_sections WHERE jss_sections.sectionID = $sectionID"); } $breadcrumb = ($breadcrumb != "" && $section[0]['visible'] == 'Y') ? '  ›  ' . $breadcrumb : $breadcrumb; if (!$first || $productID !== null) { $aWrap1 = ''; $aWrap2 = ''; } else { $h1Wrap1 = ''; $h1Wrap2 = ''; } $first = false; $breadcrumb = ($section[0]['visible'] == 'Y') ? $h1Wrap1 . $aWrap1 . $section[0]['name'] . $aWrap2 . $h1Wrap2 . $breadcrumb : $breadcrumb; if ($section[0]['parent'] != gblSiteRootSection && $section[0]['parent'] != 1) { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $section[0]['parent']; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } recurseSectionDetails($section[0]['parent'], null, $isFireDoor); } else { $strSQL = 'SELECT sm.name, sm.url FROM site_menu_has_section smhs INNER JOIN site_menu sm ON smhs.menuID = sm.menuID WHERE smhs.sectionID = ' . $xSec; if($dbA->count($dbA->query($strSQL))) { $menuCrumb = $dbA->fetch($dbA->query($strSQL)); } $homeLink = ($_GET['xShop'] == 'templates_cmp/') ? $jssStoreWebDirHTTPS : $jssStoreWebDirHTTP; if(count($menuCrumb)) { $breadcrumb = '' . $menuCrumb['name'] . '  › ' . $breadcrumb; } $breadcrumb = 'Home  ›  ' . $breadcrumb; } } ?> ' . $b[1] . ''; } else { $breadcrumbExtra .= '  ›  ' . $b[1]; } } return $breadcrumbExtra; } ?>
(time() - 10)) { ?>
theVariables["snippet"]["content"], "<?php") > 0 || strpos(@$this->theVariables["snippet"]["content"], " 0) { // snippet contains php, so needs parsing... @$this->theVariables["snippet"]["content"] = "?>" . str_replace("<?php", "theVariables["snippet"]["content"]); // echo ""; eval(@$this->theVariables["snippet"]["content"]); } else { echo(@$this->theVariables["snippet"]["content"]); } ?>
theVariables["section"]["rootsectionID"]; ?>
theVariables["customer"]["loggedin"] == 'Y') { if (!$_SESSION['customerAccount']['welcomed']) { $_SESSION['customerAccount']['welcomed'] = true; $welcomeMessage = 'Welcome back, '; } else { $welcomeMessage = 'Hello, '; } ?>
theVariables["customer"]["forename"]; ?>.  (">theVariables["labels"]["menuRight"]["textLogout"]; ?>)
theVariables["product"]["productID"]; $strSQL = "SELECT v.vid_vid, v.vid_title, v.vid_description, v.vid_height, v.vid_width, v.vid_duration, v.vid_thumbnail FROM product_video v INNER JOIN product_has_video p ON p.phv_vid = v.vid_vid WHERE p.phv_pid = $pid AND v.vid_pulled = 0 ORDER BY v.vid_filename ASC"; $videoCount = $dbA->count($dbA->query($strSQL)); if($videoCount > 0) { $numberToShow = 3; $videoResult = $dbA->retrieveAllRecordsFromQuery($strSQL); ?> $numberToShow) { ?>

Product Related Videos

$numberToShow) { ?>

View All Videos..

theVariables["product"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingProduct"]; ?>

">More Information theVariables["section"]["freeShipping"] == 'Y') { ?>

"> theVariables["labels"]["menuRight"]["textFreeShipping"]; ?>

"> theVariables["labels"]["menuRight"]["textFreeShippingSection"]; ?>

">More Information

theVariables["labels"]["menuRight"]["textPostageAndPackaging"]; ?>

theVariables["labels"]["menuRight"]["textPriceFrom"]; ?> theVariables["cart"]["currency"]["pretext"]; ?>retrieveAllRecordsFromQuery('SELECT price1 FROM jss_shipping_rates ORDER BY price1 ASC LIMIT 1'); global $optionsArray,$isoCode; $vat = number_format($vat[0]['price1'] * $optionsArray[$isoCode . "_taxProportion"], 2); echo $vat; ?> theVariables["labels"]["quickcart"]["textIncVat"]; ?>

">View Charges
theVariables["product"]["productID"]; $productsID = @$this->theVariables["products"]["productID"]; if (isset($productsID)) $productID = $productsID; $qdfIcons = $dbA->query("select * from jss_products_icons LEFT JOIN jss_products_certifications ON jss_products_certifications.jss_products_certifications_productID = jss_products_icons.jss_products_icons_productID where jss_products_icons.jss_products_icons_productID=$productID AND jss_products_icons_iconActive = 1"); $iIconsShown = 0; global $aryIcons, $aryIconTypes; $aryIcons = array(); $aryIconTypes = array(); $aryIconsOut = array(); $iconCount = $dbA->count($qdfIcons); while ($rIcon = $dbA->fetch($qdfIcons)) { $aryIconType = explode("_", $rIcon['jss_products_icons_iconName']); $strIconType = $aryIconType[0]; /* get a list of icon files of this type, in case the order numbers have changed */ if (! isset($aryIconTypes[$strIconType]) ) { $aryIconTypes[$strIconType] = glob($_SERVER['DOCUMENT_ROOT'] . "/templates_core/templates/images/icons/" . $strIconType . "_*_icon.gif"); sort($aryIconTypes[$strIconType]); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { $aryIconTypes[$strIconType][$i] = preg_replace("/.*\//", "", $aryIconTypes[$strIconType][$i]); } } /* /get a list of icon files of this type, in case the order numbers have changed */ /* get the alt tags */ if($strIconType == 'Safes') { $aryItems = array(); $aryItems["01"] = "Paper protection"; $aryItems["02"] = "CD/DVD protection"; $aryItems["03"] = "Tape/Film protection"; $aryItems["04"] = "Spray protection"; $aryItems["05"] = "Submersion protection"; $aryItems["06"] = "Key lock"; $aryItems["07"] = "Electronic lock"; $aryItems["08"] = "Fingerprint lock"; $aryItems["09"] = "Cash rating"; $aryItems["10"] = "Valuables rating"; $aryItems["11"] = "Safe weight"; $aryIcons["Safes"] = $aryItems; } else if ($strIconType == 'Certifications') { $aryItems = array(); $aryItems["01"] = "Certifire"; $aryIcons["Certifications"] = $aryItems; } /* /get the alt tags */ /* get the image file and its number */ $strThisImageFile = ""; $strWhichIcon = str_replace($strIconType . "_", "", $rIcon['jss_products_icons_iconName']); for ($i = 0; $i < sizeof($aryIconTypes[$strIconType]); $i++) { if (strpos($aryIconTypes[$strIconType][$i], $strWhichIcon) ) { $strThisImageFile = $aryIconTypes[$strIconType][$i]; $iIconNumber = preg_replace("/" . $strIconType . "_([0-9]+).*/", "$1", $aryIconTypes[$strIconType][$i]); } } /* get the image file and its number */ if ($strThisImageFile != "") { $iIconsShown++; $strAltTitle = $aryIcons[$strIconType][$iIconNumber] . ($rIcon['jss_products_icons_iconText'] != "" ? ": " . $rIcon['jss_products_icons_iconText'] : ""); if ($aryIcons[$strIconType][$iIconNumber] == 'Certifire') { $icons_left .= ''; } else { echo ($iIconsShown == 1) ? '
' : ''; if(stristr($strThisImageFile, 'weight_icon')) { $iconClass = 'weight-icon'; } else if(stristr($strThisImageFile, 'e_lock_icon')) { $iconClass= 'elock-icon'; } else if(stristr($strThisImageFile, 'paper_icon')) { $iconClass = 'paper-icon'; } else if(stristr($strThisImageFile, 'fingerprint_icon')) { $iconClass = 'fingerprint-icon'; } else if(stristr($strThisImageFile, 'tape_icon')) { $iconClass = 'tape-icon'; } else if(stristr($strThisImageFile, 'cd_icon')) { $iconClass = 'cd-icon'; } else if(stristr($strThisImageFile, 'jewellery_icon')) { $iconClass = 'valuables-icon'; } else if(stristr($strThisImageFile, 'money_icon')) { $iconClass = 'cash-icon'; } else if(stristr($strThisImageFile, 'key_lock_icon')) { $iconClass = 'key-icon'; } else if(stristr($strThisImageFile, 'safe_icon')) { $iconClass = 'submerge-icon'; } else if(stristr($strThisImageFile, 'spray_icon')) { $iconClass = 'spray-icon'; } ?>
3 ? '
' : ''; echo ($iconCount == $iIconsShown) ? '
' : ''; } /* end if */ } /* end if */ } /* end while */ if (@$this->theVariables["product"]["flags"]["EIApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isGezeApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["3Dimage"] != "") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isDorgardApproved"] == "Y") { $icons_left .= '

' . @$this->theVariables["labels"]["product"]["approvedReseller"] . '

'; } if (@$this->theVariables["product"]["flags"]["isMarinedApproved"] == "Y") { $icons_left .= '

Marine Approved

'; } if (@$this->theVariables["product"]["flags"]["isBritanniaApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isEvacApproved"] == "Y") { $icons_left .= ''; } if (@$this->theVariables["product"]["flags"]["isStJohnApproved"] == "Y") { $icons_left .= ''; } ?>
templateFile == 'sectionProducts.html' && $_GET['xShop'] == 'templates_safelincs/') { ?> theVariables["section"]["sectionID"]; if (!is_array($this->theVariables['products'])) { $this->theVariables['products'] = array(); } foreach($this->theVariables['products'] as $product) { $productIDs[] = $product['productID']; } if(!empty($productIDs)) { $strSQL = 'SELECT DISTINCT(technical_data_values.name) AS value, technical_data_types.name AS type, technical_data_values.value_id, technical_data_values.type_id FROM product_has_technical_data_values INNER JOIN technical_data_values ON technical_data_values.value_id = product_has_technical_data_values.value_id INNER JOIN technical_data_types ON technical_data_types.type_id = technical_data_values.type_id INNER JOIN section_has_technical_data_types ON technical_data_types.type_id = section_has_technical_data_types.type_id WHERE product_id IN(' . implode(', ', $productIDs) . ') ORDER BY section_has_technical_data_types.position, technical_data_types.type_id, technical_data_values.position ASC'; $runSQL = $dbA->query($strSQL); if($dbA->count($runSQL) > 0) { ?>

Refine Your Results

retrieveAllRecordsFromQuery($strSQL); $filterTypes = array(); $filterCount = count($filterArray); for($i=0;$i<$filterCount;$i++) { $filterTypes[] = $filterArray[$i]['type_id']; } $typeCount = array_count_values($filterTypes); $j = 0; for($i=0;$i<$filterCount;$i++) { if($typeCount[$filterArray[$i]['type_id']] > 1) { $filterArray[$i]['type'] !== $lastType ? $j++ : ''; echo $filterArray[$i]['type'] !== $lastType ? '
' : '' . "\n"; echo $filterArray[$i]['type'] !== $lastType ? '

' . $filterArray[$i]['type'] . '

' . "\n" : ''; ?>
0 ? "\n" . '
' : '' . "\n"; ?>
theVariables["section"]["extinguisherSection"] == 'Y') { ?>

theVariables["labels"]["menuRight"]["contractTitle"]; ?>

theVariables["labels"]["menuRight"]["contractInfo"]; ?>

theVariables["company"]["telephone"]; $editorEmailAddr = (SERVERNAME != 'LIVE') ? gblAdminEmail : @$this->theVariables["company"]["email"]; if ($allow['productFaqs'] && !defined("INSECTIONPAGE") && (@$this->theVariables["product"]["FAQ_editorid"] > 0)) { if (!defined("NOPRICE")) { $strSQL = "SELECT * FROM faq_editors WHERE faq_editors_id = " . @$this->theVariables["product"]["FAQ_editorid"] . " AND faq_editors_pulled <> 1"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_result_num = mysql_num_rows($_result); if($_result_num>0) { $_row = mysql_fetch_assoc($_result); $strEditorTelephone = $_row["faq_editors_telephone"]; $strEditorEmail = $_row["faq_editors_email"]; } else { echo "

No results for:
$strSQL

"; } } } if (SERVERNAME != "LIVE") { $strEditorEmail = gblAdminEmail; } $was_image_auth_error = false; if (getForm("sendFAQ") != "") { if(md5(makeSafe(getFORM("_image_auth")))!= $_SESSION["verification_string"]) { $_POST["sendFAQ"] = ""; $was_image_auth_error = true; } if (!$was_image_auth_error) { $strSQL = "INSERT INTO faq (faq_productID, faq_email, faq_question, faq_dateadded, faq_showonwebsite) " . "VALUES ('" . @$this->theVariables["product"]["productID"] . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqEmail"))) . "', " . "'" . mysql_real_escape_string(makeSafe(getForm("faqDetails"))) . "', " . "now(), " . "0)"; if (DEBUG > 0) echo "

$strSQL

"; $fubar = mysql_query($strSQL); $strSQL = "SELECT Max(faq_id) as NewID FROM faq"; if (DEBUG > 1) echo "

$strSQL

"; $_result = mysql_query($strSQL); $_row = mysql_fetch_assoc($_result); $newID = $_row["NewID"]; @mail($strEditorEmail, "FAQ Question about product: " . @$this->theVariables["product"]["code"], "There is a new question about this product, please follow this link to answer it: \r\n" . "\thttp://" . $_SERVER["SERVER_NAME"] . "/admin/customer_queries.php?account=$strEditorEmail&ref=$newID" . "\r\n\r\nQuestion details:\r\n\t" . html_entity_decode(makeSafe(getForm("faqDetails"))), "From: Safelincs FAQs"); doRedirect(createProductLink(@$this->theVariables["product"]["productID"]) . "?sentFAQ=true&ref=$newID"); } } ?>

theVariables["labels"]["productExpert"]["titleQuestions"]; ?>

theVariables["labels"]["productExpert"]["textQuestions"]; ?>

0800 612 4843

theVariables["labels"]["productExpert"]["textQuestionReceived"]; ?>

theVariables["labels"]["productExpert"]["textQuestionReference"]; ?>theVariables["product"]["productID"]; ?>-

theVariables["labels"]["productExpert"]["textQuestionError"]; ?>

" method="post" onsubmit="return subFAQ(this)"> ">
Your E-Mail:
Your Question:
Authentication image
>Please enter the security code:

Google Seller Rating

= 0.5) ? 1 : 0; $emptyStars = $fullRating - $wholeStars - $halfStars; $numberOfReviews = retrieveOption("googleReviews"); for ($x=0;$x<$wholeStars;$x++) { echo '
'; //echo ''; } if ($halfStars===1) { echo '
'; //echo ''; } for ($x=0;$x<$emptyStars;$x++) { echo '
'; //echo ''; } ?>
/
Based on reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk

[[CrazyEgg tracking code appears here on live site]]

' )
..\tSys.php:569
40.23236732400eval( '?>

Safelincs News

Please fill in your email address below to join our newsletter mailing list.


We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

'
)
..\tSys.php(569) : eval()'d code:2062

We value your privacy - your email address will only be used for the purposes of this newsletter.
Please read our Privacy Policy for more information.

Low Cost Delivery

From £3.50 inc VAT

View Charges

Google Seller Rating

4.8 / 5
Based on 89 reviews View all reviews
Directgov
.sch.uk
NHS
ac.uk
.gov.uk
30 Day Account
Find Out More