config.aspx
上传用户:tongfeicq
上传日期:2022-07-20
资源大小:2856k
文件大小:7k
源码类别:

.net编程

开发平台:

Visual C++

  1. <%@ page language="C#" masterpagefile="admin.master" autoeventwireup="true" validaterequest="false" inherits="config, oyaya" title="Untitled Page" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
  3.     网站配置
  4. </asp:Content>
  5. <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  6.       <table border="0" cellpadding="0" cellspacing="0" class="top_table" width="750">
  7.         <tr>
  8.             <td class="top_table_td1">  </td>
  9.             <td class="top_table_td2"> 网站配置</td>
  10.             <td class="top_table_td3" width="651">
  11.             </td>
  12.         </tr>
  13.         <tr>
  14.             <td style="border-bottom: #cadcea 1px solid; height: 35px; text-align: left; padding-left: 20px;" colspan="3" align="left">
  15.                 <table style="width: 100%" cellpadding="5">
  16.                     <tr>
  17.                         <td style="width: 100px; height: 18px">
  18.                             网站名字:</td>
  19.                         <td style="text-align: left;">
  20.                             <asp:TextBox ID="TextBox1" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
  21.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
  22.                                 ErrorMessage="网站名不能为空!"></asp:RequiredFieldValidator></td>
  23.                     </tr>
  24.                      <tr>
  25.                         <td style="width: 100px; height: 18px">
  26.                             网站标题附加字:</td>
  27.                         <td style="text-align: left;">
  28.                             <asp:TextBox ID="TextBox0" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
  29.                             </td>
  30.                     </tr>
  31.                     <tr>
  32.                         <td style="width: 100px">
  33.                             网站域名:</td>
  34.                         <td style="text-align: left;">
  35.                             <asp:TextBox ID="TextBox2" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
  36.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
  37.                                 ErrorMessage="不可能没有域名吧!"></asp:RequiredFieldValidator>
  38.                         </td>
  39.                     </tr>
  40.                      <tr>
  41.                         <td style="width: 100px">
  42.                             站 长 名:</td>
  43.                         <td style="text-align: left;">
  44.                             <asp:TextBox ID="TextBox3" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
  45.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
  46.                                 ErrorMessage="叫啥,从实招来!"></asp:RequiredFieldValidator></td>
  47.                     </tr>
  48.                     <tr>
  49.                         <td style="width: 100px">
  50.                             联系邮箱:</td>
  51.                         <td style="text-align: left;">
  52.                             <asp:TextBox ID="TextBox4" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
  53.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4"
  54.                                 ErrorMessage="邮箱不能为空!"></asp:RequiredFieldValidator>
  55.                             <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox4"
  56.                                 ErrorMessage="正确的邮箱" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*"></asp:RegularExpressionValidator></td>
  57.                     </tr>
  58.                     <tr>
  59.                         <td style="width: 100px">
  60.                             联系QQ:</td>
  61.                         <td style="text-align: left">
  62.                             <asp:TextBox ID="TextBox5" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox>
  63.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5"
  64.                                 ErrorMessage="QQ呢!填你泡妞专用那个号!"></asp:RequiredFieldValidator>
  65.                             <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox5"
  66.                                 ErrorMessage="QQ号为数字" ValidationExpression="^[1-9]d*$"></asp:RegularExpressionValidator></td>
  67.                     </tr>
  68.                     <tr>
  69.                         <td style="width: 100px">
  70.                             备案编号:</td>
  71.                         <td style="text-align: left">
  72.                             <asp:TextBox ID="TextBox6" runat="server" CssClass="TextBox" Width="200px"></asp:TextBox></td>
  73.                     </tr>
  74.                       <tr>
  75.                         <td style="width: 100px">
  76.                             网站关键词:</td>
  77.                         <td style="text-align: left;">
  78.                             <asp:TextBox ID="TextBox7" runat="server" CssClass="TextBox" Height="54px" TextMode="MultiLine" Width="321px"></asp:TextBox>
  79.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox7"
  80.                                 ErrorMessage="不可能没有搜索关键词吧!"></asp:RequiredFieldValidator>
  81.                         </td>
  82.                     </tr>
  83.                     <tr>
  84.                         <td style="width: 100px">
  85.                             网站介绍:</td>
  86.                         <td style="text-align: left;">
  87.                             <asp:TextBox ID="TextBox8" runat="server" CssClass="TextBox" Height="82px" TextMode="MultiLine" Width="321px"></asp:TextBox>
  88.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox8"
  89.                                 ErrorMessage="不可能没有网站介绍吧!"></asp:RequiredFieldValidator>
  90.                         </td>
  91.                     </tr>
  92.                     <tr>
  93.                         <td style="width: 100px">
  94.                             第三方统计代码:</td>
  95.                         <td style="text-align: left;">
  96.                             <asp:TextBox ID="TextBox9" runat="server" CssClass="TextBox" Height="82px" TextMode="MultiLine" Width="321px"></asp:TextBox>&nbsp;
  97.                         </td>
  98.                     </tr>
  99.                 </table>
  100.             </td>
  101.         </tr>
  102.         <tr>
  103.             <td colspan="3" style="text-align: left; padding-left: 20px; height: 35px;">
  104.                 <table border="0" cellpadding="0" cellspacing="0">
  105.                     <tr>
  106.                         <td style="width: 21px">
  107.                 </td>
  108.                         <td style="width: 73px">
  109.                 <asp:Button ID="Button1" runat="server" Text="提交配置" CssClass="Button" OnClick="Button1_Click"/></td>
  110.                         <td style="width: 435px; text-align: left;">
  111.                             &nbsp;
  112.                 <asp:Label ID="Label1" runat="server"></asp:Label></td>
  113.                     </tr>
  114.                 </table>
  115.             </td>
  116.         </tr>
  117.     </table>
  118. </asp:Content>