{template "header.html"}
{$form}
{if $unused && $pp==0}
{table table=attachment_unused where=$list.unused IN_fileext=$fileext order=id_desc pagefile=admin page=1 pagesize=$psize urlrule=$urlrule}
{dr_file_list_preview_html($t)}
{/table}
{else}
{dr_lang('搜索')}
{table table=attachment_data where=$list.used IN_fileext=$fileext order=id_desc pagefile=admin page=1 pagesize=$psize urlrule=$urlrule}
{dr_file_list_preview_html($t)}
{/table}
{/if}
{$pages}
{template "footer.html"}