Online state
This commit is contained in:
38
menu.php
Normal file
38
menu.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// Die Datei links.php
|
||||
|
||||
if (isset($_GET['section'])) {
|
||||
$section = $_GET['section'];
|
||||
}
|
||||
else {
|
||||
$section = "home";
|
||||
}
|
||||
|
||||
echo "<ul>\n";
|
||||
|
||||
// Element Unternehmen
|
||||
echo " <li";
|
||||
if ($section == 'home') {
|
||||
echo " class=\"aktiv\"";
|
||||
}
|
||||
echo "><a href=\"index.php?section=home\">Unternehmen</a></li>\n";
|
||||
|
||||
// Element Alles über SV
|
||||
echo " <li";
|
||||
if ($section == 'sv') {
|
||||
echo " class=\"aktiv\"";
|
||||
}
|
||||
echo "><a href=\"index.php?section=sv\">Sachverständige</a></li>\n";
|
||||
|
||||
// Element Leistungen
|
||||
echo " <li";
|
||||
if ($section == 'leistungen') {
|
||||
echo " class=\"aktiv\"";
|
||||
}
|
||||
echo "><a href=\"index.php?section=leistungen\">Leistungen</a></li>\n";
|
||||
|
||||
echo "</ul>\n";
|
||||
include "greybar.php";
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user