<!--#include file="tgzcm_Conn.asp"-->
<!--#include file="tgzcm_Check.asp"-->
<!--#include file="../tgzcm.Include/tgzcm.Lable.All.asp"-->
<style type="text/css">
<!--
body {background-color:#E4EDF9; line-height:20px; font-size:12px; color:#135294; padding:2px;}
-->
</style>
<%
tgzcmPath = left(tgzcmpath,instrrev(tgzcmpath, "/")-1)'获取安装目录
tgzcmPath = left(tgzcmpath,instrrev(tgzcmpath, "/"))'获取安装目录
If tgzcm(17)="html" then
    tgzcm_title=tgzcm(0)&"首页"
	Call tgzcm_Lable_Head(tgzcm_Lable_Html("../skin/"&tgzcm(12)&"/"&tgzcmId(21)&"tgzcm_Default.html"))
	Call tgzcm_Lable_List(moban)
	Call tgzcm_Lable_News(moban)
	Call tgzcm_Lable_Product(moban)
	Call tgzcm_Lable_All(moban)
	Call MakeHtml ("../index."&Htmlid(6)&"",moban) '生成文件
	Response.Write"生成<font color=#ff0000"">首页成功</font>！［<a href='javascript:history.go(-1)'>返回</a>］"
Else
    Response.Write"网站以<font color=#ff0000"">ASP或伪静态</font>模式运行，不需要生成！<br>如果需要生成首页，请到网站基本配置里设置为Html模式！［<a href='javascript:history.go(-1)'>返回</a>］"
End If
%>