{if $type=='image'}
{loop $files $file} {if $file['is_dir']} {if $file['filename'] == '..'} {if empty($_GPC['path']) || ($_GPC['path'] == 'images/'.$_W['uniacid']) || !empty($option['global'])} {else}
{$file['filename']}
{/if} {else}
{$file['filename']}
{/if} {else}
{$file['filename']} {if empty($option['global']) || (!empty($option['global']) && $_W['isfounder'])} × {/if}
{/if} {/loop}
{else}
{loop $files $file} {if $file['is_dir']} {if $file['filename'] == '..'}
{else}
{/if} {$file['filename']}
{else}
{$file['filename']} ×
{/if} {/loop}
{/if}