public DashboardController() {
     userService = new UserService();
     siteAppService = new SiteAppService();
     microblogService = new MicroblogService();
     mfService = new MicroblogFavoriteService();
     sysMicroblogService = new SysMicroblogService();
 }
 public MicroblogFavoriteController()
 {
     favoriteService = new MicroblogFavoriteService();
     blogService = new MicroblogService();
     commentService = new MicroblogCommentService();
     LayoutControllerType = typeof( MicroblogController );
 }
        public MicroblogCommentsController()
        {
            microblogService = new MicroblogService();
            followService = new FollowerService();
            commentService = new MicroblogCommentService();

            LayoutControllerType = typeof( MicroblogController );
        }
 public SpaceLayoutController()
 {
     skinService = new SkinService();
     userAppService = new UserAppService();
     visitorService = new VisitorService();
     menuService = new UserMenuService();
     siteSkinService = new SiteSkinService();
     microblogService = new MicroblogService();
 }
Exemple #5
0
 public MicroblogController()
 {
     microblogService = new MicroblogService();
     followService = new FollowerService();
     visitorService = new VisitorService();
     mfService = new MicroblogFavoriteService();
     commentService = new MicroblogCommentService();
     matService = new MicroblogAtService();
     videoSpider = new WojiluVideoSpider();
 }
Exemple #6
0
 public MicroblogController()
 {
     microblogService = new MicroblogService();
     followService = new FollowerService();
     visitorService = new VisitorService();
     mfService = new MicroblogFavoriteService();
     commentService = new MicroblogCommentService();
     matService = new MicroblogAtService();
     userTagService = new UserTagService();
 }
Exemple #7
0
        public PostController()
        {
            base.HideLayout( typeof( Photo.LayoutController ) );

            friendService = new FriendService();

            postService = new PhotoPostService();
            albumService = new PhotoAlbumService();

            categoryService = new PhotoSysCategoryService();
            microblogService = new MicroblogService();
        }
Exemple #8
0
 public ForumTopicService()
 {
     forumService = new ForumService();
     categoryService = new ForumCategoryService();
     boardService = new ForumBoardService();
     userService = new UserService();
     AttachmentService = new AttachmentService();
     logService = new ForumLogService();
     incomeService = new UserIncomeService();
     msgService = new MessageService();
     microblogService = new MicroblogService();
 }
Exemple #9
0
 public HomeController()
 {
     microblogService = new MicroblogService();
     followService = new FollowerService();
     visitorService = new VisitorService();
     mfService = new MicroblogFavoriteService();
     commentService = new OpenCommentService();
     photoPostService = new PhotoPostService();
     friendService = new FriendService();
     blogAppService = new BlogService();
     photoAppService = new PhotoService();
 }
Exemple #10
0
        public ForumPostService()
        {
            forumService = new ForumService();
            categoryService = new ForumCategoryService();
            boardService = new ForumBoardService();
            topicService = new ForumTopicService();
            userService = new UserService();
            forumLogService = new ForumLogService();
            rateService = new ForumRateService();
            attachmentService = new AttachmentService();
            msgService = new MessageService();

            incomeService = new UserIncomeService();

            notificationService = new NotificationService();
            microblogService = new MicroblogService();
        }
Exemple #11
0
        public void Main()
        {
            ctx.Page.Title = "about";

            User user = ctx.owner.obj as User;
            load( "userMenu", UserMenu );

            Microblog blog = new MicroblogService().GetFirst( user.Id );

            if (blog != null) {
                String lnkMore = alink.ToUserMicroblog( user );
                String more = "<a href='" + lnkMore + "'>" + lang( "more" ) + "...</a>";
                String logcontent = blog.Content + " <span class='left10'>" + more + "</span>";

                set( "microblog", logcontent );
            }
            else
                set( "microblog", "" );

            UserVo uservo = new UserVo( user );

            bind( "user", uservo );

            IBlock pblock = getBlock( "profile" );
            IBlock cblock = getBlock( "contact" );
            IBlock iblock = getBlock( "interest" );

            if (ctx.viewer.HasPrivacyPermission( user, UserPermission.Profile.ToString() )) {
                pblock.Bind( "user", uservo );
                pblock.Next();
            }

            if (ctx.viewer.HasPrivacyPermission( user, UserPermission.Contact.ToString() )) {
                cblock.Bind( "user", uservo );
                cblock.Next();
            }

            if (ctx.viewer.HasPrivacyPermission( user, UserPermission.Hobby.ToString() )) {
                iblock.Bind( "user", uservo );
                iblock.Next();
            }
        }
Exemple #12
0
 public MemberGroupService()
 {
     msgService = new MessageService();
     userService = new UserService();
     microblogService = new MicroblogService();
 }
Exemple #13
0
 public MicroblogController()
 {
     microblogService = new MicroblogService();
     sysMicroblogService = new SysMicroblogService();
     mfService = new MicroblogFavoriteService();
 }
 public FeedbackService()
 {
     nfService = new NotificationService();
     microblogService = new MicroblogService();
 }
 public MicroblogController()
 {
     microblogService = new MicroblogService();
 }
 public ProfileController()
 {
     microblogService = new MicroblogService();
 }
 public MbSaveController()
 {
     microblogService = new MicroblogService();
     postService = new PhotoPostService();
 }
Exemple #18
0
 public BlogPostService()
 {
     friendService = new FriendService();
     incomeService = new UserIncomeService();
     microblogService = new MicroblogService();
 }