📄 install.jsp
字号:
<td width="41%">头像上传</td>
<td width="59%">
<select name="uploadFlag">
<option value="0" <%if ("0".equals(uploadFlag)) {%>selected<%}%>>否
<option value="1" <%if ("1".equals(uploadFlag)) {%>selected<%}%>>是
</select>
</td>
</tr>
<tr>
<td width="41%">用户来源</td>
<td width="59%">
<select name="fromFlag">
<option value="0" <%if ("0".equals(fromFlag)) {%>selected<%}%>>保密
<option value="1" <%if ("1".equals(fromFlag)) {%>selected<%}%>>公开
</select>
</td>
</tr>
<tr>
<td width="41%">用户头衔</td>
<td width="59%">
<select name="titleFlag">
<option value="0" <%if ("0".equals(titleFlag)){%>selected<%}%>>隐藏
<option value="1" <%if ("1".equals(titleFlag)) {%>selected<%}%>>显示
</select>
</td>
</tr>
<tr>
<td width="41%">在线名单显示客人在线</td>
<td width="59%">
<select name="guestUser">
<option value="0" <%if ("0".equals(guestUser)){%>selected<%}%>>否
<option value="1" <%if("1".equals(guestUser)) {%>selected<%}%>>是
</select>
</td>
</tr>
<tr>
<td width="41%">有新的邮件弹出窗口</td>
<td width="59%">
<select name="openMSG">
<option value="0" <%if ("0".equals(openMSG)) {%>selected<%}%>>否
<option value="1" <%if ("1".equals(openMSG)) {%>selected<%}%>>是
</select>
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td height="23" colspan="2" ><font color=<%=tableFontColor%>><b>关于贴子设置</b></font></td>
</tr>
<tr>
<td height="17" width="41%">帖子内容最大的字节数</td>
<td height="17" width="59%">
<input type="text" name="announceMaxBytes" size="35" value="<%=announceMaxBytes%>">
</td>
</tr>
<tr>
<td width="41%">每页显示最多纪录</td>
<td width="59%">
<input type="text" name="maxAnnouncePerPage" size="35" value="<%=maxAnnouncePerPage%>">
</td>
</tr>
<tr>
<td width="41%">UBB风格浏览贴子每页显示贴子数</td>
<td width="59%">
<input type="text" name="maxTitleList" size="35" value="<%=maxTitleList%>">
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td height="23" colspan="2" ><font color=<%=tableFontColor%>><b>关于颜色字体设置(应用于除显示版面以外的页面,包括首页)</b></font></td>
</tr>
<tr>
<td width="41%">表格背景(边框颜色)1<br>
一般页面</td>
<td width="59%">
<input type="text" name="tableBackColor" size="35" value="<%=tableBackColor%>">
</td>
</tr>
<tr>
<td width="41%">表格背景(边框颜色)2<br>
用户页面、提示页面</td>
<td width="59%">
<input type="text" name="aTableBackColor" size="35" value="<%=aTableBackColor%>">
</td>
</tr>
<tr>
<td width="41%">标题表格颜色1<br>
一般页面</td>
<td width="59%">
<input type="text" name="tableTitleColor" size="35" value="<%=tableTitleColor%>">
</td>
</tr>
<tr>
<td width="41%">标题表格颜色2<br>
用户页面、提示页面</td>
<td width="59%">
<input type="text" name="aTableTitleColor" size="35" value="<%=aTableTitleColor%>">
</td>
</tr>
<tr>
<td width="41%">表格体颜色1</td>
<td width="59%">
<input type="text" name="tableBodyColor" size="35" value="<%=tableBodyColor%>">
</td>
</tr>
<tr>
<td width="41%">表格体颜色2(1和2颜色在首页显示中穿插)</td>
<td width="59%">
<input type="text" name="aTableBodyColor" size="35" value="<%=aTableBodyColor%>">
</td>
</tr>
<tr>
<td width="41%">表格内文字标题颜色</td>
<td width="59%">
<input type="text" name="tableFontColor" size="35" value="<%=tableFontColor%>">
</td>
</tr>
<tr>
<td width="41%">表格内文字内容颜色</td>
<td width="59%">
<input type="text" name="tableContentColor" size="35" value="<%=tableContentColor%>">
</td>
</tr>
<tr>
<td width="41%">警告提醒语句的颜色</td>
<td width="59%">
<input type="text" name="alertFontColor" size="35" value="<%=alertFontColor%>">
</td>
</tr>
<tr>
<td width="41%">显示帖子的时候,相关帖子,转发帖子,回复等的颜色</td>
<td width="59%">
<input type="text" name="contentTitle" size="35" value="<%=contentTitle%>">
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td height="23" colspan="2" ><font color=<%=tableFontColor%>><b>版权广告信息</b></font></td>
</tr>
<tr>
<td width="41%">论坛页首广告代码</td>
<td width="59%">
<input type="text" name="ads1" size="35" value="<%=ads1%>">
</td>
</tr>
<tr>
<td width="41%">论坛页尾广告代码</td>
<td width="59%">
<input type="text" name="ads2" size="35" value="<%=ads2%>">
</td>
</tr>
<tr>
<td width="41%">版权信息</td>
<td width="59%">
<input type="text" name="copyRight" size="35" value="<%=copyRight%>">
</td>
</tr>
<tr>
<td width="41%">版本信息</td>
<td width="59%">
<input type="text" name="version" size="35" value="<%=version%>">
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td width="41%"> </td>
<td width="59%">
<div align="center">
<input type="submit" name="Submit" value="提 交">
</div>
</td>
</tr>
</table>
</form>
<%
}
else if(action.equals("5")){
try{
ForumPropertiesManager.saveConst(request);
%>
<%@include file="INC/const.jsp"%>
<FORM name=theForm action="" method=post>
<input type="hidden" name="action" value="6">
<table cellpadding=0 cellspacing=0 border=0 width=500 bgcolor=<%=aTableBackColor%> align=center>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<TBODY>
<TR align=middle bgcolor=<%=aTableTitleColor%>>
<TD colSpan=2 height=24><b>请您填写超级管理员的信息!</b></TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150>注 册 名**</TD>
<TD>
<INPUT maxLength=8 size=12 name=userName>
(可以使用中英文匿名)</TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150>性 别</TD>
<TD>
<INPUT type=radio CHECKED value="1" name=sex>
<IMG
height=27 src="pic/Male.gif" width=25 align=absMiddle>男孩
<INPUT type=radio value="0" name=sex>
<IMG
height=27 src="pic/Female.gif" width=27 align=absMiddle>女孩</TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150>密 码**</TD>
<TD>
<INPUT type=password maxLength=16 size=13 name=psw>
</TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150>密码确认 **</TD>
<TD>
<INPUT type=password maxLength=16 size=13 name=pswc>
</TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150 height=32>Email地址 **</TD>
<TD height=32>
<INPUT maxLength=50 size=27 name=userEmail>
(如:abc@SuperSpace.net) </TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150 height=32>形象 <img id=face src="<%=picURL%>Image1.gif" alt=个人形象代表>**</TD>
<TD height=15>
<select name=face size=1 onChange="document.images['face'].src=options[selectedIndex].value;" style="BACKGROUND-COLOR: #99CCFF; BORDER-BOTTOM: 1px double; BORDER-LEFT: 1px double; BORDER-RIGHT: 1px double; BORDER-TOP: 1px double; COLOR: #000000">
<%for(i=1;i<61;i++){%>
<option value='<%=picURL%>Image<%=i%>.gif'>Image<%=i%></option>
<%}%>
</select>
</TR>
<tr bgcolor=<%=tableBodyColor%>>
<td width=150 height=32>发帖有回复时是否提示</td>
<td height=16>
<input type="radio" name="showRe" value="1" checked>
提示我
<input type="radio" name="showRe" value="0">
不提示
</tr>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150 valign=top>自定义头像<br>
如果图像位置中有连接图片将以自定义的为主</TD>
<TD>
<% if ("1".equals(uploadFlag)){ %>
<iframe name="ad" frameborder=0 width=300 height=40 scrolling=no src=reg_upload.jsp></iframe>
<br>
<% } %>
图像位置:
<input type="TEXT" name="myface" size=20 maxlength=100>
完整Url地址<br>
宽 度:
<input type="TEXT" name="width" size=2 maxlength=2>
20---80的整数<br>
高 度:
<input type="TEXT" name="height" size=2 maxlength=2>
20---80的整数<br>
</TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150>OICQ号码</TD>
<TD>
<INPUT maxLength=20 size=44 name=oicq>
</TD>
</TR>
<TR bgcolor=<%=tableBodyColor%>>
<TD width=150>签 名<BR>
<BR>
文字将出现在您发表的文章的结尾处。体现您的个性。 </TD>
<TD>
<TEXTAREA name=sign rows=5 wrap=PHYSICAL cols=42></TEXTAREA>
</TD>
</TR>
<TR align=middle bgcolor=<%=aTableTitleColor%>>
<TD colSpan=2>
<DIV align=center>
<INPUT value="注 册" name=Submit type=submit>
<INPUT type=reset value="重 写" name=Submit2>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
</td></tr></table>
</FORM>
<%
}
catch(Exception e){
e.printStackTrace();
out.println(e.getMessage());
}
}
else if(action.equals("6")){
%>
<%@include file="INC/const.jsp"%>
<%
UserManager.addAdmin(request,wealthReg,epReg,cpReg);
out.println("添加成功,请您删除install.jsp文件!现在登陆论坛进入管理界面");
%>
<form action="index.jsp">
<input type="submit" value="进入<%=forumName%>">
</form>
<%
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -