📄 other.asp
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/set.asp"-->
<!--#include file="inc/function.asp"-->
<%
'//版权所有:野草设计
'//程序作者:野草
'//当前版本:V2.0
'//联系QQ:94440079
'//官方网站:http://www.yecaoweb.com
%>
<%
execute(loadskin(skinmode))
sqluser="select user_exper from [YC_user] where pass=1 and id="&userid
set rsuser=conn.execute(sqluser)
dim otheruser(0)
otheruser(0)=rsuser("user_exper")
rsuser.close
set rsuser=nothing
set rs=server.CreateObject("adodb.recordset")
sql="select * from [YC_other] where id="&request.querystring("id")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
YCGO("error.asp?action=error&text="&server.urlencode("该数据不存在……")&"")
else
dim other(4)
other(0)=rs("title")
other(1)=rs("content")
other(2)=rs("reads")
other(3)=rs("exper")
title="频道栏目→"&other(0)
end if
rs.close
set rs=nothing
call NowWhere(other(0),"other.asp?id="&request.querystring("id"))
call head()
%>
<table border="0" id="content" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" id="show" nowrap>
<table border="0" cellspacing="0" cellpadding="0" width="100%" ><tr>
<td class="111" nowrap></td><td class="222" nowrap>
当前位置:<a href='index.asp'>本站首页</a>→本站频道→<%=other(0)%>
<td class="333" nowrap></td></td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="table-layout:fixed;">
<tr><td class="444" nowrap></td>
<td class="555" valign="top" nowrap>
<div class="show_content" style="height:100px;word-break:break-all;">
<%
if other(2)=0 then
YC(other(1))
elseif other(2)=1 then
if useradmin>=1 then
if otheruser(0)>other(3) then
YC(other(1))
else
YC("<br /><br /><br /><center><b><font color=""blue"">对不起!您的积分不足!查看此文必须高于["&other(3)&"]分!</font></b></center>")
end if
else
YC("<center>只有普通用户以上级别才可以查看!</center>")
end if
elseif other(2)=2 then
if useradmin>=2 then
if otheruser(0)>other(3) then
YC(other(1))
else
YC("<br /><br /><br /><center><b><font color=""blue"">对不起!您的积分不足!查看此文必须高于["&other(3)&"]分!</font></b></center>")
end if
else
YC("<center>只有VIP用户以上级别才可以查看!</center>")
end if
end if
%>
</div>
<td class="666" nowrap></td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
<td class="777" nowrap></td>
<td class="888" nowrap></td>
<td class="999" nowrap></td>
</tr></table>
</td></tr></table>
<%call foot()%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -