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

📄 login.jsp

📁 飞鱼论坛 (java)
💻 JSP
字号:
<%--
 - $Author: 飞鱼
 - $Revision: 1.22 $
 - $Date: 2003/02/01 09:41:34 $
 - http://www.hnedu.net/fiyu 
  --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="fiyucore.util.ParamUtil" %>
<%@ page import="fiyucore.util.DateUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<html >
<head>
  <title><%=fiyuForumConfig.getWebName()%> - 登入</title>
<%@ include file="/fiyuplugin/fiyuforum/meta.jsp"%>
</head>
<link href="<%=contextPath%>/fiyuplugin/fiyuforum/css/style.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>

<table width="95%" align="center">
  <tr class="nav">
    <td><img src="<%=contextPath%>/fiyuplugin/fiyuforum/images/nav.gif"></td>
    <td width="100%" nowrap> <a class="nav" href="index"><%=fiyuForumConfig.getWebName()%></a>&nbsp;&raquo;&nbsp; 
      登入 </td>
  </tr>
</table>
<br/>

<%
String errorMessage = ParamUtil.getAttribute(request, "Reason");
%>
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="pagedesc">
  <td>
<% if (errorMessage.length() > 0) { %>
    讯息: <span class="warning"><%=errorMessage%></span><br>
<% } %>
    在登入之前,你必需先完成注册手序,以便取得帐号、密码登入.<br>
    如果你尚未住册,请按这里 <a href="registermember" class="command">注册</a>.<br/>
    如果你还未启用你的帐号,请按下这个连接 <a href="sendactivationcode" class="command">启用帐号</a>.<br/>
    如果你想要删除你的Cookie设定,请按下这个连接 <a href="deletecookieprocess" class="command">删除Cookie设定</a>.<br/>
    <b>忘记密码?</b> <a href="iforgotpasswords" class="command">请按这里</a>
  </td>
</tr>
</table>
<br/>
<form action="loginprocess" method="post" name="loginForm">
<input type="hidden" name="FromLoginPage" value="true">
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
  <tr class="theader">
    <td colspan="2">请输入你的帐号、密码以便登入:</td>
  </tr>
  <tr class="trow1">
    <td width="40%">请输入你的帐号</td>
    <td><input type="text" name="MemberName" value="<%=ParamUtil.getAttribute(request, "MemberName")%>"></td>
  </tr>
  <tr class="trow2">
    <td>请输入你的密码</td>
    <td><input type="password" name="MemberMatkhau"></td>
  </tr>
  <tr class="trow1">
    <td>自动登入</td>
    <td><input type="checkbox" name="AutoLogin" value="yes" class="noborder"> 是的,我想要在这段期间内都自动登入
    <%
    int secondsInDay = DateUtil.DAY / 1000;
    %>
    <select name="AutoLoginExpire" size="1">
      <option value="<%=secondsInDay%>">1 天</option>
      <option value="<%=secondsInDay * 7%>">1 星期</option>
      <option value="<%=secondsInDay * 30%>" selected>1 个月</option>
      <option value="<%=secondsInDay * 90%>">3 个月</option>
      <option value="<%=secondsInDay * 365%>">1 年</option>
    </select>
    </td>
  </tr>
  <tr class="trowfinal">
    <td colspan="2" align="center">
      <input type="submit" value="登入" onclick="disabled=true; submit();" class="mainoption">
    </td>
  </tr>
</table>
</form>

<script language="JavaScript" type="text/javascript">
<!--
    document.loginForm.MemberName.focus();
//-->
</script>

<br/>
<%@ include file="footer.jsp"%>
</body>
</html>

⌨️ 快捷键说明

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