{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==3}
{dr_lang('文件地址')}
{dr_lang('下载文件')}
{dr_lang('是')} {dr_lang('否')}
{dr_lang('当目标文件过大或者对方服务器拒绝下载时会导致下载失败')}
{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"}