<!--#include file="../inc.asp"-->
<!--#include file="../ydzq1.asp"-->
<%Call head()
Call saycarda("花园操作")

dim cj
cj=request("cj")
if myid=<0 then 
response.write "您还没有登陆或者注册.请登陆或注册后再来领取吧!!!"
else
if (huazhang=1 or huazhang=2) and cj=1 then
conn.execute("update users set huazhang=huazhang+1 where id="&myid)
response.write "灌水成功!!!<br/>你的鲜花成长值+1.<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else 
if huazhang>1 and huazhang<3 and cj<>1 then
response.write "您现在的花是需要灌水哦!!~~~<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if (huazhang=3 or huazhang=4) and cj=2 then
conn.execute("update users set huazhang=huazhang+1 where id="&myid)
response.write "剪枝成功!!!<br/>你的鲜花成长值+1.<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if huazhang>2 and huazhang<5 and cj<>2 then
response.write "您现在的花是需要剪枝哦!!~~~<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if (huazhang=5 or huazhang=6) and cj=3 then
conn.execute("update users set huazhang=huazhang+1 where id="&myid)
response.write "掘土成功!!!<br/>你的鲜花成长值+1.<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if huazhang>4 and huazhang<7 and cj<>3 then
response.write "您现在的花是需要掘土哦!!~~~<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if (huazhang=7 or huazhang=8) and cj=4 then
conn.execute("update users set huazhang=huazhang+1 where id="&myid)
response.write "施肥成功!!!<br/>你的鲜花成长值+1.<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if huazhang>6 and huazhang<9 and cj<>4 then
response.write "您现在的花是需要施肥哦!!~~~<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if (huazhang=9 or huazhang=10) and cj=5 then
conn.execute("update users set huazhang=huazhang+1 where id="&myid)
response.write "除虫害成功!!!<br/>你的鲜花成长值+1.<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
else
if huazhang>8 and huahzang<11 and cj<>5 then
response.write "您现在的花是需要除虫害哦!!~~~<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
Else
response.write "您现在还没有领花种子或未播种或已成熟!"
response.write "<br/><a href='/bbs/jia/hua.asp?sid="&sid&"&amp;saytk="&saytk&"'>返回花园</a>"
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
conn.close
set conn=nothing%>
<!--#include file="../fanhui.asp"--><%
call head1()%>