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

📄 settings.jsp

📁 Struts+Spring+Hibernate开发的BBS,功能很强大很完善
💻 JSP
📖 第 1 页 / 共 2 页
字号:
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            每页显示的主题:
            </font>
        </td>
		<td width="50%">
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<select class=p2 name="threadRange">
		<%	for (int i=0; i<THREAD_RANGES.length; i++) {
				String selected = ((THREAD_RANGES[i]==threadRange)?" selected":"");
		%>
		<option value="<%= THREAD_RANGES[i] %>"<%= selected %>><%= THREAD_RANGES[i] %>
		<%	} %>
		</select>
        </font>
		</td>
	</tr>
	<tr>
		<td align="right" width="50%">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            每主题显示的消息:
            </font>
        </td>
		<td width="50%">
        <font size="-1" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<select class=p2 name="messageRange">
		<%	for (int i=0; i<MESSAGE_RANGES.length; i++) {
				String selected = ((MESSAGE_RANGES[i]==messageRange)?" selected":"");
		%>
		<option value="<%= MESSAGE_RANGES[i] %>"<%= selected %>><%= MESSAGE_RANGES[i] %>
		<%	} %>
		</select>
        </font>
		</td>
	</tr>
	<tr>
		<td colspan="2">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            时 区
            </font>
        </td>
    </tr>
    <tr>
		<td colspan="2">
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<select class=p2 name="timeZone">
		<%	for (int i=0; i<timeZones.length; i++) {
				String selected = (timeZones[i][0].equals(timeZoneID))?" selected":"";
		%>
		<option value="<%= timeZones[i][0] %>"<%= selected %>><%= timeZones[i][1] %>
		<%	} %>
		</select>
        </font>
		</td>
	</tr>
	</table>
	</td>
</tr>
</table>
</td>
</table>

