<!--#include file="../Inc.asp"-->
<!--#include file="../ydzq.asp"-->
<%call head()
Call saycardd("添加菜单")

conn.close
set conn=nothing
dim p,ydbbsname,typeid
p=request("p")
typeid=request("typeid")
if p="" or IsNumeric(p)=False then
  Call Error("选择类别无效！")
  end if
p=clng(p)
if p=5 then ydbbsname="调用菜单<br/>"
if p=4 then ydbbsname="WML标签<br/>"
if p=3 then ydbbsname="新的页面<br/>"
if p=1 then ydbbsname="同城论坛<br/>"
if p=2 then ydbbsname="超级连接<br/>"
if p=0 then ydbbsname="UBB标签<br/>"
response.write"项目类型:"&ydbbsname&""
if p=1 then
response.write"----------<br/>"
response.write"版块名称<br/>"
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if
response.write"<input name='nam' title='版块名称'/><br/>"
response.write"版块后面:<select name='brr' value='1'>"
response.write"<option value='1'>自动换行</option>"
response.write"<option value='0'>不换行</option>"
response.write"</select><br/>"
response.write"显示顺序:<input name='idi' title='显示顺序' format='*N' maxlength='6' value='0' size='8' emptyok='false'/><br/>"
response.write"进入"&getcent&":<input name='cent' format='*N' value='0' size='8' emptyok='false'/><br/>"
response.write"进入经验:<input name='sore' format='*N' value='0' size='8' emptyok='false'/><br/>"
response.write"公开方式:<select name='yc' value='0'>"
response.write"<option value='0'>正常显示</option>"
response.write"<option value='1'>隐藏显示</option>"
response.write"</select><br/>"
response.write"进入权限:<select name='hyin' value='0'>"
response.write"<option value='0'>没有限制</option>"
response.write"<option value='1'>会员进入</option>"
response.write"<option value='2'>版主进入</option>"
response.write"</select><br/>"
response.write"禁模拟器:<select name='oopp' value='0'>"
response.write"<option value='0'>开放浏览</option>"
response.write"<option value='1'>禁止浏览</option>"
response.write"</select><br/>"
response.write"发帖状态:<select name='sellkf' value='0'>"
response.write"<option value='0'>允许发帖</option>"
response.write"<option value='1'>禁止发帖</option>"
response.write"</select><br/>"
if saytk>1 then
response.write "<input type=""hidden"" name=""p"" value=""1""/>"
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"
else
response.write"<anchor>[确定提交]<go href='adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='nam' value='$(nam)'/>"
response.write"<postfield name='idi' value='$(idi)'/>"
response.write"<postfield name='hyin' value='$(hyin)'/>"
response.write"<postfield name='sellkf' value='$(sellkf)'/>"
response.write"<postfield name='yc' value='$(yc)'/>"
response.write"<postfield name='cent' value='$(cent)'/>"
response.write"<postfield name='sore' value='$(sore)'/>"
response.write"<postfield name='brr' value='$(brr)'/>"
response.write"<postfield name='oopp' value='$(oopp)'/>"
response.write"<postfield name='p' value='1'/>"
response.write"</go></anchor>"end if
elseif p=2 then
response.write"----------<br/>"
response.write"连接名称<br/>"
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if
response.write"<input name='nam' title='连接名称'/><br/>"
response.write"连接地址<br/>"
response.write"<input name='txt' title='连接地址'/><br/>"
response.write"连接后面:<select name='brr' value='1'>"
response.write"<option value='1'>自动换行</option>"
response.write"<option value='0'>不换行</option>"
response.write"</select><br/>"
response.write"显示顺序:<input name='idi' title='显示顺序' format='*N' maxlength='6' value='0' size='10' emptyok='false'/><br/>"
response.write"公开方式:<select name='yc' value='0'>"
response.write"<option value='0'>正常显示</option>"
response.write"<option value='1'>隐藏显示</option>"
response.write"</select><br/>"
if saytk>1 then
response.write "<input type=""hidden"" name=""p"" value=""2""/>"
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"
else
response.write"<anchor>[确定提交]<go href='adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='nam' value='$(nam)'/>"
response.write"<postfield name='idi' value='$(idi)'/>"
response.write"<postfield name='txt' value='$(txt)'/>"
response.write"<postfield name='yc' value='$(yc)'/>"
response.write"<postfield name='brr' value='$(brr)'/>"
response.write"<postfield name='p' value='2'/>"
response.write"</go></anchor>"end if
elseif p=3 then
if id="" then
response.write"----------<br/>"
response.write"页面名称<br/>"
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if
response.write"<input name='nam' title='页面名称'/><br/>"
response.write"页面后面:<select name='brr' value='1'>"
response.write"<option value='1'>自动换行</option>"
response.write"<option value='0'>不换行</option>"
response.write"</select><br/>"
response.write"显示顺序:<input name='idi' title='显示顺序' format='*N' maxlength='6' value='0' size='10' emptyok='false'/><br/>"
response.write"公开方式:<select name='yc' value='0'>"
response.write"<option value='0'>正常显示</option>"
response.write"<option value='1'>隐藏显示</option>"
response.write"</select><br/>"
response.write"禁模拟器:<select name='oopp' value='0'>"
response.write"<option value='0'>开放浏览</option>"
response.write"<option value='1'>禁止浏览</option>"
response.write"</select><br/>"
if saytk>1 then
response.write "<input type=""hidden"" name=""p"" value=""3""/>"
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"
else
response.write"<anchor>[确定提交]<go href='adminbkcl.asp?sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='nam' value='$(nam)'/>"
response.write"<postfield name='idi' value='$(idi)'/>"
response.write"<postfield name='yc' value='$(yc)'/>"
response.write"<postfield name='oopp' value='$(oopp)'/>"
response.write"<postfield name='brr' value='$(brr)'/>"
response.write"<postfield name='p' value='3'/>"
response.write"</go></anchor>"end if
end if
elseif p=0 then
response.write"----------<br/>"
response.write"文本名称(用于后台标记)<br/>"
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if
response.write"<input name='nam' title='文本名称'/><br/>"
response.write"文本内容(支持UBB)<br/>"
response.write"<input name='txt' title='输出内容'/><br/>"
response.write"文本后面:<select name='brr' value='0'>"
response.write"<option value='1'>自动换行</option>"
response.write"<option value='0'>不换行</option>"
response.write"</select><br/>"
response.write"显示顺序:<input name='idi' title='显示顺序' format='*N' maxlength='6' value='0' size='10' emptyok='false'/><br/>"
response.write"公开方式:<select name='yc' value='0'>"
response.write"<option value='0'>正常显示</option>"
response.write"<option value='1'>隐藏显示</option>"
response.write"</select><br/>"
if saytk>1 then
response.write "<input type=""hidden"" name=""p"" value=""0""/>"
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"
else
response.write"<anchor>[确定提交]<go href='adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='nam' value='$(nam)'/>"
response.write"<postfield name='idi' value='$(idi)'/>"
response.write"<postfield name='txt' value='$(txt)'/>"
response.write"<postfield name='yc' value='$(yc)'/>"
response.write"<postfield name='brr' value='$(brr)'/>"
response.write"<postfield name='p' value='0'/>"
response.write"</go></anchor>"end if
elseif p=4 then
response.write"----------<br/>"
response.write"WML名称(用于后台标记)<br/>"
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if
response.write"<input name='nam' title='文本名称'/><br/>"
response.write"WML标签内容<br/>"
response.write"<input name='txt' title='输出内容'/><br/>"
response.write"WML后面:<select name='brr' value='0'>"
response.write"<option value='1'>自动换行</option>"
response.write"<option value='0'>不换行</option>"
response.write"</select><br/>"
response.write"显示顺序:<input name='idi' title='显示顺序' format='*N' maxlength='6' value='0' size='10' emptyok='false'/><br/>"
response.write"公开方式:<select name='yc' value='0'>"
response.write"<option value='0'>正常显示</option>"
response.write"<option value='1'>隐藏显示</option>"
response.write"</select><br/>"
if saytk>1 then
response.write "<input type=""hidden"" name=""p"" value=""4""/>"
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"
else
response.write"<anchor>[确定提交]<go href='adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='nam' value='$(nam)'/>"
response.write"<postfield name='idi' value='$(idi)'/>"
response.write"<postfield name='txt' value='$(txt)'/>"
response.write"<postfield name='yc' value='$(yc)'/>"
response.write"<postfield name='brr' value='$(brr)'/>"
response.write"<postfield name='p' value='4'/>"
response.write"</go></anchor>"end if
elseif p=5 then
response.write"----------<br/>"
response.write"调用名称(用于后台标记)<br/>"
if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
end if
response.write"<input name='nam' title='调用名称'/><br/>"
response.write"调用类型:<select name='p' value='0'>"
response.write"<option value='10'>最新帖子</option>"
response.write"<option value='20'>动态帖子</option>"
response.write"<option value='30'>精华帖子</option>"
response.write"<option value='60'>随机帖子</option>"
response.write"<option value='31'>最热帖子</option>"
response.write"</select><br/>"
response.write"调用论坛(不能留空0为全部论坛,多个请用|隔开):<input name='did' title='调用ID' format='*N'  value='0' emptyok='false'/><br/>"
response.write"调用条数:<input name='ydnum' title='调用条数' format='*N' maxlength='6' value='0' size='10' emptyok='false'/><br/>"
response.write"UBB显示字数:(长度)<br/><input name=""logo"" title=""条数"" value="""" emptyok=""false""/><br/>"
response.write"UBB前显示内容:<br/><select name=""vicexs"" value=""0"">"
            response.write"<option value=""0"">不显配置内容</option>"
			response.write"<option value=""1"">显示配置内容</option>"
			response.write"</select><br/>"
response.write"调用后面:<select name='brr' value='0'>"
response.write"<option value='1'>自动换行</option>"
response.write"<option value='0'>不换行</option>"
response.write"</select><br/>"
response.write"显示顺序:<input name='idi' title='显示顺序' format='*N' maxlength='6' value='0' size='10' emptyok='false'/><br/>"
response.write"公开方式:<select name='yc' value='0'>"
response.write"<option value='0'>正常显示</option>"
response.write"<option value='1'>隐藏显示</option>"
response.write"</select><br/>"
if saytk>1 then
response.write "<input type=""submit"" name=""Submit"" value=""确定提交""></form><br/>"
else
response.write"<anchor>[确定提交]<go href='adminbkcl.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&"' method='post' accept-charset='utf-8'>"
response.write"<postfield name='nam' value='$(nam)'/>"
response.write"<postfield name='did' value='$(did)'/>"
response.write"<postfield name='ydnum' value='$(ydnum)'/>"
response.write"<postfield name='idi' value='$(idi)'/>"
response.write"<postfield name='txt' value='$(txt)'/>"
response.write"<postfield name='yc' value='$(yc)'/>"
response.write"<postfield name='brr' value='$(brr)'/>"
response.write"<postfield name='p' value='$(p)'/>"
response.write"<postfield name='logo' value='$(logo)'/>"
response.write"<postfield name='vicexs' value='$(vicexs)'/>"
response.write"</go></anchor>"end if
end if
if typeid<>"" then
response.write"<br/><a href=""adminbbsll.asp?id="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">[上级页面]</a>"
end if
response.write"<br/><a href=""adminaddbbs.asp?typeid="&typeid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">[重新选择]</a>"
response.write"<br/><a href=""adminbbs.asp?sid="&sid&"&amp;saytk="&saytk&""">[同城设计]</a>"
%><!--#include file="fanhui.asp"-->
<%response.write""
call headsay()%>
