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

📄 webhead.asp

📁 学校智能办公系统 1、系统包含成绩学籍管理、公文管理、电子备课、教职工管理、照片管理、课件管理等学校办公的多个方面。 2、实行集中管理
💻 ASP
字号:
<%
sub webhead()
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
%>

<script>

   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>","星期一","星期二","星期三","星期四","星期五","<font color=#ffff00>星期六</font>"); 

function tick() {
var hours, minutes, seconds, xfile;
var intHours, intMinutes, intSeconds;
var today;
today = new Date();
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
if (intHours == 0) {
hours = "12:";
xfile = "午夜";
} else if (intHours < 12) { 
hours = intHours+":";
xfile = "上午";
} else if (intHours == 12) {
hours = "12:";
xfile = "正午";
} else {
intHours = intHours - 12
hours = intHours + ":";
xfile = "下午";
}
if (intMinutes < 10) {
minutes = "0"+intMinutes+":";
} else {
minutes = intMinutes+":";
}
if (intSeconds < 10) {
seconds = "0"+intSeconds+" ";
} else {
seconds = intSeconds+" ";
} 
timeString = today.getYear()+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日 "+d[today.getDay()+1]+" "+xfile+" "+hours+minutes+seconds;  
Clock.innerHTML = timeString;
window.setTimeout("tick();", 100);
}
window.onload = tick;
</script>

<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%" 
VALIGN="Top">
  <TBODY>
  <TR>
    <TD>
      <TABLE border=0 cellPadding=0 cellSpacing=0 height=39 width="100%">
        <TBODY> 
        <TR> 
              <TD width=527><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="585" height="60">
                  <param name="movie" value="images/top.swf">
                  <param name="quality" value="high">
                  <embed src="images/top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="585" height="60"></embed></object></TD>
          <TD background="images/b3.gif">
            <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr> 
                <td align=center>部门:<font color="ff0000"><%=oabusyuserdept%></font>&nbsp;姓名:<font color="ff0000"><%=oabusyname%></font>&nbsp;职位:<font color="ff0000"><%=oabusyuserlevel%></font></td>
                </tr>
            </table>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD></TR>
  <TR>
    <TD background=images/bg2.gif> 
      <TABLE background=images/bg1.gif border=0 
      cellPadding=0 cellSpacing=0 height=29 valign="middle" width="100%">
        <TBODY> 
        <TR height=29> 
          <TD vAlign=center width=42 height="28"><IMG height=29 
            src="images/201.gif" width=29></TD>
          <FORM action=HotOA_231624362642103638242E.cfm method=post name=AppMenu 
          target=menu>
            <TD align=middle vAlign=middle width="283" height="28"><a href="left.asp" target="contents">通用</a>&nbsp; 
              <a href="setting.asp" target="contents">设置</a>&nbsp; <a href="default.asp" target="_top">刷新</a>&nbsp;&nbsp;<a href="mailto:hfd@sina.com">校长信箱</a>&nbsp;&nbsp;
              <%if request.cookies("oabusyname")<>"guest" then%><a href="logout.asp" target="_top">注销</a><%else%><a href="dl.asp" target="main">登录</a><%end if%>
            </TD>
            <INPUT name=Module type=hidden>
          </FORM>
          <TD background=images/bg2.gif 
            vAlign=top width="182" height="28"> <IMG height=29 
            src="images/203.gif" 
        width=37 vspace="0" hspace="0"></TD>
          <TD background=images/bg2.gif 
            vAlign=middle width="256" height="28"> 
            <div align="center" id="Clock"> </div>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
  </TR></TBODY></TABLE>




<%
end sub
%>

⌨️ 快捷键说明

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