<?php print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="STYLESHEET" type="text/css" href="wlserver/wishlist.css">
<title>Community Wish List Server</title>
<script language="javascript" type="text/javascript">
<!--
// -->
</script>
</head>
<body bgcolor="#FFFFFF" onLoad =" javascript:document.form.theUser.focus();">
<div align="center">
<form name="form" method="post" action="wlserver/login.php">
<table border="1" cellpadding="1" cellspacing="1">
<tr>
<td>
<table width="100%" border="0">
<tr>
<th colspan="2">Community Wish List Server Login<br></th>
</tr>
<tr>
<td align="right">User Name:</td>
<td><input name="theUser" type="text" size="15" value="" /></td>
</tr>
<tr>
<td align="right">Password:</td>
<td><input name="thePassword" type="password" size="15" /></td>
</tr>
<tr>
<td colspan="2" align="center"><input name="done" type="submit" value="Log In"></td>
</tr>
<tr>
<td colspan="2" align="center"><a href="register.php">New User Registration</td>
</tr>
</form>
<?php
if ($_GET['e'] == 1) { // If there is a username error
?> <tr><td colspan="2" align="center"><b><font color="red">There was a problem with your user name or your password.<br>Please try again.</td></tr> <?php
} else if ($_GET['e'] == 2) { // If there is a session error
?> <tr><td colspan="2" align="center"><b><font color="red">Your session has timed out.<br />Please log in again.<br /><?php print "currentUser = ".$_SESSION['currentUser']; ?></td></tr> <?php
}
?>
</table>
</td></tr></table>
</body>
</html>