<!--#include file="../../p_inc/Include_func.asp"-->
<!--#include file="../inc/classDbPager.asp"-->
<!--#include file="../inc/public.asp"-->
<!--#include file="../inc/openconn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网站信息设置</title>
<LINK href="../css/style.css" rel=stylesheet type=text/css>
<style type="text/css">
<!--
.bg66{ color:#666666}

-->
</style>

</head>
<body>
<%


If request.Cookies(Sky_Admin_Cookies_1)("admin_u")="" or request.Cookies(Sky_Admin_Cookies_1)("admin_p")="" or request.Cookies(Sky_Admin_Cookies_1)("admin_m")="" Then
	response.Redirect(Add_Root_Dir("/"&G_ADMIN&"/login.asp"))
	response.End()
End IF
response.Cookies("58119.com")=""
If request("action")="" Then
Function Basic_1()
	IF G_IS_SQL_User_DB="1" Then
		Basic_1="(<font color=""#FF0000"">必改</font>)"
	Else
		Basic_1=""
	End IF
End Function

Function Basic_2()
	IF G_IS_SQL_User_DB="1" Then
		Basic_2="style=""color:#FF0000"""
	Else
		Basic_2=""
	End IF
End Function

Function ReadAllTextFile(filespec)
	Dim fso, f
	Set fso = CreateObject(G_FSO)
	Set f = fso.OpenTextFile(server.MapPath(filespec), 1)	
	if Not f.AtEndOfStream then
		ReadAllTextFile = f.ReadAll
	else
		ReadAllTextFile = ""
	end if
	Set f=nothing
	Set fso=nothing
End Function

Function Ghelp(v)
	Ghelp="<a href='"&v&"' target=_blank><img src='../images/help.gif' border=0 alt='查看帮助'></a>"
End Function
Function req(v)
	req=""""&request.Form(v)&""""
End Function
%>
<script src="../js/basicjs.js"></script>
<form action="admin_setting.asp?action=save" method="post" name="form">
<TABLE width="98%" border=0 align=center cellPadding=3 cellSpacing=1 class=tableBorder>
  <TBODY>
  <TR>
    <TH width="38%" height=25 class=tableHeaderText onClick="st('b_id_0')">网站整体定位模式 <span style="cursor:pointer" id="b_id_0_c">[收缩]</span></TH>
	<TH width="62%" height=25 class=tableHeaderText></TH>
  </TR>
  <tr><td colspan="2" id="b_id_0">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站整体定位</u></strong><br>
			  系统自带双用功能，纯导航模式和导航+流量交互模式</td>
				<td width="62%" class="forumRowHighlight">
				<input type="radio" name="G_All_moshi" value="" <%IF G_All_moshi="" Then Response.Write "checked"%> onClick="$('G_All_moshi_table').style.display='none'">纯导航模式
				<input type="radio" name="G_All_moshi" value="1" <%IF G_All_moshi="1" Then Response.Write "checked"%> onClick="$('G_All_moshi_table').style.display=''">流量交互+导航模式
				</td>
			</tr>	
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" id="G_All_moshi_table" <%IF G_All_moshi="" Then Response.Write "style='display:none'"%>>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>用户Cookies名</u></strong><br>
			  只能是英文数字，不能为空，比如：my58119mylove</td>
				<td width="62%" class="forumRowHighlight">
				<input name="hxCacheName" value="<%=hxCacheName%>" size="45">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>流量返还比例</u></strong><br>
			  比如1.1等</td>
				<td width="62%" class="forumRowHighlight">
				<input name="maxReBack" value="<%=maxReBack%>" size="45">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>前台首页自动更新时间</u></strong><br>
			  单位是秒，请不要设置的太小，比如300，即5分钟为合适</td>
				<td width="62%" class="forumRowHighlight">
				<input name="hxtime" value="<%=hxtime%>" size="45">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>前台用户注册是否需要后台审核</u></strong><br>
			  默认是不需要审核</td>
				<td width="62%" class="forumRowHighlight">
				<select name="hxLook">
					<option value="1" <%IF hxLook="1" Then Response.Write "Selected"%>>不需要审核</option>
					<option value="0" <%IF hxLook="0" Then Response.Write "Selected"%>>需要审核</option>
				</select>	
				</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>用户点入是否自动收录</u></strong><br>
			  默认是需要审核</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_All_InAuto">
					<option value="1" <%IF G_All_InAuto="1" Then Response.Write "Selected"%>>自动收录</option>
					<option value="0" <%IF G_All_InAuto="0" Then Response.Write "Selected"%>>不自动收录</option>
				</select>	
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>用户点入超过几个自动审核</u></strong><br>
			  如果不想自动审核，请把他设置为10000，最大10000</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_all_InNumb" value="<%=G_all_InNumb%>" size="45"> 最大10000
				</td>
			</tr>					
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>核心网址库是否导入流量网址库</u></strong><br>
			  建议不要导入，没什么必要</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_All_dhList_f">
					<option value="1" <%IF G_All_dhList_f="1" Then Response.Write "Selected"%>>自动导入</option>
					<option value="" <%IF G_All_dhList_f="" Then Response.Write "Selected"%>>不导入</option>
				</select>	
				</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分操作--用户点入一次增加多少</u></strong><br>
			  默认是空，为不增加</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_lailu" value="<%=G_jifen_lailu%>" size="45"> 建议为2，点入一次增加2个积分
				</td>
			</tr>	
			<%IF G_jifen_dianchu_a="1" Then%>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分操作--用户点出一次增加多少</u></strong><br>
			  默认是空，为不增加</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_lailu_out" value="<%=G_jifen_lailu_out%>" size="45"> 建议为1，点出一次增加1个积分
				</td>
			</tr>		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分操作--用户点出网站积分增加时间间隔</u></strong><br>
			  默认是30秒，一次与一次之间有30秒的间隔</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_timer_lailu" value="<%=G_jifen_timer_lailu%>" size="45"> 单位是 秒
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分操作--用户点出积分扣掉百分的比例</u></strong><br>
			  写数字，默认是0，就是不扣量</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_jifen_bili_lailu" value="<%=G_jifen_jifen_bili_lailu%>" size="45"> 值介与0-100之间
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分操作--用户点出24小时内最多点出多少次</u></strong><br>
			  写数字，默认是5，超过5次就不计费</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_jifen_numbs_lailu" value="<%=G_jifen_jifen_numbs_lailu%>" size="45"> 
				</td>
			</tr>							
			<%End IF%>																			
		</table>		
	</td>
  </tr>    
  <TR>
    <TH width="38%" height=25 class=tableHeaderText onClick="st('b_id_1')">网站数据库设置 <span style="cursor:pointer" id="b_id_1_c">[收缩]</span></TH>
	<TH width="62%" height=25 class=tableHeaderText></TH>
  </TR>
  <tr><td colspan="2" id="b_id_1">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站放置的目录</u></strong><br>
			  后面不能带/,如网站是放在/movie目下的话，那就写movie，此项需要自己用FTP修改p_inc/config.asp文件</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_VIRTUAL_ROOT_DIR" value="<%=G_VIRTUAL_ROOT_DIR%>" size="45" readonly="">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>数据库目录</u></strong><br>
			  主数据库,请注意不要加虚拟目录,否则无法正常运行,修改后，用FTP修改所对应的文件名</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_CONN_STR" value="<%=G_CONN_STR%>" size="45" readonly=""> <%=Ghelp("http://bbs.58119.com")%></td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>数据库类型</u></strong><br>
			  1:SQL,0:ACCESS</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_IS_SQL_User_DB" value="<%=G_IS_SQL_User_DB%>" size="45" >		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>数据库IP<%=Basic_1()%></u></strong><br>
			 如：60.111.11.69  本地的话可以写成(local)或127.0.0.1</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_SQL_IP" value="<%=G_SQL_IP%>" size="45" <%=Basic_2()%> readonly="">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>数据库名称<%=Basic_1()%></u></strong><br>
			 请输入您导入的数据库名称，默认是58119_db</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_SQL_DATA" value="<%=G_SQL_DATA%>" size="45" <%=Basic_2()%> readonly="" >		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>数据库用户名<%=Basic_1()%></u></strong><br>
			 一般来说SQL默认用户是sa ,拥有最高权限</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_SQL_USER" value="<%=G_SQL_USER%>" size="45" <%=Basic_2()%> readonly="">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>数据库密码<%=Basic_1()%></u></strong><br>
			 一般来说SQL默认密码是空，即不填</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_SQL_PASS" value="<%=G_SQL_PASS%>" size="45" <%=Basic_2()%> readonly="">		</td>
			</tr>	
		</table>
	</td>
  </tr>
<TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_2')">QQ登陆接口信息设置 <span style="cursor:pointer" id="b_id_2_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"><font color="#FF0000">[必改]</font></TH>
	</tr>
  <tr><td colspan="2" id="b_id_2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>QQ登陆接口的APP ID:(<font color="#FF0000">必改</font>)</u></strong><br>
			  如果没有请到http://connect.qq.com/申请....</td>
				<td width="62%" class="forumRowHighlight">
				<input name="appid" value="<%=appid%>" size="45" style="color:#FF0000">		</td>
			</tr>		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>登陆接口的KEY：(<font color="#FF0000">必改</font>)</u></strong><br>
			  如果没有请到http://connect.qq.com/申请.....</td>
				<td width="62%" class="forumRowHighlight">
				<input name="appkey" value="<%=appkey%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>登陆成功的回调地址：(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站完整URL，请一定要在最后面加/qqlogin/returnAct.asp</td>
				<td width="62%" class="forumRowHighlight">
				<input name="callback" value="<%=callback%>" size="45" style="color:#FF0000">		</td>
			</tr>			
		</table>
	   </td>
	</tr>
  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_2')">网站功能设置 <span style="cursor:pointer" id="b_id_2_c">[收缩]</span></TH>
	</tr>

  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_2')">网站基本信息设置 <span style="cursor:pointer" id="b_id_2_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"><font color="#FF0000">[必改]</font></TH>
	</tr>
  <tr><td colspan="2" id="b_id_2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站首页标题(<font color="#FF0000">必改</font>)</u></strong><br>
			  如果不填写将调用 网站名称</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_WEBTITLE" value="<%=G_WEBTITLE%>" size="45" style="color:#FF0000">		</td>
			</tr>		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站名称(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站名称</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_WEBNAME" value="<%=G_WEBNAME%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站完整URL(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站完整URL，请一定要在最后面加/,否则静态页面无法生成</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_WEBURL" value="<%=G_WEBURL%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站的省略域名(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站的省略域名</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_WEBURL_2" value="<%=G_WEBURL_2%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站的客服QQ(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站的客服QQ</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_QQ" value="<%=G_QQ%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站的客服电话(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站的客服电话</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_TEL" value="<%=G_TEL%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站email(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站email</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_EMAIL" value="<%=G_EMAIL%>" size="45" style="color:#FF0000">		</td>
			</tr>	
		<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站备案信息(<font color="#FF0000">必改</font>)</u></strong><br>
			  网站备案信息,没有请填写"正在备案中"</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_BEIAN" value="<%=G_BEIAN%>" size="45" style="color:#FF0000">		</td>
			</tr>	
			
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站关键词</u></strong><br>
			  网站关键词,这里自己要填写好，搜索引擎推广的时候比较有用</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_KEY" value="<%=G_KEY%>" size="45">		</td>
			</tr>		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站描述</u></strong><br>
			  网站描述</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_DIE" value="<%=G_DIE%>" size="45">		</td>
			</tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>生成验证文件名</u></strong><br>
			  只能有数据和字母组成，最好复杂点，比如:my58119mylove</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_union_my" value="<%=G_union_my%>" size="45">		
			</td>
			</tr>			
		</table>
	   </td>
	</tr>
<TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_2')">首页滚动公告设置 <span style="cursor:pointer" id="b_id_2_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"><font color="#FF0000">&nbsp;</font></TH>
	</tr>
  <tr><td colspan="2" id="b_id_2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">	
			<TR>
			<td width="10%" height=23 class="forumRowHighlight"><br><strong><U>第一条公告信息设置</u></strong><br></td>
				
<td width="30%" class="forumRowHighlight">公告连接地址：（必须以http://开头）<br>
				<input name="G_gg1_url" value="<%=G_gg1_url%>" size="45">		</td>
<td width="40%" class="forumRowHighlight">公告标题内容：（不要过长要不会影响前台美观及CSS错位）<br>
				<input name="G_gg1_name" value="<%=G_gg1_name%>" size="80">		</td>
<td width="30%" class="forumRowHighlight">公告标题颜色：（如#FF0000）<br>
				<input name="G_gg1_color" value="<%=G_gg1_color%>" size="10">		</td>
			</tr>		
			<td width="10%" height=23 class="forumRowHighlight"><strong><U>第二条公告信息设置</u></strong><br></td>
				
<td width="30%" class="forumRowHighlight">
				<input name="G_gg2_url" value="<%=G_gg2_url%>" size="45">		</td>
<td width="40%" class="forumRowHighlight">
				<input name="G_gg2_name" value="<%=G_gg2_name%>" size="80">		</td>
<td width="30%" class="forumRowHighlight">
				<input name="G_gg2_color" value="<%=G_gg2_color%>" size="10">		</td>
			</tr>	
			<td width="10%" height=23 class="forumRowHighlight"><strong><U>第三条公告信息设置</u></strong><br></td>
				
<td width="30%" class="forumRowHighlight">
				<input name="G_gg3_url" value="<%=G_gg3_url%>" size="45">		</td>
<td width="40%" class="forumRowHighlight">
				<input name="G_gg3_name" value="<%=G_gg3_name%>" size="80">		</td>
<td width="30%" class="forumRowHighlight">
				<input name="G_gg3_color" value="<%=G_gg3_color%>" size="10">		</td>
			</tr>	
			<td width="10%" height=23 class="forumRowHighlight"><strong><U>第四条公告信息设置</u></strong><br></td>
				
<td width="30%" class="forumRowHighlight">
				<input name="G_gg4_url" value="<%=G_gg4_url%>" size="45">		</td>
<td width="40%" class="forumRowHighlight">
				<input name="G_gg4_name" value="<%=G_gg4_name%>" size="80">		</td>
<td width="30%" class="forumRowHighlight">
				<input name="G_gg4_color" value="<%=G_gg4_color%>" size="10">		</td>
			</tr>	
			<TR>
		</table>
	   </td>
	</tr>
  <TR>

	
  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_31')"><a name="#yunxingmoshi"></a>网站联盟帐号设置 <span style="cursor:pointer" id="b_id_31_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left">&nbsp;</TH>
	</tr>	
  <tr><td colspan="2" id="b_id_31">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>百度联盟帐号</u></strong><br>
			  没有的话请不要填写，比如：wjlhkp_pg</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_baidu" value="<%=G_lm_baidu%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>百度联盟帐号CH</u></strong><br>
			  没有的话请不要填写，比如：5</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_baidu_ch" value="<%=G_lm_baidu_ch%>" size="45">		
				</td>
			</tr>			
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>淘客帐号</u></strong><br>
			  没有的话请不要填写，比如：mm_27017478_0_0</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_taobao" value="<%=G_lm_taobao%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>迅雷搜索</u></strong><br>
			  没有的话请不要填写，比如：20116</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_xunlei" value="<%=G_lm_xunlei%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>Google搜索</u></strong><br>
			  没有的话请不要填写，比如：pub-0520467129961361</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_google_s" value="<%=G_lm_google_s%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>sogou搜索</u></strong><br>
			  没有的话请不要填写，比如：my58119</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_sogou_s" value="<%=G_lm_sogou_s%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>当当购物</u></strong><br>
			  没有的话请不要填写，比如：P-276318</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_dangdang_s" value="<%=G_lm_dangdang_s%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>卓越购物</u></strong><br>
			  没有的话请不要填写，比如：wjlhkp-23</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_amazon_s" value="<%=G_lm_amazon_s%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>京东商城</u></strong><br>
			  没有的话请不要填写，比如：1688</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_360buy" value="<%=G_lm_360buy%>" size="45">		
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>有道搜索</u></strong><br>
			  没有的话请不要填写，比如：aaaaa</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_lm_youdao" value="<%=G_lm_youdao%>" size="45">		
				</td>
			</tr>																		
		   </table>
		 </td>
	</tr>	
	
  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_3')"><a name="#yunxingmoshi"></a>网站静态页面控制 <span style="cursor:pointer" id="b_id_3_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left">&nbsp;</TH>
	</tr>	
  <tr><td colspan="2" id="b_id_3">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站运行模式</u></strong><br>
			  是：静态模式   否：动态模式</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_moshi">
					<option value="1" <%IF G_moshi<>"" Then response.Write "selected"%>>是</option>
					<option value="" <%IF G_moshi="" Then response.Write "selected"%>>否</option>
				</select> 
				建议静态		
				</td>
			</tr>						
		   </table>
		 </td>
	</tr>	
<tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站首页左边分类显示数量：</u></strong><br>
			只能填写整数<br>			  </td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_appnum" value="<%=G_appnum%>" size="45">最多20个分类，小于20将用（更多>>）显示</td>
			</tr>	 
  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_7')">模版管理 <span style="cursor:pointer" id="b_id_7_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"></TH>
	</tr>
  <tr><td colspan="2" id="b_id_7">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">								
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>模版选择：</u></strong><br>
			所有模版都放在/template/目录下      </td>
				<td width="62%" class="forumRowHighlight">
				  <select name="G_moban" size="1">
				  <%
				  set file1=server.CreateObject(G_FSO)
				  set folder1=file1.GetFolder(""&server.mappath("../../template")&"")
				  
				  for each thing in folder1.SubFolders
				  dbname_2=thing.name
				  IF G_moban=dbname_2 Then
					dbname_2_1=" selected"
				  Else
					dbname_2_1=""
				  End IF
				  %>
				  
				  <option value="<%=dbname_2%>" <%=dbname_2_1%>><%=dbname_2%></option>
				  
				  <%next%>
				  </select> <font color="#0000FF">更换模版后请务必要刷新下后台，否则部分功能不能用</font>		</td>
			</tr>
			<tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站首页的文件名：</u></strong><br>
			比如index.asp、default.asp<br>			  </td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_JIN_TAI_IndexPage" value="<%=G_JIN_TAI_IndexPage%>" size="45"> .html或.asp结尾</td>
			</tr>			
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>模版放置的路径</u></strong><br>
			  默认是：html,不改的话，会被人盗走的哦，</td>
			  <td width="62%" class="forumRowHighlight">
				<input name="G_moban_html" value="<%=G_moban_html%>" size="15" id="G_moban_html" >	
				<%IF G_08_mb THen%>
				<input value="立即更改路径" type="button" onClick="Changer_folder()" id="G_moban_html_now">	
				<input name="G_moban_html_hide" value="<%'=G_moban_html%>" type="hidden" id="G_moban_html_hide">
				不可以带/，如：a007
				<%Else%>
				不可以带/，详细参见：<a href='http://www.58119.com/' target="_blank">http://bbs.58119.com/</a>
				<%End IF%>		</td>
			</tr>	
			<tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>所有静态生成目录：</u></strong><br>
			默认都在根目录，注意请不要填写系统文件夹名</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_jingtai_wenjian_mulu" value="<%=G_jingtai_wenjian_mulu%>" size="45"> 这里填写文件夹名，比如s</td>
			</tr>			
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>分类页生成模式</u></strong><br>
			  </td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_List_yemian">
					<option value="" <%IF G_List_yemian="" Then response.Write "selected"%>>默认的生成模式：movie2.html--带ID--不会重复</option>
					<option value="1" <%IF G_List_yemian="1" Then response.Write "selected"%>>默认的生成模式：movie.html--最简洁--有重复的可能</option>
					<option value="2" <%IF G_List_yemian="2" Then response.Write "selected"%>>默认的生成模式：lifefuwumovie.html--大类和小类的拼音</option>
				</select>		
				</td>
			</tr>			
			<tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>单个文件生成目录前缀：</u></strong><br>
			比如排行榜生成的目录<br>			  </td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_JIN_TAI_PageOne" value="<%=G_JIN_TAI_PageOne%>" size="45"></td>
			</tr>	
			<tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>自定义静态页面后缀：</u></strong><br>
			  .html或.htm.或.shtml</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_HTML" value="<%=G_HTML%>" size="45">		</td>
			</tr>			
			<tr>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>网站默认时间格式显示：</u></strong><br>
			  1：2008年08月08日<br>
			  2：2008/08/08<br>
			  3：08/08<br>
			  4：2008\08\08<br>
			  5：2008-08-08<br>
			  6：08-08<br>
			  11：2008年08月08日 08时08分08秒<br>
			  22：2008/08/08 08/08/08<br>
			  44：2008\08\08 08\08\08<br>
			  55：2008-08-08 08:08:08<br>
			  66：08-08 08:08:08</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_Time_For" value="<%=G_Time_For%>" size="45">		</td>
			</tr>									
		</table>
		</td>
	</tr>
    

  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_8')">网站安全参数 <span style="cursor:pointer" id="b_id_8_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"></TH>
	</tr>
  <tr><td colspan="2" id="b_id_8">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">		
    
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>是否只让一个用户登陆(后台)</u></strong><br>
			  是否只让一个用户登陆，慎用</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_FLAG">
					<option value="true" <%IF G_FLAG Then response.Write "selected"%>>是</option>
					<option value="False" <%IF G_FLAG=False Then response.Write "selected"%>>否</option>
				</select>		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>后台登陆验证码是否开启</u></strong><br>
			  建议开启</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_yzm">
					<option value="true" <%IF G_yzm="true" Then response.Write "selected"%>>否</option>
					<option value="False" <%IF G_yzm="False" Then response.Write "selected"%>>是</option>
				</select>		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>后台文件夹的目录</u></strong><br>
			  后台文件夹的目录，只支持一级目录，改了以后请把对应的/admin文件夹也改好	</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_ADMIN" value="<%=G_ADMIN%>" size="45"> <%=Ghelp("http://bbs.58119.com/")%>		</td>
			</tr>		   
    	</table>
		</td>
	</tr>
  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_9')">图片上传功能 <span style="cursor:pointer" id="b_id_9_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"></TH>
	</tr>
  <tr><td colspan="2" id="b_id_9">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>是否开放图片上传功能</u></strong><br>
			  是否开放图片上传功能	</td>
				<td width="62%" class="forumRowHighlight">
				<select name="EnableUploadFile">
					<option value="YES" <%IF EnableUploadFile="YES" Then response.Write "selected"%>>是</option>
					<option value="NO" <%IF EnableUploadFile="NO" Then response.Write "selected"%>>否</option>
				</select>		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>自己添加的影片图片目录</u></strong><br>
			  自己添加的影片图片目录	</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_BIG_T" value="<%=G_BIG_T%>" size="45">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>最大图片上传字节数</u></strong><br>
			  最大图片上传字节数(单位：KB)	</td>
				<td width="62%" class="forumRowHighlight">
				<input name="MaxFileSize" value="<%=MaxFileSize%>" size="45">		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>允许上传的图片类型</u></strong><br>
			  允许上传的图片类型,多个类型用,分开	</td>
				<td width="62%" class="forumRowHighlight">
				<input name="UpFileType" value="<%=UpFileType%>" size="45">		</td>
			</tr>
		</table>
	 </td>
	</tr>
  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_11')">图片水印功能 <span style="cursor:pointer" id="b_id_11_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left"></TH>
	</tr>
  <tr><td colspan="2" id="b_id_11">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">			
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>是否开放图片水印功能</u></strong><br>
			  是否开放图片水印功能,需要ASPJPEG组件支持	</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_SHUIYIN">
					<option value="YES" <%IF G_SHUIYIN="YES" Then response.Write "selected"%>>是</option>
					<option value="NO" <%IF G_SHUIYIN="NO" Then response.Write "selected"%>>否</option>
				</select>		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印的方式</u></strong><br>
			  是否开放图片水印功能,需要ASPJPEG组件支持	</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_SHUIYIN_TYPE">
					<option value="false" <%IF G_SHUIYIN_TYPE=false Then response.Write "selected"%>>文字</option>
					<option value="true" <%IF G_SHUIYIN_TYPE Then response.Write "selected"%>>图片</option>
				</select>		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印图片路径</u></strong><br>
			  尽量不要修改原始图片	</td>
			  <td width="62%" class="forumRowHighlight">
					<input name="G_S_PicUrl" value="<%=G_S_PicUrl%>" size="45"> 
				  路径：&quot;/p_inc/img/shuiyin.gif&quot; </td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印文字</u></strong><br>
			  水印文字,打在图片上的文字	</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_S_MarkText" value="<%=G_S_MarkText%>" size="45">		</td>
			</tr>
		<script language="JavaScript1.4" type="text/javascript">
		function SelectColorcmdt(what,backit){
		   var dEL = document.all(what);
		   var sEL = document.all(backit);
		   var url = "../js/color/selcolor.htm?color="+encodeURIComponent(dEL.value);
		   var arr = showModalDialog(url,window,"dialogWidth:280px;dialogHeight:250px;help:no;scroll:no;status:no");
		   if (arr) {
			dEL.value=arr;
			sEL.style.backgroundColor=arr;
			dEL.style.backgroundColor=arr;
		   }
		}
		</script>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印字体颜色</u></strong><br>
			  水印字体颜色	</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_S_MarkFontColor" value="<%=G_S_MarkFontColor%>" size="8" id="soojs1" style="background:<%=G_S_MarkFontColor%>">
					<img border=0 src="../js/color/rect.gif" width=18 style="cursor:hand" id=As_1 onClick="SelectColorcmdt('soojs1','As_1')">		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印字体</u></strong><br>
			  水印字体	</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_S_MarkFontName">
					<option value="黑体" <%IF G_S_MarkFontName="黑体" Then response.Write"Selected"%>>黑体</option>
					<option value="宋体" <%IF G_S_MarkFontName="宋体" Then response.Write"Selected"%>>宋体</option>
				</select>		</td>
			</tr>		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印是否粗体</u></strong><br>
			  水印是否粗体,1为是，0为否	</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_S_MarkFontBond" value="<%=G_S_MarkFontBond%>" size="45" > 
					图片水印时为0		</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印字体大小</u></strong><br>
			  水印字体大小	</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_S_MarkFontSize" value="<%=G_S_MarkFontSize%>" size="45" > 
					图片水印时为12		</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>水印位置</u></strong><br>
			  水印位置,1表示左上方,2表示右上方,3表示正中间,4表示左下方，5表示右下方	</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_S_MarkPosition" value="<%=G_S_MarkPosition%>" size="45" >		</td>
			</tr>	
			</table>
		</td>
	</tr>

  <TR>
    <TH class=tableHeaderText height=25 onClick="st('b_id_23')"><a name="#yonghucanshu"></a>前台用户参数设置 <span style="cursor:pointer" id="b_id_23_c">[收缩]</span></TH>
	<TH class=tableHeaderText height=25 align="left">&nbsp;</TH>
	</tr>	
  <tr><td colspan="2" id="b_id_23">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">		
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分--用户注册送多少积分</u></strong><br>
			  建议保留原始数据</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_zhuce_j2" value="<%=G_zhuce_j2%>" size="45" > 
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分--用户登陆一次送多少积分</u></strong><br>
			  一天最多只算一次</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_jifen_denglu" value="<%=G_jifen_denglu%>" size="45" > 
				</td>
			</tr>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分--用户推广一个链接送多少积分</u></strong><br>
			  推广者一次只能推广一个帐号</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_jifen_tuijian" value="<%=G_jifen_tuijian%>" size="45" > 
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分--用户自动访问首页送多少积分</u></strong><br>
			  24小时之内访问只算一次</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_jifen_home" value="<%=G_jifen_home%>" size="45" > 
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>用户自动访问首页送多少积分--延迟时间</u></strong><br>
			 就是说打开首页多少时间以后开始记费</td>
				<td width="62%" class="forumRowHighlight">
				<input name="G_jifen_home_time" value="<%=G_jifen_home_time%>" size="45" >  默认10秒
				</td>
			</tr>					
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>推广积分模式</u></strong><br>
			  按时间、按IP</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_jifen_tuiguang_s" onChange="f_G_jifen_tuiguang_s()">
					<option value="" <%IF G_jifen_tuiguang_s="" Then Response.Write "Selected"%>>按IP记积分</option>
					<option value="1" <%IF G_jifen_tuiguang_s="1" Then Response.Write "Selected"%>>按时间记积分</option>
					<option value="2" <%IF G_jifen_tuiguang_s="2" Then Response.Write "Selected"%>>按PV记积分</option>
				</select>
				<span id="G_jifen_tuiguang_s_span"></span>	
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>推广积分-用户每日积分增加上限</u></strong><br>
			  如果不设置，那么积分可以无限增加</td>
				<td width="62%" class="forumRowHighlight">
				<input type="text" name="G_jifen_s_f_1" value="<%=G_jifen_s_f_1%>" size="45"> 
				<span id="G_jifen_s_f_1_span">如：500</span>	
				</td>
			</tr>			
			<TR id="G_jifen_timer_tr">
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分操作--多少时间内只记一次积分</u></strong><br>
			  这样可以扣量，默认是0，就是不限制</td>
			  <td width="62%" class="forumRowHighlight">
					<input name="G_jifen_timer" value="<%=G_jifen_timer%>" size="45"> 
				  单位是 秒				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>扣掉百分的比例</u></strong><br>
			  写数字，默认是0，就是不扣量</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_jifen_bili" value="<%=G_jifen_jifen_bili%>" size="45"> 值介与0-100之间
				</td>
			</tr>							
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分名字重命名</u></strong><br>
			  默认名字：积分</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_jifen_name" value="<%=G_jifen_jifen_name%>" size="45"> 比如：J币、H点 等
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>积分提款比例</u></strong><br>
			  比如比例是1￥:200,这里只要填写200即可</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_jifen_jifen_zhifubao_bili" value="<%=G_jifen_jifen_zhifubao_bili%>" size="45"> 比如：200
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>最少提款数</u></strong><br>
			  默认是1元</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_tikuan_smail" value="<%=G_tikuan_smail%>" size="45"> 比如：10
				</td>
			</tr>	
			<%IF G_xiaxian_1="1" And G_renwu_1="1" Then%>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>有效下限需做的任务数</u></strong><br>
			  默认是3个，下线做3个任务就自动变为有效下线</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_xiaxian_renwu_1" value="<%=G_xiaxian_renwu_1%>" size="45"> 比如：3
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>下线做任务奖励比例</u></strong><br>
			  默认是0.2即20%</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_xiaxian_c_2" value="<%=G_xiaxian_c_2%>" size="45"> 比如：0.1
				</td>
			</tr>	
			<%End IF%>
			<%IF G_xiaxian_1="1" And G_dianka_1="1" Then%>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>下线冲值奖励比例</u></strong><br>
			  默认是0.1即10%</td>
				<td width="62%" class="forumRowHighlight">
					<input name="G_xiaxian_c_1" value="<%=G_xiaxian_c_1%>" size="45"> 比如：0.2
				</td>
			</tr>								
			<%End IF%>	
			<%IF G_xiaxian_1="1" And G_xiaxian_1_zhuye="1" Then%>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>下线设为主页奖励</u></strong><br>
			  下线用户，每设为主页一次，上线即增加相应的积分</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_xiaxian_zhuye_1a">
					<option value="" <%IF G_xiaxian_zhuye_1a="" Then Response.Write "Selected"%>>不奖励</option>
					<option value="1" <%IF G_xiaxian_zhuye_1a="1" Then Response.Write "Selected"%>>奖励</option>
				</select>
				</td>
			</tr>	
			
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>下线登陆奖励</u></strong><br>
			  下线用户，每登陆一次，上线即增加相应的积分</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_xiaxian_zhuye_2a">
					<option value="" <%IF G_xiaxian_zhuye_2a="" Then Response.Write "Selected"%>>不奖励</option>
					<option value="1" <%IF G_xiaxian_zhuye_2a="1" Then Response.Write "Selected"%>>奖励</option>
				</select>
				</td>
			</tr>	

			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>上线获取的奖励比例</u></strong><br>
			  请设置比例，比如0.5，默认是1,就是100%提成</td>
				<td width="62%" class="forumRowHighlight">
				<input type="text" name="G_xiaxian_zhuye_1_bili" value="<%=G_xiaxian_zhuye_1_bili%>"> 
				最好填写0.5 或 1 
				</td>
			</tr>												
			<%End IF%>	
			<%IF G_xiaxian_2="1"  Then%>
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>下线提款上线奖励</u></strong><br>
			  请设置比例，比如0.1，默认是0.1</td>
				<td width="62%" class="forumRowHighlight">
				<input type="text" name="G_xiaxian_2_jiangli" value="<%=G_xiaxian_2_jiangli%>"> 比如  0.1，这里请填写小数，0.1即10%
				</td>
			</tr>
			<%End IF%>	
							
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>前台是否开放积分明细查询</u></strong><br>
			  默认是只有管理员才能查看</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_mingxi_look">
					<option value="" <%IF G_mingxi_look="" Then Response.Write "Selected"%>>只能管理员才能查看</option>
					<option value="1" <%IF G_mingxi_look="1" Then Response.Write "Selected"%>>积分明细完全对用户开放查看</option>
				</select>
				<span id="G_jifen_tuiguang_s_span"></span>	
				</td>
			</tr>	
			<TR>
			<td width="38%" height=23 class="forumRowHighlight"><strong><U>前台是否开放绑定本机金币的功能</u></strong><br>
			  默认是开放</td>
				<td width="62%" class="forumRowHighlight">
				<select name="G_jinbi_kaifang">
					<option value="" <%IF G_jinbi_kaifang="" Then Response.Write "Selected"%>>默认开放</option>
					<option value="1" <%IF G_jinbi_kaifang="1" Then Response.Write "Selected"%>>关闭此功能</option>
				</select>
				<span id="G_jifen_tuiguang_s_span"></span>	
				</td>
			</tr>																																	
		   </table>
		 </td>
	</tr>	
  <TR>
    <TH class=tableHeaderText height=25>前台用户参数设置 -- 用户注册</TH>
	<TH class=tableHeaderText height=25 align="left">&nbsp;</TH>
	</tr>
	<TR>
	<td width="38%" height=23 class="forumRowHighlight"><strong><U>用户登陆cookies</u></strong><br>
	  每次保存系统随机生成，增加安全性</td>
		<td width="62%" class="forumRowHighlight">
		<input name="G_u_Cookies" value="<%=IIf(G_u_Cookies="","a"&GetRamCode(12),G_u_Cookies)%>" size="45" > 原来:<%=G_u_Cookies%>
		建议用原来的		
		</td>
	</tr>	
	<TR>
	<td width="38%" height=23 class="forumRowHighlight"><strong><U>前台是否开放Email密码恢复功能</u></strong><br>
	  用户找回密码的时候会用自己的邮箱给用户发邮件</td>
		<td width="62%" class="forumRowHighlight">
		<select name="G_email_f_1">
			<option value="" <%IF G_email_f_1="" Then Response.Write "Selected"%>>默认关闭</option>
			<option value="1" <%IF G_email_f_1="1" Then Response.Write "Selected"%>>开放此功能</option>
		</select>
		<span id="G_jifen_tuiguang_s_span">需要 邮件基本参数设置 </span>	
		</td>
	</tr>
	<TR>
	<td width="38%" height=23 class="forumRowHighlight"><strong><U>前台用户注册是否开启Email验证功能</u></strong><br>
	  开启的话，没有Email验证的话，无法登陆账号</td>
		<td width="62%" class="forumRowHighlight">
		<select name="G_soojs_yz_str">
			<option value="" <%IF G_soojs_yz_str="" Then Response.Write "Selected"%>>默认不开启</option>
			<option value="1" <%IF G_soojs_yz_str="1" Then Response.Write "Selected"%>>开放此功能</option>
		</select>
		<span id="G_jifen_tuiguang_s_span">需要 邮件基本参数设置 </span>	
		</td>
	</tr>		
	<TR>
	  <td height=23 colspan="2" class="forumRowHighlight" align="center"><input type="submit" name="Submit" value="保存设置" id="Submit_ok">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type="reset" name="Submit2" value="重&nbsp;&nbsp;&nbsp;&nbsp;置">&nbsp;&nbsp;&nbsp;&nbsp;
	  <input type="checkbox" name="beifen" checked="checked" value="1">是否备份源文件	  </td>
  </tr>		
</TABLE>
</form>
<script>f_G_jifen_tuiguang_s()</script>
<%
end if
If request("action")="save" Then
Dim str
str=""
str=str&"<"&chr(37)&"@ LANGUAGE = VBScript.Encode "&chr(37)&">"&chr(10)
str=str&"<"&chr(37)&chr(10)
str=str&"'----------------------下面是导航配置文件参数--------------------------------"&chr(10)
str=str&"On Error Resume Next"&chr(13)&chr(10)
str=str&" G_VIRTUAL_ROOT_DIR = "&req("G_VIRTUAL_ROOT_DIR")&chr(13)&chr(10)
str=str&" G_CONN_STR = "&req("G_CONN_STR")&chr(13)&chr(10)
str=str&" G_IS_SQL_User_DB = "&req("G_IS_SQL_User_DB")&chr(13)&chr(10)
str=str&" G_SQL_IP = "&req("G_SQL_IP")&chr(13)&chr(10)
str=str&" G_SQL_DATA = "&req("G_SQL_DATA")&chr(13)&chr(10)
str=str&" G_SQL_USER = "&req("G_SQL_USER")&chr(13)&chr(10)
str=str&" G_SQL_PASS = "&req("G_SQL_PASS")&chr(13)&chr(10)
str=str&" G_WEBTITLE = "&req("G_WEBTITLE")&chr(13)&chr(10)
str=str&" G_WEBNAME = "&req("G_WEBNAME")&chr(13)&chr(10)
str=str&" G_WEBURL = "&req("G_WEBURL")&chr(13)&chr(10)
str=str&" G_WEBURL_2 = "&req("G_WEBURL_2")&chr(13)&chr(10)
str=str&" G_QQ = "&req("G_QQ")&chr(13)&chr(10)
str=str&" G_TEL = "&req("G_TEL")&chr(13)&chr(10)
str=str&" G_EMAIL = "&req("G_EMAIL")&chr(13)&chr(10)
str=str&" G_BEIAN = "&req("G_BEIAN")&chr(13)&chr(10)
str=str&" G_KEY = "&req("G_KEY")&chr(13)&chr(10)
str=str&" G_DIE = "&req("G_DIE")&chr(13)&chr(10)
str=str&" G_moshi = "&req("G_moshi")&chr(13)&chr(10)
str=str&" G_moban = "&req("G_moban")&chr(13)&chr(10)
str=str&" G_moban_html = "&req("G_moban_html")&chr(13)&chr(10)
str=str&" G_HTML = "&req("G_HTML")&chr(13)&chr(10)
str=str&" G_JIN_TAI_PageOne = "&req("G_JIN_TAI_PageOne")&chr(13)&chr(10)
str=str&" G_Time_For = "&req("G_Time_For")&chr(13)&chr(10)
str=str&" G_FLAG = "&Replace(req("G_FLAG"),"""","")&chr(13)&chr(10)
str=str&" G_yzm = "&req("G_yzm")&chr(13)&chr(10)
str=str&" G_ADMIN = "&req("G_ADMIN")&chr(13)&chr(10)
str=str&" EnableUploadFile = "&req("EnableUploadFile")&chr(13)&chr(10)
str=str&" G_BIG_T = "&req("G_BIG_T")&chr(13)&chr(10)
str=str&" MaxFileSize = "&req("MaxFileSize")&chr(13)&chr(10)
str=str&" UpFileType = "&req("UpFileType")&chr(13)&chr(10)
str=str&" G_SHUIYIN = "&req("G_SHUIYIN")&chr(13)&chr(10)
str=str&" G_SHUIYIN_TYPE = "&Replace(req("G_FLAG"),"""","")&chr(13)&chr(10)
str=str&" G_S_PicUrl = "&req("G_S_PicUrl")&chr(13)&chr(10)
str=str&" G_S_MarkText = "&req("G_S_MarkText")&chr(13)&chr(10)
str=str&" G_S_MarkFontColor = "&req("G_S_MarkFontColor")&chr(13)&chr(10)
str=str&" G_S_MarkFontName = "&req("G_S_MarkFontName")&chr(13)&chr(10)
str=str&" G_S_MarkFontBond = "&req("G_S_MarkFontBond")&chr(13)&chr(10)
str=str&" G_S_MarkFontSize = "&req("G_S_MarkFontSize")&chr(13)&chr(10)
str=str&" G_S_MarkPosition = "&req("G_S_MarkPosition")&chr(13)&chr(10)
str=str&" G_lm_baidu = "&req("G_lm_baidu")&chr(13)&chr(10)
str=str&" G_lm_baidu_ch = "&req("G_lm_baidu_ch")&chr(13)&chr(10)
str=str&" G_lm_taobao = "&req("G_lm_taobao")&chr(13)&chr(10)
str=str&" G_lm_xunlei = "&req("G_lm_xunlei")&chr(13)&chr(10)
str=str&" G_lm_google_s = "&req("G_lm_google_s")&chr(13)&chr(10)
str=str&" G_lm_sogou_s = "&req("G_lm_sogou_s")&chr(13)&chr(10)
str=str&" G_lm_amazon_s = "&req("G_lm_amazon_s")&chr(13)&chr(10)
str=str&" G_lm_dangdang_s = "&req("G_lm_dangdang_s")&chr(13)&chr(10)
str=str&" G_lm_360buy = "&req("G_lm_360buy")&chr(13)&chr(10)
str=str&" G_lm_youdao = "&req("G_lm_youdao")&chr(13)&chr(10)
str=str&" G_JIN_TAI_IndexPage = "&req("G_JIN_TAI_IndexPage")&chr(13)&chr(10)
str=str&" G_union_my = "&req("G_union_my")&chr(13)&chr(10)
str=str&" G_List_yemian = "&req("G_List_yemian")&chr(13)&chr(10)
str=str&" G_u_Cookies = "&req("G_u_Cookies")&chr(13)&chr(10)
str=str&" G_zhuce_j2 = "&req("G_zhuce_j2")&chr(13)&chr(10)
str=str&" G_jifen_denglu = "&req("G_jifen_denglu")&chr(13)&chr(10)
str=str&" G_jifen_tuijian = "&req("G_jifen_tuijian")&chr(13)&chr(10)
str=str&" G_jingtai_wenjian_mulu = "&req("G_jingtai_wenjian_mulu")&chr(13)&chr(10)
str=str&" G_jifen_lailu = "&req("G_jifen_lailu")&chr(13)&chr(10)
str=str&" G_jifen_timer = "&req("G_jifen_timer")&chr(13)&chr(10)
str=str&" G_jifen_tuiguang_s = "&req("G_jifen_tuiguang_s")&chr(13)&chr(10)
str=str&" G_jifen_jifen_bili = "&req("G_jifen_jifen_bili")&chr(13)&chr(10)
str=str&" G_jifen_jifen_name = "&req("G_jifen_jifen_name")&chr(13)&chr(10)
str=str&" G_jifen_home = "&req("G_jifen_home")&chr(13)&chr(10)
str=str&" G_jifen_home_time = "&req("G_jifen_home_time")&chr(13)&chr(10)
str=str&" G_jifen_jifen_zhifubao_bili = "&req("G_jifen_jifen_zhifubao_bili")&chr(13)&chr(10)
str=str&" G_tikuan_smail = "&req("G_tikuan_smail")&chr(13)&chr(10)
str=str&" G_xiaxian_renwu_1 = "&req("G_xiaxian_renwu_1")&chr(13)&chr(10)
str=str&" G_xiaxian_c_1 = "&req("G_xiaxian_c_1")&chr(13)&chr(10)
str=str&" G_xiaxian_c_2 = "&req("G_xiaxian_c_2")&chr(13)&chr(10)
str=str&" G_mingxi_look = "&req("G_mingxi_look")&chr(13)&chr(10)
str=str&" G_xiaxian_zhuye_1a = "&req("G_xiaxian_zhuye_1a")&chr(13)&chr(10)
str=str&" G_xiaxian_zhuye_2a = "&req("G_xiaxian_zhuye_2a")&chr(13)&chr(10)
str=str&" G_jinbi_kaifang = "&req("G_jinbi_kaifang")&chr(13)&chr(10)
str=str&" G_xiaxian_2_jiangli = "&req("G_xiaxian_2_jiangli")&chr(13)&chr(10)
str=str&" G_xiaxian_zhuye_1_bili = "&req("G_xiaxian_zhuye_1_bili")&chr(13)&chr(10)
str=str&" G_jifen_lailu_out = "&req("G_jifen_lailu_out")&chr(13)&chr(10)
str=str&" G_jifen_timer_lailu = "&req("G_jifen_timer_lailu")&chr(13)&chr(10)
str=str&" G_jifen_jifen_bili_lailu = "&req("G_jifen_jifen_bili_lailu")&chr(13)&chr(10)
str=str&" G_jifen_jifen_numbs_lailu = "&req("G_jifen_jifen_numbs_lailu")&chr(13)&chr(10)
str=str&" G_email_f_1 = "&req("G_email_f_1")&chr(13)&chr(10)
str=str&" G_jifen_s_f_1 = "&req("G_jifen_s_f_1")&chr(13)&chr(10)
str=str&" G_soojs_yz_str = "&req("G_soojs_yz_str")&chr(13)&chr(10)
str=str&" appid = "&req("appid")&chr(13)&chr(10)
str=str&" appkey = "&req("appkey")&chr(13)&chr(10)
str=str&" callback = "&req("callback")&chr(13)&chr(10)
str=str&" QQ_Cookies = "&req("QQ_Cookies")&chr(13)&chr(10)
str=str&" G_gg1_url = "&req("G_gg1_url")&chr(13)&chr(10)
str=str&" G_gg1_name = "&req("G_gg1_name")&chr(13)&chr(10)
str=str&" G_gg1_color = "&req("G_gg1_color")&chr(13)&chr(10)
str=str&" G_gg2_url = "&req("G_gg2_url")&chr(13)&chr(10)
str=str&" G_gg2_name = "&req("G_gg2_name")&chr(13)&chr(10)
str=str&" G_gg2_color = "&req("G_gg2_color")&chr(13)&chr(10)
str=str&" G_gg3_url = "&req("G_gg3_url")&chr(13)&chr(10)
str=str&" G_gg3_name = "&req("G_gg3_name")&chr(13)&chr(10)
str=str&" G_gg3_color = "&req("G_gg3_color")&chr(13)&chr(10)
str=str&" G_gg4_url = "&req("G_gg4_url")&chr(13)&chr(10)
str=str&" G_gg4_name = "&req("G_gg4_name")&chr(13)&chr(10)
str=str&" G_gg4_color = "&req("G_gg4_color")&chr(13)&chr(10)
str=str&" G_appnum = "&req("G_appnum")&chr(13)&chr(10)
str=str&chr(37)&">"&chr(13)&chr(10)
'save file-----start
'start copy file
IF request.Form("beifen")="1" Then
	Pa="../../backup"
	Set d_file1=server.CreateObject(G_FSO)
	set d_folder1=d_file1.GetFolder(""&server.mappath(Pa)&"")
	d_file1.CopyFile server.MapPath("../../p_inc/config.asp"),server.MapPath(Pa&"/config_"&FormatDate(now,11)&""&".asp")	
End IF
'end copy file
Path = "../../p_inc"
FileName = "config.asp"
EditFile = Server.MapPath(Path) & "\" & FileName
Dim FsoObj,FileObj,FileStreamObj
Set FsoObj = Server.CreateObject(G_FSO)
Set FileObj = FsoObj.GetFile(EditFile)
	Set FileStreamObj = FileObj.OpenAsTextStream(2)
	FileStreamObj.Write str
	if Err.Number <> 0 then
		'strShowErr = "<li>保存失败</li><li>"& Err.Description &"</li><li>可能是config.asp文件没有写入权限，请开启</li>"
		'Response.Redirect("../error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl=")
		'Response.end
	else
		'strShowErr = "<li>全局变量保存成功</li>"
		'Response.Redirect("../Success.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl=&c=back")
		'Response.end
	end if

'''----------------------------


IF request("G_moshi")="1" Then
	
Else
	N_Fso.CopyFiles Add_Root_Dir("/come/index.asp"),Add_Root_Dir("/"&Request("G_JIN_TAI_IndexPage"))
End IF

'save file-----end






'==================开始保存流量统计config===================
str=""
str=str&"<"&chr(37)&chr(10)
str=str&" hxCacheName = "&req("hxCacheName")&chr(13)&chr(10)
str=str&" cneip = """""&chr(13)&chr(10)
str=str&" maxReBack = "&req("maxReBack")&chr(13)&chr(10)
str=str&" hxtime = "&req("hxtime")&chr(13)&chr(10)
str=str&" hxLook = "&req("hxLook")&chr(13)&chr(10)
str=str&" G_All_moshi = "&req("G_All_moshi")&chr(13)&chr(10)
str=str&" G_All_InAuto = "&req("G_All_InAuto")&chr(13)&chr(10)
str=str&" G_all_InNumb = "&req("G_all_InNumb")&chr(13)&chr(10)
str=str&" G_All_dhList_f = "&req("G_All_dhList_f")&chr(13)&chr(10)
str=str&chr(37)&">"&chr(13)&chr(10)
IF request.Form("beifen")="1" Then
	Pa="../../backup"
	Set d_file1=server.CreateObject(G_FSO)
	set d_folder1=d_file1.GetFolder(""&server.mappath(Pa)&"")
	d_file1.CopyFile server.MapPath("../../p_inc/config_dh.asp"),server.MapPath(Pa&"/config_dh_"&FormatDate(now,11)&""&".asp")	
End IF
Path = "../../p_inc"
FileName = "config_dh.asp"
EditFile = Server.MapPath(Path) & "\" & FileName

Set FsoObj = Server.CreateObject(G_FSO)
Set FileObj = FsoObj.GetFile(EditFile)
Set FileStreamObj = FileObj.OpenAsTextStream(2)
FileStreamObj.Write str
if Err.Number <> 0 then
	'strShowErr = "<li>保存失败</li><li>"& Err.Description &"</li><li>可能是config.asp文件没有写入权限，请开启</li>"
	'Response.Redirect("../error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl=")
	'Response.end
else
	'strShowErr = "<li>全局变量保存成功</li>"
	'Response.Redirect("../Success.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl=&c=back")
	'Response.end
end if


'===开始重新写入文件================
str1=ReadAllTextFile(Add_Root_Dir("/qtUnion/js/1.config"))
IF G_VIRTUAL_ROOT_DIR="" Then
	str1=Replace(str1,"{qt:G_WEBURL}",G_WEBURL)
Else
	str1=Replace(str1,"{qt:G_WEBURL}",G_WEBURL&G_VIRTUAL_ROOT_DIR&"/")
End IF
N_Fso.CreateFolderFile Add_Root_Dir("/qtUnion/js/1.js"),str1

str1=ReadAllTextFile(Add_Root_Dir("/qtUnion/js/2.config"))
IF G_VIRTUAL_ROOT_DIR="" Then
	str1=Replace(str1,"{qt:G_WEBURL}",G_WEBURL)
Else
	str1=Replace(str1,"{qt:G_WEBURL}",G_WEBURL&G_VIRTUAL_ROOT_DIR&"/")
End IF
N_Fso.CreateFolderFile Add_Root_Dir("/qtUnion/js/2.js"),str1

'save file-----end

'===开始写入基本配置==================
str1=ReadAllTextFile(Add_Root_Dir("/p_inc/public.config"))
IF G_VIRTUAL_ROOT_DIR="" Then
	str1=Replace(str1,"{qt:G_WEBURL}",G_WEBURL)
	str1=replace(str1,"{G_VIRTUAL_ROOT_DIR}","/")
Else
	str1=Replace(str1,"{qt:G_WEBURL}",G_WEBURL&G_VIRTUAL_ROOT_DIR&"/")
	str1=replace(str1,"{G_VIRTUAL_ROOT_DIR}","/"&Request("G_VIRTUAL_ROOT_DIR")&"/")
End IF
str1=Replace(str1,"{qt:G_All_moshi}",Request("G_All_moshi"))
str1=Replace(str1,"{qt:G_All_dhList_f}",Request("G_All_dhList_f"))
str1=Replace(str1,"{qt:G_WEBNAME}",Request("G_WEBNAME"))
str1=Replace(str1,"{qt:G_moban}",Request("G_moban"))
str1=Replace(str1,"{qt:G_jifen_home_time}",Bint(Request("G_jifen_home_time"))*1000)
str1=MakeHTML_CMS(str1)

N_Fso.CreateFolderFile Add_Root_Dir("/p_inc/public.js"),str1

'save file -----end



response.write"<table cellpadding=2 cellspacing=1 border=0 width=400 class=tableBorder align=center>"
response.write"<TR>"
response.write"<TH class=tableHeaderText colSpan=2 height=25>保存网站信息</TH>"
'response.Flush()
'response.write"<TR><tr><td height=85 valign=top class=forumRowHighlight><div align=left><br><br>正在转化可用播放方式，请不要关闭....<br>"
'response.Flush()
'response.Write "先前支持格式："&G_v_type&"<br>"
'response.Write "现在支持格式："&request("G_v_type")&"<br>"
'
'G_v_type_arr=split(G_v_type,",")
'G_v_type_t=G_v_type
'For i=0 To Ubound(G_v_type_arr)
'	IF Instr(request("G_v_type"),G_v_type_arr(i))>0 Then
'		G_v_type_t=replace(G_v_type_t,G_v_type_arr(i),"")
'	End IF
'Next
'G_v_type_t=PrintArray(G_v_type_t,",")
'response.Write "去除格式："&G_v_type_t&"<br>"
'G_v_type_t_arr=Split(G_v_type_t,",")
'For i=0 To Ubound(G_v_type_t_arr)
'	G_v_type_t_1=Trim(G_v_type_t_arr(i))
'	IF G_v_type_t_1<>"" Then
'		conn.execute("update qingtiandy_movie set m_look=0 where m_type3='"&G_v_type_t_1&"'")
'	End IF
'Next
'response.Write"转化完毕!</div></td></tr>"
response.write"<TR><tr><td height=85 valign=top class=forumRowHighlight><div align=center><br><br>网站配置保存成功！</div></td></tr>"
response.write"<tr align=center><td height=30 class=forumRowHighlight><a href='admin_setting.asp'>&lt;&lt; 返回上一页</a></td>"
response.write"</tr>"
response.write"</table>"
response.write"<br><br>" 
Response.Write "<script>parent.left.location.reload()</script>"
end if



%>
</body>
</html>
