% articleid=request("id") if isnumeric(articleid)=false then response.redirect "error.htm" end if dim sql dim rsy set rsy=server.createobject("adodb.recordset") sql="update learning set hits=hits+1 where articleID="&articleid rsy.open sql,conn,1,3 sql="select * from learning where articleid="&articleid rsy.open sql,conn,1,1 title=rsy("title") ittype=rsy("typeid") canlook=rsy("canlook") if canlook=3 then if request.cookies("goldindex88")<>"yes" then response.write "该电影只有黄金会员才可以看" response.end end if end if %>
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||