/**
  * Display comments about an album
  *
  * @access	private
  */
 private function display_comments()
 {
     Html::header_albums($this->_album->_name . ' > Comments');
     Html::album_details($this->_album->_id, $this->_album->_author_name, $this->_album->_date, nl2br($this->_album->_description), $this->_album->_name, WS_URL . '?ctl=' . $this->_pid . '&album=' . $this->_album->_id);
     echo '<br/><span id="go_back_album"><a href="' . PATH . '?ctl=' . $this->_pid . '&album=' . VGet::album() . '">Go Back</a></span>';
     if (VSession::renderer() != 'mobile') {
         //create comment section
         if ($this->_album->_allow_comment == 'open') {
             $c = new Comments($this->_album->_id);
             $c->display_content();
         } else {
             Html::comment_closed();
         }
     }
 }
 /**
  * Display a specific post
  *
  * @access	private
  */
 private function display_news()
 {
     if (!empty($this->_content)) {
         $cats = explode(',', $this->_content[0]->_category);
         try {
             foreach ($cats as &$cat) {
                 $id = $cat;
                 $infos = new Category($id);
                 $cat = Helper\Posts::make_category_link($id, $infos->_name);
             }
         } catch (Exception $e) {
             @error_log($e->getMessage() . ' file: ' . __FILE__ . '; line: ' . __LINE__, 1, WS_EMAIL);
         }
         $content = nl2br($this->_content[0]->_content);
         $tags = explode(',', $this->_content[0]->_tags);
         foreach ($tags as &$tag) {
             $tag = Helper\Posts::make_tag_link($tag);
         }
         $link = WS_URL . '?ctl=posts&news=' . $this->_content[0]->_title;
         Html::html5('o', 'id="news_alone">');
         Html::article_alone($this->_content[0]->_title, $this->_content[0]->_date, $this->_content[0]->_author_name, $cats, $content, $tags, $link, $this->_content[0]->_updated, $this->_content[0]->_update_author_name);
         if (VSession::renderer() != 'mobile') {
             //create comment section
             if ($this->_content[0]->_allow_comment == 'open') {
                 $c = new Comments($this->_content[0]->_id);
                 $c->display_content();
             } else {
                 Html::comment_closed();
             }
         }
         Html::html5('c');
     }
 }