<div class="forumBodyWrap">
	<div class="forumTitle">{%TITLE%}<div style="float:right">{%NEW_TOPIC%}</div></div>
	[moder]<form id="tablesForm" method="post" action="board/do">[/moder]
	<table class="forum" style="width:100%; border: 0; border-spacing: 1px; border-collapse: separate;">
		<tbody>
			[noempty]
			<tr>
				<th colspan="3" style="width:68%;">Название темы</th>
				<th style="width:6%; text-align:center;">Ответов</th>
				<th style="width:6%; text-align:center;">Автор</th>
				<th style="width:7%; text-align:center;">Просмотров</th>
				<th style="width:35%;">Последнее</th>
				[moder]<th style="width:1%;"><label>
                        <input type="checkbox" name="all" onclick="setCheckboxes('tablesForm', true); return false;">
                    </label></th>[/moder]
			</tr>			
			[important]<tr class="thTitle"><td class="thTitle" colspan="8" style="text-align:left;">Важные темы</td></tr>[/important]
			{%TOPIC_IMPORTANT%}		
			[last]<tr class="thTitle"><td class="thTitle" colspan="8" style="text-align:left;">Последние темы</td></tr>[/last]
			{%TOPIC_LAST%}
			<tr class="thNOanim"><td class="thNOanim" colspan="8">
				[search]
				[admin]
				<div style="float:left">
						<input type="hidden" name="tid" value="2">
						Админу: <label>
						<select name="deiv">
							<option value="close_forum">Закрыть форум</option>
							<option value="open_forum">Открыть форум</option>
						</select>
					</label>
					<input type="submit" value="Сделать">
					
					</div>
				[/admin]
				[/search]
				[nomoder]
				<div style="float:right">
							<form method="post" name="forumSearch" action="board/search">
								<input type="hidden" name="tid" value="{%ID%}"/>
                                <label>
                                    <input type="text" name="query" value="{%QUERY%}" />
                                </label>
                                <input type="submit" value="Искать" />
							</form>
						</div>
				[/nomoder]
				[search]
				[moder]
					<div style="float:right">
						<input type="hidden" name="fid" value="{%T_ID%}">
						<label>
							<select name="deiv">
								<option value="important">Важная</option>
								<option value="noimportant">Обычная</option>
								<option value="close">Закрытая тема</option>
								<option value="open">Открыть</option>
								<option value="delete">Удалить</option>
							</select>
						</label>
						<input type="submit" value="Поехали">
					</div>
				[/moder]
				[/search]
				</td></tr>
			[/noempty]
			[empty]<tr class="thNOanim"><td colspan="8" class="thNOanim" style="text-align:center;"><strong>{%MASSAGE%}</strong></td></tr>[/empty]
			</tbody>
		</table>
[moder]</form>[/moder]
</div>
<br />