我自己写的聊天室源代码(六)

80酷酷网    80kuku.com

  聊天室|源代码*************************用户自杀*************************
<%'deleteuser.asp%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户自杀</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<script language="JavaScript"><!--
function windowload()
{
document.forms[0].name.focus();
}
function formsubmit()
{
document.forms[0].submit();
}
function mm(text)
{
var aa=""
if (text==1)
    aa=document.forms[0].name.value
if (text==3)
    aa=document.forms[0].pass.value
return aa;
}
function msg(text)
{
alert(text);
return;
}
// --></script>
<script language="VBScript"><!--
function input(tt)
    dim sc_name,sc_pass,sc_flag
    sc_flag = 0
    '姓名
    sc_name = ""
    sc_name = trim(mm(1))
    if sc_name = "" then
        msg("必须输入:您的昵称")
        sc_flag = 1
    end if
    sc_pass = ""
    sc_pass = mm(3)
    if sc_pass = "" then
        msg("必须输入:您的口令")
        sc_flag = 1
    end if
    if sc_flag = 0 then
        formsubmit()
    else
        windowload()
    end if
end function
--></script>

<meta name="Microsoft Theme" content="none, default">
<meta name="Microsoft Border" content="none">
</head>

<body onload="windowload();">

<form method="POST" action="deleteusercl.asp">
  <div align="center"><center><p><font face="隶书" color="#FF0000"><big><big>大家看,我要自杀了!!!</big></big></font></p>
  </center></div><table border="0" width="100%" cellspacing="0">
    <tr>
      <td width="33%" rowspan="5"><div align="right"><p><img src=http://www.163design.net/a/y/"images/suicide.gif"
      alt="suicide.gif (4831 bytes)" WIDTH="149" HEIGHT="205"></td>
      <td width="33%"></td>
      <td width="34%"><div align="left"></div></td>
    </tr>
    <tr>
      <td width="33%"><div align="right"></div></td>
      <td width="34%"><div align="left"></div></td>
    </tr>
    <tr>
      <td width="33%"><div align="right"><p>您的昵称:</p>
      </div><div align="right"><p>您的口令:</td>
      <td width="34%"><input type="text" name="name" size="20"><p><input type="text" name="pass"
      size="20"></td>
    </tr>
    <tr>
      <td width="33%"><div align="right"></div></td>
      <td width="34%"><div align="left"></div></td>
    </tr>
    <tr>
      <td width="33%"><

分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: