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

📄 1_viewthread.tpl.php

📁 极限网络智能办公系统 - Office Automation 2.8 100% 源码
💻 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="85%" align="left" nowrap>&nbsp;<a href="index.php"><?=$bbname?></a> <?=$navigation?></td>
<td align="right" width="15%"><a href="rss.php?fid=<?=$fid?>&auth=<?=$rssauth?>" target="_blank"><img src="images/common/xml.gif" border="0" align="absmiddle" alt="RSS 订阅当前论坛"></a>
&nbsp;<a href="#bottom"><img src="<?=IMGDIR?>/arrow_dw.gif" border="0" align="absmiddle"></a></td>
</tr></table><br></div><? if(!empty($advlist['text'])) { ?><div class="maintable"><table cellspacing="<?=INNERBORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="<?=TABLEWIDTH?>" align="center" class="tableborder"><?=$advlist['text']?></table><br></div><? } if($polloptions) { ?><div class="maintable"><? include template('viewthread_poll'); ?></div><? } if($newpmexists) { ?><div class="maintable"><? include template('pmprompt'); ?></div><? } ?><div class="maintable">
<table width="<?=TABLEWIDTH?>" cellspacing="1" cellpadding="0" align="center">
<tr><td valign="bottom">
<table cellspacing="<?=INNERBORDERWIDTH?>" cellpadding="2" class="tableborder">
<tr class="smalltxt"><? if($highlightstatus) { ?><td class="altbg2"><a href="viewthread.php?tid=<?=$tid?>&page=<?=$page?>" style="font-weight: normal">取消高亮</a></td><? } ?><td class="altbg2"><a href="redirect.php?fid=<?=$fid?>&tid=<?=$tid?>&goto=nextoldset" style="font-weight: normal">上一主题</a></td>
<td class="altbg2"><a href="redirect.php?fid=<?=$fid?>&tid=<?=$tid?>&goto=nextnewset" style="font-weight: normal">下一主题</a></td>
</tr></table>
<?=$multipage?></td><td align="right" valign="bottom"><? if($allowpost || !$discuz_uid) { ?>&nbsp;<a href="post.php?action=newthread&fid=<?=$fid?>&extra=<?=$extra?>"><img src="<?=IMGDIR?>/newtopic.gif" border="0"></a><? } if($allowpostpoll || !$discuz_uid) { ?>&nbsp;<a href="post.php?action=newthread&fid=<?=$fid?>&extra=<?=$extra?>&poll=yes"><img src="<?=IMGDIR?>/poll.gif" border="0"></a><? } if(($allowpost || !$discuz_uid) && $allowposttrade) { ?>&nbsp;<a href="post.php?action=newthread&fid=<?=$fid?>&extra=<?=$extra?>&trade=yes"><img src="<?=IMGDIR?>/newtrade.gif" border="0"></a><? } if($allowpostreply || !$discuz_uid) { ?>&nbsp;<a href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>&extra=<?=$extra?>"><img src="<?=IMGDIR?>/reply.gif" border="0"></a><? } ?></td></tr></table></div>

<script language="JavaScript">
function fastreply(subject) {
if(document.input) {
document.input.subject.value = subject;
document.input.message.focus();
}
}
</script>

<div class="maintable">
<table cellspacing="<?=INNERBORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="<?=TABLEWIDTH?>" align="center" style="border-bottom:none;" class="tableborder">
<tr class="header"><td colspan="2">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr style="color: <?=HEADERTEXT?>"><td class="bold" width="65%">标题: <?=$thread['subject']?></td>
<td width="35%" align="right" nowrap>&nbsp;<? if($searchboxstatus) { ?><img src="<?=IMGDIR?>/search.gif" border="0" align="bottom" width="16" height="16">&nbsp;&nbsp;<input type="text" name="searchbox" value="输入关键词,快速搜索本论坛" size="30" class="altbg2" onmouseover="this.focus()" onfocus="this.select()">
<select name="stype"><option value="" selected>全文</option><option value="1">标题</option></select>
<input name="button" type="button" style="height: 1.8em" onclick="window.open('search.php?srchtype=qihoo&amp;srchtxt='+findobj('searchbox').value+'&amp;stype='+findobj('stype').value+'&amp;searchsubmit=yes');" value="搜帖"><? } ?></td></tr></table></td></tr><? if($lastmod['modaction'] || $thread['blog'] || $thread['readperm'] || $thread['price'] > 0) { ?><tr class="category"><td colspan="2" align="center" class="bold"><? if($lastmod['modaction']) { ?>&nbsp; <a href="misc.php?action=viewthreadmod&tid=<?=$tid?>" title="主题管理记录" target="_blank">本主题由 <?=$lastmod['modusername']?> 于 <?=$lastmod['moddateline']?> <?=$lastmod['modaction']?></a>&nbsp;<? } if($thread['blog']) { ?>&nbsp; <a href="blog.php?uid=<?=$thread['authorid']?>" target="_blank">本主题被作者加入到他/她的 Blog 中</a> &nbsp;<? } if($thread['readperm']) { ?>&nbsp; 所需阅读权限 <span class=\"bold\"><?=$thread['readperm']?></span> &nbsp;<? } if($thread['price'] > 0) { ?>&nbsp; <a href="misc.php?action=viewpayments&tid=<?=$tid?>">浏览需支付 <?=$extcredits[$creditstrans]['title']?> <span class=\"bold\"><?=$thread['price']?></span> <?=$extcredits[$creditstrans]['unit']?></a> &nbsp;<? } ?></td></tr><? } ?></table>
</div>

<form method="post" name="delpost" action="topicadmin.php?action=delpost&fid=<?=$fid?>&tid=<?=$tid?>&page=<?=$page?>">
<input type="hidden" name="formhash" value="<?=FORMHASH?>"><? if(is_array($postlist)) { foreach($postlist as $post) { ?><div class="maintable">
<table cellspacing="<?=INNERBORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="<?=TABLEWIDTH?>" align="center" style="margin-top:-1px;border-bottom:none;border-top:none" class="tableborder">
<tr><td colspan="2" class="singleborder"><?=$post['newpostanchor']?>&nbsp;<?=$post['lastpostanchor']?></td></tr>
<tr class="<?=$post['thisbg']?>" height="100%">
<td width="21%" valign="top" style="word-break: break-all"><? if($forum['ismoderator']) { if($allowviewip) { ?><a href="topicadmin.php?action=getip&fid=<?=$fid?>&tid=<?=$tid?>&pid=<?=$post['pid']?>"><img src="<?=IMGDIR?>/ip.gif" border="0" align="right" alt="查看 IP"></a><? } } if($post['authorid'] && $post['username'] && !$post['anonymous']) { ?><a href="viewpro.php?uid=<?=$post['authorid']?>" target="_blank" class="bold"><?=$post['author']?></a><? if($post['nickname']) { ?> <span class="smalltxt">(<?=$post['nickname']?>)</span><? } ?><br><span class="smalltxt">
<?=$post['authortitle']?>
<br><? showstars($post['stars']); ?><br><? if($post['customstatus']) { ?><?=$post['customstatus']?><br><? } ?><br><? if($avatarshowpos == 3 && $post['avatarshow']) { ?><center><?=$post['avatarshow']?></center><br><? } elseif($post['avatar']) { ?><table width="95%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed">
<tr><td align="center"><?=$post['avatar']?></td></tr></table><br><? } else { ?><br><br><? } if($post['medals']) { if(is_array($post['medals'])) { foreach($post['medals'] as $medal) { ?><img src="images/common/<?=$medal['image']?>" border="0" alt="<?=$medal['name']?>"> &nbsp;<? } } ?><br><? } ?>UID <?=$post['uid']?><br>
精华 <? if($post['digestposts']) { ?><a href="digest.php?authorid=<?=$post['authorid']?>"><?=$post['digestposts']?></a><? } else { ?><?=$post['digestposts']?><? } ?><br>
积分 <?=$post['credits']?><br>
帖子 <?=$post['posts']?><br><? if(is_array($extcredits_thread)) { foreach($extcredits_thread as $key => $credit) { ?><?=$credit['title']?> <?=$post[$key]?> <?=$credit['unit']?><br><? } } ?>阅读权限 <?=$post['readaccess']?><br>
注册 <?=$post['regdate']?><? if(is_array($_DCACHE['fields_thread'])) { foreach($_DCACHE['fields_thread'] as $field) { ?><br><?=$field['title']?><? if($field['selective']) { ?><?=$field['choices'][$post['field_'.$field['fieldid']]]?><? } else { ?><?=$post['field_'.$field['fieldid']]?><? } } } if($post['location']) { ?><br>来自 <?=$post['location']?><? } ?><br><? if($vtonlinestatus && $post['authorid']) { if($timestamp - $post['lastactivity'] <= 10800 && !$post['invisible']) { ?>状态 <b>在线</b><? } else { ?>状态 离线<? } } if($avatarshowpos == 2) { ?><br><br><center><?=$post['avatarshow']?></center><? } ?></span><? if($post['alipay']) { ?><br><a href="https://www.alipay.com/payto:<?=$post['alipay']?>?partner=20880020258585430156" target="_blank"><img src="<?=IMGDIR?>/payto.gif" border="0" alt="用支付宝求购"></a><? } } else { if(!$post['authorid']) { ?><span class="bold">游客</span> <span class="smalltxt"><?=$post['useip']?></span><br><span class="smalltxt">未注册<? } elseif($post['authorid'] && $post['username'] && $post['anonymous']) { ?><span class="bold"><? if($forum['ismoderator']) { ?><a href="viewpro.php?uid=<?=$post['authorid']?>" target="_blank">匿名</a><? } else { ?>匿名<? } ?></span><br>该用户匿名发贴<? } else { ?><span class="bold"><?=$post['author']?></span><br>
该用户已被删除<? } ?><br><br><br><br><br><br><br><br><br><br><? } ?></td>
<td width="79%" valign="top">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed; word-wrap: break-word">
<tr><td valign="top"><? if($avatarshowpos == 1) { ?><div style="float: right"><?=$post['avatarshow']?></div><? } ?><a name="pid<?=$post['pid']?>" href="misc.php?action=viewratings&tid=<?=$tid?>&pid=<?=$post['pid']?>" alt="查看评分记录"><?=$post['ratings']?></a><? if(!empty($advlist['thread'][$post['count']])) { ?><span class="smalltxt"><span class="bold">[广告]:</span> <?=$advlist['thread'][$post['count']]?></span><hr width="100%" style="height: 1px; color: <?=INNERBORDERCOLOR?>"><? } if($post['subject']) { ?><span class="smalltxt"><span class="bold"><?=$post['subject']?></span></span><br><br><? } if($bannedmessages && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))) { ?>*** 作者被禁止或删除 内容自动屏蔽 ***<? } else { ?><span style="font-size: <?=MSGFONTSIZE?>"><?=$post['message']?></span><? if($post['attachment']) { ?><br><br><img src="images/attachicons/common.gif">&nbsp;附件: <i>您所在的用户组无法下载或查看附件</i><? } else { if(is_array($post['attachments'])) { foreach($post['attachments'] as $attach) { ?><br><br><?=$attach['attachicon']?><? if($attach['attachimg']) { ?><a href="member.php?action=credits&view=getattach" title="查看积分策略说明" target="_blank">图片附件</a>:<? if($attach['readperm']) { ?>, 阅读权限 <?=$attach['readperm']?><? } if($attach['description']) { ?>[<?=$attach['description']?>]<? } ?> <a href="attachment.php?aid=<?=$attach['aid']?>" target="_blank" class="bold"><?=$attach['filename']?></a> (<?=$attach['dateline']?>, <?=$attach['attachsize']?>)<br><br><? if($attachrefcheck) { ?><img src="attachment.php?aid=<?=$attach['aid']?>&noupdate=yes" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小';}" onmouseover="if(this.resized) this.style.cursor='hand';" onclick="if(!this.resized) {return false;} else {window.open('attachment.php?aid=<?=$attach['aid']?>');}" onmousewheel="return imgzoom(this);"><? } else { ?><img src="<?=$attachurl?>/<?=$attach['attachment']?>" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小';}" onmouseover="if(this.resized) this.style.cursor='hand';" onclick="if(!this.resized) {return false;} else {window.open('<?=$attachurl?>/<?=$attach['attachment']?>');}" onmousewheel="return imgzoom(this);"><? } } else { ?><a href="member.php?action=credits&view=getattach" title="查看积分策略说明" target="_blank">附件</a>:<? if($attach['description']) { ?>[<?=$attach['description']?>]<? } ?> <a href="attachment.php?aid=<?=$attach['aid']?>" target="_blank" class="bold"><?=$attach['filename']?></a> (<?=$attach['dateline']?>, <?=$attach['attachsize']?>)<br>
<span class="smalltxt">该附件被下载次数 <?=$attach['downloads']?><? if($attach['readperm']) { ?>, 阅读权限 <?=$attach['readperm']?><? } ?></span><br><? } } } } if($post['number'] == 1 && $relatedkeywords) { ?><br><br><span class="bold">相关关键字:</span> <?=$relatedkeywords?><br><br><br><? } if($post['signature'] && !$post['anonymous']) { ?>

⌨️ 快捷键说明

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