2008/10/15 13:38
tcendros
Just popping in
Posts: 15
Since: 2008/10/10
2008/10/15 14:40
iHackCode
Module Developer
Posts: 1038
Since: 2004/6/29
<?php //make sure this is correct location to mainfile. include("../mainfile.php"); include(XOOPS_ROOT_PATH."/header.php"); if (is_object($xoopsUser)) { $stuff = 'hello: '.$xoopsUser->uname(); } $xoopsTpl->assign('xoops_contents',$stuff); include(XOOPS_ROOT_PATH."/footer.php"); ?>
2008/10/15 19:19
2008/10/15 19:42
2008/10/15 19:50
2008/10/18 15:37
<?php include("../mainfile.php"); include(XOOPS_ROOT_PATH."/header.php"); if (is_object($xoopsUser)) { echo $xoopsUser->uname(); }else{ redirect_header(XOOPS_URL.'/user.php',3,_NOPERM); exit(); } include(XOOPS_ROOT_PATH."/footer.php"); ?>
Advanced Search