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

📄 menu_head.asp

📁 一套石油公司内部的运营管理系统
💻 ASP
字号:
  <%
	menuId = request("menuId")

	if menuId="" then 
		menuId =session("oil.menuId")
		if menuId="" then 
			menuId = "1"
		end if
	else
		session("oil.menuId")=menuId
	end if
  %> 
<table width="785" border="0" height="109" background="../images/head.jpg">
  <tr> 
    <td height="18" width="14" align="center">&nbsp; </td>
    <td width="44" align="center"> <%
	if menuId="1" then
	%> <a href="/function/main.asp?menuId=1&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_index1.gif></a> 
      <%
	else
	%> <a href="/function/main.asp?menuId=1&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_index0.gif></a> 
      <%
	end if
	%> </td>
    <td width="92" align="center"> <%
	if menuId="2" then
	%> <a href="/function/work_main.asp?menuId=2&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_11.gif></a> 
      <%
	else 
	%> <a href="/function/work_main.asp?menuId=2&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_10.gif></a> 
      <%
	end if
	%> </td>
    <td width="97" align="center"> <%
	if menuId="3" then
	%> <a href="/water/water_main.asp?menuId=3&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_21.gif></a> 
      <%
	else 
	%> <a href="/water/water_main.asp?menuId=3&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_20.gif></a> 
      <%
	end if
	%> </td>
    <td width="95" align="center"> <%
	if menuId="4" then
	%> <a href="/function/main.asp?menuId=4&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_31.gif></a> 
      <%
	else
	%> <a href="/function/main.asp?menuId=4&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_30.gif></a> 
      <%
	end if
	%> </td>
    <td width="96" align="center"> <%
	if menuId="5" then
	%> <a href="/function/main.asp?menuId=5&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_41.gif></a> 
      <%
	else
	%> <a href="/function/main.asp?menuId=5&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_40.gif></a> 
      <%
	end if
	%> </td>
    <td width="93" align="center"> <%
	if menuId="6" then
	%> <a href="/function/main.asp?menuId=6&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_51.gif></a> 
      <%
	else
	%> <a href="/function/main.asp?menuId=6&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_50.gif></a> 
      <%
	end if
	%> </td>
    <td width="96" align="center"> <%
	if menuId="7" then
	%> <a href="/function/main.asp?menuId=7&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_61.gif></a> 
      <%
	else
	%> <a href="/function/main.asp?menuId=7&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_60.gif></a> 
      <%
	end if
	%> </td>
    <td width="95" align="center"><%
	if menuId="8" then
	%> <a href="/function/main.asp?menuId=8&subMenuId=1" class="mainmenuon"><img border=0 src=/images/bt_71.gif></a> 
      <%
	else
	%> <a href="/function/main.asp?menuId=8&subMenuId=1" class="mainmenu"><img border=0 src=/images/bt_70.gif></a> 
      <%
	end if
	%> </a> </td>
    <td width="21" align="center">&nbsp;</td>
  </tr>
  <tr> 
    <td width="14" height="17">&nbsp;</td>
    <td colspan="2" height="17" class="white">&nbsp;</td>
    <td colspan="5" height="17" class="white">&nbsp;</td>
    <td height="37" colspan="2" rowspan="2">&nbsp;</td>
  </tr>
  <tr> 
    <td height="18" colspan="6" align="left" class="white">目前用户:<%=session("oil.user_name")%> &nbsp;&nbsp;&nbsp;当前日期 
      <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("星期日","星期一","星期二","星期三","星期四","星期五","星期六"); 
	
	document.write(today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日",d[today.getDay()+1]); 
	
	//-->
	</script>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/profile/logout.asp" class="white">退出系统</a></td>
    <td height="18" align="center" class="white">&nbsp;</td>
    <td height="18" align="center" class="white">&nbsp;</td>
  </tr>
</table>

⌨️ 快捷键说明

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