⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_pic.asp

📁 生活者姿态整站程序 生活者姿态整站程序 生活者姿态整站程序
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#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>&nbsp;"
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>&nbsp;"
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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<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%>">&nbsp;&nbsp;<img src=<%=picurl%><%=P_closeTopic%>>
</td>
</tr>
<tr> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -