Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: no avatar

Parašė avice· 2011 Rugp. 8 12:08:55
#2


if (!empty($userdata['user_avatar'])) {
 
			echo "<td rowspan='5' width='1%' class='tbl profile_user_avatar'><!--profile_user_avatar--><img src='".IMAGES."avatars/".$userdata['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";
 
 
 
 
 
}

Bandyk

P.S vienoj vietoj $user_data kitoj $userdata :]