email && //&& $A[USER]['uname'] $A['USER']->fname && $A['USER']->lname //&& $A['USER']->bdate //&& $A['USER']->bplace && $A['USER']->gender )){ //$l=$LOGGEDIN;$LOGGEDIN=5; //$LOGGEDIN=$l; $templateVars['errorMessage']="
" .sprintf(say("Please complete your profile below to use %s", "Vul hieronder uw profiel in om %s te gebruiken", "Заполните профиль ниже, чтобы пользоваться %s"), htmlspecialchars(cfgL('name','UIGG'))) ."
"; $_REQUEST['do']="myProfile"; }; //_sa($_REQUEST); START_DO_RECOG: list($GLOBALS['_module'],$GLOBALS['_moduleSub'])=explode("*",$_REQUEST['do']); //w if(!$GLOBALS['_module'])$GLOBALS['_module']='home'; if(!$GLOBALS['_moduleSub'])$GLOBALS['_moduleSub']=''; // dont let user do anything untill he fills in essential data $modulePath= "modules/" .($GLOBALS['_module']?"{$GLOBALS['_module']}/":"") .($GLOBALS['_moduleSub']?"{$GLOBALS['_moduleSub']}/":"") ;//_sa($modulePath); $invokePHP=$modulePath."invoke.php"; if(file_exists($invokePHP)){ require $invokePHP; // if invokePHP wants to redirect to another page, process 'do' request again }else{ //$contents= "#9876 SIGMA\n

#9876 SIGMA

"; die ($contents); $redirectTo="home"; } if($redirectTo){$_REQUEST['do']=$redirectTo;$redirectTo=false;goto START_DO_RECOG;} if(!$headerTemplate)$headerTemplate='_template.php'; if(!$footerTemplate)$footerTemplate='_template.php'; $templateVars["MAINCONTENT"]=fillTemplate(get_php("{$modulePath}{$innerTemplate}"),$templateVars); $contents=fillTemplate( get_php("modules/_headers/{$headerTemplate}"). get_php("modules/_footers/{$footerTemplate}") ,$templateVars ); print $contents;