📄 messageboard.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MessageBoard.aspx.cs" Inherits="WebPages_MessageBoard" %>
<%@ Register Src="../MyDefine/MoveInfo.ascx" TagName="MoveInfo" TagPrefix="uc5" %>
<%@ Register Src="../MyDefine/LoginControll.ascx" TagName="LoginControll" TagPrefix="uc4" %>
<%@ Register Src="../MyDefine/RightInfo.ascx" TagName="RightInfo" TagPrefix="uc3" %>
<%@ Register Src="../MyDefine/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register Src="../MyDefine/header.ascx" TagName="header" TagPrefix="uc1" %>
<!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 type="text/css" rel="stylesheet" href="../css/lib.css" />
</head>
<body>
<center>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div style="width:801px">
<div style="width:100%">
<uc1:header ID="Header1" runat="server" />
</div>
<div style="width:100%">
<table style="width:100%">
<tr>
<td style="width:30%" valign="top" align="center">
<table style="width:100%">
<tr>
<td style="width:100%" valign="top">
<table style="width:100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width:100%" valign="top" align="center">
<asp:UpdatePanel ID="UP1" runat="server">
<ContentTemplate>
<uc3:RightInfo ID="RightInfo1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:10px"></td>
</tr>
<tr>
<td style="width:100%" valign="top">
<uc5:MoveInfo ID="MoveInfo1" runat="server" />
</td>
</tr>
</table>
</td>
<td style="width:70%" align="center" valign="top">
<table style="width:99%" cellpadding="0" cellspacing="0" class="tableSolid">
<tr>
<td style="width:100%; background-color:#3399ff; height:30px; font-size:larger" align="center" valign="top">
<strong>读者留言板</strong>
</td>
</tr>
<tr>
<td style="width:100%" align="center" valign="top">
<asp:DataList ID="DataListMsg" runat="server" Width="100%">
<HeaderTemplate>
<table style="width:100%;" border="1" cellpadding="0" cellspacing="2">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="width:100%">
<table cellspacing="0" style="BORDER-RIGHT: #0066ff thin dashed; BORDER-TOP: #0066ff thin dashed; BORDER-LEFT: #0066ff thin dashed; WIDTH: 100%; BORDER-BOTTOM: #0066ff thin dashed">
<tr style="background-color:#6699ff; height:20px">
<td style="width:60%; font-size:10pt" align="left">
由 <a style="color:Red"><%#DataBinder.Eval(Container.DataItem, "MBauthor") %></a> 发表于 <%#DataBinder.Eval(Container.DataItem, "MBDate") %>
</td>
<td style="width:40%" align="right">
IP:<a style="color:Red"><%#DataBinder.Eval(Container.DataItem, "MBip") %></a>
</td>
</tr>
<tr>
<td style="width:100%; height:60px; font-size:12pt" align="left" valign="top" colspan="2">
<%# DataBinder.Eval(Container.DataItem, "mbcontext").ToString() %>
</td>
</tr>
</table>
</td>
</tr>
</ItemTemplate>
<SeparatorTemplate>
</SeparatorTemplate>
<FooterTemplate>
</table>
<hr style="width:100%" />
</FooterTemplate>
</asp:DataList>
</td>
</tr>
<tr>
<td align="center">
<strong>共</strong><asp:Label ID="LabelTotalPage" runat="server" Text="1" Width="10px"></asp:Label><strong>页</strong>
<strong>第</strong><asp:Label ID="LabelPageNo" runat="server" Text="1" Width="10px"></asp:Label><strong>页</strong></td>
</tr>
<tr>
<td align="center">
<asp:LinkButton ID="LBFirstPage" runat="server" OnClick="LBFirstPage_Click">首页</asp:LinkButton>
<asp:LinkButton ID="LBPrePage" runat="server" OnClick="LBPrePage_Click">上一页</asp:LinkButton>
<asp:LinkButton ID="LBNextPage" runat="server" OnClick="LBNextPage_Click">下一页</asp:LinkButton>
<asp:LinkButton ID="LBFinalPage" runat="server" OnClick="LBFinalPage_Click">末页</asp:LinkButton></td>
</tr>
<tr>
<td style="width:100%" align="center" valign="top">
<hr style="width:100%" />
</td>
</tr>
<tr>
<td style="width:100%" align="center" valign="top">
<table style="width:100%">
<tr>
<td style="width:15%" align="right">
作者:
</td>
<td style="width:85%" align="left">
<input id="TBMsgAuthor" runat="server" style="width: 200px" type="text" /></td>
</tr>
<tr>
<td style="width:15%" align="right">
内容:
</td>
<td style="width:85%" align="left">
<asp:TextBox ID="TBMsgContext" runat="server" Height="135px" Width="434px" TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td align="center" colspan="2">
<input id="BtnMsgSend" style="width: 70px" type="button" value="发表" onserverclick="BtnMsgSend_ServerClick" runat="server" />
<input id="BtnMsgReset" style="width: 70px" type="reset" value="清空" runat="server" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div style="width:100%">
<uc2:footer ID="Footer1" runat="server" />
</div>
</div>
</form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -