<%-- 
    Document   : webControl
    Created on : Feb 25, 2010, 12:40:55 PM
    Author     : Administrator    
--%>

<%@page contentType="text/html; charset=iso-8859-1"
session="true" language="java" import="java.util.*" %>



<html>
<head>    
    <title>SeventhArt</title>
    <link rel="stylesheet" type="text/css" media="screen" href="web/styles/seventhart.css">
        
    <script type="text/javascript" charset="utf-8">
        function validData(frm){
            if(frm.login.value == ''){
                alert('Please enter your login!');
                return false;
            }
            else if (frm.password.value == ''){
                alert('Please enter your password!');
                return false;
            }
            else
                return true;
        }
    </script>
</head>
<body BGCOLOR="ffffcc">

       <div id="container">
          <div id="header">
            <div id="topleft_panel"  style="float:left; width:20%; height:100px;">
                <br><img src="Images/cinema.jpg" width="150" height="80" />
                <b>Identification page</b>
            </div>
          </div>

          <div id="mainContent">
                <center>
                <%
                if(request.getParameter("error")!=null)
                {
                out.println("<b>" +request.getParameter("error") + "</b><br>");
                }
                %>

                <form method="get"  action="ValidateUser" onSubmit="return validData(this)">
                <p>
                <table cellspacing="3" border="0">
                    <tr>
                      <td align="right">Login:</td>
                      <!--<td><input type="text" value ="danfreiz" name="login"></td>-->
                      <td><input type="text" name="login"></td>
                    </tr>
                    <tr>
                      <td align="right">Password:</td>
                      <!--<td><input type="password"   value ="f789456" name="password"></td>-->
                      <td><input type="password" name="password"></td>
                    </tr>

                </table>
                
                    <br><br>
                    <input type="submit" value="Submit">
                    <input type="reset" name="Reset" value="Reset">
                
                </p>
                </form>
                </center>
          </div>

          <div id="footer">
              <p class="greenclass">SeventhArt System : UPV-2010</p>
          </div>

        </div>

</body>
</html>





