Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: if member if guest

Parašė kakis· 2008 Kov. 1 21:03:18
#1

pas mane issaita uzejus rodo kad neturi avataro net neprisijungus kaip padaryt kad rodutu ji tik kai prisijungi ir jo neturi


echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr>
<td align='left' width='120'>";
include THEME."user_info_panel.php";
echo "</td>
<td align='center' width='97'><br><br>";
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height='70'></center><br>\n" :
"<left><a href='".BASEDIR."edit_profile.php'><img src='".THEME."images/avatar.gif' border='0' width='70' height='70'></a></center>\n")."";
echo "</td>
<td align='center' width='306'>";
include THEME."top10.php";
echo "</td>
<td align='center' width='195'>";
include THEME."member_poll_panel.php";
echo "</td>
</tr>
</table><br>\n";