Не знаю,
if (isset($user))
{
echo "<a href='/umenu.php'><div class='nav2'><img src='/style/icons/user_female_white_rb.png' alt='*' height='24' width='24'/> личный кабинет </div></a>";
echo "<a href='/user/search.php'><div
class='nav2'><img style='width:24px; height=24px' src='/
style/icons/10.png' alt='*' />
поиск людей </div></a>";
echo "<a href='/new_face.php'><div class='nav2'><img src='/style/icons/user_female_white_rb.png' alt='*' height='24' width='24'/> Новые лица </div></a>";
if ($k_new>0 && $ank['id'] == $user['id'])echo "<a href='/new_mess.php'><div class='nav2'><img src='/style/icons/users_go.png' alt='*' height='28' width='28'/> Сообщения<div class='count'>".$k_new."</div></div></a>";
else
echo "<a href='/konts.php'><div class='nav2'><img src='/style/icons/users_go.png' alt='*' height='28' width='28'/> Сообщения </div></a>";
if ($k_f>0 && $ank['id'] == $user['id'])echo "<a href='/user/frends/new.php'><div class='nav2'><img src='/style/icons/users_mixed_gender.png' alt='*' height='28' width='28'/> Мои Друзья <div class='count'>$k_f</div></div></a>";
else
echo "<a href='/user/frends/new.php'><div class='nav2'><img src='/style/icons/users_mixed_gender.png' alt='*' height='28' width='28'/> мои друзья </div></a>";
$guest1=mysql_result(mysql_query("SELECT COUNT(`id`) FROM `us_guest` WHERE `id_guest` = '$ank[id]'"

,0);
if($guest1==0){
}else{
}
echo "<a href='/foto/$ank[id]/'><div class='nav2'><img src='/style/icons/photo.png' alt='*' height='28' width='28'/> Мои Фотографии </div></a>";
echo "<a href='/plugins/notes/user.php?id=$ank[id]'><div class='nav2'><img src='/style/icons/appointment_new.png' alt='*' height='28' width='28'/> Дневники </div></a>";
if ($k_f>0 && $ank['id'] == $user['id'])echo "<a href='/user/gift/gift.php'><div class='nav2'><img src='/style/icons/present_red.png' alt='*' height='28' width='28'/> Мои подарки <div class='count'>$k_f</div></div></a>";
else
echo "<a href='/user/gift/index.php?id=$ank[id]'><div class='nav2'><img src='/style/icons/present_red.png' alt='*' height='28' width='28'/> Мои подарки </div></a>";
{