oException=new CErrorX($oSystem); $oDBStore=new CDataStore($oSystem); $oSystem->oDBStore=&$oDBStore; unset($oSystem->oUser); unset($oSystem->oSession); $oSystem->oUser=new CUserD($oSystem); $oNavi=new CNavigation(CURRENT_CLIENT_KEY,$oSystem); $oSystem->oSiteNavi=&$oNavi; $oSession=new CSimpleSession(); $oSystem->oSession=&$oSession; $oUI=new CUI($oSystem); $oSystem->oUI=&$oUI; if($oSystem->oSiteNavi->gbSetCurrentScript(basename(__FILE__),isset($asNaviPath[0]))) { array_shift($asNaviPath); } else { header("Location: ".$oSystem->oSiteNavi->goToCurrentAPP(basename(__FILE__))); } if(!CStringType::hexOnly($asNaviPath[0],32)) { // sessionid ist nicht gesetzt: sessionid erzeugen. $sSessionID=$oSystem->oSession->gsGetSessionID(); $oSystem->oSession->gsIniSession($sSessionID); $sURL=$oSystem->oSiteNavi->gsGetURL($asNaviPath[0],array()); header("Location: ".$sURL); } $sSessionID=array_shift($asNaviPath); $sRandomKey=array_shift($asNaviPath); if($sSessionID=CStringType::hexOnly($sSessionID,32)) { setcookie("CURRENTSESSIONID",$sSessionID,time()+7200,"/".CLIENTNAME."/"); $oSystem->oSession->gsStartSession($sSessionID); $appliFile=CURRDIR."apps/main/class.index.php"; if(file_exists($appliFile)) { require_once($appliFile); $sCN="CIndex"; if(class_exists($sCN)) { $o=new $sCN($oSystem); if(method_exists($o,"gsrun")) { $sClass=array_shift($asNaviPath); $asParams=$asNaviPath; if(isset($_SESSION["anmeldung"]["RANDOMKEY"])) { $pImg=imagecreate(200,50); $b=imagecolorallocate($pImg,255,255,255); $c=imagecolorallocate($pImg,0,0,0); $a[0]=imagecolorallocate($pImg,255,0,0); $a[1]=imagecolorallocate($pImg,255,255,0); $a[2]=imagecolorallocate($pImg,0,255,0); $a[3]=imagecolorallocate($pImg,0,255,255); $a[4]=imagecolorallocate($pImg,0,0,255); $sString=$_SESSION["anmeldung"]["RANDOMKEY"]; for($i=0;$i