<!--#include file="tgzcm_Conn.asp"-->
<!--#include file="tgzcm_Check.asp"-->
<!--#include file="../tgzcm.Cache/tgzcm.Admin.asp"-->
<%
Dim action,i,config,html,beiyong,j
action=Trim(Request.QueryString("action"))

If action="add" then
	Call config_add
Else
	Call config_main
End If

Sub config_add
	config=""'初始化变量
	For i=0 to 29
	tgzcmId(i)=Trim(Request.Form("tgzcmId("&i&")"))
	config=config&"tgzcmId("&i&")="""&tgzcmId(i)&""""&vbcrlf
	Next
	For J=30 to 30
	beiyong=beiyong&"tgzcmId("&j&")="""""&vbcrlf
	Next
	html="<%"&vbcrlf
	html=html&"Dim tgzcmId(30)"&vbcrlf
	html=html&config&beiyong
	html=html&"%"&">"
	Call MakeHtml("../tgzcm.Cache/tgzcm.Admin.asp",html)'生成配置文件
	response.redirect"?"
End Sub
Sub config_main
%><html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<TITLE>管理页面</TITLE>
<link href="skins/css/tgzcm_main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="form1" method="post" action="?action=add">
<tr> 
<th colspan=5 style="text-align:center;"><strong>网站个性参数配置</strong></th>
</tr>
<tr >

<tr >


</tr>
<tr >

</tr>
<tr >
<td width="150" class="td2" style="text-align:right; border-bottom:1px solid #FFFFFF">网站备案信息：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="tgzcmId(14)" type="text" style="width:150px; text-align:left;" value="<%=tgzcmId(14)%>"></td>
</tr>
<tr >
<td width="150" class="td2" style="text-align:right; border-bottom:1px solid #FFFFFF">模板存放路径：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="tgzcmId(21)" type="text" style="width:150px; text-align:left;" value="<%=tgzcmId(21)%>"> 如:模板文件存放在skin/skin_12/Template/这里只需要填写<font color="#FF0000">Template/</font> 直接放在skin/skin12/下面则请留空</td>
</tr>
<tr >

</tr>
<tr >


</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >
<td width="150" class="td2" style="text-align:right; border-bottom:1px solid #FFFFFF">会员成功推广积分设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="tgzcmId(16)" type="text" style="width:70px; text-align:left;" value="<%=tgzcmId(16)%>"> 
推广成功注册会员赠送积分 <span class="addnew">必须为数字</span></td>
</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>

<tr >
<td width="150" class="td2" style="text-align:right; border-bottom:1px solid #FFFFFF">AspJpeg组件设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="tgzcmId(20)" type="text" style="width:70px; text-align:left;" value="<%=tgzcmId(20)%>"> 0为关闭/1为开启 <font color="#FF0000">注意：只有当你的空间服务器支持AspJpeg组件时开启！</font></td>
</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr >

</tr>
<tr> 
<th colspan=5 style="text-align:center; height:40px;"><input type="submit" value="确认更新" /></th>
</tr>
</form>
</table>
</body>
</html><%end Sub%>