webForm/Manager/Template.aspx

(开头部分) 6KB

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

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

<!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 height="22" align="center">
            <td align="left" class="forumRow" width="40%">
                当前位置: 模板管理<asp:DropDownList ID="ddlProject" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlProject_SelectedIndexChanged">
                </asp:DropDownList></td>
            <td class="forumRow" width="20%">
                <asp:HyperLink ID="hlIndex" runat="server" Font-Bold="True" NavigateUrl="~/Manager/TempProject.aspx">管理首页</asp:HyperLink>
                |
                <asp:HyperLink ID="hlAdd" runat="server" Font-Bold="True">添加</asp:HyperLink></td>
            <td class="forumRow"  width="40%" align="right">
                <a href="#" onclick="javascript:window.open('../HTMLTagInfo.Txt','','scrollbars=yes,width=700,height=450')"><font
                        color="red"><u>模版标签说明</u></font></a>
            </td>
        </tr>
    </table>
    <br />
    <asp:Panel ID="plList" runat="server" HorizontalAlign="Center" Width="100%">
        <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False" CellPadding="5"
            CssClass="tableBorder" GridLines="None" OnRowDataBound="gvList_RowDataBound"
            OnRowDeleting="gvList_RowDeleting" Width="98%" EmptyDataText="暂无模板">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID">
                    <ItemStyle HorizontalAlign="Right" Width="40px" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Title" HeaderText="模板名称" />
                <asp:BoundField DataField="source" HeaderText="模板文件" />
                <asp:TemplateField HeaderText="模板类型">
                    <ItemStyle HorizontalAlign="Center" Width="120px" />
                    <HeaderStyle HorizontalAlign="Center" Width="120px" />
                    <ItemTemplate>
                        <%# chkTempType(Eval("type","{0}"), Eval("stype","{0}")) %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <ItemStyle HorizontalAlign="Center" Width="160px" />
                    <HeaderStyle HorizontalAlign="Center" Width="160px" />
                    <ItemTemplate>
                        <a href='?action=add&pid=<%= pId %>&id=<%# Eval("id","{0}") %>'>编辑</a>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Delete"
                            Text="删除"></asp:LinkButton>
                        <%# isDefault(Eval("type","{0}"),Eval("stype","{0}"),Eval("isDefault","{0}"), Eval("id","{0}")) %>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </asp:Panel>
    <asp:Panel ID="plAdd" runat="server" HorizontalAlign="Center" Width="100%">
        <table border="0" cellpadding="5" cellspacing="0" class="tableBorder" width="98%">
            <tr>
后面还有 52 行代码,解锁后查看完整代码

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

AI 解读

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

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