{template "header.html"} {$form}
{if $unused && $pp==0}
{php $tid=0;} {table cache=0 table=attachment_unused where=$list.unused IN_fileext=$fileext order=id_desc pagefile=admin page=1 pagesize=$psize urlrule=$urlrule} {template "api_upload_data.html"} {/table}
{elseif $pp==2 && $member.is_admin}
{else}
{dr_lang('搜索')}
{php $tid=1;} {table cache=0 table=attachment_data where=$list.used IN_fileext=$fileext order=id_desc pagefile=admin page=1 pagesize=$psize urlrule=$urlrule} {template "api_upload_data.html"} {/table}
{/if}
{$pages}
{template "footer.html"}