<%@ page language="C#" autoeventwireup="true" inherits="Admin_MenuManage_MenuList, App_Web_poh5hpyv" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!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>PassionCMS2</title>

    <script language="javascript" src="JScript.js"></script>

    <script language="javascript" type="text/javascript">
    <!--
        //禁止选择
        document.onselectstart=function()
        {
            return false;
        }
        document.onmousemove=function()
        {
            return false;
        }
        document.onmousedown =function()
        {
            return false;
        }
        //禁止拖动
        document.ondragstart=function()
        {
            return false;
        }
    //-->
    </script>

</head>
<body bgcolor="#DBEAF5">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td background="../images/Top_line_3.gif" height="2">
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="Table4" style="background-color: #3390C6;">
                        <tr>
                            <td height="27" bgcolor="3390C6" width="20">
                            </td>
                            <td width="80" bgcolor="3390C6" align="center" background='../images/Menu_selected_bg.gif'>
                                <a href="MenuList.aspx">栏目列表</a>
                            </td>
                            <td width="80" bgcolor="3390C6" align="center">
                                <a href="SysMenu.aspx" class='menu_title'>新增栏目</a>
                            </td>
                            <td bgcolor="3390C6">
                                &nbsp;</td>
                            <td bgcolor="3390C6" width="10">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td background="../images/Sub_menu_bg.gif" height="24">
                    <table class="O" cellspacing="0" cellpadding="0" width="100%" border="0" id="Table6">
                        <tbody>
                            <tr>
                                <td width="20">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="10">
                </td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td width="2%">
                </td>
                <td>
                    <asp:GridView ID="GridView1" DataKeyNames="ID" AutoGenerateColumns="false" runat="server"
                        OnRowDataBound="GridView1_RowDataBound" OnRowCommand="GridView1_RowCommand" SkinID="gridviewSkin1">
                        <Columns>
                            <asp:TemplateField HeaderText="序号">
                                <HeaderStyle Width="40" />
                                <ItemTemplate>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="栏目">
                                <ItemTemplate>
                                    <asp:Label ID="lblCode" Text='<%# DataBinder.Eval(Container.DataItem,"Code") %>'
                                        runat="server"></asp:Label>
                                    <a href=<%# "javascript:URL('" + DataBinder.Eval(Container.DataItem,"AdminPage","") + "','" + DataBinder.Eval(Container.DataItem,"ID","") + "')" %>>
                                        <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem, "MenuTitle", ""))%>
                                    </a>
                                    <asp:Label ID="lblhid" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"ID") %>'
                                        Visible="false"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="排序">
                                <HeaderStyle Width="100" HorizontalAlign="center" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="upLB" CommandName="up" Enabled="false" runat="server" CommandArgument='<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"Code","")) %>'>&uarr;</asp:LinkButton>
                                    |
                                    <asp:LinkButton ID="downLB" CommandName="down" Enabled="false" runat="server" CommandArgument='<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"Code","")) %>'>&darr;</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="操作">
                                <HeaderStyle Width="100" HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:HyperLink ID="HL" NavigateUrl='<%# "editSysMenu.aspx?ID=" + DataBinder.Eval(Container.DataItem,"ID") %>'
                                        Text="编辑" runat="server"></asp:HyperLink>
                                    <asp:LinkButton ID="delLB" runat="server" CommandName="del" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"ID") %>'
                                        Text="删除"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="栏目类型">
                                <HeaderStyle Width="100" HorizontalAlign="center" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <a href=<%# "javascript:URL('" + DataBinder.Eval(Container.DataItem,"AdminPage","") + "','" + DataBinder.Eval(Container.DataItem,"ID","") + "')" %>>
                                        <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"PageTypeTitle","")) %>
                                    </a>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
                <td width="2%">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
