Source for file configuration.php

Documentation is available at configuration.php

  1. <?php
  2. /**
  3. * Configuration
  4. * <br/><br/>
  5. * Main menu
  6. * <br/><br/>
  7. * Different design for different user groups (depends on their rights)
  8. @author Gabriele Droege, DNA Bank Network <contact@dnabank-network.org>
  9. @version 2.0
  10. @package Configuration
  11. @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org<br>The contents of this file are subject to the Mozilla Public License Version 1.1
  12. @filesource
  13. @license http://www.mozilla.org/MPL/ MPL
  14. */
  15.  
  16.     /**
  17.     * calling connection to database
  18.     */
  19.     include ("../config/head.php");
  20.  
  21.     /**
  22.     * calling authorisation script
  23.     */
  24.     include ("../auth.php");
  25. ?>
  26. <html>
  27.  
  28. <head>
  29. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  30. <title>DNA Module - Configuration Tool</title>
  31. <link rel="stylesheet" type="text/css" href="../format.css">
  32. <link rel="stylesheet" type="text/css" href="../input/XSLT/Styles.css">
  33. <SCRIPT LANGUAGE="JavaScript1.1" src="../Functions.js"></SCRIPT>
  34. <NOSCRIPT>Please enable Javascript!</NOSCRIPT>
  35.  
  36. </head>
  37.  
  38. <body>
  39. <div align="center">
  40. <?php
  41.     /**
  42.     * including navigation menu
  43.     */
  44.     include("../tablenavi.php")?>
  45.     
  46. <table id="tablemain" class="main">
  47.     <tr>
  48.   <td id="tdLogo"><img border="0" href="<?php echo $Path_Wiki?>" src="../images/Logo-DNA-Bank-Network-ocker.jpg" width="123" height="78"></td>
  49.         <td id="tdtitle">
  50.         <h1>Configuration Tool</h1></td>
  51.     <td id="tdLogo2"><?php echo $Path_Logo?></td>
  52.     </tr>
  53.   <tr>
  54.   <td colspan="4"><?php
  55.     echo "Logged in as: ";
  56.     $log $_SESSION["log"];
  57.     echo $log;
  58.     ?></td></tr>
  59.     <tr>
  60.         <td valign="top" align="center" colspan="3">
  61.         <table border="0" width="70%" valign="top">
  62.     <?php if (isset($_SESSION['admin']|| $_SESSION['admin']{
  63.             echo '<tr>
  64.                 <td align="center">
  65.                 <a class="black" href="connection.php">
  66.                 <img src="../images/ConnectToDB120.jpg" class="image" title="Connection to DNA database"></a></td>
  67.         <td align="center">
  68.                 <a class="black" href="usermanagement.php">
  69.                 <img src="../images/UserManagement120.jpg" class="image" title="User Management"></a></td>
  70.       </tr>
  71.       <tr>
  72.         <td align="center">
  73.                 <a class="black" href="generalsettings.php">
  74.                 <img src="../images/GeneralSettings120.jpg" class="image" title="General settings"></a></td>
  75.         <td align="center">
  76.                 <a class="black" href="settings.php">
  77.                 <img src="../images/UserSettings120.jpg" class="image" title="Define your settings"></a></td>
  78.       </tr>
  79.       <tr>
  80.         <td align="center">
  81.                 <a class="black" href="change.php">
  82.                 <img src="../images/Lock120.jpg" class="image" title="Change your password"></a></td>
  83.         <td align="center">
  84.                 <a class="black" href="wrapper.php">
  85.                 <img src="../images/WrapperConfig120.jpg" class="image" title="Wrapper configuration"></a></td>
  86.       </tr>';      
  87.       
  88.       if (isset($_SESSION['management']|| $_SESSION['management']{
  89.       echo '<tr>
  90.                 <td align="center">
  91.                 <a class="black" href="usermanagement.php">
  92.                 <img src="../images/UserManagement120.jpg" class="image" title="User Management"></a></td>
  93.         <td align="center">
  94.                 <a class="black" href="generalsettings.php">
  95.                 <img src="../images/GeneralSettings120.jpg" class="image" title="General settings"></a></td>
  96.       </tr>
  97.       <tr>
  98.         <td align="center">
  99.                 <a class="black" href="settings.php">
  100.                 <img src="../images/UserSettings120.jpg" class="image" title="Define your settings"></a></td>
  101.                 <td align="center">
  102.                 <a class="black" href="change.php">
  103.                 <img src="../images/Lock120.jpg" class="image" title="Change your password"></a></td>
  104.       </tr>'}
  105.       
  106.       if (isset($_SESSION['project']|| $_SESSION['project'|| isset($_SESSION['guest']|| $_SESSION['guest']{
  107.       echo '<tr>
  108.         <td align="center">
  109.                 <a class="black" href="settings.php">
  110.                 <img src="../images/UserSettings120.jpg" class="image" title="Define your settings"></a></td>
  111.         <td align="center">
  112.                 <a class="black" href="change.php">
  113.                 <img src="../images/Lock120.jpg" class="image" title="Change your password"></a></td>
  114.       </tr>'}
  115. ?>        
  116.         </table>
  117.         </td>
  118.     </tr>
  119. </table>
  120. <?php
  121.      /**
  122.     * including footer
  123.     */
  124.     include ("../footer.php")?>
  125. </div>
  126. </body>
  127.  
  128. </html>

Documentation generated on Tue, 29 Nov 2011 10:44:48 +0100 by phpDocumentor 1.4.3