<?php
defined('IN_BKUP') or exit('Access Denied');
include template('header');
?>
<form method="post" name="myform" action="?action=<?php echo $action; ?>">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce" onmouseover="changeto()"  onmouseout="changeback()">
      <tr>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10"><input name='chkall' type='checkbox' id='chkall' onclick='checkall(this.form)' value='check' checked>全选/反选 </span></div></td>
        <td width="16%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">数据表</span></div></td>
        <td width="18%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">记录条数</span></div></td>
        <td width="21%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">大小[共<?php echo $totalsize; ?>M]</span></div></td>
      </tr>
<?php 
if(is_array($bktables)){
	foreach($bktables as $k => $tablename){
?>
      <tr>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">
<input type="checkbox" name="tables[]" value="<?php echo $tablename; ?>" checked>
        </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><?php echo $tablename; ?></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><?php echo $bkresults[$k]; ?></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><?php echo $size[$k]; ?> M</div></td>
      </tr>
<?php 
	}
}
?>
    </table><br/>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
      <tr>
        <td height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">分卷备份设置</span></div></td>
      </tr>
      <tr>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">每个分卷文件大小：<input name="sizelimit" type="hidden" value="2048"><input name="g" type="text" disabled="disabled" value="2048" size="5" readonly="readonly"> 
        K <input style="width:130px; height:22px; border:1px solid #CCC; background:#FFF; padding-top:3px;" type="submit" name="dosubmit" value=" 开始备份数据 "></div></td>
      </tr>
</table></form></td>
  </tr>
  <tr>
    <td height="30">&nbsp;</td>
</tr>
</table>
</body>
</html>
