{include="style"}
{if(checkAction('Index/backup'))}
{/if} 共有：{fun count($lists)} 个备份

数据库备份名 | 大小 | 操作
--- | --- | ---
{foreach $lists as $v}
{$v} {php $filename_arr = explode('.php',$v); $filename = $filename_arr[0]; $dir = APP_PATH.'backup'; $filesize = filesize($dir.'/'.$filename.'.php'); for($i=1;file_exists($dir.'/'.$filename.'_v'.$i.'.php')===true;$i++){ $filesize+=filesize($dir.'/'.$filename.'_v'.$i.'.php'); } $filesize = round($filesize/1024,2).'KB'; /} | {$filesize} | {if(strpos($v,'_v')!==false)} {else} {if(checkAction('Index/huanyuan'))} {/if} {if(checkAction('Index/shanchu'))} {/if} {/if}
{/foreach}