发新话题
打印

[分享] 排行榜和快速登陆一起在顶部实现

本主题被作者加入到个人文集中

排行榜和快速登陆一起在顶部实现

演示地址:http://fqshw.ent.topzj.com/index.php

1.把下面代码里的
总积分前10个会员排行,后台js调用代码
发贴总数前10名会员排行,后台js调用代码
论坛最新10贴,后台js调用代码
论坛最新注册(10位),后台js调用代码
论坛统计,后台js调用代码
到后台调用好之后,保存为htm文件,上传到空间
复制内容到剪贴板
代码:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 3</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 3</title>
<style type="text/css">
a:link,a:visited        { text-decoration: none; color: #FFFFFF }
a:hover                        { text-decoration: underline }
body                        { scrollbar-base-color: #6D6864;   scrollbar-arrow-color: #FFFFFF; font-size: 12px; background-color: #FFFFFF  }
table                        { font-family: Tahoma, Verdana; color:  #6D6864;  font-size: 12px }
textarea,input,object        { font-family: Tahoma, Verdana; font-size:   12px;  color: #6D6864; font-weight: normal; background-color: #FFFFFF }
select                        { font-family: Tahoma; font-size: 11px;    color: #6D6864; font-weight: normal; background-color: #FFFFFF}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<style>
<!--

a:link,a:visited        { text-decoration: none; color: #6D6864 }
a:hover                        { text-decoration: underline }
body                        { scrollbar-base-color: #6D6864; scrollbar-arrow-color: #6D6864; font-size: 12px }
table                        { font-family: Georgia, Tahoma, Verdana; color: #6D6864; font-size: 12px }
textarea,input,object        { font-family: Georgia, Tahoma, Verdana; font-size: 12px;  color: #6D6864; font-weight: normal; background-color: #F8F8F8 }
select                        { font-family: Tahoma; font-size: 11px;  color: #6D6864; font-weight: normal; background-color: #F8F8F8 }
.nav                        { font-family: Georgia, Tahoma, Verdana; font-size: 12px; font-weight: bold }
.header                        { font-family: Georgia, Tahoma, Verdana; font-size: 12px; color: #6D6864; font-weight: bold }
.category                { font-family: Tahoma; font-size: 12px; color: #6D6864; }
.multi                        { font-family: Tahoma; font-size: 11px; color: #6D6864; }
.smalltxt                { font-family: Tahoma; font-size: 11px }
.mediumtxt                { font-family: Georgia, Tahoma, Verdana; font-size: 12px; color: #6D6864 }
.bold                        { font-weight: bold }
-->
</style>

</head>

<body bgcolor="#FFEFE7">
<table width="841" border="0" align="center" cellpadding="0"   cellspacing="0" height="90">
        <tr><td height="90" width="842">
        <table border="1" cellpadding="4" cellspacing="1"   bordercolor="#C5896D" width="936">
        <tr class="header"><td colspan="3" align=left  bgcolor="#6D6864"  width="867"><form method="post"   action="http://fqshw.ent.topzj.com/logging.php?action=login"   target="windows_name">
        <tr class="header"><td colspan="3" align=left width="936"><form  method="post"  action="http://fqshw.ent.topzj.com/logging.php?action=login">
会员登录    [<a href="http://fqshw.ent.topzj.com/register.php"  target="_blank"  style="color: #6D6864">立即注册</a>] [<a   href="http://fqshw.ent.topzj.com/member.php?action=lostpasswd"  target="_blank"  style="color: #6D6864">忘记密码</a>]</tr>                                                                             
<tr bgcolor="#FFFFFF"><td bgcolor="#FFFFFF" width="900">用户名                                                                              
  <input type="text" style="z-index:10" name="username" size="16"   maxlength="40" tabindex="1"> 密码 <input type="password"  name="password"  size="16" tabindex="2"> 安全提问                                                                             
  <select name="questionid" tabindex="3">
<option value="0">不使用安全提问</option>
<option value="1">母亲的名字</option>
<option value="2">爷爷的名字</option>
<option value="3">父亲出生的城市</option>
<option value="4">您其中一位老师的名字</option>
<option value="5">您个人计算机的型号</option>
<option value="6">您最喜欢的餐馆名称</option>
<option value="7">驾驶执照的最后四位数字</option>
</select> 回答                                                                             
<input type="text" name="answer" size="16" tabindex="4"> Cookie 有效 期                                                                                
<select name=cookietime><option  selected value=0>浏览器进程</option>
<option  value=3600>一小时</option>
<option  value=86400>一天</option>
<option  value=2592000>一个月</option>
<option  value=31536000>一年</option></select>
<input type="submit" name="loginsubmit" value="会员登录">                                                                             
</tr>

<TABLE borderColor=#0033ff height=10 width=980 align=center bgColor=#ccffcc border=1>
<TBODY></TBODY></TABLE>
<TABLE borderColor=#C5896D border=1>
<TBODY>
<TR>
<TD>
<P align=center><STRONG><FONT face=宋体 color=#6D6864 size=2>总积分前10个会员排行</FONT></STRONG></P></TD>
<TD>
<P align=center><STRONG><FONT color=#6D6864 size=2 face="宋体">发贴总数前10名会员排行</FONT></STRONG></P></TD>
<TD>
<P align=center><STRONG><font size="2" color="#6D6864" face="宋体">论坛最新10贴</font></STRONG></P></TD>
<TD>
<P align=center><STRONG><font size="2" color="#6D6864" face="宋体">论坛最新注册(10位)</font></STRONG></P></TD>
<TD>
<P align=center><STRONG><font size="2" color="#6D6864" face="宋体">论坛统计</font></STRONG></P></TD></TR>
<TR>
<TD vAlign=center align=middle width=176 background="" height=125>
<MARQUEE onmouseover=this.stop() style="WIDTH: 176px; HEIGHT: 110px" onmouseout=this.start() scrollAmount=1 scrollDelay=30 direction=up align="middle">
你论坛的JS调用:系统设置——系统工具——JS 调用向导(导出你的代码复制到此地)</MARQUEE></TD>  
<TD width=176 background="" height=125>
<MARQUEE onmouseover=this.stop() style="WIDTH: 176px; HEIGHT: 110px" onmouseout=this.start() scrollAmount=1 scrollDelay=30 direction=up align="middle">
你论坛的JS调用:系统设置——系统工具——JS 调用向导(导出你的代码复制到此地)</MARQUEE></TD>  
<TD width=200 background="" height=125>
<MARQUEE onmouseover=this.stop() style="WIDTH: 200px; HEIGHT: 110px" onmouseout=this.start() scrollAmount=1 scrollDelay=30 direction=up align="middle">
你论坛的JS调用:系统设置——系统工具——JS 调用向导(导出你的代码复制到此地)</MARQUEE></TD>  
<TD width=176 background="" height=125>
<MARQUEE onmouseover=this.stop() style="WIDTH: 176px; HEIGHT: 110px" onmouseout=this.start() scrollAmount=1 scrollDelay=30 direction=up align="middle">
你论坛的JS调用:系统设置——系统工具——JS 调用向导(导出你的代码复制到此地)</marquee>  
<TD width=176 background="" height=125>
<MARQUEE onmouseover=this.stop() style="WIDTH: 176px; HEIGHT: 110px" onmouseout=this.start() scrollAmount=1 scrollDelay=30 direction=up align="middle">
你论坛的JS调用:系统设置——系统工具——JS 调用向导(导出你的代码复制到此地)</marquee></TB ODY></TABLE>  

<TABLE style="height: 35px" borderColor=#C5896D bgColor=#FFFFFF
border=1 width="936">
  <TBODY>
  <TR>
    <TD width="230">
      <p align="center"><iframe border=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 height=24  framespacing=0 frameborder=0 scrolling=no width=100%  src=http://mhpx.91.tc/htm1.txt></iframe> </p>
    </TD>
    <TD width="974">
      <p align="center"><IFRAME src="http://www.cz88.net/ip/viewip778.aspx" frameBorder=0
width=778 scrolling=no height=25>  </IFRAME></iframe>                                                                 
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">                                                                    
</script>
<script type="text/javascript">                                                                    
_uacct = "UA-389066-1";
urchinTracker();
</script>
2.把上面的htm地址覆盖下面代码里的htm地址
复制内容到剪贴板
代码:
</td><iframe border=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 height=190  framespacing=0 frameborder=0 scrolling=no width=100%  src=你上面的htm地址></iframe>
3.把上面的代码放在论坛第一个版块的论坛简介
引用:
重要说明:没有空间的朋友可以用下面的方法实现

1.把做好的排行榜保存为:paihang.htm
2.用附件形式传到你的论坛
3.到后台提取URL地址,具体方法:
帖子管理——编辑附件——存储文件名:输入你保存的附件名称——提交——(鼠标放在文件名下面的地址上)右键——属性——复制URL地址


联系qq也可以用附件形式传到你的论坛,具体方法如下:
1. 先把下面代码里的红色部分修改成你自己的内容
引用:
<A href="http://wpa.qq.com/msgrd?V=1&Uin=53116496&Site=休闲驿站&Menu=yes"
target=blank><IMG alt=点击这里联系水映云轩
src="http://i55.photobucket.com/albums/g137/tangyaguang/260802663139064.gif"
border=0 width="71" height="24"></A>
2.保存为htm,用附件传到你的论坛
3.到后台帖子管理——论坛维护——编辑附件——选择存放qq代码的版块——提交。打开qq地址

4.把打开的qq地址覆盖下面红色部分的地址,OK
引用:
<TABLE style="height: 35px" borderColor=#C5896D bgColor=#FFFFFF
border=1 width="936">
  <TBODY>
  <TR>
    <TD width="230">
      <p align="center"><iframe border=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 height=24  framespacing=0 frameborder=0 scrolling=no width=100%  src=http://mhpx.91.tc/htm1.txt></iframe> </p>
    </TD>
    <TD width="974">
      <p align="center"><IFRAME src="http://www.cz88.net/ip/viewip778.aspx" frameBorder=0
width=778 scrolling=no height=25>  </IFRAME></iframe>                                                                 
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">                                                                    
</script>
<script type="text/javascript">                                                                    
_uacct = "UA-389066-1";
urchinTracker();
</script>
这样就解决了没有空间的苦恼了,然后再按照第二步做即可。

[ 本帖最后由 水映云轩 于 2007-3-2 09:11 编辑 ]

点击进入→休闲驿站风格平台


TOP

我来坐个沙发,支持水姐一下。呵呵~

TOP

在系统设置——系统工具——JS 调用向导里,我只看到[新帖调用][论坛列表][会员排行][论坛统计][附件图片调用],并没有看到[新会员注册][最新回复]呀~!?

TOP

按注册曰期倒序排序

点击进入→休闲驿站风格平台


TOP

支持支持```暂时不想改了,懒,嘎嘎,以后有时间再改

ps:回楼上,新注册会员在会员排行里,最新回复在新帖调用里
小站:http://yizhong.91.tc

TOP

是不是这个呀?
复制内容到剪贴板
代码:
按最后回复时间倒序排序
按发布时间倒序排序
按回复数倒序排序
按浏览次数倒序排序

TOP

支持!楼主再将帖子排行下的"QQ交谈......."这个东西其代码发来学学吧!

TOP

怎么才能向楼主的论坛那样,放在上面显示呀,放在论坛简介里,有些都看不到

TOP

引用:
原帖由 拓荒者 于 2006-9-22 20:06 发表
支持!楼主再将帖子排行下的"QQ交谈......."这个东西其代码发来学学吧!
qq交谈是这个代码:
复制内容到剪贴板
代码:
<A
href="http://wpa.qq.com/msgrd?V=1&Uin=53116496&Site=休闲驿站&Menu=yes"
target=blank><IMG alt=点击这里联系水映云轩 src="http://i55.photobucket.com/albums/g137/tangyaguang/260802663139064.gif"
border=0 width="71" height="24"></A>
点击这里联系水映云轩:这里自己修改
53116496:改成你的qq号
休闲驿站:改成你的论坛名称
修改好保存为htm上传到空间,之后把上传的htm地址覆盖上面长代码的这个地址:http://mhpx.91.tc/htm1.txt

[ 本帖最后由 水映云轩 于 2006-9-22 20:14 编辑 ]

点击进入→休闲驿站风格平台


TOP

引用:
原帖由 米奇鼠 于 2006-9-22 20:10 发表
怎么才能向楼主的论坛那样,放在上面显示呀,放在论坛简介里,有些都看不到
请看第二步和第三步

点击进入→休闲驿站风格平台


TOP

发新话题