fhiiqm/start.php
changeset 13 741b35e9ebbe
parent 12 2d8be944f381
child 19 33ee23fafd4d
equal deleted inserted replaced
12:2d8be944f381 13:741b35e9ebbe
       
     1 <?php
       
     2     error_reporting(E_ALL ^ E_NOTICE);
       
     3     
       
     4     session_start();
       
     5     if (! isset($_SESSION["userid"]))
       
     6     { 
       
     7         header("Location: /fhiiqm/login.php");
       
     8         exit;
       
     9     }
       
    10 ?>
       
    11 
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    13 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     3 
    14 
     4 <head>
    15 <head>
     5 	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    16 	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
     6    	<link href="css/db.css" rel="STYLESHEET" type="TEXT/CSS" /> 
    17    	<link href="/fhiiqm/css/db.css" rel="STYLESHEET" type="TEXT/CSS" /> 
     7    	<link href="css/navio.css" rel="STYLESHEET" type="TEXT/CSS" /> 
    18    	<link href="/fhiiqm/css/navio.css" rel="STYLESHEET" type="TEXT/CSS" /> 
     8 	<meta name="author" content="Bettina Schwarzer, FHI" />
    19 	<meta name="author" content="Bettina Schwarzer, FHI" />
     9 
    20 
    10 	<title>FHI Administration</title>
    21 	<title>FHI Administration</title>
    11 </head>
    22 </head>
    12 
    23 
    13 <body>
    24 <body>
    14 <div id="navi">
    25 <?php 
    15 <h3>&nbsp;&nbsp;&nbsp;Datenbank f&uuml;r die Administration und Infrastruktur im FHI</h3>
    26     echo "<div class='float-r smaller'>user: " . $_SESSION["userid"];
       
    27     echo "&nbsp;&nbsp;&nbsp;<a href='/fhiiqm/pw_change.php' title='PW &auml;ndern'>pw &auml;ndern</a>";
       
    28     echo "&nbsp;&nbsp;&nbsp;<a href='/fhiiqm/logout.php' title='Session beenden'>logout</a></div>\n";
    16 
    29 
    17 <?php 
    30     echo "<div id=\"navi\">\n
    18     include_once($_SERVER["DOCUMENT_ROOT"] . "/fhiiqm/inc/menu.inc.html");
    31         <h3>&nbsp;&nbsp;&nbsp;Datenbank f&uuml;r die Administration und Infrastruktur im FHI</h3>\n";
    19 //    session_start();
       
    20 //    print_r ($_SESSION['recht']);
    32 //    print_r ($_SESSION['recht']);
       
    33     
       
    34     include_once($_SERVER["DOCUMENT_ROOT"] . "/fhiiqm/inc/menu.inc.php");
    21 ?>
    35 ?>
    22 </div>
    36 </div>
    23 <div id="renavi" align="right"><img src="img/fhi.jpg" border="0" alt="FHI" width="100%"/>&nbsp;&nbsp;&nbsp;</div>
    37 <div id="renavi" align="right"><img src="/fhiiqm/img/fhi.jpg" border="0" alt="FHI" width="100%"/>&nbsp;&nbsp;&nbsp;</div>
    24 
    38 
    25 </body>
    39 </body>
    26 </html>
    40 </html>