if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]";