Online state
This commit is contained in:
38
greybar.php
Normal file
38
greybar.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Die Datei greybar.php
|
||||
|
||||
if (isset($_GET['section'])) {
|
||||
$section = $_GET['section'];
|
||||
}
|
||||
else {
|
||||
$section = "home";
|
||||
}
|
||||
|
||||
echo "<ul>\n";
|
||||
|
||||
// Element Header Haftungsausschluss
|
||||
echo " <li";
|
||||
if ($section == 'haftung') {
|
||||
echo " class=\"aktiv\"";
|
||||
}
|
||||
echo "><a href=\"index.php?section=haftung\">Haftungsausschluss</a></li>\n";
|
||||
|
||||
// Element Header Impressum
|
||||
echo " <li";
|
||||
if ($section == 'impressum') {
|
||||
echo " class=\"aktiv\"";
|
||||
}
|
||||
echo "><a href=\"index.php?section=impressum\">Impressum</a></li>\n";
|
||||
|
||||
// Element Header Kontakt
|
||||
echo " <li";
|
||||
if ($section == 'kontakt') {
|
||||
echo " class=\"aktiv\"";
|
||||
}
|
||||
echo "><a href=\"index.php?section=kontakt\">Kontakt</a></li>\n";
|
||||
|
||||
|
||||
echo "</ul>\n"
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user