{template "header.html"}

{dr_lang('物理目录')}：{$dir}

{dr_lang('访问地址')}：{$url}

{loop $breadcrumb $c}
- {if $c.path != $rel} {$c.name} {else} {$c.name} {/if}
{if $c.path != $rel}
- /
{/if} {/loop}

{if $ci->_is_admin_auth('edit')}
{dr_form_hidden()} {/if}
{if $ci->_is_admin_auth('edit')} {dr_form_hidden(['path' => $rel])} {dr_lang('上传')}
{/if} {if $ci->_is_admin_auth('del')}
{/if}
{if $ci->_is_admin_auth('edit')}
{/if}
{dr_form_hidden()}

| {dr_lang('名称')} | {dr_lang('类型')} | {dr_lang('大小')} | {dr_lang('修改时间')}
--- | --- | --- | --- | ---
{if $rel}
| ..
{/if} {loop $dirs $t}
| {$t.name} | {dr_lang('文件夹')} | {dr_lang('点击计算')} | {dr_date($t.mtime, null, 'red')}
{/loop} {loop $files $t}
| {if $t.is_image} {$t.name} {elseif $t.is_mp4} {$t.name} {else} {$t.name} {/if} {if $ci->_is_admin_auth('edit')} {dr_lang('重传')} {/if} | {if $t.ext}{$t.ext}{else}{dr_lang('文件')}{/if} | {dr_format_file_size($t.size)} | {dr_date($t.mtime, null, 'red')}
{/loop} {if !$dirs && !$files && !$rel}
{dr_lang('暂无文件')}
{elseif !$dirs && !$files}
{dr_lang('当前文件夹为空')}
{/if}

{dr_form_hidden(['path' => $rel])}
{if $dirs}
{/if} {template "footer.html"}