projekt templade added
This commit is contained in:
9
Views/Error/showErrMsg.phtml
Normal file
9
Views/Error/showErrMsg.phtml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php include dirname(__DIR__).'/header.phtml'; ?>
|
||||
|
||||
<h2><?=$error?></h2>
|
||||
<p><?=$debug?></p>
|
||||
|
||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
||||
|
||||
|
||||
|
17
Views/Gallery/showPhotos.phtml
Normal file
17
Views/Gallery/showPhotos.phtml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php include dirname(__DIR__).'/header.phtml'; ?>
|
||||
|
||||
<h2>Galerie</h2>
|
||||
|
||||
<div class="container">
|
||||
<?php
|
||||
|
||||
foreach($photos as $p) {
|
||||
echo '<div class="item-4-12">';
|
||||
echo '<h3>' . $p["title"] . '</h3>'
|
||||
. '<img src="images/' . $p["filename"] . '" />';
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
6
Views/Welcome/showWelcome.phtml
Normal file
6
Views/Welcome/showWelcome.phtml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php include dirname(__DIR__).'/header.phtml'; ?>
|
||||
|
||||
<h2>Baustelle</h2>
|
||||
|
||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
||||
|
5
Views/footer.phtml
Normal file
5
Views/footer.phtml
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
27
Views/header.phtml
Normal file
27
Views/header.phtml
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Gallery View Vorlage</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link href="CSS/style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="wrapper">
|
||||
<div class="button">
|
||||
<a href="?controller=User&do=showUserLoginForm">Anmelden</a>
|
||||
</div>
|
||||
<h1>Fotofreun<span>.de</span> OWL<span>e.V.</span></h1>
|
||||
</div>
|
||||
</header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="?controller=Welcome&do=showWelcome">Willkommen</a></li>
|
||||
<li><a href="#">Mitglieder</a></li>
|
||||
<li><a href="?controller=Gallery&do=showPhotos">Galerie</a></li>
|
||||
<li><a href="#">Gästebuch</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="wrapper">
|
||||
<main>
|
Reference in New Issue
Block a user