<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Admin/AdminMain.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/category.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.loading.js" type="text/javascript"></script>
    <link href="../../Content/skin/Common.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    后台菜单
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%= Html.ActionLink("添加主菜单","AdminMenusSortEdit",new { ParentID = 1}) %>
    <hr />
    <%
        string content = new CategoryService<DataSet1.AdminMenusSortRow, DataSet1.ValidationAdminMenusSort>(new AdminMenusSortService()).ShowCategoryForEdit(1, this.Url, "AdminMenusSortEdit", "AdminMenusSortDelete", "AdminMenusEdit", "AdminMenusList");
        content = content.Replace("分类：", "");
        content = Regex.Replace(content, "<span class='red'>内容.+?</div>", "</div>");
        Response.Write(content);
    %>
</asp:Content>

