webForm/Manager/ContentTemplate.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContentTemplate.aspx.cs" Inherits="XkCms.Manager.ContentTemplate" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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>
</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%"></td>
        </tr>
    </table>
    <br />
    <asp:Panel ID="plList" runat="server" HorizontalAlign="Center" Width="100%">
        <asp:GridView ID="gvList" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            CssClass="TableBorder" EmptyDataText="暂无信息" GridLines="None" OnPageIndexChanging="gvList_PageIndexChanging"
            OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" PageSize="15"
            Width="98%">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID">
                    <ItemStyle HorizontalAlign="Center" Width="40px" />
                    <HeaderStyle HorizontalAlign="Center" Width="40px" />
                </asp:BoundField>
                <asp:BoundField DataField="title" HeaderText="名称">
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <ItemStyle HorizontalAlign="Center" Width="120px" />
                    <HeaderStyle HorizontalAlign="Center" Width="120px" />
                    <ItemTemplate>
                        <a href='?action=add&id=<%# Eval("id") %>&ChannelId=<%=ChannelId %>'>编辑</a>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Delete"
                            Text="删除"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings FirstPageText="第一页" LastPageText="最末页" Mode="NextPreviousFirstLast"
                NextPageText="下一页" PreviousPageText="上一页" />
            <FooterStyle HorizontalAlign="Right" />
            <PagerStyle ForeColor="RoyalBlue" HorizontalAlign="Right" VerticalAlign="Bottom" />
        </asp:GridView>
    </asp:Panel>
    <asp:Panel ID="plEdit" runat="server" Width="100%">
        <table align="center" border="0" cellpadding="5" cellspacing="0" class="TableBorder"
            width="98%">
            <tr align="center" valign="middle">
                <th colspan="2" height="22">
                    内容模板管理</th>
            </tr>
            <tr bgcolor="#ffffff" valign="middle">
后面还有 26 行代码,解锁后查看完整代码

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

AI 解读

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

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