aboutsummaryrefslogtreecommitdiff
path: root/www/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/header.php')
-rw-r--r--www/header.php59
1 files changed, 59 insertions, 0 deletions
diff --git a/www/header.php b/www/header.php
new file mode 100644
index 0000000..e4a0ba6
--- /dev/null
+++ b/www/header.php
@@ -0,0 +1,59 @@
+<?php include('auth.php');
+
+/* Copyright Maximilian Möhring, 2013
+Licensed under the GPL. Read LICENSE for more Information.*/
+
+
+if ($_SESSION["username"] == "jg-adlershof"){
+ $account ="<td><a href='member_login.php'>Login</a></td>
+ <td>|</td>
+ <td><a href='register.php'>Register</a></td>
+ <td>|</td>
+" ;
+} else {
+ $account ="<td><a href='account.php'>Account</a></td>
+ <td>|</td>
+";
+}
+
+?>
+<!doctype html public '-//W3C//DTD XHTML 1.0 //EN'>
+
+<html>
+<head>
+ <title>Junge Gemeinde Adlershof.</title>
+ <meta http-equiv='Content-type' content='text/html; charset=utf-8' />
+ <link rel='stylesheet' type='text/css' href='hyperstyle.css' />
+ <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
+</head>
+
+<body link='#000000' vlink='#000000' alink='#FF0000'>
+
+<?php include("piwik.php");?>
+
+<div class='kleineschrif'>
+
+<div id='header' class='kleineschrift'>
+ <table width='700px'><tr>
+ <td><a href='/'>Home</a></td>
+ <td>|</td>
+ <td><a href='liste.php'>Adressliste</a></td>
+ <td>|</td>
+ <td><a href='help.php'>Kalender</a></td>
+ <td>|</td>
+ <td><a href='help.php'>Share</a></td>
+ <td>|</td>
+ <td><a href='quote.php'>Zitat</a></td>
+ <td>|</td>
+ <td><a href='to-do-list.html'>to-do</a></td>
+ <td>|</td>
+ <td><a href='help.php'>Hilfe</a></td>
+ <td>|</td>
+<?php echo " $account"; ?>
+ <td><a href='logout.php'>Logout</a></td>
+ <tr></table>
+
+ <br>
+ <hr>
+</div>
+