<!-- #include file="conn.asp" -->
<!--#include file="admin.asp"-->
<%
function uubb(str)
	str=trim(str)
	if IsNull(str) then exit function
	str=replace(str,"&","&amp;")
	str=replace(str,"<","&lt;")
	str=replace(str,">","&gt;")
	str=replace(str,"'","&apos;")
	str=replace(str,"""","&quot;")
	uubb=str
end function
IF KEY<>0 then
Call Error2("你的权限不足！","class.asp?sid=[sid]&amp;saytk=[saytk]")
end If


dim pp,id
pp=request.querystring("lx")
id=request.querystring("id")
idd= int(request.QueryString("idd"))
lxl= request.QueryString("lxl")
if id="" or IsNumeric(id)=False Then Call Error2("ID无效！！","class.asp?sid=[sid]&amp;saytk=[saytk]")


if pp="" or IsNumeric(pp)=False Then Call Error2("ID无效！！","class.asp?sid=[sid]&amp;saytk=[saytk]")
dim wmlhead
wmlhead = "tools/wml.txt"
set rs=server.createobject("adodb.recordset")
sql = "select * from class where classid="&id
rs.open sql,conn,1,1
if rs.bof and rs.eof then
    	notclass
else
classright
end if
%>
<%'=================================
function editnewclass(pp,classname)

Call saycardd("编辑新增调用")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>新调用栏目名:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"
%>
<input name="class1" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用条数:<br/><input name="num" title="条数" value="<%=ubb(rs("num"))%>" emptyok="false"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="<%=ubb(rs("lid"))%>" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="0">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="<%=pp%>"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用栏目(留空则为全部栏目,多个ID请用|号隔开):<br/>栏目ID<input name="relid<%=minute(now)%><%=second(now)%>" title="条数" value="<%=ubb(rs("relid"))%>" emptyok="false"/><br/>
调用条数:<br/><input name="num<%=minute(now)%><%=second(now)%>" title="条数" value="<%=ubb(rs("num"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
		 <postfield name="lid" value="$(lid<%=minute(now)%><%=second(now)%>)"/>
		 <postfield name="img" value="$(img<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="num" value="$(num<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="relid" value="$(relid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
        <postfield name='lx' value='<%=pp%>'/>
    </go>
</anchor>
<%end If
End function

'=================================






sub classright()%>
<%call ling()
call head%><%
if pp=10 then classname="最新文章"
if pp=11 then classname="最热文章"
if pp=12 then classname="随机文章"
if pp=16 then classname="最新图片"
if pp=17 then classname="最热图片"
if pp=18 then classname="随机图片"
if pp=19 then classname="站内搜框"
if pp=0 then classname="新的页面"
if pp=1 then classname="文章栏目"
if pp=2 then classname="文字类型"
if pp=3 then classname="图片显示"
if pp=4 then classname="超级链接"
if pp=5 then classname="图片栏目"
if pp=7 then classname="文件栏目"
if pp=8 then classname="随机广告"
if pp=9 then classname="WML标签"
if pp=20 then classname="WML页面"
if pp=21 then classname="最新帖子"
if pp=22 then classname="动态帖子"
if pp=23 then classname="精华帖子"
if pp=27 then classname="最热帖子"
if pp=28 then classname="随机帖子"

if pp=24 then classname="最新相片"
if pp=67 then classname="随机短信"
if pp=68 then classname="随机笑话"
if pp=69 then classname="随机商品"
if pp=70 then classname="最新短信"
if pp=71 then classname="最新笑话"
if pp=72 then classname="最新吹牛"
if pp=73 then classname="最新商品"
if pp=76 then classname="历史今天"
if pp=77 then classname="最新许愿"%>
<%if pp=0 then 
Call saycardd("编辑页面菜单")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&"&amp;saytk="&saytk&""">"%>
请输入新页面名称<br/><input name="class1" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
电脑访问:<select name="opera" value="<%=ubb1(rs("opera"))%>">
			<option value="1">开启</option>
			<option value="2">禁止</option>
			</select><br/>
VIP会员进入:<select name='vipin' value='<%=ubb1(rs("vipin"))%>'>
<option value='0'>没有限制</option>
<option value='1'>VIP一级</option>
<option value='2'>VIP二级</option>
<option value='3'>VIP三级</option>
<option value='4'>VIP四级</option>
<option value='5'>VIP五级</option>
</select><br/>
进入<%=getcent%>:<input name="cent" type="text" value="<%=ubb1(rs("cent"))%>" format="*N" size="5" emptyok="false"/><br/>
密码:<input name="mm" type="text" value="<%=ubb1(rs("prentmm"))%>" format="*N" size="5" emptyok="false"/>0为不加密<br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="0"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
请输入新页面名称<br/><input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
电脑访问:<select name="opera<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("opera"))%>">
			<option value="1">开启</option>
			<option value="2">禁止</option>
			</select><br/>
VIP会员进入:<select name='vipin<%=minute(now)%><%=second(now)%>' value='<%=ubb1(rs("vipin"))%>'>
<option value='0'>没有限制</option>
<option value='1'>VIP一级</option>
<option value='2'>VIP二级</option>
<option value='3'>VIP三级</option>
<option value='4'>VIP四级</option>
<option value='5'>VIP五级</option>
</select><br/>
进入<%=getcent%>:<input name="cent<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("cent"))%>" format="*N" size="5" emptyok="false"/><br/>
密码:<input name="mm<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("prentmm"))%>" format="*N" size="5" emptyok="false"/>0为不加密<br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='0'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
        <postfield name='opera' value='$(opera<%=minute(now)%><%=second(now)%>)'/>
        <postfield name='cent' value='$(cent<%=minute(now)%><%=second(now)%>)'/>
        <postfield name='mm' value='$(mm<%=minute(now)%><%=second(now)%>)'/>
        <postfield name='vipin' value='$(vipin<%=minute(now)%><%=second(now)%>)'/>  
    </go>
</anchor><%end if%>
<%elseif pp=1 Then
Call saycardd("编辑文章栏目")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&"&amp;lx=1"">"%>
请输入新栏目名称<br/><input name="class1" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
<%set rs1=server.createobject("adodb.recordset")
	sql="select * from wzclass"
	rs1.open sql,conn,1,1%>
选择类别:
<select name="lid">
<% do while not rs1.eof
%> <option value='<%=rs1("classid")%>'><%=rs1("class")%></option>   
<%  rs1.movenext
        loop
%></select><br/>

显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="1"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
请输入新栏目名称<br/><input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
<%set rs1=server.createobject("adodb.recordset")
	sql="select * from wzclass"
	rs1.open sql,conn,1,1%>
选择类别:
<select name="lid">
<% do while not rs1.eof
%> <option value='<%=rs1("classid")%>'><%=rs1("class")%></option>   
<%  rs1.movenext
        loop
%></select><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='1'/>
                <postfield name="lid" value="$(lid)"/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=2 Then
Call saycardd("编辑UBB标签")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>新UBB标签标记<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&"&amp;lx=2"">"%>
<input name="class1" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>

<%if saytk<>1 then%>
新UBB标签内容:<br/><textarea name="wmltxt" rows="10" cols="30" class="false"><%=usbb(rs("wmltxt"))%></textarea><br/>
<%else%>
新UBB标签内容:<br/><input name="wmltxt" class="false" value="<%=usbb(rs("wmltxt"))%>"/><br/>
<%End if%>



显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="2"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
新UBB标签内容<br/><input name="wmltxt<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb(rs("wmltxt"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="wmltxt" value="$(wmltxt<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='2'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=3 Then
Call saycardd("编辑直接显图")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&"&amp;lx=3"">"%>
请输入新显图名称<br/><input name="class1" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
图片地址:<input name="img" title="名称" value="<%=ubb1(rs("img"))%>" emptyok="false"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="3"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
请输入新显图名称<br/><input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
图片地址:<input name="img<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("img"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="img" value="$(img<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='3'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=4 Then
Call saycardd("编辑超级链接")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>请输入新超链名称:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"%>
<input name="class1" title="名称" value="<%=ubb1(rs("class"))%>"/><br/>
   输入新超链地址:<br/><input name="URL" title="名称" value="<%=usb(rs("url"))%>"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="4"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>"/><br/>
   输入新超链地址:<br/><input name="URL<%=minute(now)%><%=second(now)%>" title="名称" value="<%=usb(rs("url"))%>"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="URL" value="$(URL<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='4'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=9 Then
Call saycardd("修改WML标签")
%>
        类型:<%=classname%><br/>新WML标签标记:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"%>
<input name="class1" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
新WML标签内容:<br/><input name="wmltxt" title="名称" value="<%=ubb1(rs("wmltxt"))%>" emptyok="false"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="9"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
新WML标签内容:<br/><input name="wmltxt<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("wmltxt"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="wmltxt" value="$(wmltxt<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='9'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=20 Then
Call saycardd("修改WML页面")
%>
        类型:<%=classname%><br/>新WML页面标记:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""wmlcl.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"%>
<input name="class1" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
新WML页面内容:(无须文件头)<br/><input name="wmltxt" title="名称" value="<%=uubb(replace(LoadFile(rs("url")),LoadFile(wmlhead),""))%>" emptyok="false"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="20"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
新WML页面内容:(无须文件头)<br/><input name="wmltxt<%=minute(now)%><%=second(now)%>" title="名称" value="<%=uubb(replace(LoadFile(rs("url")),LoadFile(wmlhead),""))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="wmlcl.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="wmltxt" value="$(wmltxt<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="url" value="<%=rs("url")%>"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='20'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=7 Then
Call saycardd("编辑文件栏目")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>新文件栏目名字:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"%>
<input name="class1" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="7"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='7'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=5 Then
Call saycardd("编辑图片栏目")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>新图片栏目名字:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"%>
<input name="class1" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="5"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb1(rs("class"))%>" emptyok="false"/><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='lx' value='7'/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
    </go>
</anchor><%end if%>
<%elseif pp=8 Then
Call saycardd("编辑随机广告")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>新广告名称标记:<br/>
<%if saytk>1then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"%>
<input name="class1" title="名称" value="<%=ubb1(rs("class"))%>"/><br/>
调用条数:<br/><input name="num" title="条数" emptyok="false" format="*N" value="<%=ubb1(rs("num"))%>"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="字数" value="<%=ubb1(rs("lid"))%>" emptyok="false"/><br/>
调用类型:<select name="relid" value="<%=ubb1(rs("relid"))%>">
			<option value="1">主站广告</option>
			<option value="2">社区广告</option>
			<option value="3">文件广告</option>
			<option value="4">图片广告</option>
			<option value="5">赚币广告</option>
			</select><br/>
UBB前配置内容:<select name="img" value="<%=ubb1(rs("img"))%>">
              <option value="0">不显</option>
			  <option value="1">显示</option>
			  </select><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="8"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>

<input name="class1" title="名称" value="<%=ubb1(rs("class"))%>"/><br/>
调用条数:<br/><input name="num" title="条数" value="<%=ubb1(rs("num"))%>"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="字数" value="<%=ubb1(rs("lid"))%>" emptyok="false"/><br/>
调用类型:<select name="relid" value="<%=ubb1(rs("relid"))%>">
			<option value="1">主站广告</option>
			<option value="2">社区广告</option>
			<option value="3">文章广告</option>
			<option value="4">文件广告</option>
			<option value="5">图片广告</option>
			<option value="6">赚币广告</option>
			</select><br/>
UBB前配置内容:<select name="img" value="<%=ubb1(rs("img"))%>">
              <option value="0">不显</option>
			  <option value="1">显示</option>
			  </select><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
        <postfield name="URL" value="$(URL)"/>
        <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name='lx' value='8'/>
        <postfield name='active' value='$(active)'/>
		<postfield name="relid" value="$(relid)"/>
		<postfield name="img" value="$(img)"/>
		<postfield name="num" value="$(num)"/>
		<postfield name="lid" value="$(lid)"/>
    </go>
</anchor><%end if%>

<%

'========================

ElseIf pp=10 Then
Call saycardd("编辑文章调用")%>

名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>文章调用栏目名称10:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"
End if
%>
<input name="class1" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用栏目(0则为全部文章,多个请用|号分开,如1|2|3):<br/>栏目ID<input name="wmltxt" value="<%=ubb(rs("wmltxt"))%>" emptyok="false"/><br/>

调用条数:(站内搜框除外)<br/><input name="num" title="条数" value="<%=ubb(rs("num"))%>" emptyok="false" format="*N"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="<%=ubb(rs("lid"))%>" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="0">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>

显示方式:<select name="active" value="<%=ubb1(rs("active"))%>">
<option value="0">正常显示</option>
<option value="1">隐藏显示</option>
</select><br/>
栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10"/><br/>
<%If saytk>1 then%>
<input type="hidden" name="lx" value="<%=pp%>"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>

<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name="num" value="$(num)"/>
        <postfield name="wmltxt" value="$(wmltxt)"/>
        <postfield name='active' value='$(active)'/>
        <postfield name='lx' value='<%=pp%>'/>
		<postfield name="lid" value="$(lid)"/>
		<postfield name="img" value="$(img)"/>
    </go>
</anchor>
<%'========================
end If%>

<%

'========================

ElseIf pp=11 Then
Call saycardd("编辑文章调用")%>

名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>文章调用栏目名称:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"
End if
%>
<input name="class1" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用栏目(0则为全部文章,多个请用|号分开,如1|2|3):<br/>栏目ID<input name="wmltxt" value="<%=ubb(rs("wmltxt"))%>" emptyok="false"/><br/>
调用条数:<br/><input name="num" emptyok="false" value="<%=ubb(rs("num"))%>"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="<%=ubb(rs("lid"))%>" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="0">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10"/><br/>
<%If saytk>1 then%>
<input type="hidden" name="lx" value="<%=pp%>"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>

<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name="num" value="$(num)"/>
        <postfield name="wmltxt" value="$(wmltxt)"/>
        <postfield name='active' value='$(active)'/>
        <postfield name='lx' value='<%=pp%>'/>
		<postfield name="lid" value="$(lid)"/>
		<postfield name="img" value="$(img)"/>
    </go>
</anchor>
<%'========================
end If%>
<%

'========================

ElseIf pp=12 Then
Call saycardd("编辑文章调用")%>

名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>文章调用栏目名称:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"
End if
%>
<input name="class1" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用栏目(0则为全部文章,多个请用|号分开,如1|2|3):<br/>栏目ID<input name="wmltxt" value="<%=ubb(rs("wmltxt"))%>" emptyok="false"/><br/>
调用条数:<br/><input name="num" emptyok="false" value="<%=ubb(rs("num"))%>"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="<%=ubb(rs("lid"))%>" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="0">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>">
<option value="0">正常显示</option>
<option value="1">隐藏显示</option>
</select><br/>

栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10"/><br/>
<%If saytk>1 then%>
<input type="hidden" name="lx" value="<%=pp%>"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>

<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name="num" value="$(num)"/>
        <postfield name="wmltxt" value="$(wmltxt)"/>
        <postfield name='active' value='$(active)'/>
        <postfield name='lx' value='<%=pp%>'/>
		<postfield name="lid" value="$(lid)"/>
		<postfield name="img" value="$(img)"/>
		
    </go>
</anchor>
<%'========================
end If%>
<%ElseIf pp=68 Then

Call editnewclass(pp,classname)
ElseIf pp=67 Then
Call editnewclass(pp,classname)
ElseIf pp=70 Then
Call editnewclass(pp,classname)
ElseIf pp=71 Then
Call editnewclass(pp,classname)
ElseIf pp=72 Then
Call editnewclass(pp,classname)
ElseIf pp=73 Then
Call editnewclass(pp,classname)
ElseIf pp=76 Then
Call editnewclass(pp,classname)
ElseIf pp=77 Then
Call editnewclass(pp,classname)
ElseIf pp=69 Then
Call editnewclass(pp,classname)
'========================================
else
Call saycardd("编辑调用栏目")
%>名称:<%=ubb1(rs("class"))%><br/>
        类型:<%=classname%><br/>新调用栏目名:<br/>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""editclasssave.asp?sid="&sid&"&amp;saytk="&saytk&"&amp;idd="&idd&"&amp;lxl="&lxl&"&amp;id="&id&""">"
%>
<input name="class1" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用栏目(留空则为全部栏目,多个ID请用|号隔开):<br/>栏目ID<input name="relid" title="条数" value="<%=ubb(rs("relid"))%>" emptyok="false"/><br/>
调用条数:<br/><input name="num" title="条数" value="<%=ubb(rs("num"))%>" emptyok="false"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="<%=ubb(rs("lid"))%>" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="<%=ubb(rs("img"))%>">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
(回复/人气):<select name="ids" value="<%=ubb(rs("ids"))%>">
            <option value="0">不显数量</option>
			<option value="1">显示数量</option>
			</select><br/>
显示方式:<select name="active" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
栏目后面:<select name="br" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<input type="hidden" name="lx" value="<%=pp%>"/>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<input name="class1<%=minute(now)%><%=second(now)%>" title="名称" value="<%=ubb(rs("class"))%>" emptyok="false"/><br/>
调用栏目(留空则为全部栏目,多个ID请用|号隔开):<br/>栏目ID<input name="relid<%=minute(now)%><%=second(now)%>" title="条数" value="<%=ubb(rs("relid"))%>" emptyok="false"/><br/>
调用条数:<br/><input name="num<%=minute(now)%><%=second(now)%>" title="条数" value="<%=ubb(rs("num"))%>" emptyok="false"/><br/>

UBB显示字数:(长度)<br/><input name="lid" title="条数" value="<%=ubb(rs("lid"))%>" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="<%=ubb(rs("img"))%>">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
(回复/人气):<select name="ids" value="<%=ubb(rs("ids"))%>">
            <option value="0">不显数量</option>
			<option value="1">显示数量</option>
			</select><br/>
显示方式:<select name="active<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("active"))%>"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
栏目后面:<select name="br<%=minute(now)%><%=second(now)%>" value="<%=ubb1(rs("br"))%>">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(rs("pid"))%>" format="*N" size="10" emptyok="false"/><br/>
<anchor>确认提交
    <go href="editclasssave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;idd=<%=idd%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1<%=minute(now)%><%=second(now)%>)"/>
         <postfield name="pid" value="$(pid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="br" value="$(br<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="num" value="$(num<%=minute(now)%><%=second(now)%>)"/>
        <postfield name="relid" value="$(relid<%=minute(now)%><%=second(now)%>)"/>
        <postfield name='active' value='$(active<%=minute(now)%><%=second(now)%>)'/>
        <postfield name='lx' value='<%=pp%>'/>
		<postfield name="ids" value="$(ids<%=minute(now)%><%=second(now)%>)"/>
		<postfield name="img" value="$(img<%=minute(now)%><%=second(now)%>)"/>
		<postfield name="lid" value="$(lid<%=minute(now)%><%=second(now)%>)"/>
    </go>
</anchor>
<%end if%>


<%end if%>
<br/>----------<br/>
<% if rs("parent")<>0 then %>
<a href='Clist.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;lx=<%=pp%>&amp;saytk=<%=saytk%>'>[栏目分类]</a><br/>
<%end if%>
<a href='class.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>[主站排版]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%call headsay()%>
<%Response.End%><%End Sub%>
<%sub notclass()%>
<%call ling()
call head()
Call saycardd("出错了")
%>
没有这个栏目!
<br/>----------<br/>
<a href='class.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>'>返回栏目管理</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%call headsay()%>
<%Response.End%>
<%End Sub%>