<!--#include file="../Inc.asp"-->
<!--#include file="../ydzq.asp"-->
<!--#include file="../../inc/char.asp"-->
<%Call Head()
Call saycardd("栏目分类管理")
IF KEYs<>1 then
  Call Error("你的权限不足！")
  end if
%>

<%=now%><br/>
<% id=int(request.QueryString("id"))
   idd=int(request.QueryString("idd"))
   lxl=request.QueryString("lx")
if lxl=0 then %>
<a href="classadd.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=id%>&amp;lxl=<%=lxl%>">[添加栏目]</a><br/>
<%end if%>
<% 
dim conngamepb,conngamepbstr
conngamepbstr="DBQ="+server.mappath("/shujuku/chajianshujuku/saytk_pb/saytk_pb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
set conngamepb=server.createobject("ADODB.connECTION")
conngamepb.open conngamepbstr

set rs1=server.createobject("adodb.recordset")
sql1 = "select * from gameclass where classid="&id
rs1.open sql1,conngamepb,1,1
if rs1("lx")=2 then lxx="文字段落"
if rs1("lx")=3 then lxx="直接显图"
if rs1("lx")=4 then lxx="超级链接"

response.write ("项目名称:"&ubb1(left(rs1("class"),30))&"<br/>")
response.write ("项目类型:"&lxx&"<br/>")
response.write ("项目编号:"&rs1("lx")&"<br/>")
response.write ("项目排序:"&rs1("pid")&"<br/>")
if rs1("br")=1 then
response.write ("项目换行:换行<br/>")
else
response.write ("项目排序:不换行<br/>")
end if
if rs1("vipin")>0 then
response.write ("VIP会员限:VIP"&rs1("vipin")&"级<br/>")
else
response.write ("VIP会员限:不限制<br/>")
end if

if rs1("cent")>0 then
response.write ("进入收费:"&rs1("cent")&getcent&"<br/>")
else
response.write ("进入收费:免费<br/>")
end if
if rs1("prentmm")<>"0" then
response.write ("页面密码:"&rs1("prentmm")&"<br/>")
else
response.write ("页面密码:无密码<br/>")
end if

if rs1("active")=0 then
response.write ("项目状态:正常显示<br/>")
else
response.write ("项目状态:隐藏显示<br/>")
end if
response.write ("-----------<br/>")
rs1.close
set rs1=nothing
%>

<br/><a href="editclass.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=id%>&amp;lx=<%=lxl%>">[编辑栏目]</a><br/>

<a href='delcl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lx=<%=lxl%>'>[删除栏目]</a><br/>
<%if idd<>0 then %>
<a href="Clist.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=idd%>&amp;lx=0">[栏目分类]</a><br/>
<%end if%>
<a href="class.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[排版中心]</a><br/>
<a href="/bbs/show.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">返回我的地盘</a><br/>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%><br/>
报时: <%=String(2-Len(hour(now)),"0") & hour(now) %>:<%=String(2-len(minute(now)),"0") & minute(now) %>

<%
call headsay()
%>
