<!--#include file="conn.asp"-->
<!--#include file="inc/cook2.asp"-->
<!--#include file="inc/dimflag.asp" -->
<!--#include file="top.asp"-->
<!--#include file="inc/htmlconfig.asp"-->

<div id="container">
<div class="top_but">
 <li class="left">&nbsp;</li>
 <li><a href="?action=html"><img src="images/but_10.gif" alt="生成页面" ></a></li>
 <li><img src="images/but_8.gif" alt="刷新" onClick="window.location.reload(true);"></li>
 <li><img src="images/but_9.gif" alt="打印" onClick="window.print() "/></li>
</div>
<div class="tableAll titlebgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:700px;">生成静态页面</li>
</div>

<%
select case action
case "html" 
%>
<div class="html titlebgcolor" style="padding-left:35px;">
<%
call Htmlcall()
%>
</div>
<%
end select
%>

</div>
<!--#include file="footer.asp"-->
<%
if action<>"" then
'新建文件夹
'set fso =server.CreateObject("Scripting.FileSystemObject")
'If Fso.folderExists(server.mappath(".."&HTMLname1_cn&""))=false Then
'Fso.Createfolder(server.mappath(".."&HTMLname1_cn&""))
'end if
'set fso =nothing

'生成首页
call htmll("","","index.html","index.asp","","","","","","")
if Const_webEn=1 then call htmll("","","index_en.html","index_en.asp","","","","","","") end if
if Const_webUtf=1 then call htmll("","","index_utf.html","index_utf.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((1/10)*200)&";bar_txt1.innerHTML=""成功生成首页。完成比例" & formatnumber(1/10*100) & """;</script>"
Response.Flush

'生成公司简介页面
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"aboutus.html","aboutus.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"aboutus.html","aboutus.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"aboutus.html","aboutus.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((2/10)*200)&";bar_txt1.innerHTML=""成功生成“公司简介”静态页面。完成比例：" & formatnumber(2/10*100) & """;</script>"
Response.Flush

'生成新闻列表
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"news.html","news.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"news.html","news.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"news.html","news.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((3/10)*200)&";bar_txt1.innerHTML=""成功生成“新闻列表”静态页面。完成比例：" & formatnumber(3/10*100) & """;</script>"
Response.Flush

'生成产品列表
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"products.html","products.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"products.html","products.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"products.html","products.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((4/10)*200)&";bar_txt1.innerHTML=""成功生成“产品列表”静态页面。完成比例：" & formatnumber(4/10*100) & """;</script>"
Response.Flush

'生成案例列表
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"case.html","case.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"case.html","case.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"case.html","case.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((5/10)*200)&";bar_txt1.innerHTML=""成功生成“案例列表”静态页面。完成比例：" & formatnumber(5/10*100) & """;</script>"
Response.Flush

'生成招聘页面
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"job.html","job.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"job.html","job.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"job.html","job.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((6/10)*200)&";bar_txt1.innerHTML=""成功生成招聘页面。完成比例" & formatnumber(6/10*100) & """;</script>"
Response.Flush
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"job_accept.html","job_accept.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"job_accept.html","job_accept.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"job_accept.html","job_accept.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((6/10)*200)&";bar_txt1.innerHTML=""成功生成招聘页面。完成比例" & formatnumber(6/10*100) & """;</script>"
Response.Flush

'生成订单页面
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"order.html","order.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"order.html","order.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"order.html","order.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((7/10)*200)&";bar_txt1.innerHTML=""成功生成订单页面。完成比例" & formatnumber(7/10*100) & """;</script>"
Response.Flush


'生成反馈页面
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"feedback.html","feedback.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"feedback.html","feedback.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"feedback.html","feedback.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((8/10)*200)&";bar_txt1.innerHTML=""成功生成客户反馈页面。完成比例" & formatnumber(8/10*100) & """;</script>"
Response.Flush

'生成下载页面
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"download.html","download.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"download.html","download.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"download.html","download.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((9/10)*200)&";bar_txt1.innerHTML=""成功生成客户下载页面。完成比例" & formatnumber(9/10*100) & """;</script>"
Response.Flush


'生成联系我们页面
call htmll(""&HTMLname1_cn&"",""&HTMLname2_cn&"",""&HTMLname3_cn&"contact.html","contact.asp","","","","","","")
if Const_webEn=1 then call htmll(""&HTMLname1_en&"",""&HTMLname2_en&"",""&HTMLname3_en&"contact.html","contact.asp","","","","","","") end if
if Const_webUtf=1 then call htmll(""&HTMLname1_utf&"",""&HTMLname2_utf&"",""&HTMLname3_utf&"contact.html","contact.asp","","","","","","") end if
Response.Write "<script>bar_img.width="&Fix((10/10)*200)&";bar_txt1.innerHTML=""成功生成“联系我们”静态页面。完成比例：" & formatnumber(10/10*100) & """;</script>"
Response.Flush



Response.Write "<script>bar_img.width=200;bar_txt1.innerHTML=""成功生成相关静态文件。完成比例：100"";</script>"
Response.End

end if
%>
