-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALogin.asp
22 lines (22 loc) · 695 Bytes
/
ALogin.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%if session("ok")="yes" then
response.redirect "admin/admin.asp"
end if%>
<title>çéáåø ìîãåø äðéäåì</title>
<!--#include file="Include/Include.asp" -->
<Script>
function chk(un) //áãé÷ú àåúéåú (òáøéú åàðâìéú)
{ letok="abcdefghijklmnopqrstuvwxyzàáâãäåæçèéëìîðñòôö÷øùú1234567890"
w=0
for (q=0;q<un.length;q++)
{ chna=un.charAt(q);
for (r=0;r<letok.length;r++)
if (chna==letok.charAt(r))
w=w+1; }
valid=(w==un.length);
return (valid) }
</Script>
<form name=login action=admin/Confirm.asp method=post onSubmit="return(chk(login.un.value))">
ùí îùúîù: <input name=un><BR>
ñéñîä: <input type=password name=pw><BR>
<input type=submit value=äúçáø>
</form>