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

<%@ 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">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <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>
    <script type="text/javascript">

        $(function () {
            GaiBian();
        });
        function GaiBian() {
            var val = $("#Type_Id").val();
            if (val == "1") {
                $("#Examination_Id").show();
                $("#Courseware_Id").hide();
                $("#everExamination").hide();

            } else if (val == "2") {
                $("#Examination_Id").hide();
                $("#Courseware_Id").show();
                $("#everExamination").hide();
            } else if (val == "3") {
                $("#Examination_Id").hide();
                $("#Courseware_Id").hide();
                $("#everExamination").show();
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div-frm" style="height: 275px;">
        <table>
            <tr>
                <th>
                    完成任务:
                </th>
                <td>
                    <select id="Type_Id" onchange="GaiBian(this)" class="select" runat="server" style="width: 206px">
                        <option value="1">考试任务</option>
                        <option value="2">学习任务</option>
                        <option value="3">单份试卷</option>
                    </select>
                </td>
                <td>
                    <select id="Examination_Id" class="select" runat="server" style="width: 206px">
                    </select>
                    <select id="Courseware_Id" class="select" runat="server" style="width: 206px">
                    </select>
                    <select id="everExamination" style="display: none;" class="select" runat="server">
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    要发布的证件:
                </th>
                <td>
                    <select id="Certificate_Id" class="select" runat="server" style="width: 206px">
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    发布的证件编号:
                </th>
                <td>
                    <input type="text" id="Certificate_Name" class="select" runat="server" style="width: 206px" />
                </td>
            </tr>
        </table>
        <div class="frmbottom">
            <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return saveForm();"
                OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
            <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
                <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
        </div>
    </div>
    </form>
</body>
</html>
