$breadcrumb->add(TITLE_PRICE, tep_href_link("price.php", '', 'SSL'));
?>
<?php
// Set number of columns in listing
define('NR_COLUMNS', 2); ?>
<!-- body //-->
<?php
// group have products?
function check_products($id_group)
(strpos($message, 'Undefined array key') === false) &&
// (strpos($message, 'is deprecated in') === false) &&
(strpos($message, 'Trying to access array offset on') === false) &&
(strpos($message, 'Undefined variable') === false)
) {
$this->handleError($level, $message, $file, $line);
} else {
return true;
}
});
// set_error_handler(function ($level, $message, $file = '', $line = 0) {
$breadcrumb->add(TITLE_PRICE, tep_href_link("price.php", '', 'SSL'));
?>
<?php
// Set number of columns in listing
define('NR_COLUMNS', 2); ?>
<!-- body //-->
<?php
// group have products?
function check_products($id_group)
<!-- END BREADCRUMBS -->
<!-- CONTENT -->
<?php
if (file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php')) {
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php'); // content from current template (if exists)
} else {
require(DIR_WS_CONTENT . $content . '.tpl.php'); // content from default template
}
?>
<!-- END CONTENT -->
tep_redirect('/' . $_GET['language'] . '/sitemap.html');
} elseif ($_SERVER['REQUEST_URI'] == '/' . $content . '.php') {
tep_redirect('/sitemap.html');
}
require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);
require(DIR_WS_INCLUDES . 'application_bottom.php');
ErrorException
|
---|
ErrorException: Constant NR_COLUMNS already defined at /home/pinsoft/public_html/templates/default/content/price.tpl.php:30 at Bootstrap\HandleExceptions->handleError(2, 'Constant NR_COLUMNS already defined', '/home/pinsoft/public_html/templates/default/content/price.tpl.php', 30) (/home/pinsoft/public_html/bootstrap/HandleExceptions.php:38) at Bootstrap\HandleExceptions->Bootstrap\{closure}(2, 'Constant NR_COLUMNS already defined', '/home/pinsoft/public_html/templates/default/content/price.tpl.php', 30) at define('NR_COLUMNS', 2) (/home/pinsoft/public_html/templates/default/content/price.tpl.php:30) at require('/home/pinsoft/public_html/templates/default/content/price.tpl.php') (/home/pinsoft/public_html/templates/default/main_page.tpl.php:108) at require('/home/pinsoft/public_html/templates/default/main_page.tpl.php') (/home/pinsoft/public_html/price.php:16) |