<!--#include file="inc.asp"-->
<!--#include file="ydzq1.asp"-->

<%Call head()
Call saycarda(""&zonene&"排版")
dim bbsid
bbsid=request.querystring("bbsid")
if bbsid="" or isnumeric(bbsid)=false then
  call error("id无效！")
  end If


 set rs= server.createobject("adodb.recordset")
 rs.open"select * from ydbbs where id="&bbsid,conn,1,1
if not rs.eof then

if ubb(rs("shuo"))="" then
response.write"暂无排版内容!<br/>"
else
response.write "标题:"&ubb(rs("shuo"))&"<br/>"
response.write "内容:"&ubb(rs("vice"))&"<br/>"
response.write ""&ubb(rs("vicetime"))&"<br/>"
end if
end if
rs.close
set rs=Nothing

set rs=server.createobject("adodb.recordset")
rs.open"select id,shuo,vice,vicexs from ydbbs where id="&bbsid,conn,1,1
if  keys=1 or keys=3 or skey=abs(bbsid) or keys=2 Then
if saytk=>2 Then
Response.write "<form name=""form"" method=""post"" action=""admin_zone.asp?action=save&amp;bbsid="&bbsid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">"
End if
response.write "后台标记名称:<br/>"
response.write "<input name='title' maxlength=""50"" value='"&ubb(rs("shuo"))&"'/><br/>"
response.write "排版用容:(可用UBB)<br/>"
if saytk<>1 then%>
<textarea name="vice" rows="10" cols="30" class="false"><%=ubb(rs("vice"))%></textarea><br/>
<%else%>
<input name="vice" class="false"/><br/>
<%End if

response.write "是否显示:<select name='vicexs' value='"&rs("vicexs")&"'>"
response.write "<option value='1'>显示</option>"
response.write "<option value='0'>不显示</option>"
response.write "</select><br/>"
if saytk=>2 Then

%>

<input type="submit" name="Submit" value="确认提交"></form><br/><%
Else

response.write "<anchor>确认提交<go href='admin_zone.asp?action=save&amp;bbsid="&bbsid&"&amp;sid="&sid&"&amp;saytk="&saytk&"' method='post'>"
response.write "<postfield name='title' value='$(title)'/>"
response.write "<postfield name='vice' value='$(vice)'/>"
response.write "<postfield name='vicexs' value='$(vicexs)'/>"
response.write "</go></anchor><br/>"
end If
end if
conn.close
set conn=nothing
response.write "-----------<br/>"
response.write "<a href=""zone_vip.asp?bbsid="&bbsid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">返回家务</a>"

response.write "<br/><a href=""zoneboard.asp?bbsid="&bbsid&"&amp;sid="&sid&"&amp;saytk="&saytk&""">返回家族论坛</a>"%>
<!--#include file="fanhui.asp"-->
<%Call headsay()%>