;

PDA

Click to See Complete Forum and Search --> : Big Help!!!


Makulaf
05-14-2004, 02:08 PM
i need to change this login in to flash


this is the <head> in html

<!--
function squirrelmail_loginpage_onload() {
document.forms[0].js_autodetect_results.value = '1';
var textElements = 0;
for (i = 0; i < document.forms[0].elements.length; i++) {
if (document.forms[0].elements[i].type == "text" || document.forms[0].elements[i].type == "password") {
textElements++;
if (textElements == 1) {
document.forms[0].elements[i].focus();
break;
}
}
}
}
// -->
</script>

<style type="text/css">
<!--
/* avoid stupid IE6 bug with frames and scrollbars */
body {
voice-family: "\"}\"";
voice-family: inherit;
width: expression(document.documentElement.clientWidth - 30);
}
-->


<body text="#000000" bgcolor="#FFFFFF" link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="squirrelmail_loginpage_onload();">
<form action="http://webmail.got-flash.com/src/redirect.php" method="post">
<table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td align="center"><center><img src="http://www.got-flash.com/images/gotlogo.gif" alt="WebMail Logo" width="308" height="111" /><br />
<table bgcolor="#ffffff" border="0" width="350"><tr><td bgcolor="#DCDCDC" align="center"><b>WebMail Login</b>
</td></tr><tr><td bgcolor="#FFFFFF" align="left">
<table bgcolor="#ffffff" align="center" border="0" width="100%"><tr><td align="right" width="30%">Name:</td><td align="left" width="*"><input type="text" name="login_username" value="" /></td></tr>
<tr><td align="right" width="30%">Password:</td><td align="left" width="*"><input type="password" name="secretkey" />
<input type="hidden" name="js_autodetect_results" value="SMPREF_JS_OFF" />
<input type="hidden" name="just_logged_in" value="1" />
</td></tr></table></td></tr><tr><td align="left"><center><input type="submit" value="Login" /></center></td></tr></table></center></td></tr></table><script language="JavaScript">
<!--
function ReadCookie(cookieName)
{
var theCookie=""+document.cookie;
var ind=theCookie.indexOf(cookieName);
if (ind==-1 || cookieName=="") return "";
var ind1=theCookie.indexOf(';',ind);
if (ind1==-1) ind1=theCookie.length;
return unescape(theCookie.substring(ind+cookieName.length +1,ind1));
}

function SetCookie(cookieName,cookieValue,nDays)
{
var today = new Date();
var expire = new Date();
if (nDays==null || nDays==0) nDays=1; expire.setTime(today.getTime() + 3600000*24*nDays);
document.cookie = cookieName+"="+escape(cookieValue)+ ";expires="+expire.toGMTString();
}

function RemoveCookie(cookieName) {
var cookieValue = "";
var expire = -10;
SetCookie(cookieName, cookieValue, expire);
}

testValue=Math.floor(1000*Math.random());
SetCookie('AreCookiesEnabled',testValue);

var warningMsg = '<br><center>'
+ '<table bgcolor="#ffffff" cellpadding="3" cellspacing="0" width="350" style="border: darkslategray solid 1px">'
+ '<tr><td bgcolor="#DCDCDC" align="center" style="border-bottom: darkslategray solid 1px"><b><font color="#FF0000">WARNING!</font></b></td></tr>'
+ '<tr><td bgcolor="#FFFFFF" align="left">'
+ '<font size="-1">This site requires cookies please enable them in your browser,'
+ ' or add this site to your list of trusted sites.</font>'
+ '</td></tr></table>'
+ '</center>';

if (testValue==ReadCookie('AreCookiesEnabled'))
{
RemoveCookie('AreCookiesEnabled')
}
else
document.write(warningMsg)


//-->
</script>
<br>
<center>
<table bgcolor="#ffffff" cellpadding="3" cellspacing="0" border="0" width="350" style="border: darkslategray solid 1px">
<tr>
<td bgcolor="#DCDCDC" align="center" style="border-bottom: darkslategray solid 1px">Note: Login Information</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" align="left">
<font size="-1">
<ul>
<li>When logging into to your webmail account make sure to use your <u>full email address</u> as the login name.<br>
e.g. username@domainname.com</li>
<li>Your password is <u>case-sensitive</u> so make sure your <u>caps lock key is turned off</u> when entering your password.</li>
</ul>
</font>
</td>
</tr>
</table>
</center>
</form>
<center><br><a href="https://webmail.discountasp.net"> Secure Login </a><br> </center>
</body>