Пример #1
0
 public function comment()
 {
     $this->theme->setBreadcrumb("文章评论");
     $this->theme->setTitle("文章评论");
     $this->__view("User/header.php");
     $this->__lib("CommentList");
     $cl = new CommentList("posts");
     $list = $cl->getListOfUserOnObject(login_user()->getId());
     $this->__view("Posts/comment_show.php", ['list' => &$list, 'count' => $cl->getCount()]);
     $this->__view("User/footer.php");
 }
Пример #2
0
 private function comment_posts(CommentList $cl)
 {
     $this->theme->setTitle("文章评论");
     $this->theme->setBreadcrumb("文章评论");
     $this->__view("User/header.php");
     $list = $cl->getListOfUser(login_user()->getId());
     $this->__view("Follow/comment_show.php", ['list' => $list, 'count' => $cl->getCount(), 'type' => 'posts']);
     $this->__view("User/footer.php");
 }