<!--- 
  Filename:     LoginForm.cfm
  Created by:   Nate Weiss (NMW)
  Date Created: 3/7/2001
--->

<!--- If the user is now submitting "Login" form, --->
<!--- Include "Login Check" code to validate user --->
<CFIF IsDefined("Form.UserLogin")>
  <CFINCLUDE TEMPLATE="LoginCheck.cfm">
</CFIF>



<HTML>
<HEAD>
  <TITLE>Please Log In</TITLE>
</HEAD>

<!--- Place cursor in "User Name" field when page loads--->
<BODY onLoad="document.LoginForm.UserLogin.focus();">

<!--- Start our Login Form --->
<CFFORM ACTION="#CGI.SCRIPT_NAME#" NAME="LoginForm" METHOD="POST">
  <!--- Make the UserLogin and UserPassword fields required --->
  <INPUT TYPE="Hidden" NAME="UserLogin_required">
  <INPUT TYPE="Hidden" NAME="UserPassword_required">

  <!--- Use an HTML table for simple formatting --->
  <TABLE BORDER="0">
    <TR><TH COLSPAN="2" BGCOLOR="Silver">Please Log In</TH></TR>
    <TR>
      <TH>Username:</TH>
      <TD>
        
      <!--- Text field for "User Name" --->  
      <CFINPUT 
        TYPE="Text"
        NAME="UserLogin"
        SIZE="20"
        VALUE=""
        MAXLENGTH="100"
        REQUIRED="Yes"
        MESSAGE="Please type your Username first.">

      </TD>
    </TR><TR>
      <TH>Password:</TH>
      <TD>
    
      <!--- Text field for Password --->  
      <CFINPUT 
        TYPE="Password"
        NAME="UserPassword"
        SIZE="12"
        VALUE=""
        MAXLENGTH="100"
        REQUIRED="Yes"
        MESSAGE="Please type your Password first.">

      <!--- Submit Button that reads "Enter" --->  
      <INPUT TYPE="Submit" VALUE="Enter">
        
      </TD>
    </TR>
  </TABLE>
  
</CFFORM>

</BODY>
</HTML>
