Einchecken des Online-Codes
This commit is contained in:
45
admin/header.php
Normal file
45
admin/header.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
if ( isset ( $_SESSION['ID'] ) )
|
||||
{
|
||||
?>
|
||||
|
||||
<a style="width:10px; float:right; padding:0px 5px; margin:10px; font-size:20px;" href="img/help.pdf" target="_blank">?</a>
|
||||
<a style="width:50px; float:right; margin:10px; color:red;" href="index.php?section=logout">Logout</a>
|
||||
<ul style="float:left;">
|
||||
<?php
|
||||
if ( $_SESSION['IsBuero'] )
|
||||
{
|
||||
?>
|
||||
|
||||
<li><a <?php echo ( isset ( $_GET['section'] ) AND ( 'suche' == $_GET['section'] ) ) ? "class=\"head_active\" " : ""; ?>href="index.php?section=suche">Objektsuche</a></li>
|
||||
|
||||
<?php
|
||||
}
|
||||
if ( $_SESSION['IsAdmin'] )
|
||||
{
|
||||
?>
|
||||
|
||||
<li><a <?php echo ( isset ( $_GET['section'] ) AND ( 'home' == $_GET['section'] ) ) ? "class=\"head_active\" " : ""; ?>href="index.php?section=home">Home</a></li>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<li><a <?php echo ( isset ( $_GET['section'] ) AND ( 'objekte' == $_GET['section'] ) ) ? "class=\"head_active\" " : ""; ?>href="index.php?section=objekte">Objekte</a></li>
|
||||
|
||||
<?php
|
||||
if ( $_SESSION['IsAdmin'] )
|
||||
{
|
||||
/* ?>
|
||||
|
||||
<li><a <?php echo ( isset ( $_GET['section'] ) AND ( 'statistik' == $_GET['section'] ) ) ? "class=\"head_active\" " : ""; ?>href="index.php?section=statistik">Statistik</a></li>*/?>
|
||||
<li><a <?php echo ( isset ( $_GET['section'] ) AND ( 'stamm' == $_GET['section'] ) ) ? "class=\"head_active\" " : ""; ?>href="index.php?section=stamm">Stammdaten</a></li>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user