<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("LinkSystem")
Dim Rs,sql
		Select Case Request("Action")
		Case "Save"
		Set Rs=Server.CreateObject(YWNT_TMS_RS)
		sql="select * from YWNT_TMS_LinkSystem where ID="&NoSqlHack(Request.Form("ID"))
		Rs.open sql,Conn,1,3
		RS("LinkOff")=NoSqlHack(Request.Form("LinkOff"))
		RS("LinkUsersOff")=NoSqlHack(Request.Form("LinkUsersOff"))
		RS("LinkPicWidth")=NoSqlHack(Request.Form("LinkPicWidth"))
		RS("LinkPicHeight")=NoSqlHack(Request.Form("LinkPicHeight"))
		RS("LinkNeed")=NoSqlHack(Request.Form("LinkNeed"))
		Rs.Update
		Rs.Close
		Set Rs = Nothing
		Call AddLog("修改友情连接系统设置",9)
		call Admin_ShowErr("<li>有情连接系统设置修改成功</li>","Admin_LinkSystem.asp",1)
		Case Else
		Set Rs=Server.CreateObject(YWNT_TMS_RS)
		sql="select * from YWNT_TMS_LinkSystem"
		Rs.open sql,Conn,1,1
		YWNT_TMS_ID=RS("ID")
		YWNT_TMS_LinkOff = RS("LinkOff")
		YWNT_TMS_LinkUsersOff = RS("LinkUsersOff")
		YWNT_TMS_LinkPicWidth=RS("LinkPicWidth")
		YWNT_TMS_LinkPicHeight=RS("LinkPicHeight")
		YWNT_TMS_LinkNeed=RS("LinkNeed")
		RS.close   
      	set RS=nothing
		End Select%>
<TABLE class=table height=197 cellSpacing=1 cellPadding=3 width="98%" 
align=center border=0>
  <TBODY>
  <TR>
    <TD class=xingmu colSpan=4>系统设置</TD>
  </TR>
 <form name="form" action="Admin_LinkSystem.asp?Action=Save" method="post">
  <TR>
    <TD width="21%" height=32 align="right" class="hback">开放友情连接申请：</TD>
    <TD width="79%" height=32 class="hback">
      <input type="radio" name="LinkOff" value="1" <%if YWNT_TMS_LinkOff=1 then Response.Write("checked")%>>
      开放申请&nbsp; &nbsp; &nbsp; &nbsp;
      <input name="LinkOff" type="radio" value="0" <%if YWNT_TMS_LinkOff=0 then Response.Write("checked")%>>
      关闭申请</TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">注册会员才能申请：</TD>
    <TD height=32 class="hback"><input type="radio" name="LinkUsersOff" value="1" <%if YWNT_TMS_LinkUsersOff=1 then Response.Write("checked")%>>
会员申请&nbsp; &nbsp; &nbsp; &nbsp;
<input name="LinkUsersOff" type="radio" value="0" <%if YWNT_TMS_LinkUsersOff=0 then Response.Write("checked")%>>
匿名申请</TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">友情连接图片尺寸：</TD>
    <TD class="hback">宽
      <input name="LinkPicWidth" type="text" id="LinkPicWidth" value="<%=YWNT_TMS_LinkPicWidth%>" size="5">
       &nbsp; &nbsp; &nbsp;高
      <input name="LinkPicHeight" type="text" id="LinkPicHeight" value="<%=YWNT_TMS_LinkPicHeight%>" size="5"></TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">申请连接须知：</TD>
    <TD height=32 class="hback"><textarea name="LinkNeed" cols="60" rows="10" id="LinkNeed"><%=YWNT_TMS_LinkNeed%></textarea></TD>
  </TR>
  <TR align="center">
    <TD height=32 colspan="2" 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>
