signmessage.aspx
资源名称:moban.rar [点击查看]
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:5k
源码类别:
软件测试
开发平台:
Java
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="signmessage.aspx.cs" Inherits="signmessage" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head id="Head1" runat="server">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>访客留言板</title>
- <link href="image/style.css" rel="stylesheet" type="text/css">
- </head>
- <body bgcolor="#EFEFEF">
- <center>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="50" align="right" bgcolor="#2DBBFF"><img src="image/logo_gbook.gif" width="164" height="50"></td>
- </tr>
- <tr>
- <td align="left" bgcolor="#3C88FF"><img src="../image/blank.gif" width="580" height="2"></td>
- </tr>
- <tr>
- <td bgcolor="#EAEAEA">
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td><img src="image/blank.gif" width="38" height="24"></td>
- <td> <a href="index.php" class="font_14px_bold">查看留言</a> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="left"><img src="image/blank.gif" width="580" height="1"></td>
- </tr>
- <tr>
- <td align="left" bgcolor="#FFFFFF">
- <form id="form1" runat="server">
- <table width="100%" border="0" cellpadding="2" cellspacing="1">
- <tr bgcolor="#F0F3F0">
- <td width="200" align="right" valign="top" bgcolor="#F0F3F0">* <span class="font_bold">名 字</span>:</td>
- <td valign="top" bgcolor="#F0F3F0">
- <asp:TextBox ID="guest_name" runat="server" CssClass="stbuttom_en"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="guest_name"
- runat="server" ErrorMessage="用户名不能为空!">
- </asp:RequiredFieldValidator>
- </td>
- </tr>
- <tr bgcolor="#F0F3F0">
- <td align="right" valign="top" bgcolor="#F0F3F0" style="height: 39px">
- <span class="font_bold">性 别</span>:</td>
- <td valign="top" bgcolor="#F0F3F0" style="height: 39px">
- <asp:RadioButtonList ID="sexy" runat="server" Height="1px" Width="51px">
- <asp:ListItem Value="1">男性</asp:ListItem>
- <asp:ListItem Value="0">女性</asp:ListItem>
- </asp:RadioButtonList></td>
- </tr>
- <tr bgcolor="#F0F3F0">
- <td align="right" valign="top" bgcolor="#F0F3F0">* <span class="font_bold">邮 箱</span>:</td>
- <td valign="top" bgcolor="#F0F3F0">
- <asp:TextBox ID="email" runat="server" CssClass="stbuttom_en"></asp:TextBox>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="email"
- ErrorMessage="电子邮件格式不对" ValidationExpression="w+([-+.']w+)*@w+([-.]w+)*.w+([-.]w+)*"></asp:RegularExpressionValidator></td>
- </tr>
- <tr bgcolor="#F0F3F0">
- <td align="right" valign="top" bgcolor="#F0F3F0" style="height: 24px"><span class="font_bold">主页地址</span>:</td>
- <td valign="top" bgcolor="#F0F3F0" style="height: 24px">
- <asp:TextBox ID="webside" runat="server" CssClass="stbuttom_en">http://</asp:TextBox><span class="font_bold">请保留“http://”</span>
- </td>
- </tr>
- <tr bgcolor="#F0F3F0">
- <td align="right" valign="top" bgcolor="#F0F3F0" style="height: 28px"> <span class="font_bold">电话</span>:</td>
- <td valign="top" bgcolor="#F0F3F0" style="height: 28px">
- <asp:TextBox ID="phone" runat="server" CssClass="stbuttom_en"></asp:TextBox></td>
- </tr>
- <tr bgcolor="#F0F3F0">
- <td align="right" valign="top" bgcolor="#F0F3F0"> <span class="font_bold">城市</span>:</td>
- <td valign="top" bgcolor="#F0F3F0">
- <asp:TextBox ID="city" runat="server" CssClass="stbuttom_en"></asp:TextBox></td>
- </tr>
- <tr bgcolor="#F0F3F0">
- <td align="right" valign="top" bgcolor="#F0F3F0">* <span class="font_bold">留言内容</span>:</td>
- <td valign="top" bgcolor="#F0F3F0">
- <asp:TextBox ID="content" runat="server" CssClass="stbuttom_en" Height="39px" Width="359px"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="content"
- ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
- </tr>
- <tr align="center" bgcolor="#F0F3F0">
- <td colspan="2" valign="top" bgcolor="#F0F3F0">
- <asp:Button ID="sign" runat="server" CssClass="stbuttom_en" OnClick="sign_Click"
- Text="签写留言" /> </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- <tr>
- <td><div align="center">
- 力度软件公司版权所有</div></td>
- </tr>
- </table>
- </center>
- <strong></strong>
- </body>
- </html>