⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminguestbook.aspx

📁 学生寝室管理系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="adminguestbook.aspx.cs" Inherits="adminguestbook" Title ="留言删除和回复" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0"  cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" class="tableBorder" style="width: 65%; text-align: left;" id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
  <tr bordercolor="#000000" bgcolor="#000000"><th colspan=9 class="tableHeaderText" style="height: 26px; text-align: center;"> 留言版管理-&gt;留言删除和回复</th></tr>
    <tr bgcolor="#000000" bordercolor="#000000">
        <td align="center" class="forumRow" colspan="2" rowspan="1" style="width: 1057px;
            height: 11px">
            <asp:Label ID="Labmessage" runat="server" Style="font-weight: bold; color: red"></asp:Label>
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/adminguestbook.aspx"
                Style="color: black; text-decoration: none" Visible="False">返回看看</asp:HyperLink></td>
    </tr>
    <tr bgcolor="#000000" bordercolor="#000000">
        <td align="center" class="forumRow" colspan="2" rowspan="1" style="height: 11px; width: 1057px;">
            <asp:DataList ID="mydatalist" runat="server" Style="font-size: 13px" OnItemDataBound="mydatalist_ItemDataBound" Width="335px">
                <ItemTemplate>
                    <div align="center">
                        <div align="center">
                            <div align="center">
                                <table border="0" style="font-size: 14px; width: 766px; height: 293px">
                                    <tr>
                                        <td align="center" bgcolor="dimgray" style="font-weight: bold; font-size: 14px; width: 136px;
                                            color: white; height: 21px" background="images/admin_bg_1.gif">
                                            留言标题</td>
                                        <td align="center" bgcolor="dimgray" style="font-weight: bold; font-size: 14px; width: 2051px;
                                            color: white; height: 21px" background="images/admin_bg_1.gif">
                                            <%#DataBinder.Eval(Container.DataItem, "title")%>
                                        </td>
                                        <td align="right" bgcolor="dimgray" style="width: 763px; height: 21px; font-weight: bold; color: white;" background="images/admin_bg_1.gif">
                                            &nbsp; &nbsp;<a href="adminreply.aspx?id=<%#DataBinder.Eval(Container.DataItem,"id")%>" style="color: white">回复</a>  &nbsp;
                                            <asp:LinkButton ID="LinkButton2" runat="server" Style="font-weight: bold; color: white;
                                                text-decoration: none"  CommandArgument=<%# DataBinder.Eval(Container.DataItem,"id","{0}") %> OnCommand="LinkButton2_Command">删除</asp:LinkButton></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 136px; height: 228px">
                                            <div align="left">
                                                <table border="0" style="width: 205px">
                                                    <tr>
                                                        <td style="height: 125px" width="216">
                                                            <div align="center">
                                                                <asp:Image ID="Image1" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"userface","images/userface/{0}.gif") %>' /></div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td nowrap="nowrap">
                                                            <div align="left">
                                                                <font color="#003399">姓名:</font><%#DataBinder.Eval(Container.DataItem, "username")%></div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td nowrap="nowrap">
                                                            <font color="#003399">身份:</font><%#DataBinder.Eval(Container.DataItem, "usershenfen")%></td>
                                                    </tr>
                                                    <tr>
                                                        <td nowrap="nowrap" style="height: 21px">
                                                            <div align="left">
                                                                <font color="#003399">性别:</font><%#DataBinder.Eval(Container.DataItem, "usersex")%></div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td nowrap="nowrap">
                                                            <div align="left">
                                                                <font color="#003399">地址:</font><%#DataBinder.Eval(Container.DataItem, "useraddress")%></div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td nowrap="nowrap">
                                                            <div align="left">
                                                                <font color="#003399">E-mail:</font><%#DataBinder.Eval(Container.DataItem, "useremail")%></div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td>
                                        <td colspan="2" style="height: 228px">
                                            <div align="center">
                                                <div align="center">
                                                    <div align="center">
                                                        <div align="left">
                                                            <asp:Image ID="Image2" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"img","images/emot/{0}.gif") %>' /><br />
                                                            <%#DataBinder.Eval(Container.DataItem, "content")%>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" colspan="2" style="height: 19px">
                                            <font color="#003399">入学时间:</font><%#DataBinder.Eval(Container.DataItem, "entertime")%>
                                            | &nbsp;<font color="#003399">所在系名:</font><%#DataBinder.Eval(Container.DataItem, "userxiname")%>
                                            &nbsp; | &nbsp;<font color="#003399">所学专业:</font><%#DataBinder.Eval(Container.DataItem, "userzhuanye")%>
                                            &nbsp;|&nbsp; <font color="#003399">班级名称:</font><%#DataBinder.Eval(Container.DataItem, "classname")%></td>
                                        <td align="left" style="width: 763px; height: 19px">
                                            <font color="#003399">留言时间:</font><%#DataBinder.Eval(Container.DataItem, "edittime")%>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" colspan="3">
                                        <hr color="#003399" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" colspan="2" style="height: 19px">
                                         <font color="#003399">回复人:</font><%#DataBinder.Eval(Container.DataItem, "rename")%>(管理员)
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color="#003399">回复时间:</font><%#DataBinder.Eval(Container.DataItem, "replytime")%>
                                        </td>
                                        <td align="right" style="width: 763px; height: 19px; font-weight: bold;">
                                            <a href="adminreplyedit.aspx?id=<%#DataBinder.Eval(Container.DataItem,"id")%>">编辑&nbsp;</td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div align="center">
                        <table border="0" style="font-size: 14px; width: 764px">
                            <tr>
                                <td nowrap="nowrap">
                                    <div align="left">
                                        <font color="#003399">回复内容:<asp:Image ID="Image3" runat="server" ImageAlign="AbsMiddle"
                                            ImageUrl='<%# DataBinder.Eval(Container.DataItem,"replyimg","images/emot/{0}.gif") %>' /></font><%#DataBinder.Eval(Container.DataItem, "reply")%></div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </ItemTemplate>
            </asp:DataList></td>
    </tr>
    <tr bgcolor="#000000" bordercolor="#000000">
        <td align="center" class="forumRow" colspan="2" rowspan="1" style="width: 1057px;
            height: 9px; font-size: 14px; font-weight: bold; background-image: url(images/admin_bg_1.gif); color: white;" background="images/admin_bg_1.gif">
            <asp:Label ID="Label1" runat="server" Text="每页显示"></asp:Label><asp:Label ID="Label3"
                runat="server" ForeColor="Red" Style="font-weight: bold" Text="6"></asp:Label><asp:Label
                    ID="Label2" runat="server" Text="条信息 共有"></asp:Label><asp:Label ID="lblRecordCount"
                        runat="server" Font-Bold="True" ForeColor="Red"></asp:Label><asp:Label ID="Label4"
                            runat="server" Text="条记录 当前是第"></asp:Label><asp:Label ID="Labelye" runat="server"
                                Font-Bold="True" ForeColor="Red" Text="1"></asp:Label><asp:Label ID="Label6" runat="server"
                                    Style="font-weight: bold" Text="/"></asp:Label><asp:Label ID="lblPageCount" runat="server"
                                        Font-Bold="True" ForeColor="Red"></asp:Label><asp:Label ID="Label5" runat="server"
                                            Text="页"></asp:Label>
            <asp:Button ID="Button1" runat="server" CausesValidation="False" ForeColor="Black"
                Height="22px" OnClick="Button1_Click" Style="font-weight: bold; font-size: 13px;
                color: black" Text="上一页" Width="59px" />&nbsp;
            <asp:Button ID="Button2" runat="server" CausesValidation="False" Height="22px" OnClick="Button2_Click"
                Style="font-weight: bold; font-size: 13px; color: black" Text="下一页" Width="55px" />&nbsp;
            <asp:Button ID="Button3" runat="server" CausesValidation="False" Height="22px" OnClick="Button3_Click"
                Style="font-weight: bold; font-size: 13px; color: black" Text="首页" />&nbsp;
            <asp:Button ID="Button4" runat="server" CausesValidation="False" Height="22px" OnClick="Button4_Click"
                Style="font-weight: bold; font-size: 13px; color: black" Text="尾页" /></td>
    </tr>
    <tr bgcolor="#000000" bordercolor="#000000">
    <td align=center class="forumRow" colspan="2" rowspan="1" style="height: 11px; width: 1057px;">
    </td>
    </tr>
</table>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -