<!DOCTYPE html>
<html>
	<head>
		<title>SVJ Fussball Bearbeitungsportal</title>
		<meta charset="UTF-8"/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<meta http-equiv="cache-control" content="no-cache"/>
		<link rel="stylesheet" type="text/css" href="PHP_SITE_PATH/css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="PHP_SITE_PATH/css/cs_l1.css"/>
		<script type="text/javascript" src="PHP_SITE_PATH/js/lang.js.php"></script>
		<script type="text/javascript" src="PHP_SITE_PATH/js/jquery-2.1.1.min.js"></script>
		<script type="text/javascript" src="PHP_SITE_PATH/js/portal.js"></script>
	</head>
	<body class="grid_44col">
		<div id="popup_layer" class="grid_44col">
			<div id="popup_header" class="grid_44col">
				<div class="grid_2col spacer"></div>
				<div id="popup_title" class="grid_39col"></div>
				<div class="grid_1col">
					<img id="popup_layer_close" src="PHP_SITE_PATH/images/layer_close.png" />
				</div>
				<div class="grid_2col spacer"></div>
			</div>
			<iframe id="popup_frame" src="" class="grid_44col"></iframe>
		</div>
		<div id="page" class="grid_44col">
			<div id="header" class="grid_44col">
				<div class="grid_2col spacer"></div>
				<div id="headline_main" class="grid_9col">
					<?php echo $this -> _data[ 'headline_main' ]; ?>
				</div>
				<div class="grid_1col spacer"></div>
				<div id="navi_special" class="grid_20col">
				<?php
					if ( isset ( $this -> _data[ 'navi_special' ] ) )
						{
							$navi_main	= clone $this;
							$navi_main	-> setTemplate ( 'navi' );
							$navi_main	-> setNavpath ( $this -> _navpath );
							$navi_main	-> setPrefix ( 'portal' );
							$navi_main	-> setData( $this -> _data[ 'navi_special' ] , 0  );
							echo $navi_main -> output( );
						}
				?>
				</div>
				<div class="grid_1col spacer"></div>
				<div id="logo" class="grid_9col">
					<img src="PHP_SITE_PATH/images/cs_l1/svj_logo.png"/>
				</div>
				<div class="grid_2col spacer"></div>
			</div>
			<div class="grid_2col spacer"></div>
			<div id="wrapper" class="grid_40col">
				<?php
					if ( isset ( $this -> _data[ 'login' ] ) )
						{
							?>
							<div class="grid_9col">
								<div id="login" class="grid_9col">
								<?php
									$form	= clone $this;
									$form	-> setTemplate ( 'form' );
									$form	-> setData( $this -> _data[ 'login' ]  );
									$form	-> setLang( $this -> _lang );
									$form	-> setErrors( $this -> _error );
									echo $form -> output( );
								?>
								</div>
							</div>
							<?php
						}
					if ( isset ( $this -> _data[ 'navi_main' ] ) )
						{
							?>
							<div id="navi_main" class="grid_9col">
								<?php
								$navi_main	-> setTemplate ( 'navi' );
								$navi_main	-> setNavpath ( $this -> _navpath );
								$navi_main	-> setPrefix ( 'portal' );
								$navi_main	-> setData( $this -> _data[ 'navi_main' ] , 0  );
								echo $navi_main -> output( );
								?>
							</div>
							<?php
						}
				?>
				<div class="grid_1col spacer"></div>
				<div id="main" class="grid_30col">
					<div id="heading" class="grid_30col">
						<div id="keyvisual" class="grid_30col">
							<img src="<?php echo $this -> _data[ 'keyvisual' ]; ?>"/>
						</div>
						<div id="headline_site" class="grid_30col">
							<?php
								foreach ( $this -> _data[ 'headline_site' ] as $headline )
									{
										?>
										<h1 class="<?php echo $headline[ 1 ]; ?>"><?php echo $headline[ 0 ]; ?></h1>
										<?php
									}
							?>
						</div>
						<div class="fix"></div>
					</div>
					<div id="content" class="grid_30col">
					<?php
						if ( isset ( $this -> _data[ 'content' ] ) )
							{
								$content	= clone $this;
								$content	-> setTemplate ( $this -> _data[ 'content' ][ 'type' ] );
								$content	-> setData( $this -> _data[ 'content' ]  );
								echo $content -> output( );
							}
					?>
					</div>
				</div>
			</div>
			<div class="grid_2col spacer"></div>
			<div id="footer" class="grid_44col"></div>
		</div>
	</body>
</html>