\n"); } foreach(OC_UTIL::$styles as $style){ echo("\n"); } ?>
'); } // check if already configured. otherwise start configuration wizard $error=OC_CONFIG::writeadminlistener(); if($e=OC_CONFIG::configlistener()){ $error.=$e; } if($e=OC_CONFIG::createuserlistener()){ $error.=$e; } if($e=OC_CONFIG::creategrouplistener()){ $error.=$e; } $CONFIG_ERROR=$error; global $CONFIG_INSTALLED; if(!$CONFIG_INSTALLED) { global $FIRSTRUN; $FIRSTRUN=true; echo('
'); echo('
'); echo('

'.$error.'

'); echo('

First Run Wizard

'); OC_CONFIG::showadminform(); echo('
'); OC_UTIL::showfooter(); exit(); }elseif(!isset($_SESSION['username']) or $_SESSION['username']=='') { // show the loginform if not loggedin echo('
'); OC_UTIL::showloginform(); echo('
'); OC_UTIL::showfooter(); exit(); }else{ echo(''); echo('
'); } ?>