# $au[nick] / Загоны

"; echo '
'; if($ank['scarecrow_time']>$time)echo "
- Пугало на ".time_left($ank['scarecrow_time']-$time)."
"; if($ank['time_shmel']>$time)echo "
- Шмель на ".time_left($ank['time_shmel']-$time)."
"; if($ank['time_yastreb']>$time)echo "
- Ястреб на ".time_left($ank['time_yastreb']-$time)."
"; if($ank['time_drakon']>$time)echo "
- Дракон на ".time_left($ank['time_drakon']-$time)."
"; if($ank['id']==$ku['id'])header("Location:?myfarm"); echo "

"; $q=mysql_query("SELECT * FROM `kolhoz_petground` WHERE `id_user` = '$ank[id]'"); while($post=mysql_fetch_array($q)) { $pet=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_pet` WHERE `id` = '$post[id_pet]'")); echo "
- "; echo "
  "; echo "".($post['id_pet']==0?"Пустой загон":"".htmlspecialchars($pet['name'])."").""; if($post['time']>$time)echo "(Кормление церез ".time_left($post['time']-$time).")"; if($ku['status']==3)echo " [удалить]"; echo "
  "; echo "
"; } echo "

"; ?>