<!--#include file="QvodCms_Conn.asp"-->
<!--#include file="QvodCms_Check.asp"-->
<%
Dim action,i,html,ConfigHtml
action=Trim(Request.QueryString("action"))
If action="add" then
	Call config_add
Else
	Call config_main
End If
Sub config_add
    On Error Resume Next
	ConfigHtml=""'初始化变量
	For i=0 to 34
	AdminId(i)=Request.Form("AdminId("&i&")")
	ConfigHtml=ConfigHtml&"AdminId("&i&")="""&AdminId(i)&""""&vbcrlf
	Next
	For J=35 to 39
	beiyong=beiyong&"AdminId("&j&")="""""&vbcrlf
	Next
	html="<%"&vbcrlf
	html=html&"Dim AdminId(40)"&vbcrlf
	html=html&ConfigHtml&beiyong
	html=html&"%"&">"
	Call MakeHtml("../Cache/QvodCms.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/jaja_main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
input,select{color:#333}
.reds{color:#FF0000}
.bulus{ color:#0000FF}
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="form1" method="post" action="?action=add">
<tr>
<th colspan=5 background="Skins/images/tdbg.gif" class="title">&nbsp;网站个性参数配置</th>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">影片地区设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(0)" type="text" style="width:400px; text-align:left;" value="<%=AdminId(0)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">影片语言设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(1)" type="text" style="width:400px; text-align:left;" value="<%=AdminId(1)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">影片年份设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(2)" type="text" style="width:400px; text-align:left;" value="<%=AdminId(2)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF"><font color="red">授权注册码设置：</font></td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(3)" type="text" style="width:400px; text-align:left; color:#006600" value="<%=AdminId(3)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">远程图片保存设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><select name="AdminId(4)" style="width:100px;"><option value='0' <%=QvodCms_Select(Cint(AdminId(4)),0)%>>远程调用图片</option><option value='1' <%=QvodCms_Select(Cint(AdminId(4)),1)%>>自动保存图片</option></select> 征对添加影片或一键采集时的远程图片地址 <Font color="red">建议本地保存图片，VIP资源库不支持远程调用!</Font></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">图片缩略大小设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><select name="AdminId(5)" style="width:100px;"><option  class="bulus" value='0' <%=QvodCms_Select(Cint(AdminId(5)),0)%>>关闭缩略图</option><option class="bulus" value='1' <%=QvodCms_Select(Cint(AdminId(5)),1)%>>开启缩略图</option></select> 需要服务器支持AspJpeg组件</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">采集一张图片设置：</td>
<td colspan="3" class="td1" style="padding-left:10px; "><select name="AdminId(6)" style="width:100px;"><option class="reds" value='0' <%=QvodCms_Select(Cint(AdminId(6)),0)%>>采集一张图片</option><option class="reds" value='1' <%=QvodCms_Select(Cint(AdminId(6)),1)%>>采集二张图片</option></select></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">采集资源节点设置：</td>
<td colspan="3" class="td1" style="padding-left:10px; "><select name="AdminId(34)" style="width:100px;"><option class="bulus" value='0' <%=QvodCms_Select(Cint(AdminId(34)),0)%>>国内节点</option><option class="bulus" value='1' <%=QvodCms_Select(Cint(AdminId(34)),1)%>>国外节点</option></select> <Font color="red">根据站点服务器所在位置，选择不同节点,以达到快速采集！</Font></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="AdminId(7)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(7)%>"> 
  推荐大小250*350</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="AdminId(8)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(8)%>"> 
  推荐大小127*174</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF; color:#FF0000">播放目录前缀设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(9)" type="text" style="width:100px; text-align:left; color:#FF0000" value="<%=AdminId(9)%>"> 定义播放页目录+前缀。例:play/play_1_1_1.html<font color="#0000FF"><u>注意:默认play目录,修改请手动重命名play目录</u></font></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">影片评论功能设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><select name="AdminId(10)" style="width:100px;"><option value='0' class="bulus" <%=QvodCms_Select(Cint(AdminId(10)),0)%>>关闭前台评论</option><option class="bulus" value='1' <%=QvodCms_Select(Cint(AdminId(10)),1)%>>开启前台评论</option></select></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">网站备案信息：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(11)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(11)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">模板存放路径：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(12)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(12)%>"> 如:模板文件存放在skin/skin_12/Template/这里只需要填写<font color="#FF0000">Template/</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">图片保存目录：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(13)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(13)%>"> 注:一定要以<font color="#FF0000">/</font>结尾</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">广告保存目录：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(14)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(14)%>"> 注:一定要以<font color="#FF0000">/</font>结尾</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">前台图片链接模式：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(15)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(15)%>"> 多个网站共用同一SQL库时图片链接的网站地址　如：http://demo.qvodcms.com</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">广告中心分页设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(16)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(16)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">报错中心分页设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(17)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(17)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">留言本前台分页设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(18)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(18)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">数据中心分页设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(19)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(19)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">生成html分页数量设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(20)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(20)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">生成html页时间停顿设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(21)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(21)%>"> 单位:秒</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">防采设置次数：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(22)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(22)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">评论前台分页设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(23)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(23)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">评论后台分页设置：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(24)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(24)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">多少天内更新的为新信息：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(25)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(25)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">重名检测字符限制：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(26)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(26)%>"> 0(完全匹配) 数字n(匹配影片名称最前面的n个字 如2,4,6,...)汉字算2个字符</td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">无效图片检测功能：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(27)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(27)%>"> 0(禁用) 1(开启)</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="AdminId(28)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(28)%>"> 达到设置值自动为热门影片！</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="AdminId(29)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(29)%>"> 
推广成功注册会员赠送积分 <span class="addnew">必须为数字</span></td>
</tr>
<tr >
<td width="150" class="td2" style="text-align:right; border-bottom:1px solid #FFFFFF"><span class="addnew">QVOD播放缓冲广告设置：</span></td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(30)" type="text" style="width:200px; text-align:left;" value="<%=AdminId(30)%>"> <span class="addnew">如：http://www.qvodcms.com/play/ad.htm</span></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">播放器宽度：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(31)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(31)%>"></td>
</tr>
<tr >
<td width="150" class="td3" style="text-align:right; border-bottom:1px solid #FFFFFF">播放器高度：</td>
<td colspan="3" class="td1" style="padding-left:10px"><input name="AdminId(32)" type="text" style="width:100px; text-align:left;" value="<%=AdminId(32)%>"></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="AdminId(33)" type="text" style="width:200px; text-align:left;" value="<%=AdminId(33)%>"> 分类以逗号隔开.输入的分类将显示集数调用功能。例:11,12,13,14</td>
</tr>
<tr> 
<th colspan=5 style="text-align:center; height:40px;"><input type="submit" value="确认更新" /></th>
</tr>
</form>
</table>
</body>
</html><%end Sub%>