tplFile = ABSPATH."/mod/home/x-home.php"; $TPL->tplInc = ABSPATH."/mod/home/x-home.inc.php"; $TPL->modPath = ABSPATH."/mod/home"; $TPL->modUrl = SITEURL."/mod/home"; $TPL->tplTitle = "Home"; $TPL->pageType = "home"; $TPL->requestUri = $_SERVER["REQUEST_URI"]; $TPL->setPage(); $MXOFFSET = 0; if($_REQUEST["offset"]) $MXOFFSET = sprintf("%d",$_REQUEST["offset"]); require("inc/tplhook.inc.php"); if($TPL->tplInc) require($TPL->tplInc); require("inc/site.inc.php"); require("header.php"); require($TPL->tplFile); require("footer.php"); ?>