{assign var='sort' value=$smarty.request.sort}{assign var='order' value=$smarty.request.order}
<table cellspacing="0" class="menu-tab">
<tr>
	<td>{$W.sort}</td>
	<td nowrap="nowrap">{$W.name}<span>{if $sort=='name' and $order==''}{$W.asc_mark_current}{else}<a href="?{make_get_query sort=name order=''}">{$W.asc_mark}</a>{/if}{if $sort=='name' and $order=='desc'}{$W.desc_mark_current}{else}<a href="?{make_get_query sort=name order=desc}">{$W.desc_mark}</a>{/if}&nbsp;|&nbsp;</sapn</td>
	<td nowrap="nowrap">URL<span>{if $sort=='url' and $order==''}{$W.asc_mark_current}{else}<a href="?{make_get_query sort=url order=''}">{$W.asc_mark}</a>{/if}{if $sort=='url' and $order=='desc'}{$W.desc_mark_current}{else}<a href="?{make_get_query sort=url order=desc}">{$W.desc_mark}</a>{/if}&nbsp;|&nbsp;</sapn></td>
	<td nowrap="nowrap"><span>{if count($smarty.request)>0}<a href="./{if $q.action != 'index'}{$q.action}{/if}">{$W.reset}</a>{else}{$W.reset}{/if}</sapn></td>
</tr>
</table>