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

📄 search_threads.htm

📁 论坛代码网增加免费空间业务
💻 HTM
字号:
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang search}</div>

<!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
<div class="mainbox threadlist">
	<h1>{lang search}</h1>
	<table summary="{lang search}" cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				<td class="icon">&nbsp;</td>
				<th>{lang subject}</th>
				<td class="forum">{lang forum}</td>
				<td class="author">{lang author}</td>
				<td class="nums">{lang replies}/{lang views}</td>
				<td class="lastpost">{lang lastpost}</td>
			</tr>
		</thead>
<!--{if $threadlist}-->
	<!--{loop $threadlist $thread}-->
		<tbody>
		<tr>
			<td class="icon">
				<!--{if $thread['special'] == 1}-->
					<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
				<!--{elseif $thread['special'] == 2}-->
					<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
				<!--{elseif $thread['special'] == 3}-->
					<!--{if $thread['price'] > 0}-->
						<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
					<!--{elseif $thread['price'] < 0}-->
						<img src="{IMGDIR}/rewardsmallend.gif" alt="{lang thread_rewardend}" />
					<!--{/if}-->
				<!--{elseif $thread['special'] == 4}-->
					<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
				<!--{elseif $thread['special'] == 5}-->
					<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
				<!--{elseif $thread['special'] == 6}-->
					<img src="{IMGDIR}/videosmall.gif" alt="{lang thread_video}" />
				<!--{else}-->
					$thread['icon']
				<!--{/if}-->
			</td>
			<th>
				<label>
				<!--{if in_array($thread['displayorder'], array(1, 2, 3))}-->
					<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="{lang thread_stick}<!--{if $thread['displayorder'] == 3}-->$threadsticky[0]<!--{elseif $thread['displayorder'] == 2}-->$threadsticky[1]<!--{elseif $thread['displayorder'] == 1}-->$threadsticky[2]<!--{/if}-->" />
				<!--{/if}-->
				<!--{if $thread['digest'] > 0}-->
					<img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" />
				<!--{/if}-->
				</label>
				<a href="viewthread.php?tid=$thread[tid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a>
				<!--{if $thread['attachment']}-->
					<img src="images/attachicons/common.gif" alt="{lang attachment}" />
				<!--{/if}-->
				<!--{if $thread[multipage]}--><span class="threadpages">$thread[multipage]</span><!--{/if}-->
			</th>
			<td class="forum"><a href="forumdisplay.php?fid=$thread[fid]">$thread[forumname]</a></td>
			<td class="author">
				<cite>
				<!--{if $thread['authorid'] && $thread['author']}-->
					<a href="space.php?uid=$thread[authorid]">$thread[author]</a>
				<!--{else}-->
					<!--{if $forum['ismoderator']}--><a href="space.php?uid=$thread[authorid]">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
				<!--{/if}-->
				</cite>
				<em>$thread[dateline]</em>
			</td>
			<td class="nums"><strong>$thread[replies]</strong> / <em>$thread[views]</em></td>
			<td class="lastpost">
				<em><a href="redirect.php?tid=$thread[tid]&amp;goto=lastpost$highlight#lastpost">$thread[lastpost]</a></em>
				<cite>{lang forum_lastpost_by} <!--{if $thread['lastposter']}--><a href="space.php?username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
			</td>
		</tr>
		</tbody>
	<!--{/loop}-->
<!--{else}-->
	<tbody><tr><th colspan="6">{lang search_nomatch}</th></tr></tbody>
<!--{/if}-->
</table>
</div>

<!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->

{subtemplate footer}

⌨️ 快捷键说明

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