Location: PHPKode > projects > Teampopor > teampopor-0.5/teampopor/modules/user/user-thumbs.tpl.php
<?php
/**
 * .thumbs
 *
 * @param $result
 *   The database result for users
 */

add_css(get_path('module', 'user') . '/user-thumbs.css');
?>
<div class="thumbs">
  <ul>
    <?php while ($row = db_fetch_object($result)) { ?>
    <?php $profile = user_load($row->uid); ?>
    <li class="thumb-li">
      <a class="sidebar-thumb" href="<?php print network_url('profile/' . $profile->uid) ?>">
        <img class="sidebar-thumb-img" title="<?php print $profile->name ?>" src="<?php print url($profile->picture) ?>" alt="<?php print $profile->name ?>">
      </a>
    </li>
    <?php } ?>
  </ul>
</div>
Return current item: Teampopor