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

📄 userleft.jsp

📁 酒店前台的JAVA
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%
// *** Logout the current user.
String MM_Logout = request.getRequestURI() + "?MM_Logoutnow=1";
if (request.getParameter("MM_Logoutnow") != null && request.getParameter("MM_Logoutnow").equals("1")) {
  session.putValue("MM_Username", "");
  session.putValue("MM_UserAuthorization", "");
  String MM_logoutRedirectPage = "index.jsp";
  // redirect with URL parameters (remove the "MM_Logoutnow" query param).
  if (MM_logoutRedirectPage.equals("")) MM_logoutRedirectPage = request.getRequestURI();
  if (MM_logoutRedirectPage.indexOf("?") == -1 && request.getQueryString() != null) {
    String MM_newQS = request.getQueryString();
    String URsearch = "MM_Logoutnow=1";
    int URStart = MM_newQS.indexOf(URsearch);
    if (URStart >= 0) {
      MM_newQS = MM_newQS.substring(0,URStart) + MM_newQS.substring(URStart + URsearch.length());
    }
    if (MM_newQS.length() > 0) MM_logoutRedirectPage += "?" + MM_newQS;
  }
  response.sendRedirect(response.encodeRedirectURL(MM_logoutRedirectPage));
  return;
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<STYLE>
    #Layer1 {
        Z-INDEX: 1;
        WIDTH: 118px;
        POSITION: absolute;
        HEIGHT: 28px
    }
    body {

    }
</STYLE>
</head>

<body>
<table style="FONT-SIZE: 14px; COLOR: #323229" width="213" border="1" cellpadding="0" cellspacing="0" bordercolor="#B98631">
  <tr>
    <th bgcolor="#B98631" scope="col">用户前台</th>
  </tr>
  <tr>
    <td><strong>&nbsp;个人信息</strong></td>
  </tr>
  <tr>
    <td align="center"><a href="u_sign.jsp" target="mainFrame">[查询信息]</a></td>
  </tr>
  <tr>
    <td align="center">&nbsp;</td>
  </tr>
  <tr>
    <td><strong>&nbsp;点菜页面</strong></td>
  </tr>
  <tr>
    <td align="center"><a href="dishShow.jsp" target="mainFrame">[菜单查询]</a></td>
  </tr>
  <tr>
    <td align="center"><a href="u_ask.jsp" target="mainFrame">[点菜用餐]</a></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><strong>&nbsp;密码修改</strong></td>
  </tr>
  <tr>
    <td><a href="<%= MM_Logout %>" target="_parent"><strong>&nbsp;退出登录</strong></a></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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