|
reSIProcate/repro
9694
|
00001 <?php 00002 require('reprofunctions.php'); 00003 00004 clearCookies(); 00005 ?> 00006 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 00007 00008 <!-- 00009 System: Repro 00010 File: Index 00011 Purpose: Collect users name and password to validate his credentials 00012 Author: Steven Chanin 00013 --> 00014 00015 <html> 00016 <head> 00017 <link rel="stylesheet" type="text/css" href="repro_style.css" /> 00018 <title>Login</title> 00019 </head> 00020 00021 <body> 00022 <h1 class="title">Repro</h1> 00023 <h1>Login</h1> 00024 <hr /> 00025 00026 <!-- if we've looped back due to an error, show the message --> 00027 <?php 00028 if (isset($_GET["error"])) { 00029 echo '<p class="error">' . $_GET["error"] . "</p>\n"; 00030 } 00031 ?> 00032 00033 <form method="POST" action="userhome.php"> 00034 <table> 00035 <tr> 00036 <td>Username</td> 00037 <td><input type="text" id="username" name="username" value="<?php echo $_GET["username"]?>"/></td> 00038 </tr> 00039 <tr> 00040 <td>Password</td> 00041 <td><input type="password" id="password" name="password" /></td> 00042 </tr> 00043 <tr> 00044 <td> </td> 00045 <td align="right"> 00046 <input type="submit" id="submit" name="submit" value="Login" /></td> 00047 <tr> 00048 </table> 00049 </form> 00050 <hr /> 00051 <a href="forgotpassword.php">Forgot password</a> 00052 <br /> 00053 <a href="createaccount.php">Sign up for an account</a> 00054 <br /> 00055 </body> 00056 </html>
1.7.5.1