<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Interacts_List.aspx.cs"
    Inherits="RM.Web.Training.Learn.Interacts_List" %>

    <%@ 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><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Int_xxhd")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="m/Learn.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
</head>
<body style="background-color: #f4f4f4;">
    <form id="form1" runat="server">
    <div class="Interacts" id="Interacts">
        <div class="btnbartitle">
            <div>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Int_xxhd")%>
            </div>
        </div>
        <div class="btnbarcontetn">
            <div style="text-align: right">
            <div style="text-align: left; float: left;">
             请选择课程：<select id="Courseware_select" runat=server>
                    <option value="error" selected="true">--请选择--</option>
                </select>
                <asp:Button ID="Button1" Text="查询" runat="server" OnClick="Unnamed1_Click" />
                </div>
                <uc2:LoadButton ID="LoadButton1" runat="server" />
            </div>
        </div>
        <div class="interMain div-body" id="interMain">
            <%=Interacts %>
        </div>
        <uc1:PageControl ID="PageControl1" runat="server" />
    </div>
    </form>
    <script type="text/javascript">
        $(function () {
            //把分页定位到屏幕下面
            divresize(90);
        })
        //回复
        function reply() {
            var arrt = new Array();
            arrt = CheckboxValue().split('|');
            var key = arrt[0];
            if (IsEditdata(CheckboxValue())) {
                var url = "/Training/Learn/Interacts_reply.aspx?key=" + key;
                top.openDialog(url, 'Interacts_reply', '<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Int_kjhd")%> - <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Int_yyhf")%>', 750, 400, 50, 50);
            }
        }
        //删除
        function Delete() {
            var arrt = new Array();
            arrt = CheckboxValue().split('|');
            if (IsDelData(CheckboxValue())) {
                for (var i = 0; i < arrt.length; i++) {
                    var key = arrt[0];
                    var delparm = 'action=Interdelete&module=<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Int_kjhd")%>&tableName=TKS_Interacts&pkName=Interacts_ItId&pkVal=' + key;
                    delConfig('/Ajax/Common_Ajax.ashx', delparm);
                }
            }
        }
    </script>
</body>
</html>
