load($uid); $html = '
user_id\">$user->first_name $user->last_name's $show_what:
"; $show_all_url = ""; switch ($show_what) { case 'friends': $cols = 2; $col_width_pix = 90; $badge_width_pix = $cols * $col_width_pix; $html .= <<| ';
$rel = $relations[$pos];
$html .= '';
if ($rel['picture'] && file_exists("files/".$rel['picture'])) {
$html .= uihelper_resize_mk_user_img($rel['picture'], 50, 50) . " "; } $html .= htmlspecialchars($rel['login_name']).''; $html .= " | ";
}
$html .= "|
| '; $html .= " | show all |