From e3fc6ba2d1672526088d70c62daa7961b540e1f7 Mon Sep 17 00:00:00 2001 From: cookie Date: Mon, 21 Nov 2005 18:45:08 +0000 Subject: menu links oder rechts git-svn-id: svn://svn.cccv.de/engel-system@76 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/footer.php | 69 +----------------------------------------------- www-ssl/inc/header.php | 5 ++++ www-ssl/inc/menu.php | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 68 deletions(-) create mode 100755 www-ssl/inc/menu.php (limited to 'www-ssl') diff --git a/www-ssl/inc/footer.php b/www-ssl/inc/footer.php index 5e193086..84efb6cd 100755 --- a/www-ssl/inc/footer.php +++ b/www-ssl/inc/footer.php @@ -29,76 +29,9 @@ if( $Page["ShowTabel"]=="Y" ) - - - - - - -"; -$MenueTableEnd=" -
- - - -"; - -include("./inc/funktion_menu.php"); -include("./menu.php"); - -if( isset( $Menu)) -{ - ShowMenu( $Menu ); - echo "
"; -} -if( isset( $MenuAdmin)) - ShowMenu( $MenuAdmin ); - -echo "
"; - -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++) { -?> - - - - -
- -
- - - - - -
- diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index efeded4e..b9b8de29 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -2,6 +2,7 @@ include ("./inc/config.php"); include ("./inc/db.php"); include ("./inc/funktion_lang.php"); +include("./inc/funktion_menu.php"); session_start(); include ("./inc/secure.php"); /*if ( (!IsSet($_SESSION['UID'])) && (strstr ($_SERVER['PHP_SELF'], "nonpublic") !="" ) ) { @@ -72,6 +73,10 @@ if( $Page["ShowTabel"]=="Y" )

+ + + -- cgit v1.2.3-70-g09d2
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 @@ + + + + + +
+ +
+"; +$MenueTableEnd=" +
+
+"; + +include("./menu.php"); + +if( isset( $Menu)) +{ + ShowMenu( $Menu ); + echo "
"; +} +if( isset( $MenuAdmin)) + ShowMenu( $MenuAdmin ); + +echo "
"; + +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++) { +?> + + + + +
+ +
+ + + + + +
+ +