<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="extexampapermanager.aspx.cs" Inherits="Us.Web.Extend.admin.extexam.extexampapermanager" %>


<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title>试卷管理管理</title>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>
    <script language="javascript" type="text/javascript">
        KindEditor.ready(function (K) {
            K.create('#txtDInfo,#txtPAsk');
        });
    </script>
    <script src="../js/jquery/jquery.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function opJsTree(txt, txtValue) {
            var para = "/admin/extexam/extexamsorttreeselect.aspx?para=" + "2" + "&list=" + $("#" + txtValue).val();
            //UsOpenDialogTree(para, txt, txtValue);
            CareffArtOpen4(para, '题库分类', 300, 500, function (path) {
                //alert(path);
                if (path == null) { return false; }
                var strs = path.split("#")
                var m = $id(txt)
                m.value = strs[1];
                var m1 = $id(txtValue)
                m1.value = strs[0];
            });
        }


    </script>
</head>
<body onload="win_onLoad();">
    <form id="form1" runat="server">

        <div id="tbMain">
            <div class="divTbg">
                <div class="divTbgL">
                </div>
                <div class="divTbgInfo">
                    <div class="divTbgTitle">
                        试卷管理管理
                    </div>
                </div>
            </div>
            <div class="divTbgF">
            </div>
            <div class="divTNavBG" id="topURL">
                <ul id="topURLul">
                    <li class="divURLed" id="div1">
                        <div>
                            <img src="../style/default/images/mini_icons_046.gif" width="10" height="10" />
                            基本信息
                        </div>
                    </li>
                </ul>
            </div>
            <div id="mypanel">
                <div class="divInfoContext">
                    <div class="divInfo">
                        <div class="divInfoblack">
                            <div class="divInfoTopList">
                                <div class="listLeft">
                                    <div class="navtitle">
                                        试卷管理管理
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="divInfo">
                        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" id="mainlist" onmouseover="changeto()" onmouseout="changeback()">
                            <tr class="tablisttr">
                                <td class="tablisttitle">试卷名称<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEPName" runat="server" ToolTip="试卷名称" Text="" CssClass="1"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">试卷作者</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEPAuthor" runat="server" ToolTip="试卷作者" Text=""></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">试题数量<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEPCount" runat="server" ToolTip="试题数量" Text="100" CssClass="1"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">试题时长<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEPLong" runat="server" ToolTip="试题时长" Text="120" CssClass="2"></asp:TextBox>分钟
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">试题总分<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEPSumScore" runat="server" ToolTip="试题总分" Text="100" CssClass="1"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">通过分数<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEPOKScore" runat="server" ToolTip="通过分数" Text="60" CssClass="1"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">出题方式</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEPCType" ToolTip="出题方式" CssClass="1">
                                        <asp:ListItem Value="PCType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">试卷类型</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEPType" ToolTip="试卷类型" CssClass="1">
                                        <asp:ListItem Value="PType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">试卷大类</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpCTType" ToolTip="试卷大类" AutoPostBack="True" OnSelectedIndexChanged="drpCTType_SelectedIndexChanged">
                                        <asp:ListItem Value="CTType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">试卷小类</td>
                                <td class="tabmanagertr">
                                   <asp:DropDownList runat="server" ID="drpCTID" ToolTip="试卷小类">
                                       
                                    </asp:DropDownList>
                                </td>


                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">题库分类<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <div class="nodisplay">
                                        <asp:TextBox ID="txtSID" runat="server" ToolTip="题库分类" Text="" CssClass="1"></asp:TextBox></div>
                                    <asp:TextBox ID="txtSIDName" runat="server" ToolTip="题库分类名称" Text="" CssClass="1"></asp:TextBox>
                                    <a href="javascript:opJsTree('txtSIDName','txtSID');">[选择]</a>
                                </td>
                                <td class="tablisttitle">是否公开</td>
                                <td class="tabmanagertr"> <asp:DropDownList runat="server" ID="drpIsPublic" ToolTip="是否公开" CssClass="1">
                                        <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList></td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">试卷说明</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtDInfo" runat="server" ToolTip="试卷说明" Text="" TextMode="MultiLine" Height="100px" Width="100%"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">试卷问题</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtPAsk" runat="server" ToolTip="试卷问题" Text="" TextMode="MultiLine" Height="100px" Width="100%"></asp:TextBox>
                                </td>
                            </tr>
                        </table>




                        <div class="divSave">
                            <asp:Button ID="btnSubmit" runat="server" Text="保存(S)"
                                CssClass="SkyButtonFocus" OnClick="btnSubmit_Click" />
                            <asp:Button ID="btnExit" runat="server" Text="取消(C)" CssClass="SkyButtonFocus"
                                OnClick="btnSubmit_Click" />
                        </div>
                           <div class="divInfo">
                            <span class="usHelpMessage">* 注意事项： 1、试卷类型为[在线练习]的，当选择公开的时候，任何人都可以进行测试; 2、题库分类表示从什么题库里面抽题;  </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </form>
</body>
</html>
