<!--#include file="WebConfig/Conn.asp"-->
<!--#include file="WebConfig/LoginYN.asp"-->
<html xmlns:v>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="Css/BackStyle.css" />
<title></title>
<STYLE type=text/css>

.binput {
	BORDER-RIGHT: #19bca8 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #19bca8 1px solid; PADDING-LEFT: 3px; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(img/in_pj.jpg); PADDING-BOTTOM: 3px; BORDER-LEFT: #19bca8 1px solid; PADDING-TOP: 3px; BORDER-BOTTOM: #19bca8 1px solid; BACKGROUND-REPEAT: repeat-x; FONT-FAMILY: Arial, Verdana, sans-serif; HEIGHT: 21px
}
</style>
<script language="javascript" src="Js/Nor.js"></script>
<script language="javascript" src="Js/checkAddNews.js"></script>
<script language="javascript" src="Js/dateTimePicker.js"></script>
</head>
<%
	If Request.QueryString("Id")<>"" Then
		Id=Request.QueryString("Id")
		Set rsNews=Server.CreateObject("ADODB.RecordSet")
		rsNews.Open "Select * from movie where Id="&Id,conn,1,1
		If Not rsNews.Eof Then
		name=rsNews("name")
		ename=rsNews("ename")
		lg=rsNews("lg")
		who=rsNews("who")
		zhuyan=rsNews("zhuyan")
		school=rsNews("school")
		class=rsNews("class")
		photo=rsNews("photo")
		movie=rsNews("movie")
		introl=rsNews("introl")
		AddTime=rsNews("AddTime")
		End If
		rsNews.Close
		Set rsNews=Nothing
	End If
%>
<body>
<div id="BackBg">
	<v:RoundRect id="BackCo" strokeColor="#7EB977" arcsize=".01" Filled="T">
		<div id="BackDocTitle" class="B cW"><% If Id="" Then Response.Write"添加" Else Response.Write"修改" End If%>视频信息 | Movies</div>
		<form id="myform" name="myform" method="post" action="DoSave/saveMovie.asp">
		<div id="BackDoZone">
			<div id="BackAddNews" class="fR L">
				<p>视频分类：<select name="NewsClass" onFocus="clearSpan('NewsClassErr');"><option value="0">====请选择视频分类====</option>
				<%
					Set rsBClass=Server.CreateObject("ADODB.RecordSet")
					rsBClass.Open "Select Id,NewsClassName from NewsClass where ParentClass=93 order by Orders Asc",conn,1,1
					Do While Not rsBClass.Eof
				%>
				<option value="<%=rsBClass("Id")%>" <% If Nc=rsBClass("Id") Then Response.Write" selected" End If%>>++ <%=rsBClass("NewsClassName")%>++</option>
				<% 
					rsBClass.MoveNext
					Loop 
					rsBClass.Close
					Set rsBClass=Nothing
				%>
				</select><span id="NewsClassErr">*</span>
				</p>
				<p>片　　名：<input name="name" id="In" type="text" value="" /><span>*</span></p>
				<p>英文片名：<input name="ename" id="In" type="text" value="" /><span></span>				
				<p>导　　演：<input name="who" id="In" type="text" value="" /><span>*</span>
				<p>学　　校：<input name="School" id="In" type="text" value="" /><span>*</span>
				<p>语　　言：<input name="lg" id="In" type="text" value="" /><span>*</span>
				<p>主　　演：<input name="zhuyan" id="In" type="text" value="" /><span></span>
				<p>图片地址：<input name="photo" id="In" type="text" value="Http://www.cduff.org/Photo/"/><span>*图片最佳比例 100：138</span>
				<p>影片地址：<input name="mivie" id="In" type="text" value="Http://www.cduff.org/Dv/"/><span>*请先上传 .FLV 格式视频到Dv目录</span>
				<p>影片简介：<input name="introl" id="In" type="text" value="<%=Ti%>"/><span>*支持Html代码</span>
				<p>上传时间：<input name="AddTime" type="text" value="<%=AddT%>" onFocus="clearSpan('AddTimeErr');setday(this);" /><span id="AddTimeErr">*</span></p>
			</div>
			
		</div>
		<div id="BackBn"><p id="Bn"><input type="button" value="<% If Id="" Then Response.Write"添加" Else Response.Write"修改" End If%>视频" onClick="ckAddNews('myform');" /><input type="reset" value="清空内容" /></p></div>
		</form>
	</v:roundrect>
</div>
</body>
</html>
