<%@ 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("添加主菜单","MenusSortEdit",new { ParentID = 1}) %>
    <hr />
    <%
        string content = new CategoryService<DataSet1.MenusSortRow, DataSet1.ValidationMenusSort>(new MenusSortService()).ShowCategoryForEdit(1, this.Url, "MenusSortEdit", "MenusSortDelete", "MenusEdit", "MenusList");
        content = content.Replace("分类：", "");
        content = Regex.Replace(content, "<span class='red'>内容.+?</div>", "</div>");
        content = content.Replace("添加", "添加子菜单");
        Response.Write(content);
    %>
</asp:Content>

