红月私服

发布红月私服

 

 

友情提示:红月私服真实可靠性无从验证,请自行判断,谨防受骗上当
  当前位置:首页>>最新公告>>公告内容

红月私服网站退军功能(二)
来源:红月私服发布网-www.1hydown.com   时间:2012-4-15 15:18:55   浏览:3
<!--#includefile="conn.asp"-->
<%RCenter.WebGate(2)%>
<%
httpurl=request.servervariables("http_referer")
ifinstr(httpurl,SiteURL)=0then
response.write"<scriptlanguage=javascript>{alert(对不起,程序拒绝您的操作!!!请从主页登陆\n按确定关闭!);window.close();}</script>"
response.end
endif
%>
<%
ps_loginname=left(request.form("username"),14)
ps_pwd=left(request.form("pwd"),10)
ps_juesename=left(request.form("juesename"),15)

checkdata(ps_loginname)
ifinstr(ps_loginname,"")<>0orinstr(ps_loginname,"=")<>0orinstr(ps_loginname,"&")<>0orinstr(ps_loginname,"%")<>0orps_loginname=""then
response.write"<scriptlanguage=javascript>alert(您输入的用户名不符合要求!);history.back();</script>"
response.end
endif
ifinstr(ps_pwd,"")<>0orinstr(ps_pwd,"=")<>0orinstr(ps_pwd,"&")<>0orinstr(ps_pwd,"%")<>0orps_pwd=""then
response.write"<scriptlanguage=javascript>alert(您输入的密码不符合要求!);history.back();</script>"
response.end
endif
ifinstr(ps_juesename,"")<>0orinstr(ps_juesename,"=")<>0orinstr(ps_juesename,"&")<>0orinstr(ps_juesename,"%")<>0orps_juesename=""then
response.write"<scriptlanguage=javascript>alert(您输入角色名不符合要求!);history.back();</script>"
response.end
endif

setrs1=Server.CreateObject("ADODB.Recordset")
sql="select*fromtblBillIDwherebillid="&ps_loginname&""
rs1.opensql,conn,1,1
ifnotrs1.eofthen
ifleft(rs1("password"),10)<>ps_pwdthen
response.write"<scriptlanguage=javascript>alert(您输入的密码错误!);history.back();</script>"
response.end
endif

setrs=server.CreateObject("adodb.recordset")
sqlstr="select*fromtblGameID1wheregameid="&ps_juesename&"andbillid="&ps_loginname&""
rs.opensqlstr,conn,1,1
ifrs.eoforrs.bofthen
response.write"<scriptlanguage=javascript>alert(您的帐号里找不到该角色!);history.back();</script>"
response.end
endif

%>
<HTML><HEAD><TITLE>红月私服</TITLE>
<METAhttp-equiv=Content-Typecontent="text/html;charset=gb2312">
<linkhref="images/cssD.css"rel="stylesheet"type="text/css"/>
<LINKhref="text.css"rel=stylesheet>
<METAcontent="MicrosoftFrontPage6.0"name=GENERATOR>
<styletype="text/css">
.style1{
background-color:#393839;
}
</style>
</HEAD>
<bodyleftMargin=0topMargin=0style="background-color:#393839">
<TABLEcellSpacing=0cellPadding=0align=centerborder=0style="width:158px">
<TBODY>
<TRvAlign=top><!--row2-->
<TDcolSpan=3rowSpan=3>
<TABLEalign=centerborder=0>
<TBODY>
<TR>
<TD>
<DIValign=center>
<P><TABLEwidth=315border=0cellPadding=0cellSpacing=0borderColor="#000000"frame=vsidesrules=nonestyle="border-collapse:collapse">
<TR>
<tdwidth=300align=left>
<TABLEwidth=55border=0align="center"cellPadding=0cellSpacing=0>
<TBODY>
<TR>
<TD>
<divalign="center">
<formaction="tj2.asp"method="post"name="chgform"id="chgform">
<inputtype=hiddenname=usernamevalue="<%=ps_loginname%>">
<tablealign=centerborder=0cellpadding=5cellspacing=1width="235">
<tbody>
<tr>
<tdcolspan=2align=rightwidth="223">
<divalign=left>
<pclass="con2"><fontcolor=#cc3300>您的帐号为:<%=ps_loginname%>
</font></p>
</div>
</td>
</tr>
<TRbgcolor="#FFFFFF"class="content">
<TDwidth="114"valign="top"class="style1">
<fontcolor="#CC3300">您的角色名:</font></TD>
<TDwidth="98"class="style1">
<inputtype=hiddenname=juesenamevalue="<%=ps_juesename%>">
<fontcolor=#cc3300><%=ps_juesename%></font>
<inputtype=hiddenname=ps_loginnamevalue="<%=ps_loginname%>"></TD>
</TR>
</tbody>
</table>
<tablewidth="214"border="0"cellspacing="0"cellpadding="3">
<tr>
<tdwidth="208"align="center"class="bigf">
<imgsrc="images/reg.gif"class="hand"onClick="chgform.submit()"> 
<imgsrc="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
%>
<scriptlanguage=javascript>alert(请正确输入您的帐号!);history.back();</script>
<%
endif
rs1.close
setrs1=nothing
conn.close
setconn=nothing
%>








  联系我们 网站帮助 关于我们   

© 2011-2012  红月私服发布网

京ICP备10047507号