打开space_mtag.php文件,找到下面一段代码:- //群主
- $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('tagspace')." WHERE tagid='$tagid' AND grade>'7' ORDER BY grade DESC LIMIT 0,12");
- while ($value = $_SGLOBAL['db']->fetch_array($query)) {
- realname_set($value['uid'], $value['username']);
- $modlist[] = $value;
- }
- //是群主
- if($mtag['grade']>=8) {
- //待审
- $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('tagspace')." WHERE tagid='$tagid' AND grade='-2' LIMIT 0,12");
- while ($value = $_SGLOBAL['db']->fetch_array($query)) {
- realname_set($value['uid'], $value['username']);
- $checklist[] = $value;
- }
- }
复制代码 在后面添加下面一段代码:- /* allthread */
- $perpage = 5;
- $theurl = "space.php?uid=$space[uid]&do=mtag&tagid=$tagid&view=list";
- $count = $_SGLOBAL['db']->result($_SGLOBAL['db']->query("SELECT COUNT(*) FROM ".tname('thread')." main WHERE main.tagid='$tagid' $wheresql"),0);
- $multi = multi($count, $perpage, 1, $theurl);
- /* end allthread */
复制代码 找到space_mtag_index.htm文件,找到下面一段代码:- <div class="r_option">
- <a href="space.php?do=mtag&tagid=$mtag[tagid]&view=list">查看全部话题列表</a>
- </div>
复制代码 将其改为:- <div class="page">$multi</div>
复制代码 修改后记得更新缓存哦。
修改前的界面:
修改后的界面:
|