<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="exampaperplanmanage.aspx.cs" Inherits="School_Web.admin.exam.exampaperplanmanage" %>


<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!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" />
    <title>安排信息</title>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>

<link href="../style/green/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="/admin/js/System.js" type="text/javascript"></script>
<script  language="javascript" src="/editor/xheditor.js" type="text/javascript" ></script>
<script language="javascript" src="/admin/My97DatePicker/WdatePicker.js" type="text/jscript"></script>
<script src="../js/jquery/jquery.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    function opJsTree() {
        var para = "?para=2&list=" + $("#txtEPID").val();
        //alert(para);
        UsOpenDialogexampaper(para, "txtEPID", "txtEPIDName");
    }

    function jscheckAll() {
        var bReturn = true;
        var sType = $("#drpEppShowScoreType").val();
        var s = $("#txtEppShowScore").val();
        if (sType == "2") {
            if (s == "") {
                alert("对不起，发布时间必须选择！");
                $("#txtEppShowScore")[0].focus();
                return false;
            }
            
        }

//        if (bReturn) {
//            bReturn = window.confirm("您确实要提交题型数据吗？");
//        }

        return bReturn;
    }
</script>
</head>
<body onload="win_onLoad();">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div id="divLoading">
                <img src="/admin/style/default/images/loading.gif" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <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"
                        >
                        <tr class="tablisttr">
                            <td class="tablisttitle"  style="width:100px">
                                安排名称</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppName" runat="server" ToolTip="安排名称"  CssClass="1"></asp:TextBox></td>
                            <td class="tablisttitle">
                                考试分类</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList ID="drpEppType" runat="server" ToolTip="考试分类" CssClass="1">
                                            <asp:ListItem Value="eppType">code</asp:ListItem>
                        </asp:DropDownList></td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle"  style="width:100px">
                                考试时长</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppTime" runat="server" ToolTip="考试时长" CssClass="2"></asp:TextBox></td>
                            <td class="tablisttitle">
                                参加次数</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppNumber" runat="server" ToolTip="参加次数"  CssClass="2"></asp:TextBox></td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle"  style="width:100px">
                                试卷分数</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppAllScore" runat="server" ToolTip="试卷分数"  CssClass="2"></asp:TextBox>
                            </td>
                            <td class="tablisttitle">
                                通过分数</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppOkScore" runat="server" ToolTip="通过分数"  CssClass="2"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                        
                         <%-- <p>
                         <label for="txtBeginDate">
                                     开始时间：</label>
                        <asp:TextBox ID="txtBeginDate" runat="server" onfocus="var txtAContractEnd=$dp.$('txtEndDate');WdatePicker({onpicked:function(){txtEndDate.focus();},maxDate:'#F{$dp.$D(\'txtEndDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                     </p>
                     <p>
                      <label for="txtEndDate">结束时间：</label>
                       <asp:TextBox ID="txtEndDate" runat="server" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'txtBeginDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                      </p>--%>
                        
                            <td class="tablisttitle"  style="width:100px">
                                考试时间</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppStartDate" runat="server" ToolTip="考试时间" onfocus="var txtAContractEnd=$dp.$('txtEppEndDate');WdatePicker({onpicked:function(){txtEppEndDate.focus();},maxDate:'#F{$dp.$D(\'txtEppEndDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                            </td>
                            <td class="tablisttitle">
                                结束时间</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppEndDate" runat="server" ToolTip="结束时间" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'txtEppStartDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle"  style="width:100px">
                                显示分数</td>
                            <td class="tabmanagertr">
                                <asp:DropDownList ID="drpEppShowScoreType" runat="server" ToolTip="显示分数方式" CssClass="1">
                                            <asp:ListItem Value="EppShowScoreType">code</asp:ListItem>
                        </asp:DropDownList>
                            </td>
                            <td class="tablisttitle">
                                发布时间</td>
                            <td class="tabmanagertr">
                                <asp:TextBox ID="txtEppShowScore" runat="server" ToolTip="指定发布时间"  onfocus="WdatePicker({isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle"  style="width:100px">
                                试卷模式</td>
                            <td class="tabmanagertr">
                                
                                
                                <asp:DropDownList ID="drpEppMode" runat="server" ToolTip="试卷模式" CssClass="1">
                                            <asp:ListItem Value="EppMode">code</asp:ListItem>
                        </asp:DropDownList>
                                
                            </td>
                            <td class="tablisttitle">
                                选择试卷</td>
                            <td class="tabmanagertr">
                            <asp:TextBox ID="txtEPIDName" runat="server" ToolTip="选择试卷"  CssClass="1"></asp:TextBox>
                            <div style="display:none"><asp:TextBox ID="txtEPID" runat="server"></asp:TextBox></div>
                                <a href="javascript:opJsTree();">[选择]</a></td>
                        </tr>
                        <tr class="tablisttr">
                            <td class="tablisttitle">
                                安排备注</td>
                            <td class="tabmanagertr" colspan="3">
                              <asp:TextBox ID="txtEppInfo" runat="server" ToolTip="安排说明" TextMode="MultiLine" 
                                    Height="100px" Width="100%" class="xheditor {upLinkUrl:s_upLinkUrl,upLinkExt:s_upLinkExt,upImgUrl:s_upLinkUrl,upImgExt:s_upImgExt,upFlashUrl:s_upLinkUrl,upFlashExt:s_upFlashExt,upMediaUrl:s_upLinkUrl,upMediaExt:s_upMediaExt}">
                                    </asp:TextBox>
<%--<asp:TextBox ID="txtPInfo" runat="server" ToolTip="试卷说明" 
TextMode="MultiLine" Height="100px" Width="100%" 
class="xheditor {upLinkUrl:s_upLinkUrl,upLinkExt:s_upLinkExt,upImgUrl:s_upLinkUrl,upImgExt:s_upImgExt,upFlashUrl:s_upLinkUrl,upFlashExt:s_upFlashExt,upMediaUrl:s_upLinkUrl,upMediaExt:s_upMediaExt}"></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>
            </div>
        </div>
    </div>
    
  

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