# $au[nick] / Грядки

"; echo '
'; if($ank['hydropinics_time']>$time)echo "
- Гидропоника $ank[hydropinics_type]% на ".time_left($ank['hydropinics_time']-$time)."
"; 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"); $q=mysql_query("SELECT * FROM `kolhoz_ground` WHERE `id_user` = '$ank[id]'"); echo "

"; while($post=mysql_fetch_array($q)) { if($post['id_plant']!=0 && mysql_result(mysql_query("SELECT COUNT(*) FROM `kolhoz_plant` WHERE `id` = '$post[id_plant]'"),0)!=0)$plant=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_plant` WHERE `id` = '$post[id_plant]'")); echo "
- "; echo "
  "; echo "".(!isset($plant)?"Земля, готовая к посеву":"".htmlspecialchars($plant['name'])."".($post['time']>$time?" (Урожай через ".time_left($post['time']-$time).")":null)."").""; if($ku['status']==3)echo " [удалить]"; echo "
  "; echo "
"; } echo "

"; ?>