<?
echo "<div class='menu'><img src='/style/ank_img/photo.png' alt='' /> <a href='/foto/$ank[id]/'>Фотоальбомы</a> <font color='gray'>|</font> ";
echo mysql_result(mysql_query("SELECT COUNT(*) FROM `gallery` WHERE `id_user` = '$ank[id]'"),0);
echo "</div>n";
?>