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

📄 top.jsp

📁 自己制作的联通CRM,支持客户分类,管理,升级,积分管理等等..
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
	<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
	<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
	<title>right</title>
    <style type="text/css">
<!--
.STYLE1 {
	color: #FF9933;
	font-size: 12px;
}
.STYLE2 {font-family: "幼圆"}
.STYLE5 {color: #FFFFFF}
.STYLE7 {font-family: "幼圆"; font-size: 12px; color: #FFFFFF; }
a:link{color:#FFFFFF} 
a:visited{color:#FFFFFF} 
.STYLE8 {font-size: 14px}
-->
    </style>  
    
</head>

<body style="margin: 0px" style='overflow-y:hidden'>
<table width="100%" border="0" align="center" cellspacing="0" >
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="ta">
      <tr>
        <td width="276" height="87" align="left" valign="middle" nowrap background="${pageContext.request.contextPath}/image/logo_to.gif">&nbsp;</td>
        <td width="390" align="left" valign="bottom" nowrap>
		 &nbsp;&nbsp;&nbsp; <img src="${pageContext.request.contextPath}/image/20070803102745.jpg" width="200" height="36"></td>
        <td align="center" valign="bottom" nowrap> <span class="STYLE1"><span class="STYLE8">当前系统时间</span><br>
          <br></span>
<div id="position">
<script language="JavaScript"> 
function Time(){ 
if (!document.layers&&!document.all) 
return 
	var Timer=new Date(); 
	var year=Timer.getYear();
	var month=Timer.getMonth()+1;
	var day=Timer.getDate();
	var hour=Timer.getHours();
	var time=year+"年"+month+"月"+day+"日";
	var hours=Timer.getHours(); 
	var minutes=Timer.getMinutes(); 
	var seconds=Timer.getSeconds();
	var days;
	if(Timer.getDay()==0)days="星期天"
	if(Timer.getDay()==1)days="星期一"
	if(Timer.getDay()==2)days="星期二"
	if(Timer.getDay()==3)days="星期三"
	if(Timer.getDay()==4)days="星期四"
	if(Timer.getDay()==5)days="星期五"
	if(Timer.getDay()==6)days="星期六"
	
	if (minutes<=9) minutes="0"+minutes 
	if (seconds<=9) seconds="0"+seconds 
	//这里修改时间的文字样式
	myclock="<font size='2' face='宋体'>"+time+" "+hours+":"+minutes+":"+seconds+"  "+days+"</b></font>" 
	if (document.layers){ 
	document.layers.position.document.write(myclock) 
	document.layers.position.document.close() 
	} else if (document.all) 
	position.innerHTML=myclock 
	setTimeout("Time()",1000) 
	}
	Time();
</script>
<span class="STYLE2"></span>
</div>
</td>
      </tr>
      <tr>
        <td height="24" colspan="3" nowrap ><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="37%" height="28" align="left" valign="middle" nowrap background="${pageContext.request.contextPath}/image/menu_bg2.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="STYLE7 STYLE5">
		<script>
		var hour = (new Date()).getHours();
		if (hour < 4) {
			hello = "夜深了,";
		}
		else if (hour < 7) {
			hello = "早安,";
		}
		else if (hour < 9) {
			hello = "早上好,"; 
		}
		else if (hour < 12) {
			hello = "上午好,";
		}
		else if (hour < 14) {
			hello = "中午好,";
		}
		else if (hour < 17) {
			hello = "下午好,";
		}
		else if (hour < 19) {
			hello = "您好,";
		}
		else if (hour < 22) {
			hello = "晚上好,";
		}
		else {
			hello = "夜深了,";
		}
		document.write(hello);
		</script>
		<strong>${sessionScope.userbean.username}</strong></span>&nbsp;		</td>
            <td align="right" valign="middle" nowrap background="${pageContext.request.contextPath}/image/menu_bg2.gif">			  <strong>
			<a href="<c:url value='/show/main.jsp'/>" target="_top" class="STYLE7">首页</a>
			    <span class="STYLE5">|</span>			    
			    <a href="${pageContext.request.contextPath}/systemUserAtion.do?tag=passwords" target="rightw" class="STYLE7">修改密码</a>
			    <span class="STYLE5">|</span>			
			    <a href="${pageContext.request.contextPath}/loging.do?tag=exit1" target="_top" class="STYLE7"  onclick="return window.confirm('确定要退出吗?')">注销</a></strong></td>
            <td width="7%" align="right" valign="middle" nowrap background="${pageContext.request.contextPath}/image/menu_bg2.gif">&nbsp;</td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

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