summaryrefslogtreecommitdiff
path: root/inc/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/footer.php')
-rwxr-xr-xinc/footer.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/inc/footer.php b/inc/footer.php
index 9ab6b32c..5f4edf35 100755
--- a/inc/footer.php
+++ b/inc/footer.php
@@ -16,7 +16,7 @@ if( $Page["ShowTabel"]=="Y" )
<br>
<p align="center">
<?PHP If (IsSet($_SESSION['oldurl']))
- echo "<a href=\"".$oldurl."\">".Get_Text(11)."</a>&nbsp;";
+ echo "<a href=\"". $_SESSION["oldurl"]. "\">".Get_Text(11)."</a>&nbsp;";
?>
<a href="#top"><?PHP echo Get_Text(12); ?></a>
</p>
@@ -48,12 +48,19 @@ $MenueTableEnd="
include("./inc/funktion_menu.php");
include("./menu.php");
-ShowMenu( $Menu );
-echo "<br>";
-ShowMenu( $MenuAdmin );
+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, '/');