OpenVPN_Management_GUI/Site/login_formular_admin.php

37 lines
1.0 KiB
PHP
Executable File

<!-- MAIN CONTENT BEGINN ################################################################################ -->
<?php
$moduleurl = $_SERVER["REQUEST_URI"];
$urlcut = strpos($moduleurl, "&");
$moduleurl = substr($moduleurl,0,$urlcut);
?>
<!-- MAIN -->
<div id="main">
<div class="wrapper">
<h1><b> Administrator Login </h1></b>
<form action="/admin/login.php" method="post">
<table>
<td>
<table>
<tr>
<td>Username:</td>
<td><input type="text" name="name" size="20"><td>
</tr>
<tr>
<td>Passwort:</td>
<td><input type="password" name="pwd" size="20"></td>
</tr>
<tr>
<td><input type="hidden" name="path" size="50" value="<?php echo $moduleurl; ?>"></td>
</tr>
</table>
</td>
<td>
<img src="/Images/tux_root.gif" height="150" width="150">
</td>
</table>
<input type="submit" value="Login">
</form>
</div>
</div>
<!-- END CONTENT BEGINN ################################################################################# -->