Warning: You printed an invalid CGI header. CGI header field-names can not contain any of the following characters: ( ) < > @ , ; : \ " / [ ] ? = { } SPACE TAB.

/home/hcheong/info3/mywork/project2/session.py:1: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha, shelve, time, Cookie, os
Set-Cookie: sid=655e3e653f1dba06a7fd6fcffc404b0b2b190473; expires=Wed, 16-May-2012 21:44:10 GMT; Path=/
Content-Type: text/html

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link href="movieSwap.css" rel="stylesheet" type="text/css" />
    <title>movieSwap</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    

    <script language="javascript">
        function setRowColor(checkBox,styleClass){
            var theRow = document.getElementById(checkBox.value);
            if(theRow != null){
                theRow.className = checkBox.checked? styleClass:"none";
            }
        }
    </script>
    <style type="text/css">
    <!--
    .errorMessage {color: #FF0000; font-size: medium; }
    .headerFONT {font-weight: bold; text-align: left; font-size: medium; }
    .defaultFONT {font-family: "Calibri"; font-size: small; }
    .menuFONT {font-family: "Calibri"; font-size: medium; }
    TR.selectedRow{color: black; background-color:Turquoise; }
    -->
    </style>
    
</head>

        <body class="defaultFONT">
        <table width=95% border=0 align=center cellpadding=0 cellspacing=0>
          <tr valign=top>
          <td width=1%>
              <img src="logo.jpg" border=0 width=143 height=59 align=left vspace=10/>
          </td>
          <td width=99% bgcolor=#ffffff valign=top>
          <table width=100% cellpadding=1>
              <tr valign=bottom>
                  <td><div align=right>&nbsp;</div></td>
              </tr>
              <tr>
              <td nowrap=nowrap>
                  <table width=100% align=center cellpadding=0 cellspacing=0 bgcolor=#C3D9FF style=margin-bottom:5>
                  <tr>
                      <td align=left valign=top></td>
                      <td class ="headerFONT">Welcome to MovieSwap.com</td>
                      <td align=right valign=top></td>
                  </tr>
                  <tr>
                      <td align=left valign=bottom></td>
                      <td align=right valign=bottom></td>
                  </tr>
                  </table>
              </td>
              </tr>
          </table>
          </td>
          </tr>
        </table>
    

        <table width=94% align=center cellpadding=5 cellspacing=1>
          <tr>
              <td valign=top style="text-align:left"><b>An under graduate solution to movie swapping.</b>
              <td valign=top>&nbsp;
          </tr>
          <tr>
              <td width=75% valign=top>
              <p style="margin-bottom: 0;text-align:left"><font size=-1>
              MovieSwap.com is new Python-based application that enables users to trade DVDs and rate each other. It is built on the idea that swapping movies can be more intuitive, efficient, and useful. And maybe even fun. After all, MovieSwap.com has: 
              </font></p>
              <br />
              <table border="0" cellpadding="0" cellspacing="0" width="90%"><tbody>
              <tr>
                  <td></td>
                  <td>
                  <span class="headerFONT">Function 1</span><br>
                  Function description 1</td>
              </tr>
              <tr>
                  <td></td>
                  <td>
                  <span class="headerFONT">Function 2</span><br>
                  Function description 2</td>
                  </tr>
                  <tr>
                      <td></td>
                      <td>
                      <span class="headerFONT">Function 3</span><br>
                      Function description 3</td>
                  </tr>
                </tbody></table>
                <br />    
              </td>
              <td valign=top>             
    

        <div id="">
        <form method="post" action="login.py">
        <table cellspacing="3" cellpadding="5" width="100%" border="0">
        <tr>
          <td valign="top" style="text-align:center" nowrap="nowrap" bgcolor="#e8eefa"><div class="loginBox">
          <table align="center" border="0" cellpadding="1" cellspacing="0">
          <tr>
            <td colspan="2" align="center">
              <font size="-1">
              Sign in to MovieSwap
              with your  </font></td>
            </tr>
             <tr>
                  <td colspan="2" align="center">
                  </td>
            </tr>
            <tr>
          <td nowrap="nowrap">
          <div align="right">
          Username:
          </div>
          </td>
          <td><input type="text" name="Username"  id="Username" size="18" value=""/>
          </td>
        </tr>
        <tr>
      <td></td>
      <td align="left">
      </td>
        </tr>
        <tr>
          <td align="right" nowrap="nowrap">
          <span class="defaultFONT">
          Password:
          </span>
          </td>
          <td>
          <input type="password" name="Pwd" id="Pwd" size="18" />
      </td>
        </tr>
        <tr>   
        <td class="errorMessage" colspan="2" align="center">
    


        </td>
      <td align="left">
      </td>
    </tr>
      <tr>
      <td align="right" valign="top">
      <br> <!-- stayed signin checkbox -->
        </td>
      <td>
        <br> <!-- stayed signin text-->
      </td>
    </tr>
    <tr>
      <td>
      </td>
      <td align="left">
      <input type="submit" name="signIn"
               value="Sign in"/>
      </td>
    </tr>
        
      </table>
      </div>
      </td>
      </tr>
    </table>
    </div>
    </form>
      </div>
      <br>
    

        <table cellpadding=0 width=100% bgcolor=#E8EEFA id=links>
          <tr bgcolor=#E8EEFA>
          <td valign=top>
          <div align=center style="margin:10 0">
      New to MovieSwap.coml? It's free and easy.
      <table cellspacing=0 cellpadding=0 align=center  ><tr>
      <td></td>
      <td><a href="../project2/registerForm.py">
      Create an account &#187;
      </a></td>
      <td></td>
      </tr></table>
      <br>
      </div>
      </td>
      </tr>
      </table>
    </table>
    <br>
    
 
        <table width=95% align=center cellpadding=3 cellspacing=0 bgcolor=#C3D9FF style=margin-bottom:5>
          <tr>
          <td align=left valign=top></td>
          <td rowspan=2 style=text-align:left>
          <div align=center>
          <font size=-1 color=#666666>&copy;2009 MovieSwap.com  </font>  </div>
          </td>
          <td></td>
          </tr>
          <tr>
              <td></td>
              <td></td>
          </tr>
            </table>
    </body>
    </html>