📄 guestbook.aspx
字号:
<%@ Page language="c#" Codebehind="guestbook.aspx.cs" AutoEventWireup="false" Inherits="baogelyb.guestbook" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>guestbook</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="sing_files/format.css" type="text/css" rel="stylesheet">
<LINK href="sing_files/main.css" type="text/css" rel="stylesheet">
<STYLE type="text/css">.style3 { COLOR: #008040 }
.style4 { FONT-WEIGHT: bold; FONT-SIZE: 14px }
</STYLE>
</HEAD>
<body bgColor="#ffffff" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="300" border="0">
<TR>
<TD colSpan="2"> </TD>
</TR>
<TR>
<TD colSpan="2"> </TD>
</TR>
<TR>
<TD vAlign="top" width="195" rowSpan="3">
</TD>
</TR>
<TR>
<TD vAlign="top"><BR>
<TABLE class="p9" id="Table2" cellSpacing="0" cellPadding="3" width="550" align="center"
border="0">
<TR>
<TD width="29%" bgColor="#a1d1c3" height="25">
<P class="bluelink style3" align="center">包哥的理想留言板</P>
</TD>
<TD width="41%" height="25"> </TD>
<TD style="LETTER-SPACING: 1px" width="30%" height="25">║ <A href="showguestbook.aspx">查看留言</A>║<A class="bluelink" href="login.htm">管理登陆║</A></TD>
</TR>
<TR bgColor="#a1d1c3">
<TD colSpan="3" height="2"></TD>
</TR>
</TABLE>
<BR>
<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="531" align="center" border="0">
<TR bgColor="#a1d1c3">
<TD width="530" bgColor="#a1d1c3">
<TABLE class="p9" id="Table4" cellSpacing="1" cellPadding="2" width="95%" align="center"
border="0">
<TR>
<TD align="center" colSpan="2" height="24"><SPAN class="style4"><FONT color="#0c7355">填写留言</FONT></SPAN></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right" width="25%" bgColor="#ffffff"><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="zuti" ErrorMessage="*"
Display="Dynamic">*</asp:requiredfieldvalidator>留言主题:</TD>
<TD><asp:textbox id="zuti" runat="server" CssClass="p9" Width="280px"></asp:textbox></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right" width="25%"><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="name" ErrorMessage="*"
Display="Dynamic">*</asp:requiredfieldvalidator>姓 名:</TD>
<TD><asp:textbox id="name" runat="server" CssClass="p9" Width="112px"></asp:textbox></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right" width="25%">联系地址:</TD>
<TD><asp:textbox id="lianxidizhi" runat="server" CssClass="p9" Width="312px"></asp:textbox></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right">联系电话:</TD>
<TD><asp:textbox id="dianhua" runat="server" CssClass="p9" Width="208px"></asp:textbox></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right">OICQ/MSN:</TD>
<TD><asp:textbox id="qq" runat="server" CssClass="p9" Width="168px"></asp:textbox></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right" width="25%">电子邮件:</TD>
<TD><asp:textbox id="mail" runat="server" CssClass="p9" Width="208px"></asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ControlToValidate="mail" ErrorMessage="邮箱格式有误"
ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right" width="25%">主页地址:</TD>
<TD><asp:textbox id="www" runat="server" CssClass="P9" Width="232px">http://</asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" ControlToValidate="www" ErrorMessage="主页格式有误"
ValidationExpression="http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?"></asp:regularexpressionvalidator></TD>
</TR>
<TR bgColor="#ffffff">
<TD align="right" width="25%" bgColor="#ffffff">选择表情:</TD>
<TD>
<SCRIPT language="javascript" type="text/javascript">
<!--
for( var i = 1; i < 9; i++ )
{
document.writeln('<input type="radio" name="face" value="'+ i +'" ' + (i == 1 ? 'checked' : '') + ' /><img src="sing_files/p'+ i +'.gif" alt="" />' + ' ');
if( i % 4 == 0) document.writeln("<br />");
}
-->
</SCRIPT>
</TD>
</TR>
<TR bgColor="#ffffff">
<TD vAlign="top" align="right" width="25%" bgColor="#ffffff"><asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="content" ErrorMessage="*"
Display="Dynamic">*</asp:requiredfieldvalidator>留言内容:<BR>
</TD>
<TD align="left"><asp:textbox id="content" runat="server" CssClass="p9" Width="361px" Rows="8" TextMode="MultiLine"
Columns="20"></asp:textbox></TD>
</TR>
<TR>
<TD align="center" colSpan="2" height="38"><asp:imagebutton id="ImageButton1" runat="server" ImageUrl="sing_files/ok_btn.gif"></asp:imagebutton>
<asp:imagebutton id="ImageButton2" runat="server" ImageUrl="sing_files/cancel_btn.gif"></asp:imagebutton></TD>
</TR>
<!-- <FONT face="宋体">111111111111111111111111111111</FONT>--></TABLE>
</TD>
</TR>
</TABLE>
<BR>
</TD>
</TR>
</TABLE>
</TD></TR></TBODY></TABLE></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -