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

📄 复件 webhead.asp

📁 文件管理系统
💻 ASP
字号:
<%
sub webhead()
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
%>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<bgsound src="images/2.mid" loop="-1">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" cellpadding="0" cellspacing="0" width="779">
  <tr>
   <td><img src="images/spacer.gif" width="241" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="463" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="75" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>

  <tr>
    <td rowspan="4" height="56"><img src="images/top_r1_c1.gif" width="241" height="60"></td>
   <td><img name="top_r1_c2" src="images/top_r1_c2.gif" width="463" height="10" border="0"></td>
   <td rowspan="2"><img name="top_r1_c3" src="images/top_r1_c3.gif" width="75" height="26" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="10" border="0"></td>
      </object></td>
   <td><img name="top_r1_c2" src="images/top_r1_c2.gif" width="463" height="10" border="0"></td>
   <td rowspan="2"><img name="top_r1_c3" src="images/top_r1_c3.gif" width="75" height="26" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="10" border="0"></td>
  </tr>
  <tr>
   <td rowspan="2" background="images/top_r2_c2.gif">
    <table border="0" width="100%">
      <tr>
        <td width="22%">部门:<%=oabusyuserdept%></td>
        <td width="22%">姓名:<%=oabusyname%></td>
        <td width="22%">职位:<%=oabusyuserlevel%></td>
        <td width="34%">      <script language="JavaScript">
<!---
//取得日期和星期
   today=new Date();
   function initArray(){
	 this.length=initArray.arguments.length
	 for(var i=0;i<this.length;i++)
	 this[i+1]=initArray.arguments[i]  }
	 
  var d=new initArray("<font color=RED>星期日","<font color=black>星期一","<font color=black>星期二","<font color=black>星期三","<font color=black>星期四","<font color=black>星期五","<font color=GREEN>星期六"); 
document.write(today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日",d[today.getDay()+1]);  
//-->
</script>
</td>
      </tr>
    </table>
   </td>
   <td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
  </tr>
  <tr>
   <td><img name="top_r3_c3" src="images/top_r3_c3.gif" width="75" height="20" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="20" border="0"></td>
  </tr>
  <tr>
    <td rowspan="2" background="images/top_r4_c2.gif"></td>
   <td rowspan="2" background="images/top_r4_c3.gif" valign="middle">
   <center>
<img src="images/time/space.gif" name="one"><img src="images/time/space.gif" name="two"><img src="images/time/dgon.gif" name="three"><img src="images/time/space.gif" name="four"><img src="images/time/space.gif" name="five"></center>
<script language="javascript">
<!--//
img = new Array()
for(var i=0; i <= 14; i++) {
img[i] = new Image()
}
img[1].src = "images/time/dg0.gif"
img[2].src = "images/time/dg1.gif"
img[3].src = "images/time/dg2.gif"
img[4].src = "images/time/dg3.gif"
img[5].src = "images/time/dg4.gif"
img[6].src = "images/time/dg5.gif"
img[7].src = "images/time/dg6.gif"
img[8].src = "images/time/dg7.gif"
img[9].src = "images/time/dg8.gif"
img[10].src = "images/time/dg9.gif"
img[11].src = "images/time/dgon.gif"
img[12].src = "images/time/dgoff.gif"
var base = "images/time/dg"
var space = "images/time/space.gif" 
var per = false

function go() {
per = true
start()
}

function start() {
if(per == true) {
var now = new Date()
var hours = now.getHours();
var ampm = (hours < 12) ? "am" : "pm"
hours = (hours > 12) ? (hours - 12) + "" : hours + ""
hours = (hours == "0") ? "12" : hours
hours = (hours < 10) ? "0" + hours : hours + ""
var minutes = now.getMinutes();
minutes = (minutes < 10) ? "0" + minutes : minutes + ""
var seconds = now.getSeconds();
seconds = (seconds < 10) ? "0" + seconds : seconds + ""
document.one.src = (hours.charAt(0)=="0") ? space : add(hours.charAt(0))
document.two.src = add(hours.charAt(1))
//document.three.src = (now.getSeconds() % 2) ? add("on") : add("off")
document.four.src = add(minutes.charAt(0))
document.five.src = add(minutes.charAt(1))
setTimeout("start()",1000)
}
}

secflag=1;
function secondgo()
{
document.three.src = (secflag % 2) ? add("on") : add("off")
if (secflag==1)
{	secflag=2;}
else
{	secflag=1;}
setTimeout("secondgo()",500);
}

function add(it) {
return base + it + ".gif"
}
go();
secondgo();
//-->
</script>

</td>
   <td><img src="images/spacer.gif" width="1" height="10" border="0"></td>
  </tr>
  <tr>
   <td><img name="top_r5_c1" src="images/top_r5_c1.gif" width="241" height="16" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
  </tr>
</table>
  <%
end sub
%>
<script language="javascript">
//单击"注销"连接时,弹出对话框是否要求退出系统
function closesystem()
{
	window.open('logout.asp?closeflag=0','closesystem','location=no,height=10, width=10, top=600, left=10,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no');
	window.location.href="default.asp";
}
</script>
</body>
</html>

⌨️ 快捷键说明

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