<%
Server.ScriptTimeOut=5000
%>
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/safe.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/const.asp"-->
<%
if MemberName="" then
  response.Redirect("userlogin.asp")
  response.end
end if
if session("movie")="" then response.Redirect "selvideo.asp"
response.end
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>红嫂视屏交友情缘网</title>
<meta name="keywords" content="情感,在线,新新,照片,动感影片,诗歌,爱情,纯洁,心连心">
<meta name="description" content="红嫂视屏交友情缘 情感在线">
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
}
-->
</style>
<script language="javascript">
<!--
function check(){
if(frmmovie.pic.value==""){
alert("请上传视频图片！");
frmmovie.pic.focus();
return false;
}
if(frmmovie.pindao.value==""){
alert("请选择频道！");
frmmovie.pindao.focus();
return false;
}
if(frmmovie.title.value==""){
alert("请填写视频标题！");
frmmovie.title.focus();
return false;
}
return true;
}
//-->
</script>
</head>
<body>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="top.asp"--></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="204" height="328" valign="top"><!--#include file="memberleft.asp"-->
</td>
    <td width="583" valign="top"><table width="565" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><TABLE width="100%" border=0 
            cellPadding=0 cellSpacing=0 bgColor=white class="STYLE4" >
              <TBODY>
                <TR>
                  <TD width="2%" align=left background="image/tiao_4.gif"><img src="image/tiao_3.gif" width="10" height="31"></TD>
                  <TD width="26%" align=center background="image/tiao_4.gif"><table width="136" height="25" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="136" align="center" class="pgd">填写视频其他信息</td>
                      </tr>
                  </table></TD>
                  <TD width="38%" height="20" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="32%" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="2%" align="right" background="image/tiao_4.gif"><img src="image/tiao_2.gif" width="10" height="31"></TD>
                </TR>
              </TBODY>
          </TABLE></td>
        </tr>
        <tr>
          <td height="299" valign="top" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid;border-bottom:#C7C8CC 1px solid"><br>
              <br>
              <table width="520" border="0" align="center" cellpadding="5" cellspacing="5" class="style30">
                <form action="savemovieinfo.asp" method="post" enctype="multipart/form-data" name="frmmovie" onSubmit="return check();">
                  <tr>
                    <td height="25" bgcolor="#C8E3FA"><div align="center">视频截图：</div></td>
                    <td height="25" bgcolor="#EDF8FE"><input name="pic" type="file" id="pic">
        120*90px</td>
                  </tr>
                  <tr>
                    <td width="80" height="25" bgcolor="#C8E3FA"><div align="center" class="style30">选择频道：</div></td>
                    <td width="370" height="25" bgcolor="#EDF8FE"><select name="pindao" id="pindao">
                        <%
						  set rs=server.createobject("adodb.recordset")
						  sql="select * from video_class order by classid"
						  rs.open sql,conn,1
						  do while not rs.eof
						   response.write "<option value='"&rs("classid")&"'>"&rs("Classname")&" </option>"
						   rs.movenext
						  loop
						  rs.close
						  set rs=nothing
						  %>
                      </select>
                    </td>
                  </tr>
                  <tr>
                    <td height="25" bgcolor="#C8E3FA" class="style30"><div align="center">视频标题：</div></td>
                    <td height="25" bgcolor="#EDF8FE"><input name="title" type="text" id="title" size="25" maxlength="50"></td>
                  </tr>
                  <tr>
                    <td height="25" bgcolor="#C8E3FA" class="style30"><div align="center">视频标签：</div></td>
                    <td height="25" bgcolor="#EDF8FE"><input name="tag" type="text" id="tag" size="25" maxlength="20">
        最多5个，以空格隔开</td>
                  </tr>
                  <tr>
                    <td height="25" bgcolor="#C8E3FA" class="style30"><div align="center">视频内容：</div></td>
                    <td height="25" bgcolor="#EDF8FE"><textarea name="content" cols="40" rows="8" id="content"></textarea></td>
                  </tr>
                  <tr bgcolor="#EDF8FE">
                    <td height="25" colspan="2"><div align="center" class="style30">
                        <input type="submit" name="Submit" value="提交">
                        <input type="hidden" name="movie" value="<%=session("movie")%>">
                    </div></td>
                  </tr>
                </form>
            </table>
</td>
        </tr>
    </table></td>
    <td width="163" valign="top"><!--#include file="fenlei.asp"-->
</td>
  </tr>
</table>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="root.asp"--></td>
  </tr>
</table>
</body>
</html>
<%
conn.close
set conn=nothing
%>
