menu links oder rechts
git-svn-id: svn://svn.cccv.de/engel-system@76 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
375d4143d1
commit
e3fc6ba2d1
|
@ -29,76 +29,9 @@ if( $Page["ShowTabel"]=="Y" )
|
|||
|
||||
|
||||
<!-- 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("./inc/funktion_menu.php");
|
||||
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++) {
|
||||
if( $_SESSION['Menu'] =="R") include("./inc/menu.php");
|
||||
?>
|
||||
<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>
|
||||
|
||||
|
||||
|
|
|
@ -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" )
|
|||
<p>
|
||||
<table width="95%" align="center" border="0" cellpadding="7" cellspacing="0">
|
||||
<tr>
|
||||
<?
|
||||
if( !isset($_SESSION['Menu'])) $_SESSION['Menu'] = "L";
|
||||
if( $_SESSION['Menu'] =="L") include("./inc/menu.php");
|
||||
?>
|
||||
<td valign="top" align="center">
|
||||
<table border="0" width="100%" align="center" class="border" cellpadding="5" cellspacing="1">
|
||||
<tr class="contenttopic">
|
||||
|
|
|
@ -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 //-->
|
Loading…
Reference in New Issue