?? top.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" errorPage="error.jsp"%>
<!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 type="text/css">
<!--
.STYLE4 {
font-size: 24px;
font-family: "黑體";
color: #FF6600;
}
-->
.heitittle { FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ffffff; LINE-HEIGHT: 30px; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none }
<LINK href="cab_1_context.css" rel="stylesheet">
<style type="text/css">
<!--
.STYLE5 {color: #55A0FF}
.STYLE6 {color: #FFFFFF}
-->
</style>
</head>
<body topmargin="0" leftmargin="0">
<table border="0" align="left" cellSpacing=0 cellPadding=0 bgcolor="#FFFFFF" width="100%">
<tr>
<td height="60" colspan="2" align="center" background="images/top/3.gif" bgcolor="#FFFFFF"><span class="STYLE4" >學生成績信息管理系統</span></td>
<td background="images/top/3.gif" bgcolor="#FFFFFF"><div align="right"><img src="images/top/2.gif" height="60" /></div></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF"><img src="images/top/spacer.gif" width="1" height="1" /></td>
</tr>
<tr>
<td width="268" height="17" bgcolor="#4791c5" style="font-size:12px"> <span class="STYLE6">歡迎您:${sessionScope.username} USERID:${sessionScope.userid} RID:${sessionScope.rid }</span></td>
<td width="83" bgcolor="#4791c5"> </td>
<td bgcolor="#4791c5"><div align="right" class="STYLE5"><span class="STYLE6">您的登陸時間為:
<SCRIPT language=JavaScript type=text/JavaScript>
var myweekday="";
var year="";
mydate=new Date();
myweekday=mydate.getDay();
mymonth=mydate.getMonth()+1;
myday= mydate.getDate();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
if(myweekday == 0)
weekday=" 星期日 ";
else if(myweekday == 1)
weekday=" 星期一 ";
else if(myweekday == 2)
weekday=" 星期二 ";
else if(myweekday == 3)
weekday=" 星期三 ";
else if(myweekday == 4)
weekday=" 星期四 ";
else if(myweekday == 5)
weekday=" 星期五 ";
else if(myweekday == 6)
weekday=" 星期六 ";
document.write(year+"年"+mymonth+"月"+myday+"日 "+weekday);
</SCRIPT></span>
</div></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -