<%@ page language="C#" autoeventwireup="true" inherits="Course_SelectUpload, App_Web_vzflj4p3" stylesheettheme="Themes" theme="Themes" %>

<!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 runat="server">
    <title>选择上传课件方式</title>
    <%--    <link id="artDialogSkin" href="../js/skin/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/artDialog.js"></script>--%>

    <script src="../js/artDialog3/artDialog.min.js"></script>

    <script>        (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>

    <script type="text/javascript">
        //artDialog js的完美弹出层
        function showSingle(url) {
            var sURL = url;
         

            art.dialog.open(sURL, { id: 'myDialogNote', title: '单文件上传', width: '750px', height: '300px', lock: true, closeFn: function() {
                //关闭后
                art.dialog({
                    content: '请选择您接下来的操作！',
                    yesText: '继续添加',
                    noText: '返回课件列表',
                    lock: true,
                    icon: 'confirm',
                    yesFn: function() {
                        return true;
                        //return false; //如果返回false将阻止关闭
                    },
                    noFn: function() {
                        var courseid = document.getElementById("hideCourseId").value;
                        window.location = 'CourseAdjunctLFRM.aspx?id=' + courseid;
                    } //为true等价于function(){}
                });
            }
            });
            return false;
        };

        function showMuti(url) {
            var sURL = url;
            //            art.dialog({ id: 'myDialogNote', title: '多文件上传', iframe: sURL, width: '750', height: '350', lock: true }).close(function() {
            //                //弹出窗口关闭后调用的函数
            //                //window.location = location;
            //        });
            art.dialog.open(sURL, { id: 'myDialogNote', title: '多文件上传', width: '750px', height: '350px', lock: true });
            //            var sFeatures = 'dialogHeight:350px; dialogWidth:750px; scroll:no; status:no; help:no; resizable:yes; center:yes';
            //            var result = window.open(sURL, "", sFeatures);
            return false;
        };
        function showServer(url) {
            var sURL = url;
            //            art.dialog({ id: 'myDialogNote', title: '选择服务器端文件', iframe: sURL, width: '750', height: '450', lock: true }).close(function() {
            //                //弹出窗口关闭后调用的函数
            //                //window.location = location;
            //        });
            art.dialog.open(sURL, { id: 'myDialogNote', title: '选择服务器端文件', width: '750px', height: '350px', lock: true });
            return false;
        };
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hideCourseId" runat="server" />
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="r_top_box" style="height: 100%;">
                <table cellspacing="0" class="r_top_title_box" width="100%">
                    <tr>
                        <td bgcolor="#ffffff" height="25" align="right">
                            <asp:Button ID="btnReturn" runat="server" Text="返回" OnClick="btnReturn_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table cellpadding="0" cellspacing="0" class="table_0318">
                    <tr>
                        <td bgcolor="#ffffff" height="25" align="center" valign="middle">
                             <img src="../Images/021.png" class="png" />
                        </td>
                        <td align="center">
                            <asp:Button ID="btnOneAdjunct" runat="server" Text="文件上传(jqurey)" 
                                OnClick="btnOneAdjunct_Click" SkinID="big_btn" />
                        </td>
                        <td bgcolor="#ffffff" height="25" align="left">
                            <font color="red">* JQuery上传控件，适合大多数浏览器。</font>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#ffffff" height="25" align="center" valign="middle">
                             <img src="../Images/045.png" class="png" />
                        </td>
                        <td align="center">
                            <asp:Button ID="btnMultiAdjunct" runat="server" Text="文件上传(SilverLight)" 
                                OnClick="btnMultiAdjunct_Click" SkinID="big_btn" />
                        </td>
                        <td bgcolor="#ffffff" height="25" align="left">
                            <font color="red">* SilverLight控件能速度稍慢，适合上传多个小文件。</font>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#ffffff" height="25" align="center" valign="middle">
                             <img src="../Images/037.png" class="png" />
                        </td>
                        <td align="center">
                            <asp:Button ID="btnServer" runat="server" SkinID="big_btn" Text="服务器端文件" OnClick="btnServer_Click" />
                        </td>
                        <td bgcolor="#ffffff" height="25" align="left">
                            <font color="red">* 选择服务端制定目录中的文件。</font>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#ffffff" height="25"  align="center" colspan="3" >
                            <img src="../Images/lightbulb.gif" class="img_style" /> 推荐使用FlashPaper软件对Word、Excel等文档进行格式转换后，变成Flash文件再上传为课件。<a href="../DownLoad/Download.aspx"
                                target="_blank" style="text-decoration:none; color:Red;"><img src="../Images/down.gif" alt="点此下载" /> 点此下载</a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
