"> <button type="submit" class="btn"><?php echo JText::_('LBL_SEARCH'); ?> </button> </div> </form> </div> <ul class="list-group nomargin-left topics-list nopad-left"> <?php foreach ($this->users as $i => $user) { $showProfile = JFactory::getUser($user['id'])->authorise('core.showprofile', 'com_cjblog'); if ($showProfile) { $profileUrl = $api->getUserProfileUrl($profileApp, $user['id']); $aboutText = strip_tags(JHtml::_('string.truncate', CJFunctions::parse_html($user['about'], false, $bbcode), 250)); } else { $profileUrl = "#"; $aboutText = ""; } ?> <li class="list-group-item"> <div class="media"> <?php if ($avatarApp != 'none') { ?> <div class="media-left"> <a href="<?php echo $profileUrl; ?> " class="thumbnail nomargin-bottom">