Parašė megar· 2011 Rugp. 8 12:08:12
#1
kas cia blogai :/ noriu padaryti kad kaip nera avataro rodytu koki kita avatara o cia visiems rodo kazkodel kad jie neturi avataru ....
if ($userdata['user_avatar'] != "") {
echo "<td rowspan='5' width='1%' class='tbl profile_user_avatar'><!--profile_user_avatar--><img src='".IMAGES."avatars/".$user_data['user_avatar']."' alt='' />";
echo "</td>\n";
} else {
echo "<td rowspan='5' width='1%' class='tbl profile_user_avatar'><!--profile_user_avatar--><img src='".IMAGES."images/noimage.gif' alt='' />";
echo "</td>\n";
}
susitvarkiau xD userdata buvo reikejo uzrasyti user_data
Redagavo megar· 2011 Rugp. 8 12:08:10