summaryrefslogtreecommitdiff
path: root/includes/menu.php
blob: 955de8b7528ecfcb433db920a2ba827adeb5f8ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!-- 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 ($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 />
<?php
    }
}

if( isset($_SESSION['UID']))
{
?>
<table align="center" class="border" cellpadding="3" cellspacing="1">
  <tr>
    <td width="160" class="menu">
    <?php include("funktion_activeUser.php"); ?>
    </td>
  </tr>
</table>
<?php
}
?>

<?php
include ("funktion_flag.php");
?>
    </td> 

<!-- ende des menue parts //-->