webForm/Manager/Review.aspx

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Review.aspx.cs" Inherits="XkCms.Manager.Review" %>

<!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 id="Head1" runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="../js/jsdate.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table align="center" cellpadding="1" cellspacing="1" class="TableBorder" width="98%">
        <tr>
            <td align="left" class="forumRow" height="22" width="40%">
                当前位置:<asp:Label ID="lblChannel" runat="server" Text="Label"></asp:Label>
                --> 内容管理
            </td>
            <td class="forumRow" align="center" width="20%">
                <a href="?ChannelId=<%=ChannelId %>"><b>管理首页</b></a> | <a href="?action=add&ChannelId=<%=ChannelId %>">
                    <b>添加</b></a>
            </td>
            <td align="right" class="forumRow" width="40%">
                <a href="?d=1d&ChannelId=<%=ChannelId %>">今日</a> | <a href="?d=1w&ChannelId=<%=ChannelId %>">
                    今周</a> | <a href="?d=1m&ChannelId=<%=ChannelId %>">今月</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="?e=0&ChannelId=<%=ChannelId %>">未审核</a> | <a href="?e=1&ChannelId=<%=ChannelId %>">
                    已审核</a>&nbsp;&nbsp;
            </td>
        </tr>
    </table>
    <br />
    <asp:Panel ID="plList" runat="server" Width="100%" HorizontalAlign="Center">
        <asp:GridView ID="gvReviewList" runat="server" AutoGenerateColumns="False" CellPadding="5"
            GridLines="None" EmptyDataText="未找到评论" OnRowDataBound="gvReviewList_RowDataBound" OnRowDeleting="gvReviewList_RowDeleting" OnRowEditing="gvReviewList_RowEditing" CssClass="tableBorder" Width="98%">
            <Columns>
                <asp:TemplateField HeaderText="选">
                    <itemstyle width="10px" horizontalalign="Center" />
                    <headerstyle width="10px" horizontalalign="Center" />
                    <ItemTemplate>
                        <input id="chkContentId" name="chkContentId" value='<%#Eval("id") %>' type="checkbox" class="checkbox" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="id" HeaderText="ID">
                    <itemstyle width="20px" horizontalalign="Right" />
                    <headerstyle width="20px" horizontalalign="Center" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="内容">
                    <itemstyle horizontalalign="Left" />
                    <itemtemplate>
                        <%# Eval("content","{0}") %>
                    </itemtemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="发表日期">
                    <itemstyle width="100px" HorizontalAlign="Center" />
                    <headerstyle width="100px" HorizontalAlign="Center" />
                    <itemtemplate>
                        <%# Convert.ToDateTime(Eval("addDate","{0}")).ToShortDateString() %>
                    
    </itemtemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="UserName" HeaderText="作者">
后面还有 55 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。