<%@ page language="C#" masterpagefile="admin.master" autoeventwireup="true" validaterequest="false" inherits="config, oyaya" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    网站配置
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      <table border="0" cellpadding="0" cellspacing="0" class="top_table" width="750">
        <tr>
            <td class="top_table_td1">  </td>
            <td class="top_table_td2"> 网站配置</td>
            <td class="top_table_td3" width="651">
            </td>
        </tr>
        <tr>
            <td style="border-bottom: #cadcea 1px solid; height: 35px; text-align: left; padding-left: 20px;" colspan="3" align="left">
                <table style="width: 100%" cellpadding="5">
                    <tr>
                        <td style="width: 100px; height: 18px">
                            网站名字：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox1" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                                ErrorMessage="网站名不能为空！"></asp:RequiredFieldValidator></td>
                    </tr>
                     <tr>
                        <td style="width: 100px; height: 18px">
                            网站标题附加字：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox0" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 100px">
                            网站域名：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox2" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                                ErrorMessage="不可能没有域名吧！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                     <tr>
                        <td style="width: 100px">
                            站 长 名：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox3" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
                                ErrorMessage="叫啥，从实招来！"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 100px">
                            联系邮箱：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox4" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4"
                                ErrorMessage="邮箱不能为空！"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox4"
                                ErrorMessage="正确的邮箱" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 100px">
                            联系QQ：</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="TextBox5" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5"
                                ErrorMessage="QQ呢！填你泡妞专用那个号！"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox5"
                                ErrorMessage="QQ号为数字" ValidationExpression="^[1-9]\d*$"></asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 100px">
                            备案编号：</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="TextBox6" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox></td>
                    </tr>
                      <tr>
                        <td style="width: 100px">
                            网站关键词：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox7" runat="server" CssClass="TextBox" Height="54px" TextMode="MultiLine" Width="321px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox7"
                                ErrorMessage="不可能没有搜索关键词吧！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100px">
                            网站介绍：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox8" runat="server" CssClass="TextBox" Height="82px" TextMode="MultiLine" Width="321px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox8"
                                ErrorMessage="不可能没有网站介绍吧！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100px">
                            第三方统计代码：</td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="TextBox9" runat="server" CssClass="TextBox" Height="82px" TextMode="MultiLine" Width="321px"></asp:TextBox>&nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="3" style="text-align: left; padding-left: 20px; height: 35px;">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width: 21px">
                </td>
                        <td style="width: 73px">
                <asp:Button ID="Button1" runat="server" Text="提交配置" CssClass="Button" OnClick="Button1_Click"/></td>
                        <td style="width: 435px; text-align: left;">
                            &nbsp;
                <asp:Label ID="Label1" runat="server"></asp:Label></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>

