
jeffgr
http://www.XoopsExperts.com
if (file_exists("mainfile.php")) {
include("mainfile.php");
} elseif (file_exists("../mainfile.php")) {
include("../mainfile.php");
} else {
include("../../mainfile.php");
}
include(XOOPS_ROOT_PATH."/header.php");
$xoopsTpl->assign( 'xoops_showrblock', 1); // 1 = With right block - 0 = Without right block
$xoopsTpl->assign( 'xoops_showlblock', 0); // 1 = With left block - 0 = Without left block
?>
HTML CONTENT GOES HERE
if(isset($xoTheme) && is_object($xoTheme)) {
$xoTheme->addMeta( 'meta', 'keywords', "keyword, keyword, keyword, keyword");
$xoTheme->addMeta( 'meta', 'description', "This is the page description");
$xoopsTpl->assign('xoops_sitename','This is the page title');
}
include(XOOPS_ROOT_PATH."/footer.php");
?>