ok soweit ist es klar. habe das so gemacht: aber passieren tut nix oder muss ich die zeie (siehe ganz unten Ändern?
$q = db_query("SELECT id, `show`, func FROM prefix_profilefields WHERE func < 4 ORDER BY pos");
while ( $r = db_fetch_assoc($q)) {
if ( $r['func'] == 1 ) {
$str = @db_result ( db_query ("SELECT val FROM prefix_userfields WHERE uid = ".$uid." AND fid = ".$r['id']) , 0 );
if ( function_exists ( 'profilefields_show_user_spez_'.$r['show'] ) ) {
$l .= call_user_func ( 'profilefields_show_user_spez_'.$r['show'], $str, $uid );
} else {
$l .= '<tr><td class="Cmite">'.$r['show'].'</td><td class="Cnorm">'.bbcode($str).'</td></tr>';
}
} elseif ( $r['func'] == 2 ) {
$l .= '<tr><td class="Cdark" colspan="2"><b>'.$r['show'].'</b></td></tr>';
} elseif ( $r['func'] == 3 ) {
$str = '';
if (isset($a[$r['show']])) {
$str = @db_result ( db_query ("SELECT `".$r['show']."` FROM prefix_user WHERE id = ".$uid) , 0 );
}
if ( function_exists ( 'profilefields_show_spez_'.$r['show'] ) ) {
$l .= call_user_func ( 'profilefields_show_spez_'.$r['show'], $str, $uid );
} elseif ($r['show'] != 'opt_pm_popup') {
$l .= '<tr><td class="Cmite">'.ucfirst($r['show']).'</td><td class="Cnorm">'.bbcode($str).'</td></tr>';
}
}
}
return ( $l );
}
Zeile von oben :
function profilefields_show_user_spez_steamprofile ($value, $uid) {
global $lang;
if( $value != "") {
return ( profilefields_show_echo_standart ( $lang['steamprofile'], '<a href="http://steamcommunity.com/id/'.$value.'"><img src="http://steamsignature.com/profile/english/'.$value.'.png"></a>' ) );
}
}