📄 help.jsp
字号:
<%
/*##################################################################**
**# LyBBS ver 1.2.b2 (1.2.beta-2版) / 凌云论坛 ver 1.2.b2 #**
**# #**
**# 版权所有: 凌云工作室 (原流星电脑工作室) #**
**# #**
**# 制作人 : 星语凌 『teddy (Yongshan Ye)』 #**
**# #**
**# 主页地址: http://www.unix-now.com/lybbs 凌云论坛主页 #**
**# http://www.ierp.info/lybbs 凌云论坛镜像站 #**
**# http://horseye@sina.com/ 凌云论坛支持信箱 #**
**# #**
**##################################################################*/
%>
<%@ include file="include/config.jsp"%>
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="include/connect.jsp"%>
<%
int db=0;
String tempSTR="",submit="",action="";
//用户cookie变量声明
int id=0,styleid=0,membergone=0;
String cookieid="",cookiename="",usermode="",cookiemode="";
//日期定义
int now_year=0,now_month=0,now_day=0,now_hour=0,now_minute=0,now_second=0;
String now_date="",now_time="";
//定义boardprepare.jsp中的变量
String onlineview="",dispview="",boardtitle="",boardname="",title="",version="",copyright="",support="",programmer="",programemail="",homename="",homeurl="",togb="1",status="",maintainreason="",announcement="1",boardurl="",showfastlogin="",dispborn="",styleQuery="";
//定义本页变量
int number=0;
String helpon="",admin="";
boolean logok=false;
%>
<%@ include file="include/boardprepare.jsp"%>
<%@ include file="include/style.jsp"%>
<%
tempSTR=request.getParameter("action");
if(tempSTR!=null && !tempSTR.equals(""))
action=tempSTR;
tempSTR=request.getParameter("submit");
if(tempSTR!=null && !tempSTR.equals(""))
submit=togb.equals("1")?connect.toGB(tempSTR):tempSTR;
tempSTR=request.getParameter("helpon");
if(tempSTR!=null && !tempSTR.equals(""))
helpon=togb.equals("1")?connect.toGB(tempSTR):tempSTR;
tempSTR=request.getParameter("admin");
if(tempSTR!=null && !tempSTR.equals(""))
admin=togb.equals("1")?connect.toGB(tempSTR):tempSTR;
%>
<!--//html from here-->
<%@ include file="include/head.jsp"%>
<body <%=lbbody%>>
<p>
<br>
<%
if(action.equals("login")) {
String adminname="",adminpassword="",userstatus="";
if(submit.equals("登 陆")) {
tempSTR=request.getParameter("adminname");
if(tempSTR!=null && !tempSTR.equals(""))
adminname=togb.equals("1")?connect.toGB(tempSTR):tempSTR;
tempSTR=request.getParameter("adminpassword");
if(tempSTR!=null && !tempSTR.equals(""))
adminpassword=togb.equals("1")?connect.toGB(tempSTR):tempSTR;
if(!adminname.equals("") && !adminname.equals("客人") && !adminpassword.equals("")) {
number=connect.getRowNum("author where username='"+adminname+"' and password='"+adminpassword+"' and usermode>1");
if(number>0) {
rs=connect.executeQuery("select id,status,usermode from author where username='"+adminname+"' and password='"+adminpassword+"'");
if(rs.next()) {
cookieid=String.valueOf(rs.getInt(1));
userstatus=rs.getString(2);
cookiemode=String.valueOf(rs.getInt(3));
cookiename=adminname;
if(userstatus.equals("0")) {
%>
<%@ include file="include/setcookie.jsp"%>
<%
logok=connect.executeUpdate("update author set lastactivetime=now(),logintime=now(),online='1',visittimes=visittimes+1 where username='"+adminname+"' and password='"+adminpassword+"'");
}
}
}
}
}
}
%>
<table width=<%=tablewidth%> align=center cellspacing=0 cellpadding=1 border=0 bgcolor=<%=tablebordercolor%>>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr>
<td bgcolor=<%=miscbacktwo%> align=center><font face="宋体" color=<%=fontcolormisc%>><b><%=boardname%>的帮助文件</b></td>
</tr>
<tr>
<td bgcolor=<%=miscbackone%> valign=middle align=cleft><font face="宋体" color=o333333>
<br><center><%=cookiename%>,希望下面的帮助对您有用</center><br><br>
<font face="宋体" color=<%=fontcolormisc%>>
<%
if(helpon.equals("") && admin.equals(""))
if(cookiemode.equals("2") || cookiemode.equals("3") || cookiemode.equals("4")) {
%>
<b> 坛主/版主帮助文件</b>
<p> 关于<a href="help.jsp?admin=版主模式" target="_self"><b>版主模式</b></a>的帮助
<p> 关于<a href="help.jsp?admin=贴子处理" target="_self"><b>贴子处理</b></a>的帮助
<p> 关于<a href="help.jsp?admin=主题解锁" target="_self"><b>主题解锁</b></a>的帮助
<p> 关于<a href="help.jsp?admin=主题删除" target="_self"><b>主题删除</b></a>的帮助
<p> 关于<a href="help.jsp?admin=主题锁定" target="_self"><b>主题锁定</b></a>的帮助
<p> 关于<a href="help.jsp?admin=主题移动" target="_self"><b>主题移动</b></a>的帮助
<%
}
else {
%>
<b> 常规帮助文件</b>
<p> 关于<a href="help.jsp?helpon=短消息" target="_self"><b>短消息</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=更改信息" target="_self"><b>更改信息</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=论坛公告" target="_self"><b>论坛公告</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=新发贴子" target="_self"><b>新发贴子</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=遗忘密码" target="_self"><b>遗忘密码</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=用户注册" target="_self"><b>用户注册</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=阅读标记" target="_self"><b>阅读标记</b></a>的帮助
<p> 关于<a href="help.jsp?helpon=在线用户" target="_self"><b>在线用户</b></a>的帮助
<%
}
else {
if(!helpon.equals("")) {
if(helpon.equals("短消息")) {
%>
<b>关于短消息的帮助:</b><p>
短消息信使可使你自如,安全地收发私人信息。不会被他人监听到的哟!
<p><b>发送私人信息</b>
<br>首先请点击顶部主菜单条中的“短消息”链接登录,再在其中点击“发送消息”按钮,输入收件人的名字和信息主题。如果版块支持心情图释,所输入的图释代码将会自动转化为相应图片。注意,在按发送键前请确保已填写完所有的项目。
<p><b>收件箱</b>
<br>你的收件箱中存放所有发给你的私人信息,你可以阅读或是删除它们。
<p><b>发件箱</b>
<br>发件箱中则存放有你所发送过的全部消息记录,以使你清楚向谁发送过什么消息。除了阅读外,他们也是任你处置的哟!
<p>请不要用此信使发送无聊或是使人不愉快的消息,尊重他人,也是尊重自己!
<%
}
else if(helpon.equals("更改信息")) {
%>
<b>关于更改信息的帮助:</b><p>
用户可随时修改自己的注册信息,更改是即时生效的。
<p><b>更改电邮地址</b>
<br>在你更改邮件地址时,如果管理员已把邮件确认功能打开,那么系统将会把你的新密码发往你的新邮件地址,如果改动已生效,你将会收到邮件通知。
<p><b>时差</b>
<br>你可修改论坛时差来保持与你的本地时间同步。比如,如果你所在的时区是滞后论坛设定时区5小时,那么你在下拉条中选择'-5'即可。
<p><b>签名档</b>
<br>你可编辑有个人特色的签名档,这样在每次发贴子的时候你可选择加上。系统设定签名档不能超过三行(每行以回车键为准),并且可以使用论坛(LyBBS)标签,但禁止使用HTML标签。
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -