webhead.asp

来自「人事OA管理系统」· ASP 代码 · 共 94 行

ASP
94
字号
<%
sub webhead()
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width=155 height=60><img src="images/logo.gif" width=155 height=60 border=0 alt="本系统图标"></td>
    <td width="100%" valign=top>
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td height=20>&nbsp;</td><td width=20 height=20><img src="images/corn.gif" width=20 height=20 border=0></td><td width="80%" bgcolor="#89adef">
            <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
                <td height=20 width=50 align=center> <img src="images/menu_home.gif" width=16 height=16 border=0><a href="left.asp" target="contents">通用</a> 
                </td>
                <td height=20 width=50 align=center> <img src="images/menu_admin.gif" width=16 height=16 border=0><a href="setting.asp" target="contents">设置</a> 
                </td>
                <td height=20 width=50 align=center> <img src="images/menu_refresh.gif" width=16 height=16 border=0><a href="gensystem.asp" target="_top">刷新</a> 
                </td>
                <td height=20 width=50 align=center> <img src="images/menu_logout.gif" width=16 height=16 border=0><a href="logout.asp" target="_top">注销</a> 
                </td>
              </tr>
            </table>
</td>
        </tr>
      </table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td height=5></td>
  </tr>
</table>

      <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>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td height=5></td>
  </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td height=1 bgcolor=red width=100%></td>
  </tr>
</table>

    </td>
  </tr>
</table>





<%
end sub
%>

⌨️ 快捷键说明

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