<!-- #include file="conn.asp" -->
<!-- #include file="admin.asp" -->
<%Call Head()%>
<%call ling()
IF KEY<>0 then
  if saytk>1 then
  Call Error("<title>出错</title></head><body><body bgcolor="""&yanse1&"""><p>你的权限不足！")
else
  Call Error("<card title=""出错""><p>你的权限不足！")
  end if
  end if
dim pp,id,idd,lxl
id=request.QueryString("id")
 idd= request.QueryString("idd")
 lxl= request.QueryString("lxl")
if id="" then id=0
pp=request.QueryString("pp")
if pp="" then pp=1

if pp=0 Then

Call saycardd("添加新的页面")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if
%>
输入页面名称:<br/><input name="class1" title="名称" size="20" emptyok="false"/><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
栏目后面:
		<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
电脑访问:<select name="opera" value="1">
			<option value="1">开启</option>
			<option value="2">禁止</option>
			</select><br/>
VIP会员进入:<select name='vipin' value='0'>
<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="0" format="*N" size="5" emptyok="false"/><br/>
密码:<input name="mm" type="text" value="0" format="*N" size="5" emptyok="false"/>0为不加密<br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""0""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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='lx' value='0'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
        <postfield name='cent' value='$(cent)'/>
        <postfield name='opera' value='$(opera)'/>
        <postfield name='mm' value='$(mm)'/>
        <postfield name='vipin' value='$(vipin)'/>
    </go>
</anchor>
<%end if
elseif pp=1 Then
Call saycardd("添加文章栏目")

set rs=server.createobject("adodb.recordset")
	sql="select * from wzclass"
	rs.open sql,conn,1,1
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if
%>文章栏目名称:<br/><input name="class1" title="名称" size="20" value=""/><br/>
选择类别:
<select name="lid">
<% do while not rs.eof
%> <option value='<%=rs("classid")%>'><%=rs("class")%></option>   
<%  rs.movenext
        loop
%></select><br/>
显示方式:<select name="active" value="0"><option value="0">
正常显示</option><option value="1">
隐藏显示</option></select><br/>
		
栏目后面:<select name="br" value="1">
			
<option value="1">自动换行</option>
			
<option value="2">不换行</option>
			
</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""1""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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="lid" value="$(lid)"/>
        <postfield name='lx' value='1'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if 
elseif pp=11 Then
Call saycardd("添加文件类别栏目")

set rs1=server.createobject("adodb.recordset")
	sql1="select * from xzclass Where type=0"
	rs1.open sql1,conn,1,1
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
<input name="class1" title="名称" value=""/><br/>
选择类别:
<select name="lid">
<% do while not rs1.eof
%> <option value='<%=rs1("id")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
%></select><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>




<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""7""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>


<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name="lid" value="$(lid)"/>
        <postfield name='lx' value='7'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if

elseif pp=2 then%>
<%Call saycardd("添加UBB标签")
%>
<a href="ubbcl.asp?sid=<%=sid%>">[UBB说明]</a><br/>
<%if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
UBB后台标记:<br/><input name="class1" title="名称" emptyok="false"/><br/>
<%if saytk<>1 then%>
UBB内容:<br/><textarea name="wmltxt" rows="10" cols="30" class="false"></textarea><br/>
<%else%>
UBB内容:<br/><input name="wmltxt" class="false"/><br/>
<%End if%>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""2""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
        <postfield name="wmltxt" value="$(wmltxt)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name='lx' value='2'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
elseif pp=3 Then
Call saycardd("添加直接显图")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
输入显图名称<br/><input name="class1" title="名称" emptyok="false"/><br/>
输入图片地址:<br/><input name="img" title="名称" emptyok="false"/><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""3""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
         <postfield name="img" value="$(img)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name='lx' value='3'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
elseif pp=4 Then
Call saycardd("添加超级链接")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
输入超链名称:<br/><input name="class1" title="名称" value=""/><br/>
   输入超链地址:<br/><input name="URL" title="名称" value="http://"/><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""4""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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='4'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end If
elseif pp=100 Then
Call saycardd("添加系统项目")

if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
	End if
%>
系统栏目名称:<br/><input name="class1" title="名称" emptyok="false"/><br/>
选择系统栏目类型<br/><select name="lxxx">
<option value="10">社区</option>
<option value="11">游戏</option>
<option value="12">短信</option>
<option value="13">笑话</option>
<option value="14">家族</option>
<option value="15">同城</option>
<option value="16">聊吧</option>
<option value="17">宠物</option>
<option value="18">博客</option>
<option value="19">许愿</option>
<option value="20">商城</option>
<option value="21">留言</option>
<option value="22">友链</option>
<option value="23">便民</option>
<option value="24">书城</option>
<option value="25">历史</option>
<option value="26">排行</option>
<option value="27">相册</option>
<option value="28">帮助</option>
<option value="29">银行</option>
<option value="30">婚姻</option>
<option value="31">好友</option>
<option value="32">小屋</option>
<option value="33">签到</option>
<option value="34">花园</option>
<option value="35">个性</option>
<option value="36">勋章</option>
<option value="37">家园</option>
</select><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""600""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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='lx' value='600'/>
		<postfield name='lxxx' value='$(lxxx)'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end If


elseif pp=5 then%>
<%Call saycardd("添加图片类别")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
图片类别名称:<br/>
<%
set rs1=server.createobject("adodb.recordset")
	sql1="select * from wjlist Where type=1"
	rs1.open sql1,conn,1,1
%><input name="class1" title="名称" value=""/><br/>
选择类别:
<select name="lid">
<% do while not rs1.eof
%> <option value='<%=rs1("lid")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
%></select><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""5""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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="lid" value="$(lid)"/>
        <postfield name='lx' value='5'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
elseif pp=6 then%>
<%Call saycardd("添加文件类别")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
文件类别名称:<br/>
<%
set rs1=server.createobject("adodb.recordset")
	sql1="select * from wjclass Where type=0"
	rs1.open sql1,conn,1,1
%><input name="class1" title="名称" value=""/><br/>
选择类别:
<select name="lid">
<% do while not rs1.eof
%> <option value='<%=rs1("id")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
%></select><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""7""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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="lid" value="$(lid)"/>
        <postfield name='lx' value='7'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
elseif pp=7 then%>
<%Call saycardd("添加调用栏目")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
调用栏目名称:<br/><input name="class1" title="名称" emptyok="false"/><br/>
选择调用类型<br/><select name="lx">
<option value="16">最新图片</option>
<option value="17">最热图片</option>
<option value="18">随机图片</option>
<option value="19">站内搜框</option>
<option value="24">最新相片</option>
</select><br/>
调用栏目/论坛(留空则为全部栏目/论坛):<br/>栏目ID<input name="relid" title="栏目ID" emptyok="false" format="*N"/><br/>

调用条数:(站内搜框除外)<br/><input name="num" title="条数" emptyok="false" format="*N"/><br/>

显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>

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

elseif pp=8 then%>
<%Call saycardd("添加随机广告")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
广告标题(用于后台标识):<br/><input name="class1" title="名称" emptyok="false"/><br/>
调用条数:<br/><input name="num" title="条数" emptyok="false" format="*N"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="字数" value="" emptyok="false"/><br/>
调用类型:<select name="relid" value="1">
			<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="0">
              <option value="0">不显</option>
			  <option value="1">显示</option>
			  </select><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""8""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&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='lx' value='8'/>
        <postfield name='parent' value='<%=id%>'/>
        <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=9 then%>
<%Call saycardd("添加WML标签")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
WML后台标记:<br/><input name="class1" title="名称" emptyok="false"/><br/>
WML标签内容:<br/><input name="wmltxt" title="名称" emptyok="false"/><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""9""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
        <postfield name="wmltxt" value="$(wmltxt)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name='lx' value='9'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end If

'=============================
elseif pp=12 then%>
<%Call saycardd("添加文章调用")
if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
调用栏目名称:<br/><input name="class1" title="名称" emptyok="false"/><br/>
选择调用类型<br/><select name="lx">
<option value="10">最新文章</option>
<option value="11">最热文章</option>
<option value="12">随机文章</option>
</select><br/>
调用栏目(0则为全部文章,多个请用|号分开,如1|2|3):

<br/>栏目ID<input name="wmltxt" emptyok="false" value=""/><br/>

调用条数:(站内搜框除外)<br/><input name="num" title="条数" emptyok="false" format="*N"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="0">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
         <postfield name="class1" value="$(class1)"/>
         <postfield name="img" value="$(img)"/>
         <postfield name="pid" value="$(pid)"/>
		 <postfield name="lid" value="$(lid)"/>
         <postfield name="br" value="$(br)"/>
         <postfield name='lx' value='$(lx)'/>
         <postfield name="num" value="$(num)"/>
         <postfield name="wmltxt" value="$(wmltxt)"/>
         <postfield name='parent' value='<%=id%>'/>
         <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
'=============================
elseif pp=13 then%>
<%
Call saycardd("添加帖子调用")
%>
<%if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
调用栏目名称:<br/><input name="class1" title="名称" emptyok="false"/><br/>
选择调用类型<br/><select name="lx">
<option value="21">最新帖子</option>
<option value="27">最热帖子</option>
<option value="28">随机帖子</option>
<option value="22">动态帖子</option>
<option value="23">精华帖子</option>
</select><br/>
调用栏目/论坛(不能留空0则为全部栏目/论坛,多个ID请用|分隔):<br/>栏目ID<input name="relid" title="栏目ID" emptyok="false" format="*N"/><br/>
调用条数:(站内搜框除外)<br/><input name="num" title="条数" emptyok="false" format="*N"/><br/>
UBB显示字数:(长度)<br/><input name="lid" title="条数" value="" emptyok="false"/><br/>
UBB前显示内容:<br/><select name="img" value="0">
            <option value="0">不显配置内容</option>
			<option value="1">显示配置内容</option>
			</select><br/>
(回复/人气):<select name="ids" value="0">
            <option value="0">不显数量</option>
			<option value="1">显示数量</option>
			</select><br/>

显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="2">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="classsave.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
         <postfield name="class1" value="$(class1)"/>
         <postfield name="img" value="$(img)"/>
         <postfield name="pid" value="$(pid)"/>
		 <postfield name="lid" value="$(lid)"/>
		 <postfield name="ids" value="$(ids)"/>
         <postfield name="br" value="$(br)"/>
         <postfield name='lx' value='$(lx)'/>
         <postfield name="num" value="$(num)"/>
         <postfield name="relid" value="$(relid)"/>
         <postfield name='parent' value='<%=id%>'/>
         <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
elseif pp=10 then%>
<%
Call saycardd("添加WML页面")
%>
<%if saytk>1 then
	Response.write "<form name=""form"" method=""post"" action=""classsave.asp?sid="&sid&"&amp;id="&id&"&amp;saytk="&saytk&""">"
end if%>
WML页面后台标记:(无须文件头)<br/><input name="class1" title="名称" emptyok="false"/><br/>
WML地址命名:(留空则自动命名)<br/><input name="Wmlname" title="名称" emptyok="true"/><br/>
WML页面内容:<br/><input name="wmltxt" title="名称" emptyok="false"/><br/>
显示方式:<select name="active" value="0"><option value="0">正常显示</option><option value="1">隐藏显示</option></select><br/>
		栏目后面:<select name="br" value="1">
			<option value="1">自动换行</option>
			<option value="2">不换行</option>
			</select><br/>
显示顺序:<input name="pid" type="text" value="5" format="*N" size="6" emptyok="false"/><br/>
<%if saytk>1 then
response.write "<input type=""hidden"" name=""parent"" value="""&id&"""/>"
response.write "<input type=""hidden"" name=""lx"" value=""20""/>"%>
<input type="submit" name="Submit" value="确认提交"></form><br/>
<%else%>
<anchor>确认提交
    <go href="wmlcl.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;saytk=<%=saytk%>" method="post" accept-charset="utf-8">
        <postfield name="class1" value="$(class1)"/>
        <postfield name="Wmlname" value="$(Wmlname)"/>
        <postfield name="wmltxt" value="$(wmltxt)"/>
         <postfield name="pid" value="$(pid)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name='lx' value='20'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if%>
<%end if%>
<br/>----------<br/>
<%if id<>0 then %>
<a href="Clist.asp?sid=<%=sid%>&amp;id=<%=id%>&amp;lxl=<%=lxl%>&amp;saytk=<%=saytk%>">[返回栏目]</a><br/>
<%end if


%>
提示:系统身份识别sid=[sid],彩版链接标识saytk=[saytk]<br/>

新增UBB [标识] 使用方式相当于代替saytk=[saytk]&amp;sid=[sid]<br/>
<a href="class.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[栏目管理]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a>
<%response.write"" %>

<%call headsay()%>
