?? title.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">
用戶名
<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 + -