Parašė bad_user· 2008 Bal. 8 20:04:58
#6
if ($userdata['user_avatar'] != "" && file_exists(IMAGES."avatars/".$userdata['user_avatar'])) {
$avatar = "<div class='no_avatar'><img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='100' height='100'></div>";
} else {
$avatar = "<div><img src='".THEME."images/noav.png'></div>";
}
if ($status == 1 OR $status == "") {
echo " <td width='20%' class='tbl2'><b><a href='".BASEDIR."profile.php?lookup=".$data_user['user_id']."'>$avatar</a></b></td>
<td width='27%' class='tbl1'>".$locale['mf24']." ($datum)</td>
<td class='tbl1' width='43%'><a href='meine_freunde.php?buddy=b&buddy_to=".$data['buddy_to']."&status=$status'>".$locale['mf25']."</a></td>
</tr>";
}
Redagavo bad_user· 2008 Bal. 8 20:04:15