';
$html .= ''.$count.' | ';
$html .= 'id.'" title="'.s($user->username).'">'.fullname($user).'';
$html .= "";
$profile_set = array('city'=>true, 'country'=>true, 'email'=>true);
foreach ($profile_set as $key=>$value) {
if (isset($user->$key)){
$html .= '- '.$user->$key.'
';
}
}
$html .= " ";
$html .= ' | ';
foreach ($keywords as $keyword) {
$user->description = highlight($keyword, $user->description);
}
if (!isset($user->descriptionformat)) {
$user->descriptionformat = FORMAT_MOODLE;
}
$html .= ''.format_text($user->description, $user->descriptionformat, array('overflowdiv'=>true)).' | ';
$html .= '';
$html .= ' ';
$html .= '';
$html .= ' | ';
$html .= '
';
return $html;
} else {
return null;
}
}
echo $OUTPUT->footer();