OpenVPN_Management_GUI/Admin/Modules/Home/index.php

37 lines
987 B
PHP
Executable File

<?php
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
//include ($_SERVER["DOCUMENT_ROOT"]."/Config/_siteconfig_.php");
?>
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<!-- MAIN -->
<div id="main">
<div class="wrapper">
<h1><b>Administration Center</b></h1>
<table widht="100%">
<tr>
<td width="250px" style="float: left">
<h2>Actions:</h2>
<br/>
<?php
$moduleid = 0;
foreach ($SITE_MODULES_ADMIN as $modul)
{
$moduleid++;
$cut = strpos($modul, "#");
$modtitle = substr($modul,0,$cut);
echo "<a href=\"/Admin/index.php?site=".$moduleid."&uebergabe=0&uebergabe2=0&uebergabe3=0&uebergabe4=0\">
<p># ".$modtitle."</p>
</a>";
}
?>
<a href ="/sql/"><p># PhpMyAdmin</p></a>
</td>
<td>
<img src="/Admin/Modules/Home/img/tux.png">
</td>
</tr>
</table>
</div>
</div>