Website/_Template/Default/product_comment.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="product_comment.aspx.cs"
    Inherits="YKT_EShop._Template.Default.product_comment" EnableEventValidation="false"
    ViewStateEncryptionMode="Never" %>

<!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>
</head>
<body>
    <asp:MultiView ID="MultiViewList" runat="server">
        <asp:View ID="View1" runat="server">
            <form id="form2" runat="server">
            <asp:Repeater ID="rpList" runat="server">
                <ItemTemplate>
                        评论内容:<%#DataBinder.Eval(Container.DataItem, "CommentContent")%><br />
                        评价:<%#DataBinder.Eval(Container.DataItem, "Pmost")%>星<br />
                        回复内容:<%#DataBinder.Eval(Container.DataItem, "ReplyComment")%>
                </ItemTemplate>
            </asp:Repeater>
            <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" CustomInfoHTML="共%PageCount%页,当前为第%CurrentPageIndex%页,每页%PageSize%条"
                FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                OnPageChanged="Pager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20"
                PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到">
            </webdiyer:AspNetPager>
            </form>
        </asp:View>
        <asp:View ID="View2" runat="server">
            <form id="form1" action="/product/recomment.aspx?lhpid=<%=pid %>&laction=savecomment"
            method="post">
            <table id="EditTable" cellpadding="0" cellspacing="1">
                <tr>
                    <td colspan="2">
                        商品评论
                    </td>
                </tr>
                <tr>
                    <td style="width: 15%;">
                        内容
                    </td>
                    <td>
                        <textarea id="txtpCommentContent" cols="20" rows="2" name="txtpCommentContent"></textarea>
                    </td>
                </tr>
                <tr>
                    <td>
                        Email
                    </td>
                    <td>
                        <input id="txtpCommentEmail" type="text" name="txtpCommentEmail" />
                    </td>
                </tr>
                <tr>
                    <td>
                        名字
                    </td>
                    <td>
                        &nbsp;
                        <input id="txtpCommentUserName" name="txtpCommentUserName" type="text" />
后面还有 29 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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