{%LADDER%}
<div class="forumBodyWrap">
    <div class="forumTitle">
        <div style="float:left">
            [important]
            <strong style="text-align:center">Важные темы</strong>
            [/important]
            [last]
            <strong style="text-align:center">Последние темы</strong>
            [/last]
        </div>
        [user]
        <div style="float:right">
            <a href="board/newTopic/{%T_ID%}"><img alt="" src="media/board/buttons/newtopic.png" colspan="1" style="border:0;"/></a>
        </div>
        [/user]
        <br style="clear:both"/>
    </div>
    [moder]
    <form id="tablesForm" method="post" action="board/do">
        [/moder]
        <table class="forum" width="200" border="1" align="center" cellpadding="4" cellspacing="1">
            <tbody>
            [noempty]
            <tr style="height: 20px;" align="right">
                <th width="1%" style="text-align:center" align="center">Статус</th>
                <th width="5%" style="text-align:center" class="center hidden-xs" align="center">Иконка</th>
                <th width="50%" style="text-align:center">Тема</th>
                <th width="10%" style="text-align:center" align="center" class="hidden-xs" title="Автор"><span class="fa fa-user fa-lg"></span></th>
                <th width="1%" style="text-align:center" align="center" class="hidden-xs" title="Ответов"><span class="fa fa-comments fa-lg"></span></th>
                <th width="1%" style="text-align:center" align="center" class="hidden-xs" title="Просмотров"><span class="fa fa-eye fa-lg"></span></th>
                <th width="50%" style="text-align:center">Последнее</th>
                [moder]
                <th width="1%" style="text-align:center">
                    <label>
                        <input type="checkbox" name="all" onclick="setCheckboxes('tablesForm', true); return false;">
                    </label>
                </th>
                [/moder]
            </tr>
            [important]{%TOPIC_IMPORTANT%}[/important]
            [last]{%TOPIC_LAST%}[/last]
            <br/>
            <tr class="thNOanim">
                <td class="thNOanim" colspan="8">
                    [search]
                    [admin]
                    <div style="float:left">
                        <form method="post" action="board/admin">
                            <div class="padding">
                                Админу: <input type="hidden" name="fid" value="">
                                <label>
                                    <select class="fiels select" name="deiv">
                                        <option value="close_forum">Закрыть форум</option>
                                        <option value="open_forum">Открыть форум</option>
                                    </select>
                                </label>
                            </div>
                            <div class="padding">
                                <input type="submit" class="hbutton" value="Выполнить">
                            </div>
                        </form>
                    </div>
                    [/admin]
                    [/search]
                    [nomoder]
                    <div style="float:right">
                        <form method="post" name="forumSearch" action="board/search">
                            <div class="padding">
                                <input type="hidden" name="tid" value="{%ID%}"/>
                                <label>
                                    <input type="text" name="query" value="{%QUERY%}"/>
                                </label>
                            </div>
                            <div class="padding">
                                <input type="submit" value="Искать"/>
                            </div>
                        </form>
                    </div>
                    [/nomoder]
                    [search]
                    [moder]
                    <div style="float:right">
                        <input type="hidden" name="fid" value="{%T_ID%}">
                        <label>
                            <select class="fiels 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>
                        <div class="padding">
                            <input type="submit" class="submit" value="Поехали"/>
                        </div>
                    </div>
                    [/moder]
                    [/search]
                </td>
            </tr>
            [/noempty]
            [empty]
            <tr class="thNOanim">
                <td colspan="8" align="center" class="thNOanim one-col"><strong>{%MASSAGE%}</strong></td>
            </tr>
            [/empty]
            </tbody>
        </table>
        [moder]
    </form>
    [/moder]
</div>
<br/>