Parašė Dandžu· 2008 Bir. 16 17:06:41
$mooddata = dbarray(dbquery("SELECT mood FROM ".$db_prefix."user_status WHERE user_id='$lookup'"));
if ($mooddata[mood] != "") {
echo "".($data['user_avatar'] ? "<table><td background='".IMAGES."avatars/".$data['user_avatar']."' ' width='100' height='100'><img src='".IMAGES."mood/".$mooddata['mood'].".gif' align='left' valign='top'></td></table><br>\n" : "")."";
}else{
echo "".($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' ' width='100' height='100'></td></table><br>\n" : "")."";
}