⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1_forumdisplay.tpl.php

📁 100hack论坛
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); include template('header'); ?><table cellspacing="0" cellpadding="0" border="0" width="<?=TABLEWIDTH?>" align="center" style="table-layout: fixed"> <tr><td class="nav" width="90%" nowrap>&nbsp;<a href="index.php"><?=$bbname?></a> <?=$navigation?></td><td align="right" width="10%"><a href="#bottom"><img src="<?=IMGDIR?>/arrow_dw.gif" border="0" align="absmiddle"></a></td>        </tr></table><br><form method="post" name="delthread" action="topicadmin.php?action=delthread&fid=<?=$fid?>&page=<?=$page?>"><table width="<?=TABLEWIDTH?>" cellspacing="0" cellpadding="<?=TABLESPACE?>" align="center"><tr class="mediumtxt"><td class="smalltxt">(版主: <span class="bold"><? if($moderatedby) { ?><?=$moderatedby?><? } else { ?>*空缺中*<? } ?></span>)</td><td align="right" class="smalltxt"><? if($ismoderator && $topicsnum) { ?><img src="<?=IMGDIR?>/delthread.gif" border="0" align="absmiddle"><b>版主帖子管理</b><font color=red>(注:版主对帖子操作须慎重)</font>:</b>&nbsp;<a href="###" onclick="this.document.delthread.submit();"><u>操作选定主题</u></a>        <span style="color:<?=LINK?>"><input type="radio" name="manage" value="del">批量删除<input type="radio" name="manage" value="digest" checked>批量加精<input type="radio" name="manage" value="topuntop">单贴置顶<input type="radio" name="manage" value="move">批量移动<input type="radio" name="manage" value="close">批量开关</span><br><? } ?><img src="<?=IMGDIR?>/showdigest.gif" border="0" align="absmiddle"><? if($filter == 'digest') { ?><a href="forumdisplay.php?fid=<?=$fid?>">查看全部主题</a><? } else { ?><a href="forumdisplay.php?fid=<?=$fid?>&filter=digest">查看本版精华</a><? } ?><img src="<?=IMGDIR?>/showdigest.gif" border="0" align="absmiddle"><? if($my_sort!='dateline') { if($filter == 'digest') { ?><a href="forumdisplay.php?fid=<?=$fid?>&filter=digest&my_sort=dateline">按主题发表时间排序</a><? } else { ?><a href="forumdisplay.php?fid=<?=$fid?>&my_sort=dateline">按主题发表时间排序</a><? } } else { if($filter == 'digest') { ?><a href="forumdisplay.php?fid=<?=$fid?>&filter=digest">按最后回复时间排序</a><? } else { ?><a href="forumdisplay.php?fid=<?=$fid?>">按最后回复时间排序</a><? } } ?><img src="<?=IMGDIR?>/showdigest.gif" border="0" align="absmiddle"><? if($filter == 'noreply') { ?><a href="forumdisplay.php?fid=<?=$fid?>">查看全部主题</a><? } else { ?><a href="forumdisplay.php?fid=<?=$fid?>&filter=noreply">查看本版未回复贴子</a><? } ?></td></tr><tr><td></td></tr></table><? if($whosonlinestatus) { ?><table border="0" cellspacing="0" cellpadding="0" width="<?=TABLEWIDTH?>" bgcolor="<?=BORDERCOLOR?>" align="center"><tr><td><table border="0" cellspacing="<?=BORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="100%"><tr class="header"><td width="92%">正在浏览此论坛的会员</td><td width="8%" align="center" nowrap><a href="javascript: this.location.reload();"><font class="navtd" style="font-weight: normal">刷 新</font></a></td></tr><tr><td bgcolor="<?=ALTBG2?>" colspan="2" onMouseOver ="this.style.backgroundColor='<?=ALTBG1?>'" onMouseOut ="this.style.backgroundColor='<?=ALTBG2?>'"><table cellspacing="0" cellpadding="0" border="0" width="98%" align="center"><tr><td nowrap><? if(is_array($whosonline)) { foreach($whosonline as $key => $online) { if($key % 7 == 0) { ?></td></tr><tr><td width="15%" nowrap><? } else { ?></td><td width="15%" nowrap><? } ?><img src="<?=IMGDIR?>/<?=$online['icon']?>" align="absmiddle"><? if($online['username'] !== Guest) { ?><a href="viewpro.php?username=<?=$online['usernameenc']?>" title="时间: <?=$online['lastactivity']?><?="\n"?>                                动作: <?=$online['action']?><? if($online['fid']) { ?><?="\n"?>论坛: <?=$online['fid']?><? } ?>"><?=$online['username']?></a><? } else { ?><span title="时间: <?=$online['lastactivity']?><?="\n"?>                                动作: <?=$online['action']?><? if($online['fid']) { ?><?="\n"?>论坛: <?=$online['fid']?><? } ?>"><?=$online['username']?></span><? } } } ?></td></tr></table></td></tr></table></td></tr></table><? } if(!empty($newpmexists)) { include template('pmprompt'); } ?><br><table width="<?=TABLEWIDTH?>" cellspacing="0" cellpadding="0" align="center"><tr><td class="multi"><?=$multipage?></td><td align="right"><? if($postbutton) { ?><a href="post.php?action=newthread&fid=<?=$fid?>"><img src="<?=IMGDIR?>/newtopic.gif" border="0"></a><? if($allowpostpoll) { ?>&nbsp;<a href="post.php?action=newthread&fid=<?=$fid?>&poll=yes"><img src="<?=IMGDIR?>/poll.gif" border="0"></a><? } } ?></td></tr></table><table cellspacing="0" cellpadding="0" border="0" width="<?=TABLEWIDTH?>" align="center" ><tr><td><table cellspacing="0" cellpadding="0" ><tr ><? if($subexists) { include template('forumdisplay_subforum'); } if($fatherexists) { include template('forumdisplay_fatherforum'); } ?></tr></table></table><table cellspacing="0" cellpadding="0" border="0" width="<?=TABLEWIDTH?>" align="center" bgcolor="<?=BORDERCOLOR?>"><tr><td><table border="0" cellspacing="<?=BORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="100%" ><tr class="header"><td width="4%">&nbsp;</td><td width="4%">&nbsp;</td><td width="47%" align="center">标题</td><td width="14%" align="center" nowrap>作者</td><td width="6%" align="center" nowrap>回复</td><td width="6%" align="center" nowrap>查看</td><td width="19%" align="center">最后发表</td></tr><? if($page == 1) { ?><tr>        <td bgcolor="<?=ALTBG2?>" align="center"><a href="announcement.php?id=<?=$announcement['id']?>#<?=$announcement['id']?>" target="_blank"><img src="<?=IMGDIR?>/lock_folder.gif" border="0"></a></td>        <td bgcolor="<?=ALTBG2?>" colspan="6" onMouseOver ="this.style.backgroundColor='<?=ALTBG1?>'" onMouseOut ="this.style.backgroundColor='<?=ALTBG2?>'"><marquee direction="left" scrollamount="3" onMouseOver="this.stop();" onMouseOut="this.start();">                       <font color="#ff0000">论坛公告:</font><?=$announcements?></marquee>                </td>                </tr><? } if(!empty($forum['rule'])) { ?><td bgcolor="<?=ALTBG2?>" align="center"><img src="<?=IMGDIR?>/lock_folder.gif" border="0"></td><td bgcolor="<?=ALTBG2?>" colspan="6" onMouseOver ="this.style.backgroundColor='<?=ALTBG1?>'" onMouseOut ="this.style.backgroundColor='<?=ALTBG2?>'"><font color=red>本版规则</font>:<?=$forum['rule']?></td></tr><? } if($separatepos) { ?><tr class="category"><td>&nbsp;</td><td colspan="6"><span class="bold">重要主题</span></td></tr><? } if($topicsnum) { if(is_array($threadlist)) { foreach($threadlist as $key => $thread) { if($separatepos == $key && $key != 0) { ?><tr class="category"><td>&nbsp;</td><td colspan="6"><span class="bold">普通主题</span></td></tr><? } ?><tr><td bgcolor="<?=ALTBG2?>" align="center"><a href="viewthread.php?fpage=<?=$page?>&tid=<?=$thread['tid']?>" target="_blank"><img src="<?=IMGDIR?>/<?=$thread['folder']?>" border="0"></a></td><td bgcolor="<?=ALTBG1?>" align="center"><?=$thread['icon']?></td><td bgcolor="<?=ALTBG2?>" onMouseOver ="this.style.backgroundColor='<?=ALTBG1?>'" onMouseOut ="this.style.backgroundColor='<?=ALTBG2?>'"><? if($ismoderator) { ?><input type="checkbox" name="delete[]" value="<?=$thread['tid']?>"><? } if($thread['new']) { ?><a href="redirect.php?tid=<?=$thread['tid']?>&goto=newpost<?=$highlight?>"><img src="<?=IMGDIR?>/firstnew.gif" border="0" align="absmiddle"></a><? } if(substr($thread['closed'], 0, 5) == 'moved') { ?>移动:&nbsp;<? } elseif($thread['digest']) { ?><img src="<?=IMGDIR?>/digest.gif" align="absmiddle"> 精华<b><? echo substr('III', - $thread['digest']); ?></b>:&nbsp;<? } elseif($thread['topped']) { ?><img src="<?=IMGDIR?>/pin.gif" align="absmiddle"> 置顶<b><? echo substr('III', - $thread['topped']); ?></b>:&nbsp;<? } elseif($thread['pollopts']) { ?><img src="<?=IMGDIR?>/pollsmall.gif" align="absmiddle"> 投票:&nbsp;<? } ?><a href="viewthread.php?fpage=<?=$page?>&tid=<?=$thread['tid']?>" <?=$thread['highlight']?>> <?=$thread['subject']?><? if($thread['creditsrequire']) { ?>- [积分<span class="bold"><?=$thread['creditsrequire']?></span>点]<? } ?></a><?=$thread['multipage']?><? if((($timestamp-$thread['dateline1'])<86400)) { ?><a href="redirect.php?tid=<?=$thread['tid']?>&goto=newpost<?=$highlight?>">&nbsp;<img src="<?=IMGDIR?>/new.gif"  border="0" align="absmiddle"></a><? } if($ismoderator && $modshortcut) { ?><div align="right" class="smalltxt">[<a href="topicadmin.php?action=delete&tid=<?=$thread['tid']?>">删</a><a href="topicadmin.php?action=close&tid=<?=$thread['tid']?>">关</a><a href="topicadmin.php?action=move&tid=<?=$thread['tid']?>">移</a><a href="topicadmin.php?action=top&tid=<?=$thread['tid']?>">顶</a><a href="topicadmin.php?action=bump&tid=<?=$thread['tid']?>">提</a><a href="topicadmin.php?action=digest&tid=<?=$thread['tid']?>">精</a><a href="topicadmin.php?action=highlight&tid=<?=$thread['tid']?>">亮</a>]<? } elseif($ispolice) { ?><div align="right" class="smalltxt">                        [<a href="topicadmin.php?action=delete&tid=<?=$thread['tid']?>">删</a><a href="topicadmin.php?action=close&tid=<?=$thread['tid']?>">关</a><a href="topicadmin.php?action=move&tid=<?=$thread['tid']?>">移</a>]</div><? } ?></td><td bgcolor="<?=ALTBG1?>" align="center"><? if($thread['author'] != 'Guest') { ?><a href="viewpro.php?username=<?=$thread['authorenc']?>"><?=$thread['author']?></a><? } else { ?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -