summaryrefslogtreecommitdiff
path: root/www-ssl/inc/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/inc/menu.php')
-rwxr-xr-xwww-ssl/inc/menu.php71
1 files changed, 71 insertions, 0 deletions
diff --git a/www-ssl/inc/menu.php b/www-ssl/inc/menu.php
new file mode 100755
index 00000000..61247329
--- /dev/null
+++ b/www-ssl/inc/menu.php
@@ -0,0 +1,71 @@
+
+<!-- anfang des menue parts //-->
+ <td width="160" valign="top">
+<?
+$MenueTableStart="
+<table align=\"center\" class=\"border\" cellpadding=\"3\" cellspacing=\"1\">
+ <tr>
+ <td width=\"160\" class=\"menu\">
+";
+$MenueTableEnd="
+ <br>
+ </td>
+ </tr>
+</table>
+";
+
+include("./menu.php");
+
+if( isset( $Menu))
+{
+ ShowMenu( $Menu );
+ echo "<br>";
+}
+if( isset( $MenuAdmin))
+ ShowMenu( $MenuAdmin );
+
+echo "<br>";
+
+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++) {
+?>
+<table align="center" class="border" cellpadding="3" cellspacing="1">
+ <tr>
+ <td width="160" class="menu">
+ <?php include ("./".$filepost.".".$index_nummer.$filepre); ?>
+ </td>
+ </tr>
+</table>
+
+<br>
+<?
+ }
+}
+
+if( isset($_SESSION['UID']))
+{
+?>
+<table align="center" class="border" cellpadding="3" cellspacing="1">
+ <tr>
+ <td width="160" class="menu">
+ <?php include("./inc/funktion_activeUser.php"); ?>
+ </td>
+ </tr>
+</table>
+<?
+}
+?>
+ </td>
+
+<!-- ende des menue parts //-->