![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/07/2009, 07:45
|
| | Fecha de Ingreso: julio-2009
Mensajes: 6
Antigüedad: 15 años, 7 meses Puntos: 0 | |
Respuesta: Autentificacion <!--Header end -->
<div id="menu">
<ul>
<li> <a href="visualize.htm">Home</a></li>
<li></li>
<li></li>
<li>
<div align="center"><a href="contactx.html">Contact</a> </div>
</li>
</ul>
</div>
</div>
<div id="wrapper">
<div id="text">
<h1 class="title">Welcome to Our Website!</h1>
<p align="left" class="meta style6"><strong>THIS IS A PRIVATE SITE</strong></p>
<p align="left" class="meta style1"> </p>
<table>
<tbody>
<tr>
<td align="center"><strong>Please, Enter your Username and Password</strong></td>
</tr>
</tbody>
</table>
<p> </p>
<p>
<script>
function submitentry(){
password = document.password1.password2.value.toLowerCase()
username = document.password1.username2.value.toLowerCase()
passcode = 1
usercode = 1
for(i = 0; i < password.length; i++) {
passcode *= password.charCodeAt(i);
}
for(x = 0; x < username.length; x++) {
usercode *= username.charCodeAt(x);
}
//CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD
if(usercode==16236794340&&passcode==22595450354060 22000)
//CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD
{
window.location=password+".htm"}
else{
alert("password/username combination wrong")}
}
</script>
<form name="password1">
<p><strong>Enter username: </strong>
<input type="text" name="username2" size="15">
<br>
<strong>Enter password: </strong>
<input type="password" name="password2" size="15">
</p>
<p align="center">
<input name="Submit" type="submit" onClick="submitentry()" value="Submit">
</p>
</form> |