<%@ Page Language="c#" Inherits="WebApp.Default" CodeBehind="Default.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>
        <%= title %>
    </title>
    <meta charset="utf-8" />
    <meta name="description" content="网站开通申请" />
    <!--#include file="assets/head.htm"-->

    <script src="assets/js/validate.js" type="text/javascript"></script>
    <script type="text/javascript">
    function checkAll()
    {
        //验证
        return checkAllValidate();
    }
    </script>
</head>
<body class="no-skin">
    <div class="main-content-inner">
            <div class="page-content">
                <!-- PAGE CONTENT BEGINS -->

                <div class="page-header">
                    <h1>
                    网站开通
                        	<small>
                                <i class="ace-icon fa fa-angle-double-right"></i>
                                申请
                            </small>
                    </h1>
                </div>
                <form id="Form1" method="post" runat="server">
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <div class="row form-horizontal">
                    <div class="col-xs-12">
                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtSchoolName">
                                <span class="help-inline">
                                    <span class="middle">*</span>
                                </span>
                                网站名称：
                            </label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtSchoolName" runat="server" CssClass="col-xs-10 col-sm-4" notNull="true" msgName="网站名称"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqSchoolName" runat="server" Display="Dynamic" ControlToValidate="txtSchoolName" ErrorMessage="请输入网站名称" ValidationGroup="webreg"></asp:RequiredFieldValidator>
                            </div>
                        </div>

                        <div class="form-group" style="display:none ;" >
                            <label class="col-sm-4 control-label no-padding-right" for="txtSN">序列号：</label>
                            <div class="col-sm-8">
                            <div class="input-group col-xs-10 col-sm-5">
                                <asp:TextBox ID="txtSN" runat="server" CssClass="form-control input-mask-product col-xs-10 col-sm-5"></asp:TextBox>
                                <span class="input-group-addon">
								    <i class="ace-icon fa fa-key"></i>
							    </span>
							</div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtDomainName">域名：</label>
                            <div class="col-sm-8">
                                
                                <asp:TextBox ID="txtDomainName" runat="server" CssClass="col-xs-10 col-sm-4"></asp:TextBox>
                                
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtLinkman">
                                <span class="help-inline ">
                                    <span class="middle">*</span>
                                </span>
                                联系人：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtLinkman" runat="server" CssClass="col-xs-10 col-sm-4" notNull="true" msgName="联系人"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqLinkman" runat="server" Display="Dynamic" ControlToValidate="txtLinkman" ErrorMessage="请输入联系人" ValidationGroup="webreg"></asp:RequiredFieldValidator>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtPhone">
                                <span class="help-inline">
                                    <span class="middle">*</span>
                                </span>
                                联系电话：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtPhone" runat="server" CssClass="col-xs-10 col-sm-4" notNull="true" msgName="联系电话"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqPhone" runat="server" Display="Dynamic" ControlToValidate="txtPhone" ErrorMessage="请输入联系电话" ValidationGroup="webreg"></asp:RequiredFieldValidator>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtEmail">
                                <span class="help-inline">
                                    <span class="middle">*</span>
                                </span>
                                E-mail：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtEmail" runat="server" CssClass="col-xs-10 col-sm-4"  notNull="true" msgName="电子邮件" regex="/^(\w)+(\.\w+)*@(\w)+((\.\w{2,3}){1,3})$/" regexMsg="信箱格式不正确"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqEmail" runat="server" Display="Dynamic" ControlToValidate="txtEmail" ErrorMessage="请输入联系人Email" ValidationGroup="webreg"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="validEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic"
                                    ErrorMessage="电子邮件格式不正确！" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="webreg"></asp:RegularExpressionValidator>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtQQ">QQ：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtQQ" runat="server" CssClass="col-xs-10 col-sm-4"></asp:TextBox>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtMSN">MSN：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtMSN" runat="server" CssClass="col-xs-10 col-sm-4"></asp:TextBox>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtMobile">移动电话：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtMobile" runat="server" CssClass="col-xs-10 col-sm-4"></asp:TextBox>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label no-padding-right" for="txtRemark">备注：</label>
                            <div class="col-sm-8">
                                <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" CssClass="col-xs-10 col-sm-4"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-4 col-md-8">
                        <asp:Button ID="btnSave" CssClass="btn btn-sm btn-primary" runat="server" Text="提交" OnClientClick="return checkAll()" OnClick="btnSave_Click" ValidationGroup="webreg"></asp:Button>&nbsp;&nbsp;
                        <input type="button" class="btn btn-sm btn-primary" name="close" value="关闭" onclick="javascript: window.close();">&nbsp;注意：带“*”为必填项。
                    </div>
                </div>
                </form>
            </div>
        
    </div>
</body>
</html>
