home *** CD-ROM | disk | FTP | other *** search
/ 202.53.64.216 / 202.53.64.216.tar / 202.53.64.216 / revelationindia / projectslogin.asp < prev    next >
Text File  |  2004-09-27  |  3KB  |  111 lines

  1.  <SCRIPT LANGUAGE=javascript>
  2. <!--
  3.  
  4. function Validate(frm)
  5. {
  6.     if (frm.username.value == "" )
  7.     {
  8.         alert("Please Enter User Name");
  9.         frm.username.focus();
  10.         return false;
  11.     }
  12.     if (frm.password.value == "" )
  13.     {
  14.         alert("Please Enter Password ");
  15.         frm.password.focus();
  16.         return false;
  17.     }
  18.  
  19.  
  20. }
  21.  
  22. function ClearAll(frm)
  23. {
  24.  
  25.     var i;
  26.     
  27.     for(i=0;i<frm.elements.length;i++)
  28.         frm.elements[i].value = "";
  29.     
  30.     return flase;
  31. }
  32. //-->
  33. </SCRIPT>
  34.  
  35. <html>
  36. <head>
  37. <title>RevelationIndia - Projects Login</title>
  38. <style>
  39. A
  40.             {
  41.                 COLOR : white; Text-Decoration : None
  42.             }
  43.  
  44.             A:Hover
  45.             {
  46.                 COLOR : #cc0000;Text-Decoration : underline
  47.             }
  48.  
  49. </style>
  50. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  51. </head>
  52. <body bgcolor="#f7f7ff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad = "javascript:window.document.frmlogin.username.focus()">
  53. <a name="top"><!--#include file ="include\tophome.inc"--></a> 
  54. <table width="779" border="0" cellspacing="0" cellpadding="0" height="500">
  55.   <tr> 
  56.     <td width="150" rowspan="9" valign="top"><!--#include file ="include\lefthome.inc"--> </td>
  57.     <td colspan="2" align="middle" valign="top" rowspan="9" width="700"> 
  58.      <form action="postadminlogin.asp?from=projects" method = "post" name = "frmlogin">
  59.     <td colspan="2" align="middle" valign="top" rowspan="9" width="700"> 
  60.     
  61.       <br>
  62.      <%if Request.QueryString("login") = "fail" then %>
  63.             <center><br>
  64.             <font size = 2 face = verdana color = red><b>
  65.             Sorry ! Invalid User Name/Password !!<br><br>
  66.             Please Try again.
  67.             </b></font>
  68.             <br>
  69.             </center>
  70.     <% end if %>
  71.      <TABLE WIDTH="50%" BORDER=0 CELLSPACING=1 CELLPADDING=5>
  72.     <TR>
  73.      <TH colspan=2><font face="Verdana" size="2" color = navy>Projects Login</font> </TH>
  74.     </TR>
  75.     
  76.     <TR>
  77.         <TD><font face="Verdana" size="2" color = navy><br>User Name</font></TD>
  78.         <TD><font face="Verdana" size="2" color = navy>
  79.         <br><input name = username id = username type=password></font></TD>
  80.     </TR>
  81.     <TR>
  82.         <TD><font face="Verdana" size="2" color = navy>Password</font></TD>
  83.         <TD><font face="Verdana" size="2" color = navy>
  84.         <input type = password name = password id = password></font></TD>
  85.     </TR>
  86.     <TR>
  87.         <TD>
  88.             <P> </P>
  89.             <P><br><INPUT type=image src="images\login.gif" name=login onclick = "return Validate(frmlogin)"></P></TD>
  90.         <TD>
  91.             <P><br> </P>
  92.             <P><INPUT type=image src="images\cancel.gif" name=cancel onclick = "return ClearAll(frmlogin)">
  93.              
  94.         <INPUT type=image src="images\back1.gif" name=back onclick = "javascript:history.back(1)"></P></TD>
  95.     </TR>
  96. </TABLE>
  97.  
  98.     </td>   
  99. <tr></tr>
  100. </table>
  101. <table border=0 align = center width = "50%" cellspacing = 2 cellpadding = 2>
  102. <TR>
  103.     <TD width = 200 align = middle><A href= "#top"><IMG src="IMAGES/top.gif" border=0></A></TD>
  104.     <TD align =middle width = 200><A href= "default.asp"><IMG src = "images/home1.gif" border = 0></A></TD>
  105.     <TD align =middle width = 200><A href= "javascript:history.back(1)"><IMG src = "images/back1.gif" border = 0></A></TD>
  106. </TR>
  107. </table>
  108. <br><!--#include file ="include\bottom.inc"--></FORM> 
  109. </body>
  110. </html>
  111.