<%@ Page Language="C#" AutoEventWireup="true" Codebehind="FlashFlv.aspx.cs" Inherits="MyITJob.Company.FlashFlv" %>
<%@ Register TagPrefix="ascx" TagName="PageFooter" Src="~/ascx/PageFooter.ascx" %>
<%@ Register TagPrefix="ascx" TagName="LeftPage" Src="~/Company/LeftDH.ascx" %>
<%@ Register TagPrefix="ascx" TagName="PageTop2" Src="~/ascx/PageTop2.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%=names %></title>
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
    <link href="../jquery/example/css/default.css" rel="stylesheet" type="text/css" />
    <link href="../jquery/uploadify.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../jquery/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../jquery/swfobject.js"></script>
    <script type="text/javascript" src="../jquery/jquery.uploadify.v2.1.0.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $("#uploadify").uploadify({
                'uploader': '../jquery/uploadify.swf',
                'script': 'UpLoadFlv.aspx', // UploadHandler.ashx is localhost bate.UpLoadFlv.aspx is Internet bate.
                'cancelImg': '/jquery/cancel.png',
                'folder': 'movie', // UpFile url
                'queueID': 'fileQueue',
                'fileDesc': '请上传Flv视频格式文件。',
                'fileExt': '*.flv', // UpFile Class
                'sizeLimit': '<%=FlvSize %>', // UpFile Size
                'buttonText': 'SelectFile',
                'multi': false
            });
            });
    </script>

</head>
<body>
        <ascx:PageTop2 ID="PageTop2" runat="server" />
        <table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="13%" valign="top">
                    <ascx:LeftPage ID="LeftPage" runat="server" />
                </td>
                <td width="8%" valign="top">
                </td>
                <td width="79%" valign="top">
    <div id="fileQueue">
    </div>
    <input type="file" name="uploadify" id="uploadify" /><br />
    <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a> | <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a><br />
    <span style="color:Red;">备注：</span>选择文件后，点击“上传”即可。文件上传完以后，进度条会自动消失。Flv文件大小不能超过<strong>3MB</strong>。
                </td>
            </tr>
        </table>
        <ascx:PageFooter ID="PageFooter" runat="server" />
</body>
</html>
