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

📄 myprofile.jsp

📁 免费的java企业级论坛可执行程序
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%--
 - $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/user/myprofile.jsp,v 1.112 2007/11/26 07:31:18 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.112 $
 - $Date: 2007/11/26 07:31:18 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002-2007 by MyVietnam.net
 -
 - All copyright notices regarding mvnForum MUST remain 
 - intact in the scripts and in the outputted HTML.
 - The "powered by" text/logo with a link back to
 - http://www.mvnForum.com and http://www.MyVietnam.net in 
 - the footer of the pages MUST remain visible when the pages
 - are viewed on the internet or intranet.
 -
 - This program is free software; you can redistribute it and/or modify
 - it under the terms of the GNU General Public License as published by
 - the Free Software Foundation; either version 2 of the License, or
 - any later version.
 -
 - This program is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 - GNU General Public License for more details.
 -
 - You should have received a copy of the GNU General Public License
 - along with this program; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 -
 - Support can be obtained from support forums at:
 - http://www.mvnForum.com/mvnforum/index
 -
 - Correspondence and Marketing Questions can be sent to:
 - info at MyVietnam net
 -
 - @author: Minh Nguyen  
 - @author: Mai  Nguyen  
 - @author: Igor Manic   
 --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.security.Encoder" %>
<%@ page import="com.mvnforum.MVNForumConstant" %>
<%@ page import="com.mvnforum.db.*" %>

<%@ include file="inc_common.jsp"%>
<%@ include file="inc_doctype.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<mvn:html locale="${currentLocale}">
<mvn:head>
  <mvn:title><fmt:message key="mvnforum.common.forum.title_name"/> - <fmt:message key="mvnforum.user.myprofile.title"/></mvn:title>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
<link href="<%=onlineUser.getCssPath()%>" rel="stylesheet" type="text/css"/>
</mvn:head>
<mvn:body>
<%@ include file="header.jsp"%>
<br/>

<table width="95%" align="center">
  <tr class="nav">
    <td><img src="<%=contextPath%>/mvnplugin/mvnforum/images/nav.gif" alt=""/></td>
    <td width="100%" nowrap="nowrap">
    <a class="nav" href="<%=urlResolver.encodeURL(request, response, "index")%>"><fmt:message key="mvnforum.common.nav.index"/></a>&nbsp;&raquo;&nbsp;
    <fmt:message key="mvnforum.user.myprofile.title"/>
    </td>
  </tr>
</table>
<br/>
<%
MemberBean memberBean = (MemberBean)request.getAttribute("MemberBean");
%>
<table width="95%" align="center">
  <tr>
    <td class="highlight"><fmt:message key="mvnforum.user.myprofile.title"/></td>
  </tr>
</table>
<table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1">
  <tr class="pagedesc">
<% if (MVNForumConfig.getEnableAvatar()) { %>
    <td width="150" align="center" valign="middle">
    <% if (memberBean.getMemberAvatar().length() > 0) { %>
    <img src="<%=memberBean.getMemberAvatar_processed(request, response)%>" border="0" alt="<fmt:message key="mvnforum.user.myprofile.has_avatar"/>" title="<fmt:message key="mvnforum.user.myprofile.has_avatar"/>"/>
    <% } else { %>
    <a class="command" href="<%=urlResolver.encodeURL(request, response, "changeavatar")%>">
    <img src="<%=contextPath%>/mvnplugin/mvnforum/images/user/no_picture.gif" border="0" alt="<fmt:message key="mvnforum.user.myprofile.no_avatar"/>" title="<fmt:message key="mvnforum.user.myprofile.no_avatar"/>"/>
    </a>
    <% } %>
    </td>
<% } //enable avatar%>
    <td valign="top" nowrap="nowrap">
      <% if (memberDAO.isSupportUpdate()) { %>  
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "editmember")%>">
      <fmt:message key="mvnforum.user.myprofile.link.edit_info"/></a><br/>
      <% } %>
      <% if (MVNForumConfig.getEnableAvatar() && memberDAO.isSupportUpdateAvatar()) { %>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "changeavatar")%>"><fmt:message key="mvnforum.user.myprofile.link.edit_avatar"/></a><br/>
      <% } %>
      <% if (memberDAO.isSupportUpdateSignature()) { %>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "changesignature")%>"><fmt:message key="mvnforum.user.myprofile.link.edit_signature"/></a>
      <%} %>
    </td>
    <td width="50%" valign="top" nowrap="nowrap">
      <% if (internalUserDatabase) { %>
        <a class="command" href="<%=urlResolver.encodeURL(request, response, "changeemail")%>">
        <fmt:message key="mvnforum.user.myprofile.link.edit_email"/></a><br/>
        <a class="command" href="<%=urlResolver.encodeURL(request, response, "changemypassword")%>">
        <fmt:message key="mvnforum.user.myprofile.link.edit_password"/></a><br/>
      <% } %>  
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "deletecookieprocess", URLResolverService.ACTION_URL)%>"><fmt:message key="mvnforum.user.myprofile.link.delete_cookie"/></a><br/>
      <% if (!permission.isActivated()) { %>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "sendactivationcode?member=" + Encoder.encodeURL(memberBean.getMemberName()) + "&amp;email=" + memberBean.getMemberEmail())%>"><fmt:message key="mvnforum.user.myprofile.link.activate"/></a>
      (<fmt:message key="mvnforum.user.myprofile.current_activation_status"/>: 
      <%if (memberBean.getMemberActivateCode().length()>0 ) {%>
        <span style="color:blue">Pending</span>
      <%} else {%> 
        <span style="color:red">Not Activated</span>
      <%}%>
      )<br/>
      <% } %>
    </td>
  </tr>
</table>
<br/>
<table width="95%" align="center">
  <tr>
    <td class="highlight"><fmt:message key="mvnforum.user.header.my_control_panel"/></td>
  </tr>
</table>
<table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1">
  <tr class="pagedesc">
    <td valign="top" nowrap="nowrap">
      <% if (MVNForumConfig.getEnableWatch()) { %>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "mywatch")%>"><fmt:message key="mvnforum.user.myprofile.link.my_watch"/></a><br/>
      <% } %>
      <% if (MVNForumConfig.getEnablePrivateMessage()) { %>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "mymessage")%>"><fmt:message key="mvnforum.user.mymessage.title"/></a><br/>
      <% } %>
      <% if (MVNForumConfig.getEnableRequestPrivateForum()) { %>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "myprivateforums")%>"><fmt:message key="mvnforum.common.my_private_forum"/></a>
      <% } %>
    </td>
    <td valign="top" nowrap="nowrap">
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "myfavoritethread")%>"><fmt:message key="mvnforum.user.myprofile.link.my_favoritethread"/></a><br/>
      <a class="command" href="<%=urlResolver.encodeURL(request, response, "searchprocess?member=" + Encoder.encodeURL(memberBean.getMemberName()))%>"><fmt:message key="mvnforum.user.myprofile.link.find_all_posts"/></a><br/>
    </td>
  </tr>
</table>
<br/>

⌨️ 快捷键说明

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