<!--#include file="../Inc.asp"-->
<!--#include file="../ydzq.asp"-->
<!--#include file="../../inc/char.asp"-->
<%Call Head()%>
<%call ling()
IF KEYs<>1 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=2 then%>
<%
Call saycarda("添加UBB标签")
%>
<a href="ubbcl.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[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/>
我的密码:<input name="password" type="text" 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="password" value="$(password)"/>
        <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 saycarda("添加直接显图")
%>
<%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/>

我的密码:<input name="password" type="text" 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="password" value="$(password)"/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end if
elseif pp=4 then%>
<%Call saycarda("添加超级链接")
%>
<%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/>
我的密码:<input name="password" type="text" 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="password" value="$(password)"/>
        <postfield name="br" value="$(br)"/>
        <postfield name='lx' value='4'/>
        <postfield name='parent' value='<%=id%>'/>
        <postfield name='active' value='$(active)'/>
    </go>
</anchor>
<%end If%>

<%end if


%>
提示:系统身份识别sid=[sid],彩版链接标识saytk=[saytk]<br/>
<a href="class.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[栏目管理]</a><br/>
<a href="/bbs/show.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">返回我的地盘</a><br/>
<%call headsay()%>
