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

📄 1_viewthread.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><? if($polloptions) { include template('viewthread_poll'); } if($newpmexists) { include template('pmprompt'); } ?><form name="delpost" method="post" action="topicadmin.php?action=delpost&fid=<?=$fid?>&tid=<?=$tid?>&page=<?=$page?>">
<table width="<?=TABLEWIDTH?>" cellspacing="0" cellpadding="0" align="center">
<tr><td class="multi"><?=$multipage?><? if($thread['creditsrequire']) { ?>&nbsp; 浏览所需 积分 <span class=\"bold\"><?=$thread['creditsrequire']?></span> 点<? } ?></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><? } if($groupreplypost || $ismoderator) { ?>&nbsp;<a href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>"><img src="<?=IMGDIR?>/reply.gif" border="0"></a><? } } ?></td></tr></table>

<table cellspacing="0" cellpadding="0" border="0" width="<?=TABLEWIDTH?>" align="center">
<tr><td bgcolor="<?=BORDERCOLOR?>">

<table border="0" cellspacing="<?=BORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="100%">
<tr class="header"><td width="21%">作者:</td>

<td><table cellspacing="0" cellpadding="0" border="0" width="100%" class="smalltxt" style="table-layout: fixed; word-wrap: break-word">
<tr style="color: <?=HEADERTEXT?>"><td class="bold">标题: <?=$thread['subject']?></td>
<td align="right" width="150" nowrap><? if($highlightstatus) { ?><a href="viewthread.php?tid=<?=$tid?>&page=<?=$page?>" style="color: <?=HEADERTEXT?>;font-weight: normal">取消高亮</a> |<? } ?><a href="redirect.php?fid=<?=$fid?>&tid=<?=$tid?>&goto=nextoldset" style="color: <?=HEADERTEXT?>;font-weight: normal">上一主题</a> | 
<a href="redirect.php?fid=<?=$fid?>&tid=<?=$tid?>&goto=nextnewset" style="color: <?=HEADERTEXT?>;font-weight: normal">下一主题</a></td>
</tr></table></td>

