<!-- #include file="include/con_help.asp" -->
<%
tit="购买操作"
call web_head(0,0,0,0,0)
   dim urlto
   emoney=trim(request("emoney"))
   n_sort=trim(request("n_sort"))
   iid=trim(request("iid"))
   'if not IsNumeric(emoney) or not IsNumeric(iid) then call web_error("post")
   URLto=request.servervariables("http_referer")

'----------------------------左边 开始----------------------------
call left_help()
call left_action()
'----------------------------左边 结束----------------------------
call web_center(0)
'----------------------------中间 开始----------------------------
%>
<table cellspacing=1 cellpadding=4 class=table>
<tr><td class=td><%response.write tit%></td></tr>
<tr class=trs><td>
您刚才访问的页面，须要购买才能显示！
</td></tr>
<form action='buychk.asp' mothod=post>
<tr class=tr height=200><td>
<% if IsNumeric(emoney) and IsNumeric(iid) then
   emoney=cint(emoney)
   if int(login_emoney)>int(emoney) then 
   if emoneycheck(emoney,n_sort,iid)=true then 
   %>
   你已经购买了此项内容，无需再购买矣！
   <%
   else
%>
         浏览刚才页面需要花费您<font class=red><%=emoney%></font><%=joekoe_cms.web_unit%> ,您确认要购买?</b>
		  <input type=hidden value=<%=urlto%> name=urlto>
	      <input type=hidden value=<%=emoney%> name=emoney>
		  <input type=hidden name=n_sort value=<%=n_sort%>>
		  <input type=hidden value=<%=iid%> name=iid><input type=submit class=btn name=submit value='我…我买了！'>
   <%
   end if
   else
   response.write "参数2错误:你的金钱不够！"
   end if 
   else
   response.write "参数1错误:非法提交！"
   end if
%>
</td></tr>
	      </from>
</table>
<%
'----------------------------中间 结束----------------------------
call web_end(0,0)

%>