<!-- start module contents -->
<div class="xhnewbb">
<h1><{$lang_alltopicsindex}></h1>

<div class="breadcrumbs"><a href="<{$xoops_url}>/modules/xhnewbb/index.php"><{$forum_index_title}></a>&nbsp;&gt;&nbsp;<a href="<{$mod_url}>/viewallforum.php"><{$lang_alltopicsindex}></a></div>

<div class="bbsviewctrl">
	<form action="<{$php_self_abs}>" method="get">
	<{$forum_selection_sort}> <{$forum_selection_order}> <{$forum_selection_solved}> <{$forum_selection_since}> <input type="hidden" name="forum" value="<{$forum_id}>" /><input type="submit" name="refresh" value="<{$lang_go}>" />
	</form>
	<{$forum_pagenav}>
</div>

<!-- start forum main table -->
<form action="<{$php_self_abs}>" method="post">
<input type="hidden" name="forum" value="<{$forum_id}>" />

<table class="outer">
<thead>
<tr class="head">
	<th colspan="2">
	<{if $allow_mark && $uid}>
	<input type="submit" name="update_mark" value="<{$smarty.const._MD_XHNEWBB_UPDATE}>" />
	<{/if}>
	</th>
	<th><a href="<{$h_forum_link}>"><{$lang_forum}></a></th>
	<th><a href="<{$h_topic_link}>"><{$lang_topic}></a></th>
	<th><a href="<{$h_reply_link}>"><{$lang_replies}></a><br />(<a href="<{$h_views_link}>"><{$lang_views}></a>)</th>
	<th><a href="<{$h_poster_link}>"><{$lang_poster}></a></th>
	<th><a href="<{$h_date_link}>"><{$lang_date}></a></th>
</tr>
</thead>
<!-- start forum topic -->
<{foreach item=topic from=$topics}>
<tr class="<{cycle values="even,odd"}>">
<{strip}>
	<td class="status"><img src="<{$topic.topic_folder}>" alt="<{$topic.topic_desc}>" title="<{$topic.topic_desc}>" /></td>
	<td class="type">
	<{if $topic.can_flip_solved}>
		<a href="<{$topic.flip_uri}>"><img src="<{$xoops_url}>/modules/xhnewbb/images/<{$topic.icon}>" alt="<{$topic.icon_alt}>" title="<{$topic.icon_alt}>" /></a>
		<{else}>
		<img src="<{$xoops_url}>/modules/xhnewbb/images/<{$topic.icon}>" alt="<{$topic.icon_alt}>" title="<{$topic.icon_alt}>" />
	<{/if}>
	<{if $allow_mark && $uid}>
		<br />
		<input type="checkbox" name="marked[<{$topic.topic_id}>]" <{$topic.mark_checked}> />
		<input type="hidden" name="topic_ids[]" value="<{$topic.topic_id}>" />
	<{/if}>
	</td>
	<td class="forums"><a href="<{$mod_url}>/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a></td>
	<td>&nbsp;<a href="<{$topic.topic_link}>"><{$topic.topic_title}></a><{$topic.topic_page_jump}></td>
	<td class="replies"><{$topic.topic_replies}><br />(<{$topic.topic_views}>)</td>
	<td class="poster"><{$topic.topic_poster}></td>
	<td class="latestpost"><{$topic.topic_last_posttime}><br /><{$lang_by}> <{$topic.topic_last_poster}></td>
<{/strip}>
</tr>
<{/foreach}>
<!-- end forum topic -->
<{if $allow_mark && $uid}>
<tr class="foot">
	<td colspan="2" class="type">
	<input type="submit" name="update_mark" value="<{$smarty.const._MD_XHNEWBB_UPDATE}>" />
	</td>
	<td colspan="5"></td>
</tr>
<{/if}>
</table>
</form>
<!-- end forum main table -->

<div class="bbsviewctrl">
	<div class="bbsjumpctrl"><{$forum_jumpbox}></div>
	<{$forum_pagenav}>
</div>

<hr class="notification" />
</div>
<{include file='db:system_notification_select.html'}>
<!-- end module contents -->
