{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">アイテム<span>{if $sort=='items_id' and $order==''}{$W.asc_mark_current}{else}<a href="?{make_get_query sort=items_id order=''}">{$W.asc_mark}</a>{/if}{if $sort=='items_id' and $order=='desc'}{$W.desc_mark_current}{else}<a href="?{make_get_query sort=items_id order=desc}">{$W.desc_mark}</a>{/if}&nbsp;|&nbsp;</sapn></td>
	<td nowrap="nowrap">ユーザー<span>{if $sort=='user_id' and $order==''}{$W.asc_mark_current}{else}<a href="?{make_get_query sort=user_id order=''}">{$W.asc_mark}</a>{/if}{if $sort=='user_id' and $order=='desc'}{$W.desc_mark_current}{else}<a href="?{make_get_query sort=user_id order=desc}">{$W.desc_mark}</a>{/if}&nbsp;|&nbsp;</sapn></td>
	<td nowrap="nowrap">採点<span>{if $sort=='rate' and $order==''}{$W.asc_mark_current}{else}<a href="?{make_get_query sort=rate order=''}">{$W.asc_mark}</a>{/if}{if $sort=='rate' and $order=='desc'}{$W.desc_mark_current}{else}<a href="?{make_get_query sort=rate order=desc}">{$W.desc_mark}</a>{/if}&nbsp;|&nbsp;</sapn></td>
	<td nowrap="nowrap">更新日時<span>{if $sort=='update_datetime' and $order==''}{$W.asc_mark_current}{else}<a href="?{make_get_query sort=update_datetime order=''}">{$W.asc_mark}</a>{/if}{if $sort=='update_datetime' and $order=='desc'}▽{else}<a href="?{make_get_query sort=update_datetime order=desc}">{$W.desc_mark}</a>{/if}&nbsp;|&nbsp;</sapn></td>
	<td nowrap="nowrap"><span>{if count($smarty.request)>0}<a href="./{if $quicty.action != 'index'}{$quicty.action}{/if}">{$W.reset}</a>{else}{$W.reset}{/if}</sapn></td>
</tr>
</table>