304 | | <div class="avatar-block"> |
305 | | <?php while ( bp_members() ) : bp_the_member(); ?> |
306 | | <li class="vcard"> |
307 | | <div class="item-avatar"> |
308 | | <a href="<?php bp_member_permalink() ?>"><?php bp_member_avatar() ?></a> |
309 | | </div> |
310 | | |
311 | | <div class="item"> |
312 | | <div class="item-title fn"><a href="<?php bp_member_permalink() ?>" title="<?php bp_member_name() ?>"><?php bp_member_name() ?></a></div> |
313 | | <?php if ( 'active' == $type ) : ?> |
314 | | <div class="item-meta"><span class="activity"><?php bp_member_last_active() ?></span></div> |
315 | | <?php elseif ( 'newest' == $type ) : ?> |
316 | | <div class="item-meta"><span class="activity"><?php bp_member_registered() ?></span></div> |
317 | | <?php elseif ( bp_is_active( 'friends' ) ) : ?> |
318 | | <div class="item-meta"><span class="activity"><?php bp_member_total_friend_count() ?></span></div> |
319 | | <?php endif; ?> |
320 | | </div> |
321 | | </li> |
322 | | |
323 | | <?php endwhile; ?> |
324 | | </div> |
| 304 | <?php while ( bp_members() ) : bp_the_member(); ?> |
| 305 | <li class="vcard"> |
| 306 | <div class="item-avatar"> |
| 307 | <a href="<?php bp_member_permalink() ?>"><?php bp_member_avatar() ?></a> |
| 308 | </div> |
| 309 | |
| 310 | <div class="item"> |
| 311 | <div class="item-title fn"><a href="<?php bp_member_permalink() ?>" title="<?php bp_member_name() ?>"><?php bp_member_name() ?></a></div> |
| 312 | <?php if ( 'active' == $type ) : ?> |
| 313 | <div class="item-meta"><span class="activity"><?php bp_member_last_active() ?></span></div> |
| 314 | <?php elseif ( 'newest' == $type ) : ?> |
| 315 | <div class="item-meta"><span class="activity"><?php bp_member_registered() ?></span></div> |
| 316 | <?php elseif ( bp_is_active( 'friends' ) ) : ?> |
| 317 | <div class="item-meta"><span class="activity"><?php bp_member_total_friend_count() ?></span></div> |
| 318 | <?php endif; ?> |
| 319 | </div> |
| 320 | </li> |
| 321 | <?php endwhile; ?> |