Yes.
1. Missing parentheses.
2. Attempting to assign to echo.
3. Attempting to embed a variable to be printed in a string.
4. The use of short tags instead of normal tags.
With all these fixed, you can expect something along the lines of:
<?php
if ($friendcount > 100) {
echo 'Edit top friends coming soon';
} else {
echo '<a href="index.php?action=topfriends&type=member&unid=' . $unid . '" class="bluelinkbold">Change my Top Friends</a>';
}
?>