<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Mall_Courseware.aspx.cs"
    Inherits="RM.Web.Mall.Admin.Mall_Courseware" %>

<%@ Register Src="/UserControl/PageControl.ascx" TagName="PageControl" TagPrefix="uc1" %>
<%@ Register Src="/UserControl/LoadButton.ascx" TagName="LoadButton" TagPrefix="uc2" %>
<!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 href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="/Themes/Scripts/artDialog/skins/opera.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>        
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            divresize(90);
            FixedTableHeader("#table1", $(window).height() - 121);
        })
        function Get() {
            var like = $("#Getlike").val();
            var getby = $("#Getby").val();
            var parm = 'like=' + like + '&getby=' + getby;
            getAjax("/Mall/Admin/Mall_Courseware.aspx", parm, function (rs) {

                $("#load").html(rs);
            });
        }

        function edit() {
            var arrt = new Array();
            arrt = CheckboxValue().split('|');
            var key = arrt[0];
            if (IsEditdata(CheckboxValue())) {
                var url = "/Mall/Admin/Mall_CwForm.aspx?key=" + key;
                top.openDialog(url, 'Mall_CwForm', '<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_courEdit")%>', 400, 300, 50, 50);
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
     <div id="load">
    <div class="btnbartitle">
        <div>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_courFaBu")%>
        </div>
    </div>
        <div class="btnbarcontetn">
            <div style="text-align: right;">
                <div style="float: left">
                    <select id="Getlike">
                        <option value="1"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Learn_kechengname")%></option>
                        <option value="2"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_skTeach")%></option>
                    </select>
                    <input id="Getby" type="text" />
                    <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("GetButton")%>' onclick="Get(0)" />
                </div>
                <uc2:LoadButton ID="LoadButton1" runat="server" /><a title='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CoursewareType_Form_spbz")%>' href="http://tks.1039.cn/Training/Learn/LearnPC.aspx?Key=496439ca-a068-4d18-81c0-5f3951ab458c" target="_blank" class="button green"><span class="icon-botton" style="background: url('/Themes/images/16/folder_film.png') no-repeat scroll 0px 4px;"></span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CoursewareType_Form_spbz")%></a>
            </div>
        </div>
        <div class="div-body">
            <%=wintable %>
        </div>
        <uc1:PageControl ID="PageControl1" runat="server" />
    </div>
    </form>
</body>
</html>
