📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="Controls/footer.ascx" TagName="footer" TagPrefix="uc3" %>
<%@ Register Src="Controls/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 href="style.css" rel="stylesheet" type="text/css" />
<link href="../style.css" rel="stylesheet" type="text/css" />
<link href="../style.css" rel="stylesheet" type="text/css" />
<link href="../style.css" rel="stylesheet" type="text/css" />
<link href="../style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0" cellpadding="0" cellspacing="0" style="width: 760px; position: relative">
<tr>
<td>
<uc1:header ID="Header1" runat="server" />
</td>
</tr>
<tr>
<td>
<asp:DataList ID="DataList1" runat="server" Style="position: relative" OnItemDataBound="DataList1_ItemDataBound" Width="100%">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="border-top: #e8e8e8 1px solid;
left: 1px; width: 996px; position: relative; top: 0px; height: 32px">
<tr>
<td style="background-image: url(images/showbj.gif); width: 21px; height: 27px; border-left: #e8e8e8 1px solid;" align="center">
<img alt="a" src="images/001.gif" style="position: relative" /></td>
<td align="right" colspan="2" style="border-right: #e8e8e8 1px solid; background-image: url(images/showbj.gif);
width: 978px; height: 27px">
<div style="left: 2px; width: 350px; position: relative; top: 0px; height: 26px;
text-align: left">
<a href="mailto:<%#DataBinder.Eval(Container.DataItem,"email") %>" ><img alt="a" src="images/mail.gif" style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; left: 0px; top: 3px;" /></a> Email
<a href="<%#DataBinder.Eval(Container.DataItem,"qq") %>" ><img alt="a" src="images/qq.gif"
style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; top: 3px;" /></a> QQ <a href="<%#DataBinder.Eval(Container.DataItem,"url") %>" ><img alt="a" src="images/home.gif" style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; top: 3px;" /></a> 主页 <img alt="a"
src="images/posttime.gif" style="position: relative; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; left: 0px; top: 3px;" /> 发布时间:<%#DataBinder.Eval(Container.DataItem, "postTime", "{0:D}")%></div>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="left: 1px; width: 996px;
position: relative; top: 0px; border-right: #e8e8e8 1px solid; border-left: #e8e8e8 1px solid; height: 100%;">
<tr>
<td style="width: 125px; border-right: #e8e8e8 1px solid;" align="center">
<div style="width: 100px; position: relative; height: 100px">
<img alt="a" style="position: relative" src='images/face/<%#DataBinder.Eval(Container.DataItem,"imageUrl")%>' /></div>
<asp:Label ID="lblUserPic" runat="server" Style="position: relative" Text=<%#DataBinder.Eval(Container.DataItem,"userName") %>></asp:Label></td>
<td style="width: 431px; border-bottom: #e8e8e8 1px solid; height: 121px">
<div style="left: 3px; width: 855px; position: relative; top: 0px;
text-align: left; height: 82px;">
<%#DataBinder.Eval(Container.DataItem, "content")%>
<br />——————————————————<br />
管理员回复:<%#DataBinder.Eval(Container.DataItem, "reply")%>
</div>
<div style="left: 2px; width: 852px; position: relative; height: 25px;
text-align: right">
<img src="images/reply.gif" style="position: relative; top: 2px;" />
<a href="add.aspx" target="_blank">发表留言</a>
<img src="images/004.gif" style="position: relative; top: 2px;" />
<asp:LinkButton ID="lbtnReply" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"ID")%>'
OnCommand="lbtnReply_Command" Style="position: relative; top: 0px">回复</asp:LinkButton>
<img
alt="a" src="images/delete.gif" style="border-top-style: none; border-right-style: none;
border-left-style: none; position: relative; border-bottom-style: none; top: 5px;" />
<asp:LinkButton ID="lbtnDelete" runat="server"
OnCommand="lbtnDelete_Command" Style="position: relative" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"ID")%>'>删除</asp:LinkButton>
</div>
</td>
</tr>
</table>
<table border="0" cellspacing="0" style="border-top: #e8e8e8 1px solid; left: 1px;
width: 996px; position: relative; top: 0px; height: 13px">
<tr>
<td style="background-image: url(images/showbj.gif); width: 114px; border-left: #e8e8e8 1px solid;">
<img alt="a" src="images/003.gif" style="position: relative" /></td>
<td style="background-image: url(images/showbj.gif); width: 2172px">
</td>
<td style="background-image: url(images/showbj.gif); width: 133px; border-right: #e8e8e8 1px solid;" align="right">
<img alt="a" src="images/001.gif" style="position: relative" /></td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<br />
</SeparatorTemplate>
</asp:DataList></td>
</tr>
<tr>
<td align="right">
共<asp:Label ID="lblMesTotal" runat="server" Style="position: relative" Text="Label"></asp:Label>条留言
第<asp:Label ID="lblPageCur" runat="server" Style="position: relative" Text="Label"></asp:Label>页
共<asp:Label ID="lblPageTotal" runat="server" Style="position: relative" Text="Label"></asp:Label>页
<asp:Button ID="Button3" runat="server" Style="position: relative" Text="首页" OnClick="Button3_Click" />
<asp:Button ID="Button1" runat="server" Style="position: relative" Text="上一页" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Style="position: relative" Text="下一页" OnClick="Button2_Click" />
<asp:Button ID="Button4" runat="server" Style="position: relative" Text="尾页" OnClick="Button4_Click" />
转到<asp:DropDownList ID="DropDownList1" runat="server" Style="position: relative">
</asp:DropDownList>
<asp:Button ID="Button5" runat="server" Style="position: relative" Text="GO" OnClick="Button5_Click" /></td>
</tr>
<tr>
<td>
<uc3:footer ID="Footer1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -