. */ 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("");
$this->layout->echoln(" [logo] ");
for( $i=0; $i "); $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("
":"").""._($this->sideMenu[$i]['title']).""); }else{ $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("
"._("Did you forget your password?")." "._("Get a new one!").""); $this->layout->echoln(" "); $this->layout->echoln(""); } } ?>