| Code:
|
$content .="<td width=\"32\" vAlign=\"middle\">";
if (eregi("http://", $user_avatar)) {
$content .=" <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"$user_avatar\" border =\"0\" width=\"32\" height=\"32\"></a></td>";
}
else
{
$content .=" <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"modules/Forums/images/avatars/$user_avatar\" border =\"0\" width=\"32\" height=\"32\"></a></td>";
$content .="<td vAlign=\"middle\"> <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><b>$username</b></a> <br> <a href=\"modules.php?name=Forums&file=search&search_author=$username\">Posts:</a> ";
$content .=" <a href=\"modules.php?name=Forums&file=search&search_author=$username\">$user_posts</a> </td>";
}
|