/**
  * Display the posts listing
  *
  * @access	private
  */
 private function display_listing()
 {
     if (!VSession::html5() || VSession::renderer() == 'mobile') {
         echo '<ul id="listing_articles">';
     }
     if (!empty($this->_content)) {
         foreach ($this->_content as $article) {
             $crop_length = Helper\Posts::crop_length($article->_content);
             $cats = explode(',', $article->_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(substr($article->_content, 0, $crop_length));
             Html::listing_article($article->_title, $article->_permalink, $cats, $article->_date, $article->_author_name, $content);
         }
     } else {
         Html::no_content('There\'s no post right now.');
     }
     if (!VSession::html5() || VSession::renderer() == 'mobile') {
         echo '</ul>';
     }
     if (VSession::renderer() != 'mobile' && !empty($this->_content)) {
         Html::navigation($this->_page, $this->_nb_pages, parent::link_navigation());
     }
 }