summaryrefslogtreecommitdiff
path: root/includes/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/menu.php')
-rw-r--r--includes/menu.php53
1 files changed, 21 insertions, 32 deletions
diff --git a/includes/menu.php b/includes/menu.php
index 955de8b7..61a3ea73 100644
--- a/includes/menu.php
+++ b/includes/menu.php
@@ -2,35 +2,23 @@
<!-- anfang des menue parts //-->
<td width="160" valign="top">
<?php
-$MenueTableStart="
-<table align=\"center\" class=\"border\" cellpadding=\"3\" cellspacing=\"1\">
- <tr>
- <td width=\"160\" class=\"menu\">
-";
-$MenueTableEnd="</ul>
- <br />
- </td>
- </tr>
-</table><br />
-";
-
ShowMenu("");
ShowMenu("nonpublic");
ShowMenu("admin");
-if(!isset($submenus))
- $submenus = 0;
+if (!isset ($submenus))
+ $submenus = 0;
if ($submenus >= 1) {
- $inc_name = $_SERVER['PHP_SELF'];
- $filenamepos = strrpos($inc_name, '/');
- $filenamepos += 1;
- $filename = substr ($inc_name, $filenamepos );
- $filepost = substr ($filename, 0, -4);
- $filepre = substr ($filename, -4 );
- $verzeichnis = substr ($inc_name, 0 , $filenamepos);
-
- for ($index_nummer=1; $index_nummer <= $submenus; $index_nummer++) {
+ $inc_name = $_SERVER['PHP_SELF'];
+ $filenamepos = strrpos($inc_name, '/');
+ $filenamepos += 1;
+ $filename = substr($inc_name, $filenamepos);
+ $filepost = substr($filename, 0, -4);
+ $filepre = substr($filename, -4);
+ $verzeichnis = substr($inc_name, 0, $filenamepos);
+
+ for ($index_nummer = 1; $index_nummer <= $submenus; $index_nummer++) {
?>
<table align="center" class="border" cellpadding="3" cellspacing="1">
<tr>
@@ -42,26 +30,27 @@ if ($submenus >= 1) {
<br />
<?php
- }
+
+ }
}
-if( isset($_SESSION['UID']))
-{
+if (isset ($_SESSION['UID'])) {
?>
-<table align="center" class="border" cellpadding="3" cellspacing="1">
- <tr>
- <td width="160" class="menu">
+<nav>
<?php include("funktion_activeUser.php"); ?>
- </td>
- </tr>
-</table>
+</nav>
<?php
+
}
?>
+<nav>
+<h4><?php echo Get_Text("Sprache") ?></h4>
<?php
+
include ("funktion_flag.php");
?>
+</nav>
</td>
<!-- ende des menue parts //-->