session_start();
define ('_PHPINFOBOARD_PATH', '.') ;
include("./lib/config.php");
if(isset($_SESSION['infouser'])) {
$sHTML = "
".$_SESSION['infouser']." โปรด
LOGOUT ก่อน
" ;
}else{
$sHTML = "
\n
\n" ;
}
require_once "./lib/template.php";
$tpl = new HTML_Template_IT("./");
$tpl->loadTemplatefile( $viewTemplate, true, true);
$tpl->setVariable("infoScript", "./") ;
$tpl->setVariable("infoTitle", $infoTitle) ;
$tpl->setVariable("infoWebBoard", $sHTML) ;
$tpl->show();
unset($sHTML) ;
?>