Upstream tarball 20080304
[amule.git] / src / webserver / default / login.php
blob5d0ffdaf1ca55059a78be9f086510853dea1b3cf
1 <html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>aMule CVS - Web Control Panel</title>
3 <script language="JavaScript" type="text/javascript">
5 function breakout_of_frame()
7 // see http://www.thesitewizard.com/archive/framebreak.shtml
8 // for an explanation of this script and how to use it on your
9 // own website
10 if (top.location != location) {
11 top.location.href = document.location.href ;
15 function login_init()
17 breakout_of_frame();
18 document.login.pass.focus();
21 </script>
23 <style type="text/css">
24 .ibutton
26 cursor:hand;
27 position:relative;
28 top:5;
29 font-weight: bold;
30 font-family: Tahoma, Verdana, Arial;
31 font-size: 11px;
33 </style></head>
35 <body onload="login_init();" alink="white" bgcolor="#cccccc" link="white" text="white" vlink="white">
36 <table align="center" border="0" cellpadding="4" cellspacing="0" height="100%" width="100%">
37 <tbody><tr><td align="center" valign="middle">
38 <table align="center" border="0" cellpadding="4" cellspacing="0">
39 <tbody><tr>
40 <td align="center" bgcolor="#0066cc">
41 <br>
42 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.amule.org/" target="_blank"><img src="phpamule.png"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
43 <p><font style="font-size: 10pt;" face="Tahoma"><b>Web Control Panel</b><br>Login</font></p>
44 </td>
45 </tr>
46 <tr>
47 <td align="center" bgcolor="#3399ff" valign="top">
48 <form action="" method="post" name="login">
49 <font style="font-size: 10pt;" face="Tahoma">&nbsp;<br>Enter your password here<br><br>
50 <input name="pass" size="37" style="border: 1px none black;" value="" type="password">
51 <br><br><input value="Login Now" type="submit"></font>
52 </form>
53 <br>
54 <?php
55 if ($_SESSION["login_error"] != "") {
56 echo "<font color=blue size=+2>";
57 echo $_SESSION["login_error"];
58 echo "</font>";
61 </td>
62 </tr>
63 </tbody></table>
64 </td>
65 </tr>
66 </tbody></table>
67 </body></html>