战盟排行源程序
<%
set rs=server.createobject(\"adodb.recordset\")
job=left(request(\"job\"),4)
sx=left(request(\"sx\"),8)
gg=left(request(\"gg\"),10)
hk=0
if instr(job,\"\")<>0 then hk=1
if instr(job,\"=\")<>0 then hk=1
if instr(job,\"%\")<>0 then hk=1
if instr(sx,\"\")<>0 then hk=1
if instr(sx,\"=\")<>0 then hk=1
if instr(sx,\"%\")<>0 then hk=1
if instr(gg,\"\")<>0 then hk=1
if instr(gg,\"=\")<>0 then hk=1
if instr(gg,\"%\")<>0 then hk=1
if hk=1 then
response.write \"<script language=javascript>alert(\n\n请不要尝试任何入侵方式!);history.back()</script>\"
response.end
end if
%>
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">
<title>飞图战盟排行</title>
<link href=\"img/css.css\" rel=\"stylesheet\" type=\"text/css\">
<style type=\"text/css\">
<!--
.style1 {color: #000000}
-->
</style>
</head>
<body leftmargin=\"0\" topmargin=\"0\">
<!--#include file=\"top.asp\" -->
<TABLE align=center border=1 cellPadding=0 cellSpacing=0 width=760 borderColor=\"#666666\" frame=vsides rules=none>
<TR>
<td width=204 align=left vAlign=top background=\"img/left_bg.gif\"><img src=\"img/left_top_news.gif\" width=\"204\" height=\"36\"><img src=\"img/left02_top1.gif\" width=\"197\" height=\"40\">
<img src=\"img/120.gif\" width=\"195\" height=\"130\" class=\"hand\">
<table width=\"195\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"topguild.asp\">战盟排行</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"topzs.asp\">转生排行</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp\">等级排行</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=48\">魔剑士</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=0\">法 师</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=1\">魔导士</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=32\">精 灵</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=33\">圣射手</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=16\">剑 士</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?job=17\">骑 士</a> </td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?sx=vitality\">体 力</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?sx=strength\">力 量</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?sx=dexterity\">敏 捷</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?sx=energy\">智 力</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?sx=money\">财 富</a></td>
</tr>
<tr>
<td align=\"center\"><img src=\"img/icon.gif\" width=\"9\" height=\"15\" border=\"0\"> <a href=\"top100.asp?sx=pktime\">PK 值</a></td>
</tr>
</table>
<table width=\"99%\">
<tr>
<td width=\"100%\" height=\"5\"></td>
</tr>
</table>
<table width=\"195\" background=\"img/xu2.gif\">
<tr>
<td width=\"182\" height=\"1\"></td>
</tr>
</table></TD>
<td width=1 height=\"190\" background=\"img/xu.gif\"></TD>
<td width=553 align=center vAlign=top bgcolor=\"#FFFFFF\"><table width=\"99%\">
<tr>
<td width=\"100%\" height=\"5\"></td>
</tr>
</table>
<table width=\"96%\" height=\"40\" border=\"0\" cellpadding=\"4\" cellspacing=\"1\" bordercolorlight=\"#000000\" bgcolor=\"#CCCCCC\" style=\"border-collapse: collapse\">
<tr bgcolor=\"#FFFFFF\">
<td colspan=\"5\"><div align=\"center\" class=\"style1\"><a href=\"topguild.asp\">战盟排行表</a></div></td>
</tr>
<tr bgcolor=\"#f4f4f4\">
<td><div align=\"center\" class=\"style1\">名次</div></td>
<td><div align=\"center\" class=\"style1\">战盟名称</div></td>
<td><div align=\"center\" class=\"style1\">战盟积分</div></td>
<td><div align=\"center\" class=\"style1\">战盟盟主</div></td>
<td><div align=\"center\" class=\"style1\">战盟公告</div></td>
</tr>
<%
if not ChkPost() then
response.write \"请不要尝试漏洞或者请您关闭!\"
response.end
end if
if gg=\"\" then
sql=\"select G_Name,G_Score,G_Master,G_Notice from Guild order by G_Score desc\"
rs.open sql,conn,1,1
else
sql=\"select G_Name,G_Score,G_Master,G_Notice from Guild order by G_Score desc\"
rs.open sql,conn,1,1
end if
%>
<%do while not rs.eof
i=i+1
if i mod 2=0 then
bgc=\"#f4f4f4\"
else
bgc=\"#ffffff\"
end if
if i=1 then
ys=\"990000\"
else
ys=\"#666666\"
end if
%>
<tr bgcolor=\"<%=bgc%>\" style=\"color:<%=ys%>\">
<td width=\"7%\" height=\"21\" valign=\"middle\" align=\"center\"><%=i%></td>
<td width=\"16%\" height=\"21\" valign=\"middle\" align=\"center\"><%=\"[\"&rs(\"G_Name\")&\"]\"%></td>
<td width=\"12%\" height=\"21\" valign=\"middle\" align=\"center\"><%=rs(\"G_Score\")%></td>
<td width=\"16%\" height=\"21\" valign=\"middle\" align=\"center\"><%=rs(\"G_Master\")%></td>
<td height=\"21\" valign=\"middle\" align=\"center\"><%=rs(\"G_Notice\")%></td>
</tr>
<%
if i>=100 then exit do
rs.movenext
loop
rs.close
%>
</table>
<table width=\"99%\">
<tr>
<td width=\"100%\" height=\"5\"></td>
</tr>
</table></TD>
</TR>
</TABLE>
<!--#include file=\"foot.asp\" -->
</body>
</html>
商业完整版游戏发布站程序免费下载:www.98youx.com