<%	if (user != null && pageUser != null && (user.getID() == pageUser.getID())) { %>

<p>

<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="0" cellpadding="0" border="0" width="500" align="center">
<tr><td>
<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="1" cellpadding="3" border="0" width="100%">
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>">
	<td>
	<font class=p3 face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"
     color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">
	<b>您的配置文件</b>
	</font>
	</td>
</tr>
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>">
	<td align="center">
	<table cellpadding="3" cellspacing="0" border="0">
	<tr>
		<td align="right">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            姓名公开:
            </font>
        </td>
		<td>
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<input type="radio" name="nameVisible" value="true"
		<%= ((nameVisible)?"checked":"") %> id="p1"><label for="p1">是</label>
        &nbsp;
		<input type="radio" name="nameVisible" value="false"
		<%= ((!nameVisible)?"checked":"") %> id="p2"><label for="p2">否</label>
        </font>
		</td>
	</tr>
	<tr>
		<td align="right">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            邮件公开:
            </font>
        </td>
		<td>
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<input type="radio" name="emailVisible" value="true"
		<%= ((emailVisible)?"checked":"") %> id="p3"><label for="p3">是</label>
        &nbsp;
		<input type="radio" name="emailVisible" value="false"
		<%= ((!emailVisible)?"checked":"") %> id="p4"><label for="p4">否</label>
        </font>
		</td>
	</tr>
	<tr>
		<td align="right">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            职 业:
            </font>
        </td>
		<td>
		<input type="text" name="occupation" value="<%= ((occupation!=null)?occupation:"") %>"
		 size="30" maxlength="255" onfocus="this.select();">
		</td>
	</tr>
	<tr>
		<td align="right">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            地 址:
            </font>
        </td>
		<td>
		<input type="text" name="location" value="<%= ((location!=null)?location:"") %>"
		 size="30" maxlength="255" onfocus="this.select();">
		</td>
	</tr>
	<tr>
		<td align="right">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            主 页:
            </font>
        </td>
		<td>
		<input type="text" name="homepage" value="<%= ((homepage!=null)?homepage:"") %>"
		 size="30" maxlength="255" onfocus="this.select();">
		</td>
	</tr>
	</table>
	</td>
</tr></table>
</td></tr>
</table>

<p>

<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="0" cellpadding="0" border="0" width="500" align="center">
<tr><td>
<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="1" cellpadding="3" border="0" width="100%">
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>">
	<td>
	<font class=p3 face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"
     color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">
	<b>显示设置</b>
	</font>
	</td>
</tr>
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>">
	<td align="center">
	<table cellpadding="3" cellspacing="0" border="0">
	<tr>
		<td align="right" width="50%">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            始终可见我创建的主题:
            </font>
        </td>
		<td width="50%">
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<input type="radio" name="autoWatchNewTopics" value="true"
		<%= ((autoWatchNewTopics)?"checked":"") %> id="w1"><label for="w1">是</label>
        &nbsp;
		<input type="radio" name="autoWatchNewTopics" value="false"
		<%= ((!autoWatchNewTopics)?"checked":"") %> id="w2"><label for="w2">否</label>
        </font>
		</td>
	</tr>
	<tr>
		<td align="right" width="50%">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            始终可见我回复的主题:
            </font>
        </td>
		<td width="50%">
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<input type="radio" name="autoWatchReplies" value="true"
		<%= ((autoWatchReplies)?"checked":"") %> id="w3"><label for="w3">是</label>
        &nbsp;
		<input type="radio" name="autoWatchReplies" value="false"
		<%= ((!autoWatchReplies)?"checked":"") %> id="w4"><label for="w4">否</label>
        </font>
		</td>
	</tr>
	<tr>
		<td align="right" width="50%">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            始终邮件提醒我更新信息:
            </font>
        </td>
		<td width="50%">
        <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
		<input type="radio" name="autoAddEmailWatch" value="true"
		<%= ((autoAddEmailWatch)?"checked":"") %> id="w5"><label for="w5">是</label>
        &nbsp;
		<input type="radio" name="autoAddEmailWatch" value="false"
		<%= ((!autoAddEmailWatch)?"checked":"") %> id="w6"><label for="w6">否</label>
        </font>
		</td>
	</tr>
	</table>
	</td>
</tr></table>
</td></tr>
</table>

<p>

<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="0" cellpadding="0" border="0" width="500" align="center">
<tr><td>
<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="1" cellpadding="3" border="0" width="100%">
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>">
	<td>
	<font class=p3 face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"
     color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">
	<b>您的头像</b>
	</font>
	</td>
</tr>
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>">
	<td align="center">
	<table cellpadding="3" cellspacing="0" border="0">
	<tr>
		<td align="right">
            <font class=p2 face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">
            您的头像:
            </font>
        </td>
		<td>
		<%if (icon==null)
		 {
 		   %><img src="images/white_pix.gif" name="icon"> <%
		 }else{
		   %><img src="<%= ((icon!=null)?icon:"") %>" name="icon"> <%
		 }
		%>

		  <input type="hidden" name="icon" > <script>
 			 document.form1.icon.value="<%= ((icon!=null)?icon:"") %>";

			 </script> <br> <br>
			 <input type="button" value=" Change / Add "
           onClick="MM_openBrWindow('upload.jsp?pic=<%=pageUser.getUsername()%>&maxwidth=120&maxheight=120','width=450,height=400,scrollbars=yes')" >

		</td>
	</tr>
	</table>
	</td>
</tr></table>
</td></tr>
</table>
<%//签名设置开始========================%>
<p>

<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="0" cellpadding="0" border="0" width="500" align="center">
<tr><td>
<table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>"
 cellspacing="1" cellpadding="3" border="0" width="100%">
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>">
	<td>
        <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>"
         face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"
         color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">
        <b>签名设置</b>
        </font>
	</td>
</tr>
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>">
<td align="center">
<% signature = user.getProperty("jiveUserSignature");
;%>
<textarea name="signature" rows="6" cols="40"><%=(signature!=null?signature:"")%></textarea>
</td>
</tr></table>
</td></tr>
</table>
<%//签名设置结束%>
<%	} // end if user != null %>

<p>

<center>
<input type="submit" value="保 存" name="saveButton">
<%	if (referer != null) { %>
<input type="submit" value="保存/返回" name="saveButton">
<%	} %>
<input type="submit" value="取 消" name="saveButton">
</center>

</form>

<br>

<%@ include file="footer.jsp" %>

⌨️ 快捷键说明

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