📄 admin_pic.asp
字号:
<!--#include file =conn.asp-->
<!-- #include file="inc/const.asp" -->
<!--#include file=inc/char.asp-->
<!--#include file=chkuser.asp-->
<title><%=ForumName%>--管理页面</title>
<link rel="stylesheet" type="text/css" href="forum.css">
<meta NAME=GENERATOR Content=""Microsoft FrontPage 3.0"" CHARSET=GB2312>
<BODY <%=ForumBody%>>
<%
if instr(session("flag"),"24")=0 then
Errmsg=Errmsg+"<br>"+"<li>本页面为管理员专用,请<a href=admin_index.asp target=_top>登陆</a>后进入。<br><li>您没有管理本页面的权限。"
call Error()
else
call main()
conn.close
set conn=nothing
end if
sub main()
%>
<table cellpadding=0 cellspacing=0 border=0 width=<%=tablewidth%> bgcolor=<%=tablebackcolor%> align=center>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr bgcolor='<%=Tabletitlecolor%>'>
<td align=center colspan="2"><font color="<%=TablefontColor%>">欢迎<b><%=membername%></b>进入管理页面</font>
</td>
</tr>
<tr bgcolor=#FFFFFF>
<td width="100%" valign=top><font color="<%=TableContentColor%>">
<%
if request("action")="save" then
call saveconst()
else
call consted()
end if
if founderr then call error()
%></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%
end sub
sub consted()
%>
<form method="POST" action=admin_pic.asp?action=save>
<table width="95%" border="0" cellspacing="1" cellpadding="3" align=center bordercolor=<%=aTablebackcolor%>>
<tr bgcolor=<%=aTabletitlecolor%>>
<tr bgcolor=<%=aTabletitlecolor%>>
<td height="23" colspan="2" ><font color="<%=TableContentColor%>"><B>说明</B>:<BR>1、复选框中选择的为当前的使用设置模板,点击可查看该模板设置,点击别的模板直接查看该模板并修改设置。您可以将您下面的设置保存在多个论坛风格模板中<BR>2、您也可以将下面设定的信息保存并应用到具体的分论坛设置中,可多选<BR>3、如果您想在一个版面引用别的版面或模板的配置,只要点击该版面或模板名称,保存的时候选择要保存到的版面名称或模板名称即可。<br>4、以下图片均保存于论坛pic目录中,如要更换也请将图放于该目录</font></td>
</tr>
<tr>
<td width="100%" colspan=2><font color="<%=TableContentColor%>"><B>当前使用主模板</B>(可将设置保存到下列模板中)<BR>
<%
set rs = server.CreateObject ("adodb.recordset")
sql="select * from config"
rs.open sql,conn,1,1
do while not rs.eof
if request("skinid")="" then
if request("boardid")="" then
if rs("active")=1 then
sel="checked"
else
sel=""
end if
else
sel=""
end if
else
if rs("id")=cint(request("skinid")) then
sel="checked"
else
sel=""
end if
end if
response.write "<input type=checkbox name=skinid value="&rs("id")&" "&sel&"><a href=admin_pic.asp?skinid="&rs("id")&"><font color="&TableContentColor&">"&rs("skinname")&"</font></a> "
rs.movenext
loop
rs.close
set rs=nothing
%></font>
</td></tr>
<tr>
<td width="100%" colspan=2><font color="<%=TableContentColor%>"><B>当前使用分论坛模板</B>(可将设置保存到下列论坛中)<BR>
<%
set rs = server.CreateObject ("adodb.recordset")
sql="select * from board"
rs.open sql,conn,1,1
do while not rs.eof
if request("boardid")<>"" or isnumeric(request("boardid")) then
if rs("boardid")=cint(request("boardid")) then
sel="checked"
else
sel=""
end if
end if
response.write "<input type=checkbox name=boardid value="&rs("boardid")&" "&sel&"><a href=admin_pic.asp?boardid="&rs("boardid")&"><font color="&TableContentColor&">" & rs("boardtype") & "</font></a> "
rs.movenext
loop
rs.close
set rs=nothing
%></font>
</td></tr>
<tr bgcolor=<%=aTabletitlecolor%>>
<td height="23" colspan="2" ><font color="<%=TableContentColor%>"><b>在线图片设置</b></font></td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>论坛管理员</B></font></td>
<td width="60%">
<input type="text" name="pic_om" size="20" value="<%=pic_om%>"> <img src=<%=picurl%><%=pic_om%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>论坛版主</B></font></td>
<td width="60%">
<input type="text" name="pic_ob" size="20" value="<%=pic_ob%>"> <img src=<%=picurl%><%=pic_ob%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>论坛贵宾</B></font></td>
<td width="60%">
<input type="text" name="pic_ov" size="20" value="<%=pic_ov%>"> <img src=<%=picurl%><%=pic_ov%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>普通会员</B></font></td>
<td width="60%">
<input type="text" name="pic_ou" size="20" value="<%=pic_ou%>"> <img src=<%=picurl%><%=pic_ou%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>客人或隐身会员</B></font></td>
<td width="60%">
<input type="text" name="pic_oh" size="20" value="<%=pic_oh%>"> <img src=<%=picurl%><%=pic_oh%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>突出显示自己的颜色</B></font></td>
<td width="60%">
<input type="text" name="online_mc" size="20" value="<%=online_mc%>"> <font color=<%=online_mc%>>自己</font>
</td>
</tr>
<tr bgcolor=<%=aTabletitlecolor%>>
<td height="23" colspan="2" ><font color=<%=TableFontcolor%>><b>论坛图例</b></font></td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>常规论坛--有新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode1_n" size="20" value="<%=F_mode1_n%>"> <img src=<%=picurl%><%=F_mode1_n%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>常规论坛--无新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode1_o" size="20" value="<%=F_mode1_o%>"> <img src=<%=picurl%><%=F_mode1_o%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>正规论坛--有新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode6_n" size="20" value="<%=F_mode6_n%>"> <img src=<%=picurl%><%=F_mode6_n%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>正规论坛--无新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode6_o" size="20" value="<%=F_mode6_o%>"> <img src=<%=picurl%><%=F_mode6_o%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>开放论坛--有新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode2_n" size="20" value="<%=F_mode2_n%>"> <img src=<%=picurl%><%=F_mode2_n%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>开放论坛--无新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode2_o" size="20" value="<%=F_mode2_o%>"> <img src=<%=picurl%><%=F_mode2_o%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>评论论坛--有新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode3_n" size="20" value="<%=F_mode3_n%>"> <img src=<%=picurl%><%=F_mode3_n%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>评论论坛--无新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode3_o" size="20" value="<%=F_mode3_o%>"> <img src=<%=picurl%><%=F_mode3_o%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>认证论坛--有新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode5_n" size="20" value="<%=F_mode5_n%>"> <img src=<%=picurl%><%=F_mode5_n%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>认证论坛--无新帖子</B></font></td>
<td width="60%">
<input type="text" name="F_mode5_o" size="20" value="<%=F_mode5_o%>"> <img src=<%=picurl%><%=F_mode5_o%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>只读精华区</B></font></td>
<td width="60%">
<input type="text" name="F_mode4_n" size="20" value="<%=F_mode4_n%>"> <img src=<%=picurl%><%=F_mode4_n%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>联盟论坛</B></font></td>
<td width="60%">
<input type="text" name="F_link" size="20" value="<%=F_link%>"> <img src=<%=picurl%><%=F_link%>>
</td>
</tr>
<tr bgcolor=<%=aTabletitlecolor%>>
<td height="23" colspan="2" ><font color=<%=TableFontcolor%>><b>论坛主体图标</b></font></td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>发表帖子</B></font></td>
<td width="60%">
<input type="text" name="P_post" size="20" value="<%=P_post%>"> <img src=<%=picurl%><%=P_post%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>发表投票</B></font></td>
<td width="60%">
<input type="text" name="P_vote" size="20" value="<%=P_vote%>"> <img src=<%=picurl%><%=P_vote%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>回复帖子</B></font></td>
<td width="60%">
<input type="text" name="P_reply" size="20" value="<%=P_reply%>"> <img src=<%=picurl%><%=P_reply%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>小字报</B></font></td>
<td width="60%">
<input type="text" name="P_paper" size="20" value="<%=P_paper%>"> <img src=<%=picurl%><%=P_paper%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>帮助</B></font></td>
<td width="60%">
<input type="text" name="P_help" size="20" value="<%=P_help%>"> <img src=<%=picurl%><%=P_help%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>返回首页</B></font></td>
<td width="60%">
<input type="text" name="P_gohome" size="20" value="<%=P_gohome%>"> <img src=<%=picurl%><%=P_gohome%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>返回上级目录</B></font></td>
<td width="60%">
<input type="text" name="P_folder" size="20" value="<%=P_folder%>"> <img src=<%=picurl%><%=P_folder%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>当前目录</B></font></td>
<td width="60%">
<input type="text" name="P_ofolder" size="20" value="<%=P_ofolder%>"> <img src=<%=picurl%><%=P_ofolder%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>新的短消息</B></font></td>
<td width="60%">
<input type="text" name="P_newmsg" size="20" value="<%=P_newmsg%>"> <img src=<%=picurl%><%=P_newmsg%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>我发表的主题</B></font></td>
<td width="60%">
<input type="text" name="P_mytopic" size="20" value="<%=P_mytopic%>"> <img src=<%=picurl%><%=P_mytopic%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>树形浏览帖子模式</B></font></td>
<td width="60%">
<input type="text" name="P_treeview" size="20" value="<%=P_treeview%>"> <img src=<%=picurl%><%=P_treeview%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>平板形浏览帖子模式</B></font></td>
<td width="60%">
<input type="text" name="P_flatview" size="20" value="<%=P_flatview%>"> <img src=<%=picurl%><%=P_flatview%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>下一篇帖子</B></font></td>
<td width="60%">
<input type="text" name="P_nexttopic" size="20" value="<%=P_nexttopic%>"> <img src=<%=picurl%><%=P_nexttopic%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>上一篇帖子</B></font></td>
<td width="60%">
<input type="text" name="P_backTopic" size="20" value="<%=P_backTopic%>"> <img src=<%=picurl%><%=P_backTopic%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>刷新浏览</B></font></td>
<td width="60%">
<input type="text" name="P_reflash" size="20" value="<%=P_reflash%>"> <img src=<%=picurl%><%=P_reflash%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>论坛公告</B></font></td>
<td width="60%">
<input type="text" name="P_call" size="20" value="<%=P_call%>"> <img src=<%=picurl%><%=P_call%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>打开的主题</B></font></td>
<td width="60%">
<input type="text" name="P_opentopic" size="20" value="<%=P_opentopic%>"> <img src=<%=picurl%><%=P_opentopic%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>热门的主题</B></font></td>
<td width="60%">
<input type="text" name="P_hotTopic" size="20" value="<%=P_hotTopic%>"> <img src=<%=picurl%><%=P_hotTopic%>>
</td>
</tr>
<tr>
<td width="40%"><font color="<%=TableContentColor%>"><B>锁定的主题</B></font></td>
<td width="60%">
<input type="text" name="P_closeTopic" size="20" value="<%=P_closeTopic%>"> <img src=<%=picurl%><%=P_closeTopic%>>
</td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -