日期:2014-05-17 浏览次数:20706 次
@Html.ActionLink("首页", "Index", "Home", null, (ctrl is HomeController) ? new { @class = "actived" } : null) @Html.ActionLink("视频", "Index", "Video", new { id = "pubdate" }, (ctrl is VideoController && (!new[] { "HotVideos", "Search", "Upload" }.Contains(action))) ? new { @class = "actived" } : null) @Html.RouteLink("专辑", "Paging", new { action = "Index", controller = "Album", id = "0" }, (ctrl is AlbumController) ? new { @class = "actived" } : null) @Html.ActionLink("排行", "HotVideos", "Video", new { id = "" }, (ctrl is VideoController && action == "HotVideos") ? new { @class = "actived" } : null) @Html.ActionLink("搜索", "Search", "Video", null, (ctrl is VideoController && action == "Search") ? new { @class = "actived" } : null) @Html.ActionLink("管理", "Index", "Admin", null, (ctrl is AccountController || ctrl is AdminController) ? new { @class = "actived" } : null)