Parašė TaduXxX0· 2008 Lie. 14 23:07:44
#3
viewthread.php
if ($data['user_avatar'] != "") {
echo "<center><img src='".IMAGES."avatars/".$data['user_avatar']."'></center><br>\n";
} else {
echo "<center><img src='".IMAGES."avatars/noavatar.gif'></center>";
}
profile.php
if ($data['user_avatar'] != "") {
$avatar = "<a href='profile.php?lookup=".$data['user_id']."'><img src='".IMAGES."avatars/".$data['user_avatar']."'></a>";
} else {
$avatar = "<a href='profile.php?lookup=".$data['user_id']."'><img src='".IMAGES."no.png'></a>";
}
Redagavo TaduXxX0· 2008 Lie. 14 23:07:25