{foreach $update_files as $v=>$files}

Version {$v}   The files will backup to {$backup_dir}/{$update_time[$v]}

{if $files}
Update files
{foreach $files as $f} {$f}
{/foreach}
{/if} {if $update_sqls[$v]}
Database updates
{$update_sqls[$v]}
{/if}
{/foreach}
Upgrade Now