log_online($fn) ; if(!empty($fn)) { $fnPath = $sys->get_Path($fn) ; if(file_exists($fnPath)) { include($fnPath) ; } else { die('page not found !') ; } } else { $tpl = new Smarty() ; include('global.inc.php') ; $tpl->assign('userEmail',$sys->userEmail) ; // $tpl->assign('sysHeader','¨Ρ§ΛΗΡ΄'.$_SESSION['user_log']['ProvinceName']) ; $tpl->assign('IP',$sys->getIP()) ; $tpl->assign('userOnlineTime',$sys->timeShow($sys->get_timestamp() - $_SESSION['loginTime'])) ; $tpl->assign('fnBody','home.html') ; $tpl->display('main.html'); } ?>