как павилно поставит етот код if($post[\'id_plant\']!=0){<a href=\'?myfarm&seat=$post[id]\'><span>выбрать семена</span></a>}
в том месте каторий написано в низу
<?echo \"<span>\";
if($ku[\'last_plant\']!=0 && mysql_result(mysql_query(\"SELECT COUNT(*) FROM `kolhoz_plant` WHERE `id` = \'$ku[last_plant]\'\",0)!=0)$lp=mysql_fetch_array(mysql_query(\"SELECT * FROM `kolhoz_plant` WHERE `id` = \'$ku[last_plant]\'\");
echo \"\".($post[\'cultivator\']==1?\"<img width=\'16\' height=\'16\' src=\'images/icons/seat.png\' alt=\'o\'> \".(isset($lp)?\"<a href=\'?myfarm&seat=$post[id]&select=$lp[id]\'>Посадить <span>\".hsc($lp[\'name\']).\"</span></a>, \".if($post[\'id_plant\']!=0){<a href=\'?myfarm&seat=$post[id]\'><span>выбрать семена</span></a>}\":\"<a href=\'?myfarm&seat=$post[id]\'>Посадить</a>\".\"\":\"<img width=\'16\' height=\'16\' src=\'images/icons/dig.png\' alt=\'o\'> <a href=\'?myfarm&cultivator=$post[id]\'><span style=\'title\'>Вскопать</span></a>\".\"\";
echo \"</span>\";?>
[in]if($post[\'id_plant\']!=0){<a href=\'?myfarm&seat=$post[id]\'><span>выбрать семена</span></a>}
в том месте каторий написано в низу
echo \"<span>\";
if($ku[\'last_plant\']!=0 && mysql_result(mysql_query(\"SELECT COUNT(*) FROM `kolhoz_plant` WHERE `id` = \'$ku[last_plant]\'\"smile,0)!=0)$lp=mysql_fetch_array(mysql_query(\"SELECT * FROM `kolhoz_plant` WHERE `id` = \'$ku[last_plant]\'\"smile);
echo \"\".($post[\'cultivator\']==1?\"<img width=\'16\' height=\'16\' src=\'images/icons/seat.png\' alt=\'o\'> \".(isset($lp)?\"<a href=\'?myfarm&seat=$post[id]&select=$lp[id]\'>Посадить <span>\".hsc($lp[\'name\']).\"</span></a>, \".if($post[\'id_plant\']!=0){<a href=\'?myfarm&seat=$post[id]\'><span>выбрать семена</span></a>}\":\"<a href=\'?myfarm&seat=$post[id]\'>Посадить</a>\"smile.\"\":\"<img width=\'16\' height=\'16\' src=\'images/icons/dig.png\' alt=\'o\'> <a href=\'?myfarm&cultivator=$post[id]\'><span style=\'title\'>Вскопать</span></a>\"smile.\"\";
echo \"</span>\";[/in]
SKING,
Нужно поставит ето условия if($post[\'id_plant\']!=0){<a href=\'?myfarm&seat=$post[id]\'><span>выбрать семена</span></a>} в низу
<?
echo \"<span>\";
if($ku[\'last_plant\']!=0 && mysql_result(mysql_query(\"SELECT COUNT(*) FROM `kolhoz_plant` WHERE `id` = \'$ku[last_plant]\'\",0)!=0)$lp=mysql_fetch_array(mysql_query(\"SELECT * FROM `kolhoz_plant` WHERE `id` = \'$ku[last_plant]\'\");
echo \"\".($post[\'cultivator\']==1?\"<img width=\'16\' height=\'16\' src=\'images/icons/seat.png\' alt=\'o\'> \".(isset($lp)?\"<a href=\'?myfarm&seat=$post[id]&select=$lp[id]\'>Посадить <span>\".hsc($lp[\'name\']).\"</span></a>, \".if($post[\'id_plant\']!=0){<a href=\'?myfarm&seat=$post[id]\'><span>выбрать семена</span></a>}\":\"<a href=\'?myfarm&seat=$post[id]\'>Посадить</a>\".\"\":\"<img width=\'16\' height=\'16\' src=\'images/icons/dig.png\' alt=\'o\'> <a href=\'?myfarm&cultivator=$post[id]\'><span style=\'title\'>Вскопать</span></a>\".\"\";
echo \"</span>\";
?>