. */ require_once(FILESYSTEMROOTPATH."include/classes/AbstractLayout.php"); class LayoutPlain extends AbstractLayout { public function displayTop() { $this->layout->echoln(""); $this->layout->echoln(""); $this->layout->echoln(" "); $this->layout->echoln(" "._("AEGEE Online Membership System").""); $this->layout->echoln(" "); $this->layout->echoln(" "); foreach($this->headers as $header) { $this->layout->echoln(" ".$header); } $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln("
"); $this->layout->echoln(" [logo]   "); for( $i=0; $itopMenu); $i++ ) { $this->layout->echoln("topMenu[$i]['link']."\">"._($this->topMenu[$i]['title'])." "); if( isset($this->topMenu[$i]['sub']) ) { $this->layout->echoln("["); for( $j=0; $jtopMenu[$i]['sub']); $j++ ) { $this->layout->echoln("topMenu[$i]['sub'][$j]['link']."\">"._($this->topMenu[$i]['sub'][$j]['title'])." "); } $this->layout->echoln("] "); } } $this->layout->echoln("

"); $this->layout->echoln("
"); $this->layout->echoln("

"); $url = $_SERVER['PHP_SELF'] . "?" . (strlen($_SERVER['QUERY_STRING'])>0?$_SERVER['QUERY_STRING']."&":""); if( $_SESSION['sess_access']==Access::ANONYMOUS ) { $this->layout->echoln(" Login or register"); }else { $this->layout->echoln(" Logged in as: ".$_SESSION['sess_uid'].""); $this->layout->echoln("
logout"); } $this->layout->echoln("

"); if( count($this->sideMenu)>0 ) { $this->layout->echoln(" "); } $this->layout->echoln("

"); $this->layout->echoln("

"); } public function displayPageTop() { if ( isset($this->layout->topPageMenu) AND count($this->layout->topPageMenu)>0 ) { foreach( $this->layout->topPageMenu as $option => $values ) { $this->layout->echoln(" .::. "); if ( array_key_exists("selected", $values)){ $this->layout->echoln(" "._($values['title'])." "); }else{ $this->layout->echoln(""._($values['title'])." "); } } $this->layout->echoln(" .::."); } } public function displayBottom() { $this->layout->echoln("
"); $this->layout->echoln(" "); $this->layout->echoln(""); } public function displayLogin($url) { $this->layout->echoln(""); $this->layout->echoln(""); $this->layout->echoln(" "); $this->layout->echoln(" "._("AEGEE Online Membership System").""); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln("

AEGEE Online Membership System login

"); $this->layout->echoln("
"); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln(" "); $this->layout->echoln("
Username:
Password:
"); $this->layout->echoln("

or "._("register an account").""); $this->layout->echoln("

"); $this->layout->echoln("

"._("Did you forget your password?")." "._("Get a new one!").""); $this->layout->echoln(" "); $this->layout->echoln(""); } } ?>