Location: PHPKode > projects > XplainCart > xplaincart-1.0/error.php
<?php
require_once '../../mainfile.php';
require_once('library/define.php');
require_once('library/init_class.php');
class error_class{
	var $pageTitle;
	function error_display(){
		global $xoopsTpl;
		global $xoopsModuleConfig;
		$init=new init_class;
		$shopConfig=$init->getShopConfig();
		////////////header
		include 'include/header.php';
		////////////////content
		////////////footer
		include 'include/footer.php';
	}
}
$xoopsOption['template_main']='error.html';
include XOOPS_ROOT_PATH.'/header.php';
$error=new error_class;
$error->error_display();
include XOOPS_ROOT_PATH.'/footer.php';
?>
Return current item: XplainCart