View file mch-lib/templates/mch-classic-dark/user/block_select.tpl

File size: 1.22Kb
<form action="?id={$id}" method="POST">
{if $all > 0}
<div class="ptext">
<small>К странице:</small> <br />
	<input type="text" name="do_my_page" size="4" class="q">
	<input type="submit" value="Go" class="q">
</div>
{/if}
<div class="ptext2">
<small>
Статей:
{if $ctp == 10}
[10]
{else}
[<a href="?id={$id}&tpuser=10">10</a>]
{/if}
{if $ctp == 20}
[20]
{else}
[<a href="?id={$id}&tpuser=20">20</a>]
{/if}
{if $ctp == 30}
[30]
{else}
[<a href="?id={$id}&tpuser=30">30</a>]
{/if}
{if $ctp == 40}
[40]
{else}
[<a href="?id={$id}&tpuser=40">40</a>]
{/if}
{if $ctp == 50}
[50]
{else}
[<a href="?id={$id}&tpuser=50">50</a>]
{/if}
<br />
Сортировка:
{if $csort == "date DESC"}
[Дата]
{else}
[<a href="?id={$id}&tsort=1">Дата</a>]
{/if}
{if $csort == "name ASC"}
[Имя]
{else}
[<a href="?id={$id}&tsort=2">Имя</a>]
{/if}
</small>
</div>
</form>
{if $is_tema}
<div class="f">
<form action="?id={$id}" method="POST">
<small>
Тема оформления: <br />
  <select size="1" name="user_theme" class="q">
  {section name=t loop=$themes}
    <option {$sel[t]} value="{$names[t]}">{$themes[t]}</option>
  {/section}
   </select>
   <input type="submit" value="Сменить" class="q">
</small>
</form>
</div>
{/if}