用户登录  | 
首 页技术文章软件发布广告价格
当前位置:传奇游戏服务端下载站传奇站长论坛资源网站程序技术文章文章资讯游戏架设教程奇迹技术

能排行转生次数的排行榜

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2014-10-03 23:50:22

<!--#include file="conn.asp" -->www.sfmir2.com
<!--#include file="top.asp" -->www.sfmir2.com
<%www.sfmir2.com
set rs=server.createobject("adodb.recordset")www.sfmir2.com
job=left(request("job"),4)

www.sfmir2.com
%> www.sfmir2.com
<html>www.sfmir2.com
<head>www.sfmir2.com
<meta http-equiv="content-type" content="text/html; charset=gb2312">www.sfmir2.com
<title><%=sitename%></title>www.sfmir2.com
<style language=javascript type=text/css>a {www.sfmir2.com
color: #000000; text-decoration: none; text-transform: nonewww.sfmir2.com
}www.sfmir2.com
a:hover {www.sfmir2.com
color: #ff0000; text-decoration: underlinewww.sfmir2.com
}www.sfmir2.com
</style>www.sfmir2.com
<style type=text/css>td {www.sfmir2.com
font-size: 9ptwww.sfmir2.com
}www.sfmir2.com
p {www.sfmir2.com
font-size: 9ptwww.sfmir2.com
}www.sfmir2.com
a:active {www.sfmir2.com
text-decoration: nonewww.sfmir2.com
}www.sfmir2.com
a:hover {www.sfmir2.com
text-decoration: underlinewww.sfmir2.com
}www.sfmir2.com
a:link {www.sfmir2.com
text-decoration: nonewww.sfmir2.com
}www.sfmir2.com
a:visited {www.sfmir2.com
text-decoration: nonewww.sfmir2.com
}www.sfmir2.com
</style>www.sfmir2.com
</head>www.sfmir2.com
<body topmargin="0" leftmargin="0" align=center bgcolor="#000000"><center>

<table width="80%" height="393" background="images/top_bg5.gif">www.sfmir2.com
<form action="userrz_ok.asp" method="post">www.sfmir2.com
<tr> www.sfmir2.com
<td width="750" height="35" valign="middle"> <p align="center">www.sfmir2.com
<font size=+1><b><%=muname%> <%=muip%> <%=muport%></b></font></p></td>www.sfmir2.com
</tr>www.sfmir2.com
<font color="#ffffff"><tr></font> <td height="353" valign="top">www.sfmir2.com
<div align="center"> www.sfmir2.com
<center>www.sfmir2.com
<table border="1" width="82%" cellspacing="0" cellpadding="0" height="103" background="images/top_bg5.gif"

style="border-collapse: collapse" bordercolor="#111111" bordercolorlight="#000000">www.sfmir2.com
<tr> www.sfmir2.com
<td width="100%" height="20" colspan="8"> <p align="center"><font color="#000000">等级排行表</td>www.sfmir2.com
</tr>www.sfmir2.com
<tr> www.sfmir2.com
<td width="100%" height="20" colspan="8"> <p align="center"><a href="?job=32"><font color="#ff0000">精灵

</font></a><font color="#ff0000"> www.sfmir2.com
</font><a href="?job=16"><font color="#ff0000">剑士</font></a><font color="#ff0000"> www.sfmir2.com
</font><a href="?job=0"><font color="#ff0000">法师</font></a><font color="#ff0000"> www.sfmir2.com
</font><a href="?job=17"><font color="#ff0000">骑士</font></a><font color="#ff0000">www.sfmir2.com
</font><a href="?job=1"><font color="#ff0000">魔导士</font></a><font color="#ff0000">www.sfmir2.com
</font><a href="?job=33"><font color="#ff0000">圣射手</font></a><font color="#ff0000">www.sfmir2.com
</font><a href="?job=48"><font color="#ff0000">魔剑士</font></a><font color="#ff0000"> www.sfmir2.com
</font><a href="?job="><font color="#ff0000">总排行</font></a></td>www.sfmir2.com
</tr>www.sfmir2.com
<tr> www.sfmir2.com
<td width="6%" height="21" valign="middle"> <p align="center"><font color="#000000">名次</font></td>www.sfmir2.com
<td width="13%" height="21" valign="middle"> <p align="center"><font color="#000000">用户名</font></td>www.sfmir2.com
<td width="8%" height="21" valign="middle"> <p align="center"><font color="#000000">等级</font></td>www.sfmir2.com
<td width="25%" height="21" valign="middle"> www.sfmir2.com
<p align="center"><font color="#000000">能力值(力/敏/体/智/总点数)</font></td>www.sfmir2.com
<td width="11%" height="21" valign="middle"> <p align="center"><font color="#000000">个人财富</font></td>www.sfmir2.com
<td width="8%" height="21" valign="middle"> <p align="center"><font color="#000000">pk值</font></td>www.sfmir2.com
<td width="24%" height="21" valign="middle"> <p align="center"><font color="#000000">创建日期</font></td>www.sfmir2.com
<td width="6%" height="21" valign="middle"> <p align="center"><font color="#000000">转生次数

