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

<%Call head()
Call saycarda("升学成功")%>

<%
  set objgbrs=Server.CreateObject("ADODB.Recordset")
  ssql="select qs,love,tili,ml,caihua,zhili,xf,xl,id,usejf,nianji from usereg where Cstr(id)='" & iduse & "'"
  objgbrs.open ssql,conn
  if objgbrs("nianji")<>2 then
  Response.write "我晕,你不是小学一年级的成员~<br/><a href='/hk/school/school.asp?wap="&wap&"'>高等学府</a><br/>"
  Response.end
  end if  
  '1
if objgbrs("xf")<1000 or objgbrs("qs")<2000 or objgbrs("love")<2000 then
Response.write "你的属性还不够升学!回去学够才来吧~"
end if
if objgbrs("nianji")=2 and objgbrs("xf")>=1000 and objgbrs("qs")>=2000 and objgbrs("love")>=2000 then
sql="update usereg set nianji=3 where CStr(id)='" & iduse & "'"
conn.execute sql
Response.write "恭喜!已经成为三年级的学生了!!"
end if
sql="Delete DATEDIFF FROM gxx WHERE Cstr(useid)='" & iduse & "'"
conn.Execute sql
conn.close
set rec=nothing
set conn=nothing
%>
<br/><a href='/hk/school/school.asp?wap=<%=wap%>'>高等学府</a><br/>
<br/><a href='/hk/ztlb.asp?wap=<%=wap%>'>论坛</a>|<a href='/hk/sqtt.asp?wap=<%=wap%>'>家族</a>|<a href='/hk/tcjy/index.asp?wap=<%=wap%>'>同城</a>|<a href='/hk/room/from.asp?wap=<%=wap%>'>聊室</a>
<br/><a href='/hk/public/gygl.asp?wap=<%=wap%>'>我的家园</a>-<a href='/hk/index.asp?wap=<%=wap%>'>社区首页</a>
<br/><%=now%>
<%Call headsay()%>
