diff options
Diffstat (limited to 'includes/menu.php')
-rw-r--r--[-rwxr-xr-x] | includes/menu.php | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/includes/menu.php b/includes/menu.php index 6133b856..799e6c75 100755..100644 --- a/includes/menu.php +++ b/includes/menu.php @@ -1,30 +1,30 @@ <!-- anfang des menue parts //--> - <td width="160" valign="top"> -<?PHP + <td width="160" valign="top"> +<?php $MenueTableStart=" <table align=\"center\" class=\"border\" cellpadding=\"3\" cellspacing=\"1\"> - <tr> - <td width=\"160\" class=\"menu\"> + <tr> + <td width=\"160\" class=\"menu\"> "; -$MenueTableEnd=" - <br> - </td> - </tr> -</table><br> +$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; +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 ); @@ -33,15 +33,15 @@ if ($submenus >= 1 ) { 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> + <tr> + <td width="160" class="menu"> + <?php include ("./".$filepost.".".$index_nummer.$filepre); ?> + </td> + </tr> </table> -<br> -<?PHP +<br /> +<?php } } @@ -49,15 +49,15 @@ 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> + <tr> + <td width="160" class="menu"> + <?php include("funktion_activeUser.php"); ?> + </td> + </tr> </table> -<?PHP +<?php } ?> - </td> + </td> <!-- ende des menue parts //--> |