</font></td></td></tr>www.sfmir2.com
<%if job="" thenwww.sfmir2.com
sql="select name,clevel,class,leveluppoint,strength,dexterity,vitality,energy,money,pktime,mdate,userzs from

character order by sumlevel desc"www.sfmir2.com
rs.open sql,conn,1,1www.sfmir2.com
elsewww.sfmir2.com
sql="select name,clevel,class,leveluppoint,strength,dexterity,vitality,energy,money,pktime,mdate,userzs from character where

class="&job&" order by sumlevel desc"www.sfmir2.com
rs.open sql,conn,1,1www.sfmir2.com
end ifwww.sfmir2.com
if request("dy")<>empty thenwww.sfmir2.com
response.clearwww.sfmir2.com
response.write "document.write(<table><tr><td colspan=3 align=center>waroy排行前"&request("dy")&"名</td></tr>);"www.sfmir2.com
for n=1 to rs.recordcountwww.sfmir2.com
if not rs.eof thenwww.sfmir2.com
response.write "document.write(<tr><td>第"&n&"名</td><td>"&rs("name")&"</td><td>"&rs("clevel")&"级</td></tr>);"www.sfmir2.com
elsewww.sfmir2.com
exit forwww.sfmir2.com
end ifwww.sfmir2.com
if n>=int(request("dy")) then exit forwww.sfmir2.com
rs.movenextwww.sfmir2.com
nextwww.sfmir2.com
response.write "document.write(</table>)"www.sfmir2.com
response.endwww.sfmir2.com
elsewww.sfmir2.com
%>www.sfmir2.com
<%do while not rs.eof

i=i+1 %>

<tr> www.sfmir2.com
<td width="6%" height="21" valign="middle" align="center"><%=i%></td>www.sfmir2.com
<td width="13%" height="21" valign="middle" align="center"><%=rs("name")%></td>www.sfmir2.com
<td width="8%" height="21" valign="middle" align="center"><%=rs("clevel")%></td>www.sfmir2.com
<td width="21%" height="21" valign="middle" align="center"><%=rs("strength")%>/<%=rs("dexterity")%>/<%=rs

("vitality")%>/<%=rs("energy")%>/<font color="#ff0000"><%=rs("leveluppoint")+rs("strength")+rs("dexterity")+rs("vitality")

+rs("energy")%></font></td>www.sfmir2.com
<td width="11%" height="21" valign="middle" align="center"><%=rs("money")%></td>www.sfmir2.com
<td width="8%" height="21" valign="middle" align="center"><%=rs("pktime")%></td>www.sfmir2.com
<td width="24%" height="21" valign="middle" align="center"><%=rs("mdate")%></td>www.sfmir2.com
<td width="6%" height="21" valign="middle" align="center"><%=rs("userzs")%></td>

<p align="center"></td></tr>www.sfmir2.com
<%

if i>=50 then exit do www.sfmir2.com
rs.movenextwww.sfmir2.com
loopwww.sfmir2.com
end ifwww.sfmir2.com
rs.close www.sfmir2.com
rslife.close www.sfmir2.com
%>www.sfmir2.com
</table>www.sfmir2.com
<p><img border="0" src="http://www.5uwl.net/wyjs/2005/images/bt_confirm.gif" style="cursor:hand"

></p>www.sfmir2.com
</center>www.sfmir2.com
</div>www.sfmir2.com
<font color="#ffffff"></td></font> <font color="#ffffff"></tr></font> www.sfmir2.com
</form></table></body></html><!--#include file="copyright.asp" -->

需要注意的地方:www.sfmir2.com
第一,必须character表中加入以下两个字段userzs,sumlevel,类型为int,在sumlevel内的公式栏加入以下代码www.sfmir2.com
(clevel + userzs * 350)www.sfmir2.com
第二,在转生页中必须加入www.sfmir2.com
rs1("userzs")=转生次数www.sfmir2.com
如果你使用的是我的需要果实转生的网页,可以直接升级果实转生网页搭配使用,升级具体可以看我网页的更新!www.sfmir2.com
http://bbs.vzkj.com/dispbbs.asp?boardid=10&id=79737

只要你按照红色部分更改设置后,此排行榜对任何均可使用,除非你的character里面的字段名是自己重新写的,字段名全部不一样,呵呵!

Tags:

作者:佚名

文章评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
传奇资源网提供最新传奇开区一条龙版本下载,本站声明:只更新最新最好的传奇服务端分享给大家。