Nerozluštitelný číselný login



<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>

<BODY>

<SCRIPT language="JavaScript">
<!-- Key-code script by Bart Jellema
// You may use this script freely as long
// as you credit me for it...
var usermulcode=24
// 
// 
var code=0 // 
var mul=1 // 
var digit=0 // 
var fails=0 // 
function Enter_code(number)
{

code=code*10+number // 
mul=mul*number // 
document.codepad.thecode.value=code // Show code
digit++ // Increase digit

if (digit==4) // 
{
if (mul==24) //
//
//
//
// Change this value for
// your own code
{
location=code+".html"
}
else
{
fails++ // Increase fails
code=0 // Reset values
mul=1
digit=0
if (fails<2) 
{
if (fails==1)
{document.codepad.thecode.value="Zle!"}
if (fails==2)
{document.codepad.thecode.value="Naposledy!"}
}
else // To many tries = worp back 
{
location="index.html"
document.codepad.thecode.value="Bye!"

}
}
}
function keycodepad(mulcode)
{
usermulcode=mulcode
document.write("<form name=\"codepad\">");
document.write("<input type=\"button\" value=\" 1 \" onClick=\"Enter_code(1)\">");
document.write("<input type=\"button\" value=\" 2 \" onClick=\"Enter_code(2)\">");
document.write("<input type=\"button\" value=\" 3 \" onClick=\"Enter_code(3)\"><br>");
document.write("<input type=\"button\" value=\" 4 \" onClick=\"Enter_code(4)\">");
document.write("<input type=\"button\" value=\" 5 \" onClick=\"Enter_code(5)\">");
document.write("<input type=\"button\" value=\" 6 \" onClick=\"Enter_code(6)\"><br>");
document.write("<input type=\"button\" value=\" 7 \" onClick=\"Enter_code(7)\">");
document.write("<input type=\"button\" value=\" 8 \" onClick=\"Enter_code(8)\">");
document.write("<input type=\"button\" value=\" 9 \" onClick=\"Enter_code(9)\"><br>");
document.write("<input type=\"text\" name=\"thecode\" size=10 value=\"\"><br>");
document.write("</form>");
}
// Key-code script by Bart Jellema -->
</SCRIPT>
<TITLE>Script 001</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<br>
<br>
<center>
<script>
keycodepad(24) 
</script>


</BODY>
</HTML>