大可论坛吧 关注:2贴子:460
  • 0回复贴,共1

网页密码

收藏回复

  • 218.21.70.*
<HTML>
<HEAD>
<TITLE>你好!</TITLE>
</HEAD>
<BODY bgcolor="#fef4d9">
 <script LANGUAGE="JavaScript">

<!--
flag=0
flag2=0
-->
</script>
  <script LANGUAGE="JavaScript">
function encryption()
{
        mm = "Z"
        k = "j"
        b = "p"
        mmmm = "&"
        ccc = "6"
        l = "i"
        c = "q"
        m = "s"
        abcd = "m"
        o = "n"
        u = "z"
        e = "d"
        gg = "U"
        p = "u"
        jj = "O"
        v = "a"
        j = "y"
        x = "c"
        r = "n"
        bb = "D"
        cc = "K"
        z = "w"
        a = "x"
        ee = "G"
        n = "f"
        ff = "T"
        i = "g"
        w = "r"
        ii = "V"
        kk = "I"
        q = "o"
        oooo = ")"
        d = "e"
        nn = "E"
        oo = "P"
        pp = "X"
        t = "h"
        s = "v"
        rr = "S"
        ss = "L"
        tt = "R"
        uu = "A"
        h = "k"
        vv = "C"
        ww = "M"
        aa = "Y"
        xx = "Q"
        hh = "B"
        yy = "H"
        zz = "W"
        y = "t"
        qq = "J"
        aaa = "8"
        bbb = "0"
        f = "b"
        ddd = "9"
        eee = " "
        fff = "3"
        dd = "N"
        ggg = "4"
        hhh = "1"
        iii = "2"
        jjj = "7"
        kkk = "5"
        lll = "."
        mmm = ","
        nnn = ";"
        ooo = ":"
        ppp = "'"
        qqq = "<"
        rrr = ">"
        sss = "-"
        ttt = "_"
        uuu = "="
        vvv = "/"
        www = "?"
        xxx = "`"
        yyy = "~"
        zzz = "*"
        aaaa = "+"
        bbbb = "["
        cccc = "]"
        g = "l"
        dddd = "{"
        eeee = "}"
        ffff = ""
        gggg = "|"
        hhhh = "!"
        iiii = "@"
        jjjj = "#"
        kkkk = "$"
        llll = "%"
        nnnn = "("
}

</script>
  <script LANGUAGE="JavaScript">
function password()
{
        if(member==e+v+h+d)
        {
                if(pass==aaa+iii+bbb+iii+iii+bbb+ddd+aaa+kkk+hhh+jjj+aaa+hhh+iii+ccc+hhh+fff)
                {
                        alert("欢迎你的光临,请进吧!" + member + "...")
                        window.location.href = t+v+q+lll+t+y+abcd+g
                        flag2=1
                }
        }
        if(member==e+v+h+d)
        {
                if(pass==aaa+iii+bbb+iii+iii+bbb+ddd+aaa+kkk+hhh+jjj+aaa+hhh+iii+ccc+hhh+fff)
                {
                        alert("欢迎你的光临,请进吧!" + member + "...")
                        window.location.href = t+v+q+lll+t+y+abcd+g
                        flag2=1
                }
        }
        if(member==e+v+h+d)
        {
                if(pass==aaa+iii+bbb+iii+iii+bbb+ddd+aaa+kkk+hhh+jjj+aaa+hhh+iii+ccc+hhh+ff)
                {
                        alert("欢迎你的光临,请进吧!" + member + "...")
                        window.location.href = t+v+q+lll+t+y+abcd+g
                        flag2=1
                }
        }
        if(member=="")
        {
        }
        else
        {
                if(flag==4)
                {
                        window.location.href = "网址"
                        flag2=1
                }
            if(flag2==1) {}
                else
                {
                        alert ("对不起你无权进入该页面!")
                        flag=flag+1
                }
        }
}



</script>
  <script LANGUAGE="JavaScript">

<!--
function main()
{
        member = document.all.username.value
        pass = document.all.password.value
        encryption()
        password()
}
-->
</script>

<center>
<table border="0">
    <tr> 
      <td>
        <form method="post" action="">
          <p>输入用户名: 
            <input type="TEXT" id="username" size="20" name="TEXT"><br>请输入密码: 
            <input type="PASSWORD" id="password" size="20" name="PASSWORD">
            <input type="BUTTON" id="button" onClick="main()" value="OK!进去!" name="BUTTON">
          </p>
        </form>
      </td>
    </tr>
  </table>

</BODY>
</HTML>





1楼2006-04-08 19:19回复