<a href="<?php echo Route::url('index.php?option=com_groups&cn=' . $this->group->get('cn') . '&active=members'); ?> "> <?php echo Lang::txt('COM_GROUPS_OVERVIEW_MEMBERS_BTN_TEXT') . ' →'; ?> </a> </div> </div> <div id="member_browser" class="member_browser"> <?php $counter = 1; require_once Component::path('com_members') . DS . 'models' . DS . 'member.php'; $profiles = Components\Members\Models\Member::all()->including('profiles')->whereIn('id', $members)->rows(); foreach ($profiles as $profile) { ?> <?php if ($counter <= 12 && $profile->get('id')) { ?> <?php if (in_array($profile->get('access'), User::getAuthorisedViewLevels())) { ?> <a href="<?php echo Route::url($profile->link()); ?> " class="member" title="<?php echo Lang::txt('COM_GROUPS_MEMBER_PROFILE', stripslashes($profile->get('name'))); ?> ">