📄 book.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Book, App_Web_k7f8vto_" validaterequest="false" %>
<%@ Register Src="Inc/Ubb.ascx" TagName="Ubb" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="Inc/Bottom.ascx" TagName="Bottom" TagPrefix="Uc_Bottom" %>
<%@ Register Src="Inc/Header.ascx" TagName="Header" TagPrefix="Uc_Top" %>
<!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">
<meta name="keywords" content="鹿茸,鹿茸BLOG,鹿茸简易文章系统,鹿茸blog,cnkker,Cnkker's blog">
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>欢迎光临--</title>
<link href="images/type.css" rel="stylesheet" type="text/css">
</head>
<body>
<form id="form1" runat="server">
<Uc_Top:Header ID="Header1" runat="server" />
<table borderColor="#d8d8f0" cellSpacing="0" cellPadding="0" width="730" align="center" bgColor="#ffffff" border="1" id="table1">
<tr>
<th colSpan="2" style="height: 4px"> </th>
</tr>
<tr>
<td class="td" align="center" valign="top" height="100%">
<table border="0" cellpadding="0" cellspacing="0" width="86%" id="table11" height="254">
<tr>
<td align="center" height="91">
<asp:ImageButton ID="ImgWrite" runat="server" ImageUrl="images/F1.gif" OnClick="ImgWrite_Click" CausesValidation="False" /></td>
</tr>
<tr>
<td align="center" height="40">签写留言</td>
</tr>
<tr>
<td align="center" height="88">
<asp:ImageButton ID="ImgWatch" runat="server" ImageUrl="images/f2.gif" OnClick="ImgWatch_Click" CausesValidation="False" /></td>
</tr>
<tr>
<td align="center">查看留言</td>
</tr>
</table>
</td>
<td width="556" valign="top">
<div align="left">
<table borderColor="#d8d8f0" cellSpacing="0" cellPadding="0" width="100%" border="1" id="table9">
<tr>
<td height="100%">
<asp:DataGrid ID="DgBook" runat="server" AutoGenerateColumns="False" GridLines="None"
Width="100%" ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<table border="1" bordercolor="#d8d8f0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2" height="22" style="padding-right: 5px; padding-left: 5px">
<font face="宋体">No:<%# OutCheckStr(UBB(DataBinder.Eval(Container.DataItem, "Book_Id").ToString())) %> Title:<b><%# OutCheckStr(UBB(DataBinder.Eval(Container.DataItem,"Book_Title").ToString())) %></b></font></td>
</tr>
<tr>
<th colspan="2" style="padding-right: 5px; padding-left: 5px">
</th>
</tr>
<tr>
<td height="22" style="padding-right: 5px; padding-left: 5px" width="72%">
<font color="#000000">[<a href="mailto:<%# OutCheckStr(UBB(DataBinder.Eval(Container.DataItem, "Book_Mail").ToString())) %>">mail</a>] [<a target="_blank" href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=<%# DataBinder.Eval(Container.DataItem, "Book_QQ") %>" title="<%# DataBinder.Eval(Container.DataItem, "Book_QQ") %>">QQ</a>]
[<a href="<%# OutCheckStr(DataBinder.Eval(Container.DataItem, "Book_Web").ToString()) %>" target="_blank">web</a>] </font>
</td>
<td align="center" height="116" rowspan="3" style="padding-right: 5px; padding-left: 5px"
width="28%">
<img border="0" height="77" src="images/face/<%# DataBinder.Eval(Container.DataItem, "Book_Face") %>.gif" width="77" align="textTop" /><br />
<%# OutCheckStr(UBB(DataBinder.Eval(Container.DataItem, "Book_Name").ToString())) %></td>
</tr>
<tr class="" onmouseout="javascript:this.className='';" onmouseover="javascript:this.className='trOnMOver';">
<td height="76" style="padding-right: 5px; padding-left: 5px">
<%# OutCheckStr(UBB(DataBinder.Eval(Container.DataItem, "Book_Con").ToString())) %></td>
</tr>
<tr class="" onmouseout="javascript:this.className='';" onmouseover="javascript:this.className='trOnMOver';">
<td height="22" style="padding-right: 5px; padding-left: 5px">
<b>管理员回复</b>: <%# OutCheckStr(UBB(DataBinder.Eval(Container.DataItem,"Book_Rs").ToString())) %>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
<webdiyer:AspNetPager id="ArticlePager" runat="server" PageSize="5" ShowInputBox="Always" SubmitButtonText="转到"
FirstPageText=" 首页 " LastPageText=" 尾页 " NextPageText=" 下页 " PrevPageText=" 上页 " ShowCustomInfoSection="Left"
CustomInfoSectionWidth="60%" OnPageChanged="ArticlePager_PageChanged" AlwaysShow="True" CustomInfoTextAlign="Center" NumericButtonCount="5"></webdiyer:AspNetPager>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="100%">
<table border="1" bordercolor="#d8d8f0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="3" style="padding-left: 5px; height: 22px">
<p align="center">
签写留言</p>
</td>
</tr>
<tr>
<th colspan="3">
</th>
</tr>
<tr>
<td align="right" height="24" style="width: 132px">
选择头像:
</td>
<td width="38%">
<asp:DropDownList ID="ComImg" runat="server">
</asp:DropDownList></td>
<td align="center" rowspan="6" width="38%">
<asp:Image ID="ImgFace" runat="server" Height="77px" Width="77px" />
</td>
</tr>
<tr>
<td align="right" style="width: 132px; height: 24px;">
你的昵称:
</td>
<td style="height: 24px">
<asp:TextBox ID="TxtUser" runat="server" Width="120px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtUser"
ErrorMessage="填写您的呢称" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="width: 132px; height: 24px;">
你的网页地址:
</td>
<td style="height: 24px">
<asp:TextBox ID="TxtWeb" runat="server" Width="120px"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtWeb"
ErrorMessage="填写正确URL" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" SetFocusOnError="True"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" height="24" style="width: 132px">
你的QQ:
</td>
<td height="24">
<asp:TextBox ID="TxtQq" runat="server" Width="100px"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxtQq"
ErrorMessage="请正确填写QQ" ValidationExpression="^\d{5,}$" SetFocusOnError="True"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" height="24" style="width: 132px">
你的EMAIL:
</td>
<td height="24">
<asp:TextBox ID="TxtEmail" runat="server" Width="100px"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TxtEmail"
ErrorMessage="请填写您的Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" SetFocusOnError="True"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" height="24" style="width: 132px">
留言主题:
</td>
<td height="24">
<asp:TextBox ID="TxtTitle" runat="server" Width="120px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtTitle"
ErrorMessage="填写留言主题" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" height="50" style="width: 132px">
UBB语法:</td>
<td align="center" colspan="2" height="50">
<uc1:Ubb ID="Ubb1" runat="server" />
</td>
</tr>
<tr>
<td align="right" height="158" style="width: 132px">
<p>
留言内容:
<br />
剩余字数:<br />
<input name="remLen" type="text" value="1000" readonly="readonly" id="remLen" style="color:Red;background-color:White;border-width:0px;width:30px;" />
</p>
</td>
<td align="center" colspan="2" height="158">
<asp:TextBox ID="TxtContent" runat="server" Height="130px" TextMode="MultiLine" Width="90%" MaxLength="1000"></asp:TextBox>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxtContent"
ErrorMessage="请输入留言内容!!!]" SetFocusOnError="True"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" height="58" style="width: 132px">
QQ表情:</td>
<td align="center" colspan="2" height="58">
<asp:Label ID="LblFace" runat="server"></asp:Label></td>
</tr>
<tr>
<td align="right" colspan="3" height="32">
<p align="center">
<asp:Button ID="Button1" runat="server" Text="点击提交留言" OnClick="Button1_Click" />
<input id="Button2" type="reset" value=" 重置 " /></p>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</div>
<asp:Label ID="Label1" runat="server"></asp:Label></td>
</tr>
</table>
<Uc_Bottom:Bottom ID="Bottom1" runat="server" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -