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

<%@ 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 id="Head1" runat="server">
    <title><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamHistory_List_Title")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <link href="../../Themes/Scripts/artDialog/skins/opera.css" rel="stylesheet" type="text/css" />
    <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>
    <style type="text/css">
        .specialStyle { background-color: #fcf1fb !important; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamHistory_List_Title")%>
        </div>
    </div>
    <div class="btnbarcontetn">
        <asp:DropDownList ID="ddl_PpType" CssClass="Searchwhere" runat="server" AutoPostBack="True">
     
        </asp:DropDownList>
        <div style="text-align: right">
            <a class="button green" onclick="lookOverExam();" title="<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamHistory_List_LookExam")%>"><span class="icon-botton"
                style="background: url('/Themes/images/16/mail.png') no-repeat scroll 0px 4px;">
            </span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamHistory_List_LookExam")%></a>
                  <a  style =" display:none;" class="button green" onclick="lookExam_PersonalData();" title="<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamHistory_Listlookdata")%>"><span class="icon-botton"
                style="background: url('/Themes/images/16/mail.png') no-repeat scroll 0px 4px;">
            </span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamHistory_Listlookdata")%></a>
            <%--<uc2:LoadButton ID="LoadButton1" runat="server" />--%>
        </div>
    </div>
    <div class="div-body">
        <%=TableHtml%>
    </div>
    <uc1:PageControl ID="PageControl1" runat="server" />
    </form>
    <script type="text/javascript">
        $(function () {
            //把分页定位到屏幕下面
            divresize(90);
            FixedTableHeader("#table1", $(window).height() - 121);
        })
        function lookOverExam() {//查看我的考试信息
            var arrt = new Array();
            arrt = CheckboxValue().split('|');
            var key = arrt[0];
            if (IsEditdata(CheckboxValue())) {
                var url = "/Training/Exam/ResultExam.aspx?HashKey=" + key;
                window.location = url;
            }
        }
        function lookExam_PersonalData() {
            var arrt = new Array();
            arrt = CheckboxValue().split('|');
            var key = arrt[0];
            if (IsEditdata(CheckboxValue())) {
                var url = "/Training/Exam/Exam_PersonalData.aspx?HashKey=" + key;
                window.location = url;
            }
        }
        //设置
        function set() {
            var url = "/RMBase/SysWindows/Base_WindowsSQLForm.aspx?key=<%=TableTitle %>";
            top.openDialog(url, 'Examination_List_Form', '<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_sjlb")%> - <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Display settings")%> ', 750, 400, 50, 50);
        }
    </script>
</body>
</html>
