<%@ Page Language="vb" AutoEventWireup="false" Inherits="b2bNet.Admin_MakeHtml" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="GENERATOR" content="Microsoft FrontPage 4.0" />
<meta name="ProgId" content="FrontPage.Editor.Document" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="inc/xml_http_lib.js"></script>
<script type="text/javascript">
function getMakeInfo()
{
    xmlHttp.open("GET", "Admin_ShowMakeInfo.aspx?rdtm=" + Math.random(), true);
    xmlHttp.send(null);
    xmlHttp.onreadystatechange = function()
    {
        if (xmlHttp.readyState == 4)
        {
            var sHtml = xmlHttp.responseText;
            document.getElementById("div_Preview").innerHTML = sHtml;
            
            setTimeout('getMakeInfo()',2000);
        }
    }
}
function WorkSubmit(action, send){
	form1.action="Admin_MakeHtml.aspx?" + action + "=" + send;
	form1.submit();
}
</script>
</head>
<body onload="getMakeInfo();">
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>网 站 静 态 页 面 生 成 情 况</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="tdbg"><div id="div_Preview" style="margin:10px"></div></td>
  </tr>
  <tr height="10px"><td></td></tr>
  <tr>
    <td align="center">
        <form method="post" name="form1">
            <input id="btnCancel" type="button" value="取消当前" title="取消当前生成任务。" style="width: 99px" onclick="WorkSubmit('cancel','false')" />
            <input id="btnCancelAll" type="button" value="取消所有" title="取消所有生成任务。" style="width: 99px" onclick="WorkSubmit('cancel','true')" />
            &nbsp;&nbsp;
            <input id="btnSuspend" type="button" value="暂停当前" title="暂停当前生成任务。" style="width: 99px" onclick="WorkSubmit('suspend','false')"  />
            <input id="btnSuspendAll" type="button" value="暂停所有" title="暂停所有生成任务。" style="width: 99px" onclick="WorkSubmit('suspend','true')"  />
            &nbsp;&nbsp;
            <input id="btnResume" type="button" value="继续执行" title="继续执行所有未完成的生成任务。" style="width: 99px" onclick="WorkSubmit('resume','true')"  />
        </form>
    </td>
  </tr>
  </table>
</body>
</html>
