Пример #1
0
        /// <summary>
        /// 友情链接列表
        /// </summary>
        public ActionResult List()
        {
            FriendLinkListModel model = new FriendLinkListModel();

            model.FriendLinkList = AdminFriendLinks.GetFriendLinkList();

            ShopUtils.SetAdminRefererCookie(Url.Action("list"));
            return(View(model));
        }
Пример #2
0
        /// <summary>
        /// 友情链接列表
        /// </summary>
        public ActionResult List()
        {
            FriendLinkListModel model = new FriendLinkListModel();

            model.FriendLinkList = AdminFriendLinks.GetFriendLinkList();

            string[] sizeList = StringHelper.SplitString(WorkContext.ShopConfig.BrandThumbSize);

            ViewData["size"] = sizeList[sizeList.Length / 2];
            ShopUtils.SetAdminRefererCookie(Url.Action("list"));
            return(View(model));
        }