signmessage.aspx
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:5k
源码类别:

软件测试

开发平台:

Java

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="signmessage.aspx.cs" Inherits="signmessage" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head id="Head1" runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <title>访客留言板</title>
  7. <link href="image/style.css" rel="stylesheet" type="text/css">
  8. </head>
  9. <body bgcolor="#EFEFEF">
  10. <center>
  11. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  12.   <tr>
  13.     <td height="50" align="right" bgcolor="#2DBBFF"><img src="image/logo_gbook.gif" width="164" height="50"></td>
  14.   </tr>
  15.   <tr>
  16.     <td align="left" bgcolor="#3C88FF"><img src="../image/blank.gif" width="580" height="2"></td>
  17.   </tr>
  18.   <tr>
  19.     <td bgcolor="#EAEAEA">
  20. <table border="0" cellpadding="0" cellspacing="0">
  21. <tr>
  22. <td><img src="image/blank.gif" width="38" height="24"></td>
  23. <td> <a href="index.php" class="font_14px_bold">查看留言</a> </td>
  24. </tr>
  25.   </table>
  26.  </td>
  27.   </tr>
  28.   <tr>
  29.     <td align="left"><img src="image/blank.gif" width="580" height="1"></td>
  30.   </tr>
  31.   <tr>
  32.     <td align="left" bgcolor="#FFFFFF">
  33.   <form id="form1" runat="server">
  34. <table width="100%" border="0" cellpadding="2" cellspacing="1">
  35. <tr bgcolor="#F0F3F0">
  36. <td width="200" align="right" valign="top" bgcolor="#F0F3F0">* <span class="font_bold">名 字</span>:</td>
  37. <td valign="top" bgcolor="#F0F3F0">
  38.                        <asp:TextBox ID="guest_name" runat="server" CssClass="stbuttom_en"></asp:TextBox>
  39.                         <asp:RequiredFieldValidator ID="RequiredFieldValidator1"   ControlToValidate="guest_name"
  40.  runat="server" ErrorMessage="用户名不能为空!">
  41.                         </asp:RequiredFieldValidator>
  42.                         </td>
  43. </tr>
  44. <tr bgcolor="#F0F3F0">
  45. <td align="right" valign="top" bgcolor="#F0F3F0" style="height: 39px">
  46. <span class="font_bold">性 别</span>:</td>
  47. <td valign="top" bgcolor="#F0F3F0" style="height: 39px">
  48.                         <asp:RadioButtonList ID="sexy" runat="server" Height="1px" Width="51px">
  49.                             <asp:ListItem Value="1">男性</asp:ListItem>
  50.                             <asp:ListItem Value="0">女性</asp:ListItem>
  51.                         </asp:RadioButtonList></td>
  52. </tr>
  53. <tr bgcolor="#F0F3F0">
  54. <td align="right" valign="top" bgcolor="#F0F3F0">* <span class="font_bold">邮 箱</span>:</td>
  55. <td valign="top" bgcolor="#F0F3F0">
  56.                        <asp:TextBox ID="email" runat="server" CssClass="stbuttom_en"></asp:TextBox>
  57.                         <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="email"
  58.                             ErrorMessage="电子邮件格式不对" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*"></asp:RegularExpressionValidator></td>
  59. </tr>
  60. <tr bgcolor="#F0F3F0">
  61. <td align="right" valign="top" bgcolor="#F0F3F0" style="height: 24px"><span class="font_bold">主页地址</span>:</td>
  62. <td valign="top" bgcolor="#F0F3F0" style="height: 24px">
  63.                         <asp:TextBox ID="webside" runat="server" CssClass="stbuttom_en">http://</asp:TextBox><span class="font_bold">请保留“http://”</span>
  64. </td>
  65. </tr>
  66. <tr bgcolor="#F0F3F0">
  67. <td align="right" valign="top" bgcolor="#F0F3F0" style="height: 28px"> <span class="font_bold">电话</span>:</td>
  68. <td valign="top" bgcolor="#F0F3F0" style="height: 28px">
  69.                        <asp:TextBox ID="phone" runat="server" CssClass="stbuttom_en"></asp:TextBox></td>
  70. </tr>
  71. <tr bgcolor="#F0F3F0">
  72. <td align="right" valign="top" bgcolor="#F0F3F0"> <span class="font_bold">城市</span>:</td>
  73. <td valign="top" bgcolor="#F0F3F0">
  74.                         <asp:TextBox ID="city" runat="server" CssClass="stbuttom_en"></asp:TextBox></td>
  75. </tr>
  76. <tr bgcolor="#F0F3F0">
  77. <td align="right" valign="top" bgcolor="#F0F3F0">* <span class="font_bold">留言内容</span>:</td>
  78. <td valign="top" bgcolor="#F0F3F0">
  79.                        <asp:TextBox ID="content" runat="server" CssClass="stbuttom_en" Height="39px" Width="359px"></asp:TextBox>
  80.                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="content"
  81.                             ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
  82. </tr>
  83. <tr align="center" bgcolor="#F0F3F0">
  84. <td colspan="2" valign="top" bgcolor="#F0F3F0">
  85.                         <asp:Button ID="sign" runat="server" CssClass="stbuttom_en" OnClick="sign_Click"
  86.                             Text="签写留言" />&nbsp;</td>
  87. </tr>
  88. </table>
  89. </form>
  90. </td>
  91.   </tr>
  92.   <tr>
  93.     <td><div align="center">
  94.         力度软件公司版权所有</div></td>
  95.   </tr>
  96. </table>
  97. </center>
  98.     <strong></strong>
  99. </body>
  100. </html>