<%@ Page Language="vb" AutoEventWireup="false" ValidateRequest ="false" MasterPageFile="~/Master/User.Master" CodeBehind="MyVideoUpdate.aspx.vb" Inherits="Dingtai.Website.MyVideoUpdate" 
    title="修改视频" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div id="body_left">
    <div class="body_left_top"></div>
    <div id="body_left_conter">
        <div id="upload_title">
            <ul>
                <li id="two1" onclick="setTab('two',1,2)" class="hover">修改视频<span style="color:#fff; ">·</span></li>
            </ul>
            <div class="clear"></div>
            <div class="back"><a href="javascript:history.back(-1)">返回上页</a></div>
        </div>

        <div id="tab_two_1">   
                <div class="detailed">
                    <div class="text01">视频名称：<input name="videoName" id="videoName" runat="server" type="text"></div>
                    <div class="text02">
                    频&nbsp;&nbsp;&nbsp;&nbsp;道：<select name="channalid" runat="server" id="channalid" style="margin-right:23px;"></select>
                    专&nbsp;&nbsp;&nbsp;&nbsp;辑：<select name="albumid" runat="server" id="albumid" ></select>
                    </div>
                    <div class="text03">允许下载：<input name="ifUpload" id="ifUpload" type="checkbox" value="" runat="server" />用户主页推荐：<input name="ifBest" runat="server" id="ifBest" type="checkbox" value="" />用户主页置顶：<input name="ifTop" runat="server" id="ifTop" type="checkbox" value="" /></div>
                    <div class="text04">视频标签：<input type="text" name="videoTag" id="videoTag" runat="server" /></div>
                    <div class="text05">视频简介：<textarea name="videoDetail" id="videoDetail" cols="200" rows="50" runat="server"></textarea></div>
                    <div class="text06">
                        <asp:ImageButton ID="imgbtUpdate" runat="server" ImageUrl="/html/Skins_User/default/images/Modify_an.gif" />
                    </div>
                </div>
        </div>
    </div>
    <div class="body_left_bottom"></div>
    <script type="text/javascript">
//        function checkType(){   
//          //得到上传文件的值   
//          var fileName=document.getElementById("videoPath").value;   
//             
//          //返回String对象中子字符串最后出现的位置.   
//          var seat=fileName.lastIndexOf(".");   
//            
//          //返回位于String对象中指定位置的子字符串并转换为小写.   
//          var extension=fileName.substring(seat).toLowerCase();   
//             
//          var allowed=[".wmv", ".wm", ".wma", ".wav", ".asf", ".asx", ".3gp", ".mp3", ".mp4", ".m4v", ".rm", ".ra", ".rmvb", ".ram", ".mpg", ".mpeg", ".mpe", ".vob", ".mov", ".avi", ".flv"];   
//          for(var i=0;i<allowed.length;i++){   
//              if(!(allowed[i]!=extension)){   
//                  return true;   
//              }   
//          }   
//          
//          alert("不支持"+extension+"格式");   
//          return false;   
//        }
    </script>
</div>
</asp:Content>
