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 | ||||||||||||
| # | Time | Memory | Function | Location | ||||||||
| 1 | 0.0005 | 757576 | {main}( ) | ..\urlcheck.php:0 | ||||||||
| 2 | 0.2141 | 4776288 | tSys->showPage( ) | ..\urlcheck.php:156 | ||||||||
| 3 | 0.2199 | 6828456 | eval( '?>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"] ?>
$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"]; } ?>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
">
templateFile == 'index.html') { ?>
theVariables["labels"]["header"]["logoText"]; ?>theVariables["labels"]["header"]["logoText"]; ?> 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) { ?>">
theVariables["product"]["extrafields"][$maloop1]["type"] == "TEXT") { ?>
" 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]["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"]; ?>:
| |||||||||