Source for file wrapper.php

Documentation is available at wrapper.php

  1. <?php
  2. /**
  3. * Wrapper settings
  4. * <br/><br/>
  5. * Main menu for wrapper setting
  6. * <br/><br/>
  7. * Access restricted to administrators
  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 - Wrapper Configuration</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>Wrapper configuration</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.                 Metadata for DNA data</td>
  66.         <td align="center">
  67.                 Metadata for specimen data</td>
  68.       </tr>
  69.       <tr>
  70.         <td align="center">
  71.                 Wrapper URL for DNA data</td>
  72.         <td align="center">
  73.                 Wrapper URL for specimen data</td>
  74.       </tr>';      
  75.       
  76.       else {
  77.       echo '<tr>
  78.                 <td align="center">
  79.                 <span class="error">Acces for administrators only!</span></td>
  80.       </tr>'}
  81. ?>        
  82.         </table>
  83.         </td>
  84.     </tr>
  85. </table>
  86. <?php
  87.   /**
  88.     * including footer
  89.     */
  90.     include ("../footer.php")?>
  91. </div>
  92. </body>
  93.  
  94. </html>

Documentation generated on Tue, 29 Nov 2011 10:45:20 +0100 by phpDocumentor 1.4.3