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

<%@ Register Src="~/UserControl/PageControl.ascx" TagName="PageControl" TagPrefix="uc1" %>
<!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("Certificate_List")%></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>
</head>
<body>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Certificate_List")%>
        </div>
    </div>
    <div class="btnbarcontetn">
        <div style="text-align: left; float: left;">
            <input runat="server" class="txt" id="search_Bar" />
            <asp:LinkButton ID="lbtSearch" runat="server" class="button green" OnClick="lbtSearch_Click"><span class="icon-botton"
            style="background: url('../../Themes/images/Search.png') no-repeat scroll 0px 4px;">
        </span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("GetButton")%></asp:LinkButton>
        </div>
        <div style="text-align: right">
            <a class="button green" id="certificateLink"  onclick="location.href='/Training/Certificate/Query.aspx'" href="/Training/Certificate/Query.aspx" title="<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CertificateType_query")%>"><span
                class="icon-botton" style="background: url('/Themes/images/16/color_swatch.png') no-repeat scroll 0px 4px;">
            </span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CertificateType_query")%></a> <a class="button green" onclick="del()" id="delCertificate" href="javascript:;"
                title="<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CertificateType_query")%>"><span class="icon-botton" style="background: url('/Themes/images/16/book_delete.png') no-repeat scroll 0px 4px;">
                </span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Delete")%></a>
        </div>
    </div>
    <div class="div-body">
        <%=TableHtml %>
    </div>
    <uc1:PageControl ID="PageControl1" runat="server" />
    </form>
</body>
<script type="text/javascript">
    $(function () {
        //把分页定位到屏幕下面
        divresize(90);
        FixedTableHeader("#table1", $(window).height() - 121);
      
    });
    function del() {
        var key = CheckboxValue();
        if (IsDelData(key)) {
            var delparm = 'action=Virtualdelete&module=<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CertificateUsers_yhzsgl")%>&tableName=TKS_CertificateUsers&pkName=CertificateUsers_Id&pkVal=' + key;
            delConfig('/Ajax/Common_Ajax.ashx', delparm)
        }
    }
</script>
</html>
