网站地图 设为首页 加入收藏
 
红月私服中心 下载中心 发布红月 技术资料 发布家族 游戏IP生成   开区服务  
红月私服网站退军系统代码(二)
文章作者:管理员 文章来源:红月私服中心-Www.hy45.Net 更新时间:2012-4-28 7:12:48 

<!--#include file="conn.asp" -->
<% RCenter.WebGate(2) %>
<%
httpurl=request.servervariables("http_referer")
if instr(httpurl,SiteURL)=0 then
response.write "<script language=javascript>{alert('对不起,程序拒绝您的操作!!!请从主页登陆\n     按确定关闭!');window.close();}</script>"
response.end
end if
%>
<%
ps_loginname=left(request.form("username"),14)
ps_pwd=left(request.form("pwd"),10)
ps_juesename=left(request.form("juesename"),15)

checkdata(ps_loginname)
if instr(ps_loginname,"'")<>0 or instr(ps_loginname,"=")<>0 or instr(ps_loginname,"&")<>0 or instr(ps_loginname,"%")<>0 or ps_loginname="" then
response.write "<script language=javascript>alert('您输入的用户名不符合要求!');history.back();</script>"
response.end
end if
if instr(ps_pwd,"'")<>0 or instr(ps_pwd,"=")<>0 or instr(ps_pwd,"&")<>0 or instr(ps_pwd,"%")<>0 or ps_pwd="" then
response.write "<script language=javascript>alert('您输入的密码不符合要求!');history.back();</script>"
response.end
end if
if instr(ps_juesename,"'")<>0 or instr(ps_juesename,"=")<>0 or instr(ps_juesename,"&")<>0 or instr(ps_juesename,"%")<>0 or ps_juesename="" then
response.write "<script language=javascript>alert('您输入角色名不符合要求!');history.back();</script>"
response.end
end if

set rs1 = Server.CreateObject("ADODB.Recordset")
sql="select * from tblBillID where billid = '"&ps_loginname&"'"
rs1.open sql,conn,1,1
if not rs1.eof then
if left(rs1("password"),10)<>ps_pwd then
response.write "<script language=javascript>alert('您输入的密码错误!');history.back();</script>"
response.end
end if

set rs=server.CreateObject("adodb.recordset")
sqlstr="select * from tblGameID1 where gameid='"&ps_juesename&"' and billid = '"&ps_loginname&"'"
rs.open sqlstr,conn,1,1
if rs.eof or rs.bof then
response.write "<script language=javascript>alert('您的帐号里找不到该角色!');history.back();</script>"
response.end
end if

%>
<HTML><HEAD><TITLE>红月退军</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="images/cssD.css" rel="stylesheet" type="text/css" />
<LINK href="text.css" rel=stylesheet>
<META content="Microsoft FrontPage 12.0" name=GENERATOR>
<style type="text/css">
.style1 {
 background-color: #393839;
}
</style>
</HEAD>
<body leftMargin=0 topMargin=0 style="background-color: #393839">
<TABLE cellSpacing=0 cellPadding=0 align=center border=0 style="width: 158px">
  <TBODY>
  <TR vAlign=top><!-- row 2 -->
    <TD colSpan=3 rowSpan=3>
      <TABLE align=center border=0>
        <TBODY>
        <TR>
          <TD>
            <DIV align=center>
              <P><TABLE width=315 border=0 cellPadding=0 cellSpacing=0 borderColor="#000000" frame=vsides rules=none style="border-collapse: collapse">
  <TR>
    <td width=300 align=left>
      <TABLE width=55 border=0 align="center" cellPadding=0 cellSpacing=0>
        <TBODY>
        <TR>
          <TD>
            <div align="center">
              <form action="tj2.asp" method="post" name="chgform" id="chgform">
                <input type=hidden name=username value="<%=ps_loginname%>">
                <table align=center border=0 cellpadding=5 cellspacing=1 width="235">
                  <tbody>
                  <tr>
                    <td  colspan=2 align=right width="223">
                      <div align=left>
                        <p class="con2"><font color=#cc3300>您的帐号为:<%=ps_loginname%>
                          </font></p>
                      </div>
                    </td>
                  </tr>
                  <TR bgcolor="#FFFFFF" class="content">
                    <TD width="114" valign="top" class="style1">
     <font color="#CC3300">您的角色名:</font></TD>
                    <TD width="98" class="style1">
                      <input type=hidden name=juesename value="<%=ps_juesename%>">
                      <font color=#cc3300><%=ps_juesename%></font>
                      <input type=hidden name=ps_loginname value="<%=ps_loginname%>"></TD>
                  </TR>
                  </tbody>
                </table>
                <table width="214" border="0" cellspacing="0" cellpadding="3">
                  <tr>
                    <td width="208" align="center" class="bigf">
                    <img src="images/reg.gif" class="hand" onClick="chgform.submit()"> 
                      <img src="images/reg1.gif" class="hand" onClick="chgform.reset()"></td>
                  </tr>
                </table>
              </form>
            </div>
          </TD>
        </TR>
        </TBODY>
      </TABLE>
    </TD>
  </TR>
</TABLE>
</P>
            </DIV>
      </TD></TR></TBODY></TABLE></TD>
  </TR>
</TBODY></TABLE></BODY></HTML>
  <%
else
%>
<script language=javascript>alert('请正确输入您的帐号!');history.back();</script>
<%
end if
rs1.close
set rs1=nothing
conn.close
set conn=nothing
%>

浏览次数:1
最新文章
· 红月私服网站退军系统代码(二)...
· 红月私服网站退军系统代码(一)...
· 红月卡图自救网站功能码(四)...
· 红月卡图自救网站功能码(三)...
· 红月卡图自救网站功能码(二)...
· 红月卡图自救网站功能码(一)...
· 红月私服变身(变角色)功能三...
· 红月私服变身(变角色)功能二...
· 红月私服变身(变角色)功能一...
· 数据库恢复...
热门文章
· 红月技能点属性上限...
· 红月私服角色之说...
· 3.8C红月私服限制部分外挂的方法...
· 调皮外挂不能正常使用...
· 升华原版升级代码...
· 红月服务器如何做到冲卡的...
· 红月NPC各地点坐标...
· 地图能否PK的设置...
· 积分计算方式...
· Web服务器安全加固步骤(四)...
关于我们 开区服务 网站帮助 全部私服
 
CopyRight @2010 hy45.net, Inc. All Rights Reserved  

备案登记号:苏ICP备11017169号-1