OpenVPN_Management_GUI/Admin/Modules/Home/index.php

31 lines
838 B
PHP
Executable File

<?php
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
//include ($_SERVER["DOCUMENT_ROOT"]."/Config/_siteconfig_.php");
?>
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<h1><b>Administration Center</b></h1>
<table>
<tr><td width=60%>
<h2>Actions:</h2>
<?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>