</tr></table></td></tr></table><? if(is_array($postlist)) { foreach($postlist as $post) { ?><a name="pid<?=$post['pid']?>"><table cellspacing="0" cellpadding="0" border="0" width="<?=TABLEWIDTH?>" align="center">
<tr><td bgcolor="<?=BORDERCOLOR?>">
<table border="0" cellspacing="<?=BORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="100%" style="table-layout: fixed; word-wrap: break-word">
<tr bgcolor="<?=$post['thisbg']?>">
<td valign="top" width="21%"><? if($ismoderator || $ispolice) { ?><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['author'] == 'Guest') { ?><span class="bold"">游客</span><br><span class="smalltxt">未注册<? } elseif(!$post['username']) { ?><span class="bold""><?=$post['author']?></span><br><span class="smalltxt">该用户已被删除<? } else { ?><span class="bold""><? if($post['status'] == Admin) { ?><span class="bold"><font style="filter: glow(color=red,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } elseif($post['status'] == SuperMod) { ?><span class="bold"><font style="filter: glow(color=orange,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } elseif($post['status'] == vip) { ?><span class="bold"><font style="filter: glow(color=yellow,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } elseif($post['status'] == customer) { ?><span class="bold"><font style="filter: glow(color=purple,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } elseif($post['status'] == police) { ?><span class="bold"><font style="filter: glow(color=green,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } elseif($post['status'] == Moderator) { ?><span class="bold"><font style="filter: glow(color=blue,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } else { ?><span class="bold"><font style="filter: glow(color=black,strength=3); height:10px; color:white; padding:1px"><?=$post['author']?></font></span><? } ?></span><br><span class="smalltxt"><?=$post['authortitle']?><? } ?><br><?=$post['stars']?><br><?=$post['customstatus']?><br><br><? if($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><? } ?><table width="100%" border="0" cellspacing="1"><tr><td>
<TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr> 
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;积分 <font color=red><b><?=$post['credit']?></b></font> 分</td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  
                  <TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr>   
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;主题 <font color=red><b><?=$post['topicallnum']?></b></font> 篇</td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  
<TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr> 
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;回复 <font color=blue><?=$post['postnum']?> </font>篇</td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  <TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr>
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;现金 <font color=blue><?=$post['money']?> </font>枚</td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  <TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr>  
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;存款 <font color=blue><?=$post['bank']?> </font>枚</td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  <TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr>   
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;财富 <font color=blue><?=$post['moneygroup']?> </font></td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  <TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr>   
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;性别 <font color=blue><? if($post['gender'] == 1) { ?><? } elseif($post['gender'] ) { ?><? } else { ?>保密<? } ?></font></td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
                  



<TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr> 
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;注册 <?=$post['regdate']?></td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td><? if($post['location']) { ?><TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr> 
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;来自 <?=$post['location']?></td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td><? } ?><TABLE width="100%" border=1 align="center" cellspacing="1" cellPadding=2 style="BORDER-COLLAPSE: collapse">
                    <TBODY>
                      <tr> 
                        <td> <img src="images/default/ball.gif"> 
                          &nbsp;状态&nbsp;<? if($timestamp - $post['lastvisit'] <= 5 * $onlinehold) { ?><b>在线</b><? } else { ?>离线<? } ?></td>
                      </tr>
                    </TBODY>
                  </TABLE></td></tr><tr><td>
</td></tr></table>

</span>
</td>

<td height="100%">
<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;word-wrap: break-word">
<tr><td valign="top"><? if($post['karma'] && ($cnteacher_karma_view || $isadmin || ($ismoderator && $cnteacher_karma_adminview) )) { ?><a href="viewkarma.php?pid=<?=$post['pid']?>"><img src="images/common/view.gif" border="0" align='right'></a><? } ?><?=$post['karma']?>
<span class="bold"><span class="smalltxt"><?=$post['subject']?></span></span>
<?=$post['message']?><? if($post['aaid'] ) { if($post['payed']==0 || (($post['paymoney']>=$post['needmoney']) && ($post['payed']==2)) ) { if($post['attachimg'] == 0) { ?><table cellspacing="0" cellpadding="0" border="0" width="<?=TABLEWIDTH?>" align="center">
<tr><br><td bgcolor="#cccccc">
<table border="0" cellspacing="<?=BORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="100%">
        <tr class="header" >
                <td width= "100%"colspan="4"  align="center"><b>本贴包含附件</b></td>
        </tr>
        <tr bgcolor="<?=ALTBG2?>">
                <td width="15%" >&nbsp;文件名:</span></td>
                <td width="35%" ><span class="small">&nbsp;<?=$post['filename']?></span></td>
                <td width="15%">&nbsp;文件类型:</td>
                <td width="35%"><span class="small"><?=$post['attachicon']?>&nbsp;<?=$post['attachtype']?></span></td>
        </tr>
        <tr bgcolor="<?=ALTBG2?>">
                <td  ><span class="small">&nbsp;文件大小:</span></td>
                <td  ><span class="small">&nbsp;<?=$post['attachsize']?></td>
                <td  ><span class="small">&nbsp;人气指数:</span></td>
                <td  ><span class="smalltxt">&nbsp;<?=$post['downloads']?> &nbsp;&nbsp;&nbsp;<a href="attachment.php?action=showdl&aid=<?=$post['aaid']?>" target=new><font color=green>下载名单</font></a></span></td>
        </tr>
                        <tr bgcolor="<?=ALTBG2?>">
                <td width="100%" colspan=4 align=center>

                              <a href="attachment.php?aid=<?=$post['aaid']?>&filesize=<?=$post['filesize']?>" target="_blank">立即下载</a>&nbsp;<? if($post['creditsrequire']) { ?>, 下载附件所需 积分 <?=$post['creditsrequire']?> 点<? } ?></span><br>
                                                        </td></tr></table></td></tr></table><? } elseif($post['attachimg'] == 1) { if($attach['creditsrequire'] < $credit || $ismoderator || $isvip || $ispolice) { ?><P>
                  <DIV align=left>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD bgColor=#cccccc>
                        <TABLE cellSpacing=<?=BORDERWIDTH?> 
                        cellPadding=<?=TABLESPACE?> width="100%" border=0>
                          <TBODY>
                          <TR bgColor=#FFFFFF>
                            <TD 
                              align=left><?=$post['attachicon']?>&nbsp;<B>图片附件:</B>( 
大小:<?=$post['attachsize']?> )</TD></TR></TBODY></TABLE></TR></TBODY></TABLE></DIV><br><a href="<?=$attachurl?>/<?=$post['attachment']?>" target="_blank"><img src="<?=$attachurl?>/<?=$post['attachment']?>" border="0" alt="点击查看全图" onload="javascript:if(this.width>screen.width-333) this.width=screen.width-333"></a><? } else { ?><p><div align="center"> 
            <table cellspacing="0" cellpadding="0" border="0" width="90%" align="center"> 
                <tr><td bgcolor="#cccccc"> 
                    <table border="0" cellspacing="<?=BORDERWIDTH?>" cellpadding="<?=TABLESPACE?>" width="100%"> 
                        <tr bgcolor="<?=ALTBG2?>"> 
                            <td align="left"><?=$post['attachicon']?>&nbsp;<b>本贴包含图片附件:</b>&nbsp;&nbsp;&nbsp;&nbsp;(您没有观看图片附件的权限,浏览所需积分 <font color=red><?=$post['creditsrequire']?></font>)</td> 
                        </tr> 

⌨️ 快捷键说明

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