Chat Room | Source code <% ' initial login page,default.asp%>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<meta name= "generator" content= "Microsoft FrontPage 3.0" >
<title> Login Chat Room </title>
<script language= "JavaScript" ><!--
function Windowload ()
{
Document.forms[0]. T1.focus ();
}
function TestValue (TT1)
{
var Val;
val = "";
if (TT1 = 1)
{val = document.forms[0]. T1.value;}
if (TT1 = 2)
{val = document.forms[0]. T3.value;}
Return Val
}
function msg (TT)
{
Alert (TT);
}
function Formsubmit ()
{
Document.forms[0].submit ();
}
--></script>
<script language= "VBScript" ><!--
function Allpass ()
Dim Sc_message,sc_ss,sc_flag
SC_SS = TestValue (1)
Sc_flag = 0
If trim (SC_SS) = "" Then
Sc_flag = 1
Sc_message = "User name must be entered!" "
Else
SC_SS = TestValue (2)
If trim (SC_SS) = "" Then
Sc_flag = 1
Sc_message = "must enter password!" "
End If
End If
If Sc_flag = 0 Then
Formsubmit ()
Else
MSG (sc_message)
Windowload ()
End If
End Function
--></script>
<meta name= "Microsoft Border" content= "None" >
<body background= "Images/bg03.gif" language= "JavaScript" onload= "Windowload" (); >
<form method= "POST" action= "chatadmin.asp" >
<table border= "0" width= "100%" cellspacing= "0" >
<tr>
<TD width= "100%" colspan= "4" ><div align= "center" ><center><p><!--WebBot bot= "ImageMap"
Rectangle= "(347,104) (390, 122) deleteuser.asp# #_blank"
Rectangle= "(302,105) (344, 122) updateuser.asp# #_blank"
Rectangle= "(254,105) (296, 122) insertuser.asp# #_blank" src=http://www.163design.net/a/y/"Images/title.gif" border= "0"
Width= "432" height= "159"--></td>
</tr>
<TR align= "center" >
<TD width= "50%" colspan= "2" ><div align= "right" ><p> your nickname:</td>
<TD width= "50%" colspan= "2" ><div align= "left" ><p><input type= "text" name= "T1" size= ">< /TD>
</tr>
<TR align= "center" >
<TD width= "50%" colspan= "2" ><div align= "right" ><p> your password:</td>
<TD width= "50%" colspan= "2" ><div align= "left" ><p><input type= "password" name= "T3"
Size= "></td>"
</tr>
<TR align= "center" >
<TD width= "25%" align= "center" ><input type= "Radio" value=http://www.163design.net/a/y/"Images/mood12.gif" Checked
Name= "R1" ></td>
&nb