<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Include/Connect.asp"-->
<!--#Include File="antisqlin/Neeao_SqlIn.Asp"-->
<%
flvname=request.querystring("flvname")
if flvname="" then
response.redirect "http://www.show5.net"
end if
%>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="CSS/Hompy/hompy.css" type=text/css rel=stylesheet>
<title></title>
<SCRIPT language="javascript">
<!--
function FormCheck()
{
   if(videosave.videosysgroup.value=="")
   {
   alert("系统视频分类不能为空！");
   videosave.videosysgroup.focus();
   }
   else if(videosave.videogroup.value=="")
   {
   alert("个人视频分类不能为空！");
   videosave.videogroup.focus();
   }
   else if(videosave.topic.value=="")
   {
   alert("视频标题不能为空！");
   videosave.topic.focus();
   }
   else if(videosave.content.value=="")
   {
   alert("视频简介不能为空！");
   videosave.content.focus();
   }
   else
   {
   document.videosave.submit();
   }
}
//-->
</SCRIPT>
</head>
<body>
<TABLE cellSpacing=0 cellPadding=0 width=473 border=0>
  <TBODY>
    <TR> 
      <TD height=33 valign="top"> 
        <div align="center"> 
          <table width="97%" border="0" cellspacing="0" cellpadding="0">
            <TR> 
              <TD width="397" height=25 class="orange2_b">视频保存</TD>
              <TD width="62" class=font_gray9b>&nbsp;</TD>
            </TR>
            <TR> 
              <TD height=1 colspan="2" bgColor=#dddddd></TD>
            </TR>
          </table>
        </div></TD>
    </TR>
    <TR> 
      <TD height=24><div align="center"> 
<table width="97%"  border="0" cellspacing="0" cellpadding="0">
<form name="videosave" action="videosave_do.asp" method="post" >
<INPUT type=hidden value=<%=flvname%> name=filename>
  <tr>
    <td><TABLE cellSpacing=0 cellPadding=0 width=97% border=0>
                    <TBODY>
                    <TR>
                      <TD 
                      style="BORDER-RIGHT: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid" 
                      bgColor=#bcbcbc height=1></TD></TR>
                    <TR>
                      <TD 
                      style="BORDER-RIGHT: #bcbcbc 1px solid; BORDER-LEFT: #bcbcbc 1px solid" 
                      align=middle>
                        <TABLE cellSpacing=0 cellPadding=0 width=458 border=0>
                          <TBODY>
                          <TR>
                            <TD width=81 height=28>
                              <DIV align=center>系统分类</DIV></TD>
                                <TD width=299><select name=videosysgroup>
                                    <option value="" selected>请选择系统视频分类</option>
<%
set rs = server.CreateObject("adodb.recordset")
sql="select * from Show5_VideoSysGroup order by GroupID"
rs.open sql,cn
do while not rs.eof
%> 
                                <OPTION value=<%=rs("GroupID")%>><%=rs("Groupname")%></OPTION>
<%
rs.movenext
loop
%>
                                  </select></TD>
                          </TR>
                          <TR>
                            <TD class=li_x_02 colSpan=3 height=1></TD></TR>
                          <TR>
                          <TR>
                            <TD width=81 height=28>
                              <DIV align=center>个人分类</DIV></TD>
                            <TD width=299><SELECT name=videogroup> 
							    <OPTION value="" selected>请选择个人视频分类&gt;&gt;</OPTION>
<%
set rs = server.CreateObject("adodb.recordset")
sql="select * from Show5_Videogroup where Username='"&session("username")&"'"
rs.open sql,cn
do while not rs.eof
%> 
                                <OPTION value=<%=rs("GroupID")%>><%=rs("Groupname")%></OPTION>
<%
rs.movenext
loop
%>
								</SELECT> </TD></TR>
                          <TR>
                            <TD class=li_x_02 colSpan=3 height=1></TD></TR>
                          <TR>
                            <TD width=81 height=28>
                              <DIV align=center>标题</DIV></TD>
                            <TD width=299><INPUT class=input id=topic 
                              style="WIDTH: 240px; HEIGHT: 21px" maxLength=30 
                              name=topic> </TD></TR>
                          <TR>
                            <TD class=li_x_02 colSpan=3 height=1></TD></TR>
                          <TR>
                                <TD width=81 height=113>
<DIV align=center>缩略图</DIV></TD>
                                <TD width=299><img src="../videoimage/<%=flvname%>.jpg" width="127" height="94"></TD>
                                <TD width="78" class=p9>&nbsp;</TD>
                            </TR>                          <TR>
                            <TD class=li_x_02 colSpan=3 height=1></TD></TR><TR>
                            <TD width=81 height=28><DIV align=center>简介</DIV></TD>
                                <TD width=299><TEXTAREA class=input style="OVERFLOW: auto; WIDTH: 299px; HEIGHT: 63px" name=content>请输入视频简介！</TEXTAREA></TD>
                                <TD class=p9>&nbsp;</TD>
                            </TR></TBODY></TABLE>
                        <DIV id=imgview style="DISPLAY: none">
                        <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                          <TBODY>
                          <TR>
                            <TD class=li_x_02 height=1></TD></TR></TBODY></TABLE>
                          </DIV>
                        <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                          <TBODY>
                          <TR>
                            <TD class=li_x_02 height=1></TD></TR></TBODY></TABLE>
                        </TD>
                      </TR>
                    <TR>
          <TD 
                      style="BORDER-RIGHT: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid" 
                      bgColor=#bcbcbc height=1></TD></TR></TBODY></TABLE>
          <table width="97%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                      <td width="62%" height="27" align="right" style="PADDING-LEFT: 6px"><img src="../Images/Hompy/Bt_goback.gif" width="39" height="18" align="absmiddle"> 
                        &nbsp;<A href="javascript:FormCheck();"><img src="../Images/Hompy/Bt_confirm.gif" width="39" height="18" border="0" align="absmiddle"></a></td>
  </tr>
</table></td>
  </tr>
</form>
</table>
<table width="97%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="62%" height="27" align="center">&nbsp;</td>
  </tr>
</table>
   </div></TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html>
