/**
  * 댓글 리스트 트리를 생성한다.
  * @param string $template
  * @param int $parent_uid
  */
 public function buildTreeList($template, $parent_uid = '')
 {
     global $user_ID;
     $userdata = get_userdata($user_ID);
     $content_uid = $this->content_uid;
     $skin_path = $this->skin_path;
     $commentURL = new KBCommentUrl();
     $commentList = new KBCommentList();
     $commentBuilder = $this;
     if ($parent_uid) {
         $commentList->initWithParentUID($parent_uid);
     } else {
         $commentList->initWithUID($this->content_uid);
     }
     include KBOARD_COMMENTS_DIR_PATH . "/skin/{$this->skin}/{$template}";
 }
 /**
  * 댓글 리스트 트리를 생성한다.
  * @param string $template
  * @param int $parent_uid
  */
 public function buildTreeList($template, $parent_uid = '')
 {
     global $user_ID;
     $userdata = $user_ID ? get_userdata($user_ID) : new stdClass();
     $content_uid = $this->content_uid;
     $skin_path = $this->skin_path;
     $commentURL = new KBCommentUrl();
     $commentList = new KBCommentList();
     $commentBuilder = $this;
     $member_uid = isset($userdata->ID) ? $userdata->ID : '';
     $member_display = isset($userdata->display_name) ? $userdata->display_name : '';
     if ($parent_uid) {
         $commentList->initWithParentUID($parent_uid);
     } else {
         $commentList->initWithUID($this->content_uid);
     }
     include KBOARD_COMMENTS_DIR_PATH . "/skin/{$this->skin}/{$template}";
 }