<ul class="list-group" id="sidebar-following-list-container">
   <li class="list-group-item text-muted" contenteditable="false">
      <i class="fa fa-users fa-fw"></i> <?php echo $wo['lang']['following'];?> (<a href="<?php echo Wo_SeoLink('index.php?tab1=timeline&u=' . $wo['user_profile']['username'] . '&type=following');?>"><?php echo Wo_CountFollowing($wo['user_profile']['user_id']);?></a>)
      <span onclick="Wo_GetFollowing(<?php echo $wo['user_profile']['user_id']?>);" class="<?php echo Wo_RightToLeft('pull-right');?> refresh">
      <i class="fa fa-repeat progress-icon" data-icon="repeat"></i>
      </span>
   </li>
   <li>
      <div class="sidebar-following-users-container">
         <?php
         foreach (Wo_GetFollowing($wo['user_profile']['user_id'],'profile',12) as $wo['UsersList']) {
            $wo['UsersList']['user_name'] = substr($wo['UsersList']['name'],0,10);
            echo Wo_LoadPage('sidebar/profile-sidebar-user-list');
         } 
         ?>
      </div>
   </li>
   <li>
      <div class="clear"></div>
   </li>
</ul>
<ul class="list-group" id="sidebar-followers-list-container">
   <li class="list-group-item text-muted" contenteditable="false">
      <i class="fa fa-users fa-fw"></i> <?php echo $wo['lang']['followers'];?> (<a href="<?php echo Wo_SeoLink('index.php?tab1=timeline&u=' . $wo['user_profile']['username'] . '&type=followers');?>"><?php echo Wo_CountFollowers($wo['user_profile']['user_id']);?></a>) 
      <span onclick="Wo_GetFollowers(<?php echo $wo['user_profile']['user_id']?>);" class="<?php echo Wo_RightToLeft('pull-right');?> refresh">
      <i class="fa fa-repeat progress-icon" data-icon="repeat"></i>
      </span>
   </li>
   <li>
      <div class="sidebar-followers-users-container">
         <?php 
         foreach (Wo_GetFollowers($wo['user_profile']['user_id'],'profile',12) as $wo['UsersList']) {
            $wo['UsersList']['user_name'] = substr($wo['UsersList']['name'],0,10);
            echo Wo_LoadPage('sidebar/profile-sidebar-user-list');
          } 
          ?>
      </div>
   </li>
   <li>
      <div class="clear"></div>
   </li>
</ul>