// Check url trespassing if(strpos($_SERVER['PHP_SELF'],'index.php') == FALSE){ include("../include/config.php"); header("Location: ".HOST."index.php"); } $UserSkinObj->Head(); if (isset($_GET['DO'])){ $DO = $_GET['DO']; }else if (isset($_POST['DO'])){ $DO = $_POST['DO']; }else{ $DO='aboutUs'; } $function_list = array('showForgotPage'); if( in_array($DO, $function_list) ){ $DO(); } $UserSkinObj->Left(); $UserSkinObj->Foot(); ######### FUNCTIONS ################ function showForgotPage(){ global $UtilitiesObj; global $SmartyObj; global $SelectObj; global $UserSkinObj; $SmartyObj->assign('host',HOST); $SmartyObj->assign('mess1',$_GET['mess']); $SmartyObj->display('user/showForgotPage.tpl'); } ?>