<!--#include file="../inc.asp"-->
<!--#include file="../ydzq.asp"-->

<%Call head()
Call saycarda("美化学校")%>


<%
  set objgbrs=Server.CreateObject("ADODB.Recordset")
  ssql="select qs,love,mytl,myml,mych,myzl,xf,xl,id,myjb,nianji from users where [id] ="&myid
  objgbrs.open ssql,conn
  if objgbrs("mytl")<10 then
  response.write "你当前的体力是:"&objgbrs("mytl")&",不够10体力,因此不能参与这劳动!"
  end if
  if objgbrs("mytl")>=10 then
  sql="update users set mytl=mytl-2,qs=qs+2,mych=mych+2 where [id] ="&myid
conn.Execute(sql)
response.write "经过你的打扫,学校已经比以前干净很多了!"
response.write "<br/>你当前的情商是:["&objgbrs("qs")&"],才华是:["&objgbrs("mych")&"],体力是:["&objgbrs("mytl")&"]"
response.write "<br/><a href='/bbs/school/di.asp?sid="&sid&"&amp;saytk="&saytk&"'>[再来一次]</a>"
end if
%>
<br/><a href='/bbs/school/labor.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>返回劳动首页</a>
<br/><a href='/bbs/school/school.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>高等学府</a><br/>
<br/><a href='/bbs/show.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>地盘</a>-<a href='/bbs/index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>社区首页</a>
<br/><%=now%>
<%  
response.write "<br/>执行用了"& FormatNumber((timer()-t1)*1000,3) & "毫秒</p></card></wml>"
conn.close
set conn=nothing
%>