<!--#include file="../inc.asp"-->
<!--#include file="../ydzq.asp"-->
<% Call head()
Call cardgame("美容院",yanse10)


dim lx,sl,msg
lx=request.form("lx")
sl=request.form("sl")
bb=request.form("usejf")
	select case lx
	     case "rou"	                        
            if myjb<sl*550 then response.redirect"1.asp?sid="&sid&""
                sql="update users set myjb=myjb-"& sl*clng(mianmo) &",myml=myml+"& sl*350 &" where id=" & myid & "" 
			conn.execute sql
			msg="您进行了"& sl &"次面膜,您漂亮极了！消费了"& sl*clng(mianmo) &""&getcent&",魅力增加了"& sl*350 &""          
            case "gt"
            if clng(myjb)< sl*clng(nengfu)  then response.redirect"1.asp?sid=" & sid & "&amp;saytk="&saytk&""  
           	      sql="update users set myjb=myjb-"& sl*clng(nengfu) &",myml=myml+"& sl*750 &" where id=" & myid & ""
			conn.execute sql
			msg="您进行了"& sl &"次嫩肤,您漂亮极了！消费了"& sl*clng(nengfu) &""&getcent&",魅力增加了"& sl*750 &""
		          
		end select
response.write msg
	conn.close
	set rs=nothing
	set conn=nothing
%>
<br/>--------<br/>返回<a href='/bbs/game/mr.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>美容</a>-
<a href='/bbs/index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>社区</a>-<a href='/index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>首页</a>
<%call head1()%>