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

📄 webhead.asp

📁 云师大商学院目前正在使用的oa
💻 ASP
字号:
<%
sub webhead()
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
%>
<link href="../Office.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>

<body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('../images/OfficeIn_r1_c1_c.gif','../images/OfficeIn_r1_c2_c.gif','../images/OfficeIn_r1_c3_c.gif','../images/OfficeIn_r1_c7_c.gif','../images/OfficeIn_r1_c5_c.gif','../images/OfficeIn_r1_c6_c.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100">
<table width="100" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100">
<table width="100" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="65"><a href="left.asp" target="contents" onMouseOver="MM_swapImage('Image15','','../images/OfficeIn_r1_c1_c.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/OfficeIn_r1_c1.gif" alt="导航菜单" name="Image15" width="65" height="66" border="0"></a></td>
                <td width="60"><a href="setting.asp" target="contents" onMouseOver="MM_swapImage('Image18','','../images/OfficeIn_r1_c5_c.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/OfficeIn_r1_c5.gif" alt="系统设置" name="Image18" width="61" height="66" border="0"></a></td>
                <td width="60"><a href="gensystem.asp" target="_top" onMouseOver="MM_swapImage('Image19','','../images/OfficeIn_r1_c6_c.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/OfficeIn_r1_c6.gif" alt="刷新" name="Image19" width="59" height="66" border="0"></a></td>
                <td width="61"><a href="helpleft.asp" target="contents" onMouseOver="MM_swapImage('Image16','','../images/OfficeIn_r1_c2_c.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/OfficeIn_r1_c2.gif" alt="帮助" name="Image16" width="60" height="66" border="0"></a></td>
                <td width="59"><a href="about.asp"  target="contents" onMouseOver="MM_swapImage('Image17','','../images/OfficeIn_r1_c3_c.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/OfficeIn_r1_c3.gif" alt="关于" name="Image17" width="60" height="66" border="0"></a></td>
                <td width="64"><a href="logout.asp" target="_top" onMouseOver="MM_swapImage('Image20','','../images/OfficeIn_r1_c7_c.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/OfficeIn_r1_c7.gif" alt="注销" name="Image20" width="64" height="66" border="0"></a></td>
                <td width="48"><img src="../images/OfficeIn_r1_c8.gif" width="48" height="66"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td><img src="../images/OfficeIn_r2_c1.gif" width="417" height="25"></td>
        </tr>
      </table>
    </td>
    <td valign="bottom" background="../images/OfficeIn_r1_c9.gif"><table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="20%" align=center>部门:<%=oabusyuserdept%></td>
          <td width="20%" align=center>姓名:<%=oabusyname%></td>
          <td width="20%" align=center>职位:<%=oabusyuserlevel%></td>
          <td width="20%" align=center> <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>
          <td width="20%" align=center> <table>
              <tr> 
                <td bgcolor=black align="center" valign="middle" height=21> <img src="images/time/space.gif" width=16 height=21 alt="clock" name="one"><img src="images/time/space.gif" width=16 height=21 alt="clock" name="two"><img src="images/time/space.gif" width=14 height=21 alt="clock" name="three"><img src="images/time/space.gif" width=16 height=21 alt="clock" name="four"><img src="images/time/space.gif" width=16 height=21 alt="clock" name="five"><img src="images/time/space.gif" width=16 height=21 alt="clock" name="six"> 
                </td>
              </tr>
            </table></td>
        </tr>
      </table>
      <hr noshade></td>
  </tr>
</table>
<%
end sub
%>

⌨️ 快捷键说明

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