<%@ page language="VB" autoeventwireup="false" inherits="WebExam.Web.exam_editpaper_creatPaper, App_Web_4fcdyx4d" %>

<!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 runat="server">
    <title>创建新试卷</title>
    
     <style type="text/css">
         body{font-size:9pt}
        .title
        {
            text-align: center;
            margin: 10px;
        }
        .left
        {
            vertical-align: top;
            color: Navy;
        }
        .btn
        {
            margin-bottom: 20px;
            width: 90px;
        }
        ul{ list-style-type:none}
       
       
         .style1
         {
             width: 77px;
         }
       
       
    </style>

    
    <script type="text/javascript">
        // <!CDATA[
      
       

        function ClientValidateTitle(source, arguments)
        //验证用户名是否正确
        {
            var strr;
            re = /[^\s\u4E00-\u9FA50-9a-zA-Z]/; //只允许汉字、字母、数字
            strr = re.exec(arguments.Value);

            if (strr == null)
                arguments.IsValid = true;
            else
                arguments.IsValid = false;
        }
        
        // ]]>
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="title">
        <h3 class="title">
            新建试卷</h3>
        <table style="height: 244px">
            <tr>
                <td align="left" style="vertical-align:top" class="style1">
                    标 &nbsp; &nbsp; 题
                </td>
                <td align="left" style="vertical-align:top">
                    <input id="sjbt" runat="server" type="text" style="width: 257px" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="sjbt"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:CustomValidator ID="CustomValidatorTitle" runat="server" ClientValidationFunction="ClientValidateTitle"
                        ControlToValidate="sjbt" ErrorMessage="标题中只能包含汉字、字母、数字、空格。" 
                        Display="Dynamic"></asp:CustomValidator>
                </td>
            </tr>
 
            <tr>
                <td align="left" style="vertical-align:top" class="style1">
                    试卷格式
                </td>
                <td align="left" style="vertical-align:top">
                
                <asp:RadioButton ID="R_d" runat="server" Text="S" GroupName="type" Checked="True" />
                &nbsp;&nbsp; *试题逐个录入，试卷界面美观
                
               
                </td>
            </tr>
 
            <tr>
                <td align="left" style="vertical-align:top" class="style1">
                    </td>
                <td align="left" style="vertical-align:top">
               
                <asp:RadioButton ID="R_z" runat="server" Text="W" GroupName="type" />
                &nbsp;&nbsp;*试卷整体录入，适合从其他文件，如word、试卷扫描图片中快速创建电子考卷
               
               
                </td>
            </tr>
            <tr>
               
                <td colspan="2" align="center">
 <asp:Button ID="tj" runat="server"  Text="提  交" />
                    <input id="cz" name="cz" type="button" onclick="parent.$.modal.close();" value="取  消" />
                   
                </td>
            </tr>
        </table>
        <asp:Label ID="L_exmsg" runat="server" Text="" Visible ="false" ForeColor="Red" Font-Bold="true" ></asp:Label>
    </div>
    
    </form>
</body>
</html>
