first page

<%@ include file="top.jsp"%>
<%@ page contentType="text/html; charset=utf-8"%>

<!--%@ include file="css/menu.htm"%-->
<script>

/*
Live Date Script-
?Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
visit http://www.dynamicdrive.com
*/


var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="AM"
if (hours>=12)
dn="PM"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></small>"
if (document.all)
document.all.clock.innerHTML=cdate
else
document.write(cdate)
}
if (!document.all)
getthedate()
function goforit(){
if (document.all)
setInterval("getthedate()",1000)
}

</script>
<title>CCPBG-物料返品e化系統</title><body onLoad="goforit()">

<%
String user=(String)session.getAttribute("user_name");
String dep=(String)session.getAttribute("dep_name");
%>
<table width="800" height="9" border="0" align="center">
  <tr>
    <td width="284" scope="row">今天是:<span id="clock"></span></td>
    <td width="506" scope="row"><marquee direction="left" scrollamount="2" scrolldelay="1">
    <span class="style4 style8"><img src="image/3.gif" >用戶:<font color="#0000FF"><%=user%></font> 部門:<font color="#0000FF"><%=dep%></font> 用戶IP:<font color="#0000FF"><%=request.getRemoteAddr()%></font> 歡迎您使用物料返品E化管理系統! </span>
</marquee></td>
  </tr>
</table>

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="140" scope="row"></td>
    <td width="800" rowspan="3" scope="row"><iframe id="main" name="main" style="HEIGHT:500; TEXT-ALIGN: center;VISIBILITY:inherit;WIDTH:802;Z-INDEX:2" scrolling="auto" frameborder="0" src="endorse/c_endorse_search_t.jsp"></iframe></td>
  </tr>
  <tr>
    <td scope="row" height="0" width=""><!--iframe id="left" name="left" style="HEIGHT:253; TEXT-ALIGN: center;VISIBILITY:inherit;WIDTH:100;Z-INDEX:2" scrolling="auto" frameborder="0" src="common/date1.htm"></iframe--></td>
  </tr>
 
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td scope="row"><img src="image/bottom.gif" ></td>
  </tr>
</table>

<script>
function c(css)
 {ie5menu.className=css;}
function link(act,txt)
 {document.write("<div align='center'><a class=link onMouseOver=this.className='overlink' onMouseOut=this.className='link' style='padding-left:0;padding-top:1;padding-bottom:1;TEXT-ALIGN:center;' href="+act+"  target='main'>"+txt+"</a><br></div>")}
 
function showmenuie5(){
 var rightedge=document.body.clientWidth-event.clientX-100
 var bottomedge=document.body.clientHeight-event.clientY-25
if (rightedge<ie5menu.offsetWidth)
 ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth;
else
 ie5menu.style.left=document.body.scrollLeft+event.clientX
if (bottomedge<ie5menu.offsetHeight)
 ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
 ie5menu.style.top=document.body.scrollTop+event.clientY
 ie5menu.style.visibility="visible"
return false}
function hidemenuie5(){
 ie5menu.style.visibility="hidden"}
function pop(win){
window.open(win,'','')}
</script>
<style>
<!--
body{color:#0000ff;cursor:default}
table,TD,DIV,a{cursor:default}
A{text-decoration: none;color:#0000ff}
.up{ background-color: #ffffff; border-left: 1 solid #A6C1DF;border-right: 1 solid #A6C1DF; border-top: 1 solid #A6C1DF; border-bottom: 1 solid #A6C1DF ;BACKGROUND-COLOR: #ffffff}
.link{font-family:宋体;TEXT-ALIGN: center;}
.overlink{color:#ff0000;font-family:宋体;cursor:default;}
-->
</style>
<div id=ie5menu class=up style="text-align: left;position: absolute; visibility: hidden; width: 85px; z-index: 200;padding:1px">
<script>
link('javascript:location.reload();','刷新頁面');
//link('JavaScript:history.back();','返回前頁');
link('JavaScript:window.print();','打印本頁');
//link("window.external.addFavorite('http://10.160.8.51/fp','CCPBGCNE物料返品E化管理系統')",'加入收藏');
//link("this.style.behavior='url(#default#homepage)';this.setHomePage('http://10.160.8.51/fp');",'設為首頁');
link('javascript:function(){}','--------');
link('endorse/c_endorse_search_t.jsp?id=1 target="main"','會簽查詢');
link('endorse/c_endorse_return_search_t.jsp?id=1 target="main"','退件查詢');
link('endorse/c_endorse_flow_t.jsp?id=1 target="main"','會簽流程');
link('javascript:function(){}','--------');
link('user_manager_pass.jsp target="main"','密碼修改');
link('about/c_relation_our_t.jsp?id=2 target="main"','聯系我們');
link('longout.jsp','用戶注銷');
</script></div>
<SCRIPT language=JavaScript>
if (document.all&&window.print){
document.οncοntextmenu=showmenuie5
document.body.οnclick=hidemenuie5}
</SCRIPT>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值