<html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--播放设置管理</title>
<LINK href="css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<!--#include file="../Conn.asp" -->
<!--#include file="YWNT_TMS_inc/YWNT_TMS_Function.asp" -->
<%
'===================================================================================================================
'软件名称：云网影视管理系统
'Copyright (C) 2002-2007 ywnt.net  All rights reserved.
'产品咨询QQ：489234,2813712
'程序版权：云网互动科技有限公司
'程序开发：云网互动科技有限公司
'官方网站：http://www.ywnt.net 
'郑重声明:
'    1、免费版本请在程序首页保留版权信息，并做上本站LOGO友情连接,商业版本无此要求;
'    2、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息；
'    3、云网互动科技有限公司保留此软件的法律追究权利
'===================================================================================================================
Call CheckLogin("Sysplay")
Dim Rs,sql
		Select Case Request("Action")
		Case "Save"
		Set Rs=Server.CreateObject(YWNT_TMS_RS)
		sql="select * from YWNT_TMS_Sysplay where ID="&NoSqlHack(Request.Form("ID"))
		Rs.open sql,Conn,1,3
		RS("MovieRecycling")=NoSqlHack(Request.Form("MovieRecycling"))
		RS("MovieLog")=NoSqlHack(Request.Form("MovieLog"))
		RS("MovieWindow")=NoSqlHack(Request.Form("MovieWindow"))
		RS("MovieBtDown")=NoSqlHack(Request.Form("MovieBtDown"))
		RS("MovieWidth")=NoSqlHack(Request.Form("MovieWidth"))
		RS("MovieHeight")=NoSqlHack(Request.Form("MovieHeight"))
		RS("MovieType")=NoSqlHack(Request.Form("MovieType"))
		RS("MovieAd")=NoSqlHack(Request.Form("MovieAd"))
		RS("MovieAdContent")=NoSqlHack(Request.Form("MovieAdContent"))
		Rs.Update
		Rs.Close
		Set Rs = Nothing
		Call AddLog("修改播放设置",3)
		call Admin_ShowErr("<li>播放设置修改成功</li>","Admin_SysPlay.asp",1)
		Case Else
		Set Rs=Server.CreateObject(YWNT_TMS_RS)
		sql="select * from YWNT_TMS_Sysplay"
		Rs.open sql,Conn,1,1
		YWNT_TMS_ID=RS("ID")
		YWNT_TMS_MovieRecycling = RS("MovieRecycling")
		YWNT_TMS_MovieLog = RS("MovieLog")
		YWNT_TMS_MovieWindow=RS("MovieWindow")
		YWNT_TMS_MovieBtDown=RS("MovieBtDown")
		YWNT_TMS_MovieWidth=RS("MovieWidth")
		YWNT_TMS_MovieHeight=RS("MovieHeight")
		YWNT_TMS_MovieType=RS("MovieType")
		YWNT_TMS_MovieAd=RS("MovieAd")
		YWNT_TMS_MovieAdContent=RS("MovieAdContent")
		RS.close   
      	set RS=nothing
		End Select%>
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td colspan="2" class=xingmu>播放设置</td>
    </tr>
     <form name="form" action="Admin_SysPlay.asp?Action=Save" method="post">
	<tr>
      <td height=32 align="right" class="hback">直接删除影片：</td>
      <td height=32 class="hback"><input name="MovieRecycling" type="radio" value="1" <%if YWNT_TMS_MovieRecycling=1 then Response.Write("checked")%>>
      是      &nbsp;&nbsp;
      <input type="radio" name="MovieRecycling" value="0" <%if YWNT_TMS_MovieRecycling=0 then Response.Write("checked")%>>
      否      (先放入回收站)</td>
    </tr>
	<tr>
      <td height=32 align="right" class="hback">是否记录点播记录：</td>
      <td height=32 class="hback"><input name="MovieLog" type="radio" value="1" <%if YWNT_TMS_MovieLog=1 then Response.Write("checked")%>>
        是      &nbsp;&nbsp;
      <input type="radio" name="MovieLog" value="0" <%if YWNT_TMS_MovieLog=0 then Response.Write("checked")%>>
      否</td>
    </tr>
	<tr>
      <td height=32 align="right" class="hback">播放器窗口大小拖动：</td>
      <td height=32 class="hback"><input name="MovieWindow" type="radio" value="1" <%if YWNT_TMS_MovieWindow=1 then Response.Write("checked")%>>
        是      &nbsp;&nbsp;
      <input type="radio" name="MovieWindow" value="0" <%if YWNT_TMS_MovieWindow=0 then Response.Write("checked")%>>
      否</td>
    </tr>
	<tr>
      <td height=32 align="right" class="hback">BT联盟下载：</td>
      <td class="hback"><input name="MovieBtDown" type="radio" value="1" <%if YWNT_TMS_MovieBtDown=1 then Response.Write("checked")%>>
        开启
      <input type="radio" name="MovieBtDown" value="0" <%if YWNT_TMS_MovieBtDown=0 then Response.Write("checked")%>>
      关闭</td>
    </tr>
    <tr>
      <td width="21%" height=32 align="right" class="hback">播放器窗口大小：</td>
      <td height=15 class="hback">宽
        <input name="MovieWidth" type="text" value="<%=YWNT_TMS_MovieWidth%>" size="5">
      &nbsp;&nbsp;高
        <input name="MovieHeight" type="text" value="<%=YWNT_TMS_MovieHeight%>" size="5"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">播放器类型：</td>
      <td height=32 class="hback"><select name="MovieType">
        <option value="0" <%if YWNT_TMS_MovieType=0 then Response.Write("selected")%>>普通播放器</option>
        <option value="1" <%if YWNT_TMS_MovieType=1 then Response.Write("selected")%>>WEB无延迟播放器</option>
            </select>
      <font color="#FF0000">注意选择无延迟播放器缓存广告将不起作用</font></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback"> 缓存广告插播：</td>
      <td height=32 class="hback"><input name="MovieAd" type="radio" value="1" <%if YWNT_TMS_MovieAd=1 then Response.Write("checked")%>>
        是&nbsp;&nbsp;
<input name="MovieAd" type="radio" value="0" <%if YWNT_TMS_MovieAd=0 then Response.Write("checked")%>>
否</td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">广告代码：</td>
      <td height=32 class="hback"><textarea name="MovieAdContent" cols="50" rows="10"><%=YWNT_TMS_MovieAdContent%></textarea></td>
    </tr>
    <tr>
      <td height=32 colspan="2" align="center" class="hback"><input name="ID" type="hidden" value="<%=YWNT_TMS_ID%>"><input type="submit" name="Submit" value="修 改"></td>
    </tr>
    </form>
  </tbody>
</table>
<%call connclose()%>
</BODY></HTML>
