<div>

<{if $block.full_view == true}>

	<table class="outer d3f_table">
	<thead>
	<tr class="jqm_<{$smarty.const._COLORS_JQM}>">
		<th><{$block.lang_forum}></th>
		<th><{$block.lang_topic}></th>
		<th><{$block.lang_replies}></th>
		<th><{$block.lang_lastpost}></th>
	</tr>
	</thead>
	<{foreach item=topic from=$block.topics}>
	<{strip}>
	<tr class="<{cycle values="even,odd"}>">
		<td class="td_<{$smarty.const._COLORS_JQM}>"><a href="<{$block.mod_url}>/index.php?forum_id=<{$topic.forum_id}>"><{$topic.forum_title}></a></td>
		<td class="td_<{$smarty.const._COLORS_JQM}>"><a href="<{$block.mod_url}>/index.php?topic_id=<{$topic.id}>#post_id<{$topic.last_post_id}>">
		<{if $topic.u2t_marked}><img src="<{$block.mod_imageurl}>/block_marked.gif" alt="<{$block.lang_alt_marked}>" /><{/if}>
		<{* displays the last post's subject or topic title *}>
		<{if $block.disp_last_subject }>
		<{$topic.last_subject}>
		<{else}>
		<{$topic.title}>
		<{/if}></a>
		<{if ! $topic.solved}><img src="<{$block.mod_imageurl}>/block_unsolved.gif" alt="<{$block.lang_alt_unsolved}>" /><{/if}></td>
		<td class="td_<{$smarty.const._COLORS_JQM}>"><{$topic.replies}></td>
		<td class="td_<{$smarty.const._COLORS_JQM}> wordbreak"><{$topic.last_post_time_formatted|xugj_date:"n月j日":false}><span style="color:red;font-weight:bold;"><{$topic.last_post_time_formatted|xugj_date:"":"&nbsp;最新":"&nbsp;新着":false}></span></td>
	</tr>
	<{/strip}>
	<{/foreach}>
	</table>

	<div>
		<ul class="text-left">
			<li><a href="<{$block.mod_url}>/index.php?page=search"><{$block.lang_linktosearch}></a></li>
			<{if is_numeric( $block.forums ) }>
			<li><a href="<{$block.mod_url}>/index.php?forum_id=<{$block.forums}>"><{$block.lang_linktolisttopics}></a></li>
			<{else}>
			<li><a href="<{$block.mod_url}>/index.php?cat_ids=<{$block.categories}>"><{$block.lang_linktolisttopics}></a></li>
			<{/if}>
			<{if is_numeric( $block.categories ) }>
			<li><a href="<{$block.mod_url}>/index.php?cat_id=<{$block.categories}>"><{$block.lang_linktolistforums}></a></li>
			<{/if}>
			<li><a href="<{$block.mod_url}>/index.php"><{$block.lang_linktolistcategories}></a></li>
		</ul>
	</div>

<{else}>

	<ol>
		<{foreach item=topic from=$block.topics}>
			<li><a href="<{$block.mod_url}>/index.php?topic_id=<{$topic.id}>"><{$topic.title}></a>(<{$topic.replies}>) <{$topic.last_uname}> <{$topic.last_post_time_formatted}></li>
		<{/foreach}>
	</ol>

<{/if}>

</div>

