<%@ 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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="Css/public.css" />
    <link type="text/css" rel="stylesheet" href="admin/Css/adminfunc.css" />
    <script type="text/javascript" src="Script/jquery.js" ></script>
    <script type="text/javascript" src="Script/validate.js" ></script>
    <style type="text/css">
        .style1
        {
            font-weight: bold;
            color: #ffffff;
        }
    </style>
</head>
<body>
    <div class="edit-func-box func-box">
        <div class="hd">
            网站开通申请
        </div>
        <form id="Form1" method="post" runat="server">
        <div class="bd">
            <table class="edit-table">
                <tr>
                    <th width="25%">
                        <font color="red">*</font>网站名称：
                    </th>
                    <td width="75%">
                        <asp:TextBox ID="txtSchoolName" runat="server" CssClass="input-txt input-txt3"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqSchoolName" runat="server" Display="Dynamic" ControlToValidate="txtSchoolName"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th>
                        <font color="red">*</font> 序列号：
                    </th>
                    <td align="left">
                        <asp:TextBox ID="txtSN" runat="server" CssClass="input-txt input-txt3"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqSN" runat="server" Display="Dynamic" ControlToValidate="txtSN"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th>
                        <font color="red">*</font> 域名：
                    </th>
                    <td>
                        <asp:TextBox ID="txtDomainName" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqDomainName" runat="server" Display="Dynamic" ControlToValidate="txtDomainName"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                            ID="validDomainName" runat="server" Display="Dynamic" ControlToValidate="txtDomainName"
                            ErrorMessage="请按如下格式输入：www.demo.com" ValidationExpression="([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
                        <span style="color: Red">注：请确保所填写的域名与将建站的web服务器ip地址之间已做好域名解析，否则建好的网站将不能正常访问。</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        <font color="red">*</font> 联系人：
                    </th>
                    <td>
                        <asp:TextBox ID="txtLinkman" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqLinkman" runat="server" Display="Dynamic" ControlToValidate="txtLinkman"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th>
                        <font color="red">*</font> 联系电话：
                    </th>
                    <td align="left">
                        <asp:TextBox ID="txtPhone" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqPhone" runat="server" Display="Dynamic" ControlToValidate="txtPhone"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th>
                        <font color="red">*</font> E-mail：
                    </th>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqEmail" runat="server" Display="Dynamic" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="validEmail" runat="server" ControlToValidate="txtEmail"
                            ErrorMessage="电子邮件格式不正确！" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <th>
                        QQ：
                    </th>
                    <td>
                        <asp:TextBox ID="txtQQ" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        MSN：
                    </th>
                    <td align="left">
                        <asp:TextBox ID="txtMSN" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        移动电话：
                    </th>
                    <td>
                        <asp:TextBox ID="txtMobile" runat="server" CssClass="input-txt input-txt1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        备注：
                    </th>
                    <td>
                        <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Width="384px" Height="100px"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <div class="ft">
                <div class="action-field txt-c">
                    <asp:Button ID="btnSave" CssClass="btn" runat="server" Text="提交" OnClick="btnSave_Click">
                    </asp:Button>
                    <input type="button" class="btn" name="close" value="关闭" onclick="javascript:window.close();"><font
                        color="red">注意：带“*”为必填项。</font>
                </div>
            </div>
        </div>
        </form>
    </div>
</body>
</html>
