ported main.phtml

This commit is contained in:
jeena 2013-07-08 21:34:08 +02:00
parent 5f62111446
commit ae3997ba87
2 changed files with 57 additions and 82 deletions

View file

@ -1,94 +1,68 @@
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Swiss Didgeridoo Artwork - Schweizer Holz Didgeridoo bester Qualität</title> <meta charset="utf-8">
<title>Seinheit - <?php echo Navigation::getTitle(); ?></title>
<link href='http://fonts.googleapis.com/css?family=Amaranth' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="<?php echo $this->base ?>/style/main.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->base ?>/style/main.css" />
<link rel="shortcut icon" href="<?php echo $this->base ?>/img/leafs/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<?php echo $this->base ?>/img/favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="Bei uns findest du alles rund ums Didgeridoo - Qualitäts Instrumente aus einheimischen Hölzern - Taschen - Mundstücke - Musik - Konzertkalender - Unterricht -Therapie - Clapstick - Trommel Reparaturen - Diverse Links" /> <meta name="Description" content="" />
<meta name="keywords" content="Didgeridoo, Didjeridoo, Yidaki, Clapstick, Mundstück, Holzblasinstrument, Australisches Instrument, Didgeridoo Reparaturen, Didgeridoo Konzert, Trommel Reparaturen, Didgeridoo Unterricht, Zirkularatmung, Rhythmus Didgeridoo" /> <meta name="keywords" content="" />
<?php if($this->autoScriptFile): ?>
<script type="text/javascript" src="<?php echo $this->autoScriptFile ?>"></script>
<?php endif ?>
</head> </head>
<body style="background-image: url('<?php echo $this->base ?>/img/leafs/background<?php echo rand(1,3); ?>.png')"> <body>
<?php if($this->notices): ?> <div id="container">
<ul class="notices"> <header>
<?php if(Access::isLogged()): ?>
<ul id="adminNavigation">
<li>Admin Bereich</li>
<li><a href="<?php echo $this->base ?>/adminNavigation">Navigationen</a></li>
<li><a href="<?php echo $this->base ?>/adminPage">Pages</a></li>
<li><a href="<?php echo $this->base ?>/admin/logout">Ausloggen</a></li>
</ul>
<?php endif ?>
<?php if($this->notices): ?>
<ul class="notices">
<?php foreach($this->notices as $notice): ?> <?php foreach($this->notices as $notice): ?>
<li><?php echo $notice ?></li> <li><?php echo $notice ?></li>
<?php endforeach ?> <?php endforeach ?>
</ul> </ul>
<?php endif ?>
<a href="<?php echo $this->base ?>/page/home" title="zur Startseite" id="logo">&nbsp;</a>
<h2><?php echo Navigation::getSubtitle(); ?></h2>
<h1><?php echo Navigation::getTitle(); ?></h1>
<div id="head">
<ul id="navigation">
<?php foreach($this->mainNavigationItems as $item): ?>
<li <?php if($item['id'] == $this->activeMenuItem) echo 'class="active"'?>>
<div>
<a href="<?php echo $this->base ?>/<?php echo $item['controller'] ?>/<?php echo $item['action'] ?>"><?php echo $item['name'] ?></a>
</div>
</li>
<?php endforeach ?>
</ul>
<?php if(Access::isLogged()): ?>
<ul id="adminNavigation">
<li>
Admin Bereich
</li>
<li>
<a href="<?php echo $this->base ?>/adminOrder">Bestellungen</a>
</li>
<li>
<a href="<?php echo $this->base ?>/adminNavigation">Navigationen</a>
</li>
<li>
<a href="<?php echo $this->base ?>/adminPage">Pages</a>
</li>
<li>
<a href="<?php echo $this->base ?>/adminShop">Shop</a>
</li>
<li>
<a href="<?php echo $this->base ?>/adminNews">News</a>
</li>
<li>
<a href="<?php echo $this->base ?>/adminEvent">Events</a>
</li>
<li>
<a href="<?php echo $this->base ?>/admin/logout">Ausloggen</a>
</li>
</ul>
<?php endif ?>
</div>
<div id="topStage">
<?php if($this->subNavigationItems): ?>
<ul id="subNavigation">
<?php foreach($this->subNavigationItems as $subitem): ?>
<li <?php if($this->activeSubMenuItem == $subitem['id']) echo 'class="active"'; ?>>
<div>
<?php if($subitem['link']): ?>
<a href="<?php echo $subitem['link'] ?>"><?php echo $subitem['name'] ?></a>
<?php else: ?>
<a href="<?php echo $this->base ?>/<?php echo $subitem['controller'] ?>/<?php echo $subitem['action'] ?>"><?php echo $subitem['name'] ?></a>
<?php endif ?> <?php endif ?>
</div>
<nav>
<a id="logo" href="<?php echo $this->base ?>/"><img src="<?php echo $this->base ?>/img/logo.png" alt="SEINHEIT logo"/></a>
<ul id="navi">
<?php foreach($this->mainNavigationItems as $item): ?>
<li <?php if($item['id'] == $this->activeMenuItem) echo 'class="active"'?>>
<a href="<?php echo $this->base ?>/<?php echo $item['controller'] ?>/<?php echo $item['action'] ?>"><?php echo $item['name'] ?></a>
</li> </li>
<?php endforeach ?> <?php endforeach ?>
</ul> </ul>
<?php else: ?> </nav>
&nbsp;
<?php endif ?>
</div>
</header>
<article id="stage">
<?php if($this->headerImage): ?>
<img id="header_image" src="<?php echo $this-headerImage ?>" alt="">
<?php endif ?>
<h1><?php echo Navigation::getTitle(); ?></h1>
<?php if(Navigation::getSubtitle()): ?>
<h2><?php echo Navigation::getSubtitle(); ?></h2>
<?php endif ?>
<div id="content">
<?php echo $this->stageContent ?>
</div>
</article>
<div id="stage">
<?php echo $this->stageContent ?>
</div> </div>
</body> </body>
</html> </html>

View file

@ -49,11 +49,12 @@ h2 + h3 {
background-color: white; background-color: white;
} }
#top { #logo {
padding-top: 70px; padding-top: 70px;
display: block;
} }
#top a img { #logo img {
width: 400px; width: 400px;
} }