public PartialViewResult SelfRight()
 {
     new UsersExp();
     new UsersExpModel();
     Maticsoft.BLL.SNS.Groups groups = new Maticsoft.BLL.SNS.Groups();
     Maticsoft.BLL.SNS.UserAlbums albums = new Maticsoft.BLL.SNS.UserAlbums();
     Maticsoft.ViewModel.SNS.SelfRight model = new Maticsoft.ViewModel.SNS.SelfRight {
         MyGroups = groups.GetUserJoinGroup(base.currentUser.UserID, 9)
     };
     Maticsoft.BLL.Ms.Regions regions = new Maticsoft.BLL.Ms.Regions();
     new Maticsoft.BLL.SNS.Star();
     model.UserInfo = this.GetUserModel(base.currentUser.UserID);
     string regionNameByRID = regions.GetRegionNameByRID(Globals.SafeInt(model.UserInfo.Address, 0));
     if (regionNameByRID.Contains("北京北京"))
     {
         regionNameByRID = regionNameByRID.Replace("北京北京", "北京");
     }
     else if (regionNameByRID.Contains("上海上海"))
     {
         regionNameByRID = regionNameByRID.Replace("上海上海", "上海");
     }
     else if (regionNameByRID.Contains("重庆重庆"))
     {
         regionNameByRID = regionNameByRID.Replace("重庆重庆", "重庆");
     }
     else if (regionNameByRID.Contains("天津天津"))
     {
         regionNameByRID = regionNameByRID.Replace("天津天津", "天津");
     }
     model.UserInfo.Address = string.IsNullOrEmpty(model.UserInfo.Address) ? "暂未设置" : regionNameByRID;
     new Maticsoft.BLL.SNS.AlbumType();
     model.MyAlbum = albums.GetListByUserId(base.currentUser.UserID, base.UserAlbumDetailType);
     return this.PartialView("_SelfRight", model);
 }
 public ActionResult Albums(int? uid, string IsFav)
 {
     if (!this.LoadUserInfo(!uid.HasValue ? 0 : uid.Value))
     {
         if (Maticsoft.Components.MvcApplication.MainAreaRoute == AreaRoute.SNS)
         {
             return this.Redirect("/Account/Login");
         }
         return this.Redirect("/SNS/Account/Login");
     }
     Maticsoft.BLL.SNS.AlbumType type = new Maticsoft.BLL.SNS.AlbumType();
     Maticsoft.BLL.SNS.UserAlbums albums = new Maticsoft.BLL.SNS.UserAlbums();
     List<AlbumIndex> model = new List<AlbumIndex>();
     if (!string.IsNullOrEmpty(IsFav))
     {
         model = albums.GetUserFavAlbum(this.UserID, -1);
         ((dynamic) base.ViewBag).IsFav = true;
     }
     else
     {
         model = albums.GetListByUserId(this.UserID, base.UserAlbumDetailType);
     }
     ((dynamic) base.ViewBag).AlbumTypeList = type.GetModelListByCache(Maticsoft.Model.SNS.EnumHelper.Status.Enabled);
     ((dynamic) base.ViewBag).IsCurrentUser = this.IsCurrentUser;
     ((dynamic) base.ViewBag).NickName = this.NickName;
     IPageSetting pageSetting = PageSetting.GetPageSetting("Base", ApplicationKeyType.SNS);
     ((dynamic) base.ViewBag).Keywords = pageSetting.Keywords;
     ((dynamic) base.ViewBag).Description = pageSetting.Description;
     if (<Albums>o__SiteContainer48.<>p__Site4f == null)
     {