设为首页收藏本站

拜仁慕尼黑球迷联盟

 找回密码
 注册
搜索
拜仁联盟球迷QQ群:4306699 点击这里加入群   拜仁联盟首页   临时图片上传工具   贴图地址转换工具   火星字体/脑残体转换工具   网站问题可加QQ:
查看: 4658|回复: 5
打印 上一主题 下一主题

[原创]区长大人进

[复制链接]
跳转到指定楼层
1#
发表于 2004-5-31 06:10:46 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
这个是你要的东西,因为没多少所以就不往你邮箱里发了<br><br>-----------------------------------<br>用不同的图标显视展开在线列表的管理员跟普通会员方法<br>跟我论坛做的一样,<br>要改一点点数据库的<br>这别人写的,<br>我论坛那个有自己改过了的<br>这个代码需要有修改MEMBERCODE=3的才能用<br><br>先打开LOADING.asp<br>找到<br>if Request(&quot;forumid&quot;)=&quot;0&quot; then<br>sql=&quot;select * from online where username&lt;&gt;&#39;&#39; and eremite&lt;&gt;1&quot;<br>else<br>sql=&quot;select * from online where forumid=&quot;&amp;int(Request(&quot;forumid&quot;))&amp;&quot; and username&lt;&gt;&#39;&#39; and eremite&lt;&gt;1&quot;<br>end if<br>改为<br>if Request(&quot;forumid&quot;)=&quot;0&quot; then<br>sql=&quot;select * from online &quot;<br>else<br>sql=&quot;select * from online where forumid=&quot;&amp;int(Request(&quot;forumid&quot;))&amp;&quot; &quot;<br>end if<br><br><br>找到<br>allline=&quot;&quot;&amp;allline&amp;&quot;&lt;td width=16% style=word-break:break-all&gt;&lt;img src=&quot;&amp;rs(&quot;userface&quot;)&amp;&quot; width=16 height=16&gt; &lt;a href=Profile.asp?username=&quot;&amp;rs(&quot;username&quot;)&amp;&quot;&gt;&quot;&amp;rs(&quot;username&quot;)&amp;&quot;&lt;/a&gt;&lt;/td&gt;&quot;<br>改为<br>if (rs(&quot;membercode&quot;)=&quot;5&quot; or rs(&quot;membercode&quot;)=&quot;4&quot;) and rs(&quot;eremite&quot;)&lt;&gt;&quot;1&quot; then<br>userface=&quot;images/gm5.gif&quot;<br>elseif rs(&quot;membercode&quot;)=&quot;3&quot; and rs(&quot;eremite&quot;)&lt;&gt;&quot;1&quot; then<br>userface=&quot;images/gm3.gif&quot;<br>elseif rs(&quot;membercode&quot;)=&quot;2&quot; and rs(&quot;eremite&quot;)&lt;&gt;&quot;1&quot; then<br>userface=&quot;images/gm2.gif&quot;<br>elseif rs(&quot;membercode&quot;)=&quot;1&quot; and rs(&quot;eremite&quot;)&lt;&gt;&quot;1&quot; then<br>userface=&quot;images/gm1.gif&quot;<br>else<br>userface=&quot;images/gm0.gif&quot;<br>end if<br><br>if rs(&quot;username&quot;)=&quot;&quot; then<br>username=&quot;客人&quot;<br>elseif rs(&quot;eremite&quot;)=&quot;1&quot; then<br>username=&quot;隐身会员&quot;<br>else<br>username=rs(&quot;username&quot;)<br>end if<br><br>allline=&quot;&quot;&amp;allline&amp;&quot;&lt;td width=16% style=word-break:break-all&gt;&lt;img src=&quot;&amp;userface&amp;&quot; width=16 height=16&gt; &lt;a title=目前位置:『&quot;&amp;rs(&quot;bbsname&quot;)&amp;&quot;』&quot;&amp;rs(&quot;act&quot;)&amp;&quot; href=&quot;&amp;rs(&quot;acturl&quot;)&amp;&quot;&gt;&quot;&amp;username&amp;&quot;&lt;/a&gt;&lt;/td&gt;&quot;<br><br>打开INC/LINE.ASP<br>找到<br>rs.update<br>rs.close<br>在前面加上<br>rs(&quot;membercode&quot;)=membercode<br>再打开数据库<br>打开ONLINE表单<br>在最后面添加列<br>改名为&quot;membercode&quot;<br>--------------------------------<br>图片自己在网上找找,喜欢的就拿来用
2#
发表于 2004-5-31 06:32:01 | 只看该作者
呵呵<br>我就谢谢你的帮助了<br>合作愉快
3#
 楼主| 发表于 2004-5-31 09:30:54 | 只看该作者
其实应该谢谢你,有这样一个好的球迷俱乐部,为了大家,你是社区的希望啊
4#
发表于 2004-6-1 06:53:02 | 只看该作者
怎么我修改的没有用啊?<br>修改MEMBERCODE=3的才能用?是什么意思啊?<br>在哪里改啊?是在页面上改还是数据库里面改啊?<br><br>[此帖子已被 TTXS 在 2004-5-31 23:09:45 编辑过]
5#
发表于 2004-6-7 11:21:44 | 只看该作者
基本上高低了,用的又是另外一种方法,但是功能还是有点区别,不知道怎么搞的,用你提供的那种方法总是有点错误,但是还是谢谢你的热心帮助了
6#
发表于 2004-6-8 02:19:28 | 只看该作者
哦?这样呀?支持!

小黑屋|手机版|拜仁慕尼黑球迷联盟    

GMT+8, 2024-5-13 12:42 - 0.378678 s - 19 queries .

Copyright 2004-拜仁联盟

快速回复 返回顶部 返回列表