here we go
use this its my version of online avatars
PHP Code:
////////// display avatars
while ($item = mysql_fetch_array($items)){
$avlink=mysql_fetch_array(mysql_query("SELECT avatar FROM ibwf_users WHERE name='$item[0]'"));
echo "<img src=\"$avlink[0]\" width=35 height=33 alt=\"\"/> - ";
if($item[5]=='M'){
$atxt="<img src=\"images/male.gif\" alt=\"M\"/>";
}
else if($item[5]=='F'){
$atxt="<img src=\"images/female.gif\" alt=\"F\"/>";
}
else { $atxt=""; }
use this its my version of online avatars
Comment