<? $rand=mysql_query("SELECT * FROM `gallery_foto` WHERE `avatar` = '1' ORDER BY rand() LIMIT 5");
echo "<div class='str'>";
echo "<center><font color='green'>Они уже снами! Давай скорее к нам.;-)</font></center>";
while ($post=mysql_fetch_array($rand))
{
$ank=get_user($post['id_user']);
if ($webbrowser=='web')echo photo($ank['id'],1,100,100);
else echo photo($ank['id'],2,48,48);
}
echo "</div>";?>