📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="liuyan_Default" validateRequest="false" %>
<%@ Register Src="top.ascx" TagName="top" TagPrefix="uc1" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!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 runat="server">
<title>留言板</title>
<link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
<style>
table{border-collapse: collapse;border-color:#111111;}
</style>
</head>
<body style="text-align: center" >
<form id="form1" runat="server">
<div>
<table style="width: 767px; background-color: #edfbff; border-right: #0099ff 1px double; border-top: #0099ff 1px double; border-left: #0099ff 1px double; border-bottom: #0099ff 1px double;">
<tr>
<td colspan="3">
<uc1:top ID="Top1" runat="server" />
</td>
</tr>
<tr>
<td style="text-align: center" colspan="3">
<table style="width: 649px" border="1" bordercolor="black" class="9">
<tr>
<td colspan="1" style="width: 136px">
您的姓名:</td>
<td colspan="1" style="width: 362px; text-align: left">
<asp:TextBox ID="txtName" runat="server" CssClass="txtbox1" Width="235px" MaxLength="20" onfocus="javascript:if(this.value=='匆匆过客')this.value=''" value="匆匆过客"></asp:TextBox><span
style="color: red">*<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtName" ErrorMessage="必须填写"></asp:RequiredFieldValidator>
</span></td>
<td colspan="3" rowspan="5" style="text-align: left; width: 155px;">
<iframe src="headpic/selecthead.aspx" frameborder="0" scrolling="no" style="width: 130px; height: 142px"></iframe>
</td>
</tr>
<tr>
<td colspan="1" style="width: 136px">
您的邮箱:</td>
<td colspan="1" style="width: 362px; text-align: left">
<asp:TextBox ID="txtEmail" runat="server" CssClass="txtbox1" Width="235px" MaxLength="50"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
ErrorMessage="不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td colspan="1" style="width: 136px">
您的网站:</td>
<td colspan="1" style="width: 362px; text-align: left">
<asp:TextBox ID="txtWeb" runat="server" CssClass="txtbox1" Width="235px" MaxLength="50">Http://</asp:TextBox></td>
</tr>
<tr>
<td colspan="1" style="width: 136px">
您的oicq:</td>
<td colspan="1" style="width: 362px; text-align: left">
<asp:TextBox ID="txtQQ" runat="server" CssClass="txtbox1" Width="235px" MaxLength="15"></asp:TextBox></td>
</tr>
<tr>
<td colspan="1" style="width: 136px">
你的头像:</td>
<td colspan="1" style="width: 362px; text-align: left">
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/liuyan/headpic/Viewheads.aspx" Target="_blank">察看所有头像</asp:HyperLink> |
是否悄悄话<asp:CheckBox ID="chkHua" runat="server" /></td>
</tr>
<tr>
<td colspan="1" style="width: 136px; height: 123px">
留言内容:</td>
<td colspan="4" style="height: 123px; text-align: left;" >
<FTB:FreeTextBox id="FreeTextBox1" runat="server" Width="510px" AllowHtmlMode="False" AutoConfigure="Default" AutoHideToolbar="False" BreakMode="LineBreak" ButtonDownImage="False" ButtonPath="images/ftb/office2003/" ButtonType="Image" Height="210px" ImageGalleryPath="ftppic" PasteMode="Default" StartMode="DesignMode" ToolbarType="Office2003" DownlevelMode="BasicEditor" ReadOnly="False" ScrollbarMode="Style" ToolbarLayout="" HtmlModeDefaultsToMonoSpaceFont="True" />
<span class="style11" style="color: black"></span>
</td>
</tr>
<tr>
<td colspan="1" style="width: 136px; height: 37px;">
验证码:</td>
<td colspan="1" style="text-align: left; background-color: #ffffff; height: 37px;">
<asp:TextBox ID="txtYanzheng" runat="server" CssClass="txtbox1" MaxLength="4" Width="63px"></asp:TextBox>
<iframe src="yanzheng/yan.aspx"frameborder="0" scrolling="no" style="width: 159px; height: 40px; background-color: transparent;"></iframe>
<asp:Label ID="lblErromsg" runat="server"></asp:Label></td>
<td colspan="3" rowspan="1" style="width: 155px; height: 37px">
*验证码必须输入</td>
</tr>
<tr>
<td colspan="1" style="width: 136px; height: 44px;">
确认提交:</td>
<td colspan="1" style="width: 362px; text-align: center; height: 44px;">
<asp:Button ID="Button1" runat="server" Text="提交留言" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="清空留言" OnClick="Button2_Click" /></td>
<td colspan="3" rowspan="1" style="width: 155px; height: 44px">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" style="height: 17px; background-image: url(bodypic/down.gif);">
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -