% session("username")="guest" session("level")="10" dim rs,sql,id,title,res,wWidth,wHeight id=trim(request("id")) if id="" then response.redirect "error.asp?errormessage=没有制定记录号" set rs=server.createobject("adodb.recordset") sql="select * from vedio where id="&id rs.open sql,connuser,3 if rs.eof then response.redirect "error.asp?errormessage=没有找到制定的记录" title=rs("title") res=rs("res") head() %>
|
<%=title%> |
|
<% if rs("level")>cint(session("level")) then response.write "您无权观看此视频 <% end if end if%> <%=ContentsConvert(rs("contents"))%> |