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

📄 title.jsp

📁  · 电子书店管理系统 很容易学习!!初学者的天堂
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><LINK href="hellking.css" type=text/css rel=stylesheet>

<body>
 <%
	   boolean isLog=false;
	  // out.println(session.getAttribute("isLog"));
	  try
	  {
	   isLog=((String)session.getAttribute("isLog")).equals("1");
	  }
	  catch(Exception e)
	  {
	    //out.println(e);
	  }
%>
<table width="842" align=center cellpadding=3 cellspacing=1 class=tableborder1>
    <tr>
    <td width="832" class=tablebody2>::
    <a href="index.jsp" target="_top">首页</a>
    <a href="index.jsp" target="_top">邮件</a>
    <a href="shop/searchForm.html" target="mainFrame">商品搜索</a>
    <a href="/jspdev/servlet/forumservlet?jumpPage=1" target="mainFrame">论坛</a>
    <% 
      if(isLog)
       {
         if(((Integer)session.getAttribute("userType")).equals(new Integer(1)))
         {
         %>
         <a href="index.jsp"  target="_top">个人信息</a>
         <%}
         else
         {
         %>
         <a href="manage/index.jsp" target="_new">系统管理</a>
         <%
         }
        %> 
      <a href="logout.jsp"  target="_top">注销</a><%}%>::
    </td> </tr> <tr>
    <td width="832" class=tablebody2> 
    <%
	   // out.println(isLog);
	   if(isLog)
	  {
	   %>
	    欢迎光临!<%=session.getAttribute("name")%>,您是第<%=session.getAttribute("userLogCount")%>次登录,您上次登录的时间是:<%=session.getAttribute("userLastLogTime")%>
	    <%
	    }//if
	    else
	    {
	    %>
    
      <form name="form1" method="post" action="login.jsp">
        &nbsp;&nbsp;&nbsp; 用户名 
        <input type="text" name="userId" size="15" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 100px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #DFF1F9">
         密码 
        <input type="password" name="password" size="15" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 100px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #DFF1F9">
        <input type="submit" name="Submit" value="确定" style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #eeeeee">
  </form> 
  <%
   }//else
   %>   
    </td>
  </tr>
  </table>
</body>
</html>

⌨️ 快捷键说明

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