📄 login.jsp
字号:
<%--
- $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/user/login.jsp,v 1.14 2003/05/25 19:11:46 minhnn Exp $
- $Author: minhnn $
- $Revision: 1.14 $
- $Date: 2003/05/25 19:11:46 $
-
- ====================================================================
-
- Copyright (C) 2002, 2003 by MyVietnam.net
-
- 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.
-
- 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 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@MyVietnam.net
-
- @author: Minh Nguyen minhnn@MyVietnam.net
- @author: Mai Nguyen mai.nh@MyVietnam.net
--%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.util.ParamUtil" %>
<%@ page import="net.myvietnam.mvncore.util.DateUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<html>
<head>
<title>mvnForum - Prijava</title>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
</head>
<link href="<%=contextPath%>/mvnplugin/mvnforum/css/style.css" rel=stylesheet type=text/css>
<body leftmargin=0 topmargin=0>
<%@ include file="header.jsp"%>
<p>
<table width="95%" align="center">
<tr class="nav">
<td><img src="<%=contextPath%>/mvnplugin/mvnforum/images/nav.gif"></td>
<td width="100%" nowrap>
<a class="navLink" href="index">mvnForum</a> »
Prijava
</td>
</tr>
</table>
<p>
<%
String errorMessage = ParamUtil.getAttribute(request, "Reason");
%>
<table width="95%" cellspacing="1" cellpadding="3" align="center" bgcolor="#999999">
<tr bgcolor=#f5f5f5>
<td class="messageText">
<% if (errorMessage.length() > 0) { %>
Poruka: <font color="Red"><%=errorMessage%></font><br>
<% } %>
Morate biti registrovani da bi ste se prijavili<br>
Ako već nemate nalog kliknite ovde <a href="registermember">za registraciju</a>.<br>
Ako već niste aktivirali svoj nalog kliknite ovde <a href="sendactivationcode">za aktivaciju Vašeg naloga</a>.<br>
Ako želite da izbrišete cookie (ne želite automatsku prijavu) kliknite ovde <a href="deletecookieprocess">da biste izbrisali Vaš cookie</a>.<br>
<b>Zaboravio sam lozinku <a href="iforgotpasswords">Klikni ovde!</a></b>
</td>
</tr>
</table>
<form action="loginprocess" method="post" name="loginForm">
<input type="hidden" name="FromLoginPage" value="true">
<table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#999999">
<tr bgcolor="#666699" class="header">
<td colspan="2">Molimo unesite korisničko ime i lozinku za prijavu:</td>
</tr>
<tr bgcolor="#f5f5f5">
<td width="40%" class="messageText">Unesite korisničko ime</td>
<td class="messageText"><input type="text" name="MemberName" value="<%=ParamUtil.getAttribute(request, "MemberName")%>"></td>
</tr>
<tr bgcolor="#f5f5f5">
<td class="messageText">Unesite lozinku</td>
<td class="messageText"><input type="password" name="MemberMatkhau"></td>
</tr>
<tr bgcolor="#f5f5f5">
<td class="messageText">Automatska prijava</td>
<td class="messageText"><input type="checkbox" name="AutoLogin" value="yes" class="noborder"> Da, zapamti me u narednih
<%
int secondsInDay = DateUtil.DAY / 1000;
%>
<select name="AutoLoginExpire" size="1">
<option value="<%=secondsInDay%>">1 dan</option>
<option value="<%=secondsInDay * 7%>">1 nedelju</option>
<option value="<%=secondsInDay * 30%>" selected>1 mesec</option>
<option value="<%=secondsInDay * 90%>">3 meseca</option>
<option value="<%=secondsInDay * 365%>">1 godinu</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="Silver">
<input type="submit" value="Prijava" onclick="disabled=true; submit();" class="mainoption">
</td>
</tr>
</table>
</form>
<script language="JavaScript" type="text/javascript">
<!--
document.loginForm.MemberName.focus();
//-->
</script>
</p>
<%@ include file="footer.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -