<ul class="list-group" id="sidebar-pages-list-container">
   <li class="list-group-item text-muted" contenteditable="false">
      <i class="fa fa-camera fa-fw"></i> <?php echo $wo['lang']['albums'];?> (<a href="<?php echo Wo_SeoLink('index.php?tab1=albums&user=' . $wo['user_profile']['username']);?>"><?php echo Wo_CountUserAlbums($wo['user_profile']['user_id']);?></a>)
   </li>
   <li>
      <div class="sidebar-albums-container">
          <?php 
          foreach (Wo_GetUserAlbums($wo['user_profile']['user_id'], 'sidebar', 12) as $wo['album']) {
            $wo['album']['album_name'] = substr($wo['album']['album_name'], 0, 10);
            echo Wo_LoadPage('sidebar/sidebar-album-list');
          }
          ?>
      </div>
   </li>
   <li>
      <div class="clear"></div>
   </li>
</ul>