Secure HTML Login Page

<HTML>
<body background=”access-graphics/blue.jpg”>

<HEAD>

<TITLE>LOGIN PAGE</TITLE>

<SCRIPT LANGUAGE=”JavaScript”>
<!–start stealth
//———————————
//LOGIN SCRIPT BY ALEX KEENE 1997
//INFO@FIRSTSOUND.COM
//———————————

function Getstats() {
window.status=(‘Attempting to Login to user area.’)

var AccId;
var iName;
AccId = document.iAccInput.iAccID.value
iName = document.iAccInput.iName.value

if (AccId == “” || iName == “”)
{
alert(‘\nERROR\n\n\nYou must enter ALL Details,\nto view the Actubase.\n’);
window.status=(‘Missing data or Invalid. Check spelling and Ensure Names are in Correct Case.’)
}
else
{

var location=(“pw” + iName + AccId + “.shtml”);
this.location.href = location;
window.status=(‘ Verifying: ‘ + iName + ‘-‘ + AccId + ‘ Please wait……..’);
}
}
// end hiding –>
<!— Hide from old browsers
function Verifyacc2() {
window.status=(‘What is the name of the girl’);
var oName = prompt(“What is the name of Fonzie’s sister: \n(Case Sensitive)\n”, “”)
window.status=(‘ What is the name of your brother = ‘ + oName);
var oAccID = prompt(“What is the name of the boy: \n(Case Sensitive)\n”, “”)
window.status=(‘ Account ID = ‘ + oAccID);
if (oAccID == “” || oName == “” || oAccID == “null” || oName == “null”)
{
alert(‘\nERROR\n\nYou must enter both names,\nto view our web page.’);
window.status=(‘Missing data or Invalid. Check spelling and Ensure Names are in Correct Case.’);
}
else {
window.status=(‘ Verifying: ‘ + oName + ‘-‘ + oAccID + ‘ Please wait……..’);
var location=(“pw” + oName + oAccID + “.shtml”);
this.location.href = location;
}
}
//–>
</SCRIPT>

</HEAD>

 

<!–<CALL TYPE=CLASS”LOGINsubX”>–><!–<PASS(indoc,GetStats, all, parse>–>
<!–<CLass.load>–>

 

 

<SCRIPT LANGUAGE=”JavaScript” type=”text/javascript” src=”myfile.js”></SCRIPT>

<center>
<table>

<TR>
<td>
<font face=”Trebuchet MS”>
HI
</font>

</td>

<td>
<p align=”center”>
<img border=”0″ src=”access-graphics/brenda.png” height=”250″>
</p>
</td>

<td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
<td>
<p align=”center”>
<img border=”0″ src=”access-graphics/steve.jpg” height=”250″><BR>

</td>
</tr>
</table>

</center>
<P>

<FORM NAME=”iAccInput”>
<CENTER>
<TABLE
BORDER=”3″ CELLPADDING=”2″ CELLSPACING=”8″ BGCOLOR=”#C0C0C0″
BORDERCOLOR=”#808080″ BORDERCOLORLIGHT=”#808080″ BORDERCOLORDARK=”#000000″>
<tr>

<td rowspan=”3″>
<p align=”center”>
<a href=”access-graphics/andrews.jpg”><img border=”0″ src=”access-graphics/andrews.jpg” height=”250″></a><BR>
I also have pages from Mom’s photo album in here.

</td>

<TD ALIGN=”RIGHT” valign=”center”>
<FONT SIZE=”3″ COLOR=”navy” FACE=”Arial”>My wife’s initials. Lower case:</FONT>
<BR><BR>
<FONT SIZE=”3″ COLOR=”navy” FACE=”Arial”>First Name of the boy:</FONT>
</TD>
<TD valign=”center”>
<center>
<INPUT TYPE=”text” NAME=”iName” MAXLENGTH=”15″ VALUE=”Mary”>
<FONT SIZE=”3″ FACE=”Arial” COLOR=”#FF0000″> </FONT>
<BR><BR>
<INPUT TYPE=”text” NAME=”iAccID” MAXLENGTH=”15″ HEIGHT=”50″ VALUE=”Mike”>
<FONT SIZE=”3″ FACE=”Arial” COLOR=”#FF0000″> </FONT>
</TD>
</tr>
<tr>
<td>CLICK login to see vacation itinerary.</td>
<TD valign=”center”><center>
<INPUT TYPE=”BUTTON” VALUE=” Login ”
ONCLICK=”Getstats()” HEIGHT=”40″ WIDTH=”50″>
&nbsp; &nbsp;
<INPUT TYPE=”RESET” VALUE=” Reset ”
ONCLICK=”window.status=(‘RESET: Please give the two names requested above’)” WIDTH=”50″>
</TD>
</TR>

</TABLE>

<P>

 

</CENTER>

 

</body>
</html>

 

HTML Snippets Powered By : XYZScripts.com