<!--
<?php
echo <<<EOT
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{$kuWebsiteTitle}</title>
<link href="{$adminHttpCssPath}admin.css" rel="stylesheet" type="text/css">
<script type="text/javaScript" src="{$adminHttpJsPath}jquery.js"></script>
</head>

<body>
<table width="100%" border="0" background="#EEEEEE">
<tr><td colspan="3" height="10">&nbsp;</td></tr>
<tr>
<td width="1%">
</td>
<td width="98%">
  <table width="100%" bgcolor="#F4FAFB" style="border:1px solid #99d3fb">
    <tr height="30" style="padding:3px 10px;">
      <td width="40%" align="left" height="40"><span style="font-size:16px; font-weight:bold">&nbsp;&nbsp;{$labelAdminWebsiteBackup}</span></td>
      <td width="40%" align="right">&nbsp;&nbsp;</td>
    </tr>
  </table>

<form name='formSort' enctype="multipart/form-data" action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=delete" method="post">
<table width="100%" bgcolor="#FFFFFF" class="tableList" cellpadding="1" cellspacing="1" >
  <tr><td colspan="5"><span style="font-size:15px;">{$labelAdminWebsiteBackupWebsite}</span><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=zipwebsite" style="color:#F00; font-weight:bold; margin:0px 0px 0px 10px;">{$labelAdminWebsiteBackupOneKey}</a></td></tr>
  <tr>
    <td width="10%" align="center" height="25"><a href="###" onclick="javascript:$('input[type=checkbox]').attr('checked', true)">{$labelAdminDatebaseSelectAll}</a>/<a href="###" onclick="javascript:$('input[type=checkbox]').attr('checked', false)">{$labelAdminDatebaseCancle}<a></td>
    <td width="40%" align="center">{$labelAdminDatebaseFileName}</td>
    <td width="15%" align="center">{$labelAdminDatebaseFileSize}</td>
    <td width="15%" align="center">{$labelAdminDatebaseRestoreTime}</td>
    <td width="20%" align="center">{$labelModelCommonManageOperate}</td>
  </tr>
<!--
EOT;
if(is_array($infoWebsite))
{
  foreach($infoWebsite as $id=>$info)
  {
    $id++;
  
echo <<<EOT
-->
  <tr>
    <td align="center"><input type="checkbox" name="filenames[]" value="{$info['fileName']}" /></td>
    <td align="center">{$info['fileName']}</td>
    <td align="center">{$info['fileSize']} KB</td>
    <td align="center">{$info['makeTime']}</td>
    <td align="center"><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=filedown&filename={$info['fileName']}">{$labelAdminDatebaseRestoreDownloadButtom}</a> | <a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=delete&filename={$info['fileName']}">{$labelCommonDelete}</a></td>
  </tr>
<!--
EOT;
  }
}//end of for
echo <<<EOT
-->
<tr><td colspan="5" align="left"><input type="submit" name="submitDelete" value="{$labelModelCommonManageDeleteAll}" class="button" onclick="return confirm('{$promptConfirmDelete}')"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$labelAdminWebsiteBackupWebsiteTips}</td></tr>
</table>
</form>
  <br /><br />

<form name='formUpload' enctype="multipart/form-data" action="path=system&menu=zipwebsite&action=delete" method="post">
<table width="100%" bgcolor="#FFFFFF" class="tableList" cellpadding="1" cellspacing="1" >
  <tr><td colspan="5"><span style="font-size:15px;">{$labelAdminWebsiteBackupUpload}</span><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=zipupload" style="color:#F00; font-weight:bold; margin:0px 0px 0px 10px;">{$labelAdminWebsiteBackupUploadBtn}</a></td></tr>
  <tr>
    <td width="10%" align="center" height="25"><a href="###" onclick="javascript:$('input[type=checkbox]').attr('checked', true)">{$labelAdminDatebaseSelectAll}</a>/<a href="###" onclick="javascript:$('input[type=checkbox]').attr('checked', false)">{$labelAdminDatebaseCancle}<a></td>
    <td width="40%" align="center">{$labelAdminDatebaseFileName}</td>
    <td width="15%" align="center">{$labelAdminDatebaseFileSize}</td>
    <td width="15%" align="center">{$labelAdminDatebaseRestoreTime}</td>
    <td width="20%" align="center">{$labelModelCommonManageOperate}</td>
  </tr>
<!--
EOT;
if(is_array($infoUpload))
{
  foreach($infoUpload as $id=>$info)
  {
    $id++;
  
echo <<<EOT
-->
  <tr>
    <td align="center"><input type="checkbox" name="filenames[]" value="{$info['fileName']}" /></td>
    <td align="center">{$info['fileName']}</td>
    <td align="center">{$info['fileSize']} KB</td>
    <td align="center">{$info['makeTime']}</td>
    <td align="center"><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=filedown&filename={$info['fileName']}">{$labelAdminDatebaseRestoreDownloadButtom}</a> | <a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=zipwebsite&action=delete&filename={$info['fileName']}">{$labelCommonDelete}</a></td>
  </tr>
<!--
EOT;
  }
}//end of for
echo <<<EOT
-->
<tr><td colspan="5" align="left"><input type="submit" name="submitDelete" value="{$labelModelCommonManageDeleteAll}" class="button" onclick="return confirm('{$promptConfirmDelete}')"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$labelAdminWebsiteBackupUploadTips}</td></tr>
</table>
</form>
  <br />

  <table width="100%" bgcolor="#F4FAFB">
    <tr height="40" style="padding:3px 10px;">
      <td align="center" valign="middle">
        <font style="color:#9DACAF">
EOT;
include_once($adminTemplatePath.'/footer.html');
echo <<<EOT
        </font>
      </td>
    </tr>
  </table>

</td>
<td width="1%">
</td>
</tr>
<tr><td colspan="3" height="10">&nbsp;</td></tr>
</table>

EOT;
echo <<<EOT
</body>
</html>

<!--
EOT;
?>
-->