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

{fun JZLANG('数据库备份名')} | {fun JZLANG('大小')} | {fun JZLANG('操作')}
--- | --- | ---
{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}