profile.jsp

来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· JSP 代码 · 共 419 行 · 第 1/2 页

JSP
419 行
字号
    <%  } %>    <%  if (emailVisible || (pageUser != null && pageUser.getID() == user.getID())) { %>    <tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.getLocalizedString("skin.default.global.email",locale) %>        </font>        </td>        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"><%= email %>            <%  if (!emailVisible) { %>            <%= SkinUtils.getLocalizedString("skin.default.profile.hidden",locale) %>            <%  } %>        </font>        </td>    </tr>    <%  } %>    <tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.getLocalizedString("skin.default.profile.registered",locale) %></font>        </td>        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.formatDate(request,pageUser,creationDate) %>        </font>        </td>    </tr>    <tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.getLocalizedString("skin.default.global.occupation",locale) %>        </font>        </td>        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= occupation %>        </font>        </td>    </tr>    <tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">         <%= SkinUtils.getLocalizedString("skin.default.global.location",locale) %>        </font>        </td>        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= location %>        </font>        </td>    </tr>    <tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.getLocalizedString("skin.default.global.homepage",locale) %>        </font>        </td>        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= homepage %>        </font>        </td>    </tr>    <tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.getLocalizedString("skin.default.global.total_posts",locale) %>        </font>        </td>        <td width="50%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.getLocalizedNumber(totalPosts,locale) %>        </font>        </td>    </tr>    </table>    </td></tr></table><%  if (userMessages.hasNext()) { %><p><table cellpadding="0" cellspacing="0" border="0" width="80%" align="center"><tr><td>    <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"     face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"     ><%= SkinUtils.getLocalizedString("skin.default.profile.recent_messages",locale) %></font>    </td></tr></table><br><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="0" cellspacing="0" border="0" width="80%" align="center"><tr><td><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="3" cellspacing="1" border="0" width="100%"><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>">    <td><font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>">&nbsp;</font></td>    <td><font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"         color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">        <b><%= SkinUtils.getLocalizedString("skin.default.global.message",locale).toUpperCase(JiveGlobals.getLocale()) %></b>        </font>    </td>    <td align="center">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"         color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">        <b><%= SkinUtils.getLocalizedString("skin.default.global.forum",locale).toUpperCase(JiveGlobals.getLocale()) %></b>        </font>    </td>    <td align="center">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"         color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>">        <b><%= SkinUtils.getLocalizedString("skin.default.global.posted",locale).toUpperCase(JiveGlobals.getLocale()) %></b>        </font>    </td></tr><%  int i=0;    while (userMessages.hasNext()) {        ForumMessage message = (ForumMessage)userMessages.next();        ForumThread thread = message.getForumThread();        Forum forum = thread.getForum();%><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.bgColor") %>">    <td width="1%" align="center">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= ++i %>        </font>    </td>    <td width="98%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <a href="thread.jsp?forum=<%= forum.getID() %>&thread=<%= thread.getID() %>&message=<%= message.getID() %>#<%= message.getID() %>"        ><%= message.getSubject() %></a>        </font>    </td>    <td width="1%" nowrap>        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        &nbsp;<a href="forum.jsp?forum=<%= forum.getID() %>"><%= forum.getName() %></a>&nbsp;        </font>    </td>    <td width="1%" nowrap>        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">        <%= SkinUtils.formatDate(request,pageUser,message.getCreationDate()) %>        </font>    </td></tr><%  } %></table></td></tr></table><%  // Check to see if there are more user messages that what we have displayed    // here. Show a link if there are more messages and if search is     // enabled (since we link to the search page).    boolean searchEnabled = "true".equals(JiveGlobals.getJiveProperty("search.enabled"));    if (totalPosts - NUM_RECENT_MSG > 0 && searchEnabled) {%>    <table cellpadding="0" cellspacing="0" border="0" width="80%" align="center">    <tr><td>    <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"     face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">    <br>    <a href="search.jsp?search=true&user=<%= user.getID() %>"    ><%= SkinUtils.getLocalizedString("skin.default.profile.show_all_messages",locale) %></a>    </font>    </td></tr>    </table><%  } %><%  } %><%  } %><p><center><form action="profile.jsp"><input type="hidden" name="referrer" value="<%= ((referrer!=null)?referrer:request.getHeader("REFERER")) %>">    <%  if (user != null) { %>    <input type="hidden" name="user" value="<%= user.getID() %>">    <%  } %>    <%  // Show a link to this user's pref's page if they're the same user as the        // one logged in:        if (pageUser != null && pageUser.getID() == user.getID()) {    %>    <input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.profile.edit",locale) %>" name="prefs">    <%  } %>    <input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.profile.back",locale) %>" name="goback"></form></center><%@ include file="footer.jsp" %>

⌨️ 快捷键说明

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