Top.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:5k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Top.aspx.cs" Inherits="Top" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <script language="javascript">
  7.         function datenow()
  8.         {
  9.             var date=new Date();
  10.             y=date.getYear();
  11.             m=date.getMonth() +1;
  12.             d=date.getDate();
  13.             var a=new  Array(7);
  14.             a[0]="星期日";
  15.             a[1]="星期一";
  16.             a[2]="星期二";
  17.             a[3]="星期三";
  18.             a[4]="星期四";
  19.             a[5]="星期五";
  20.             a[6]="星期六";
  21.             datenow1=y+"年"+m+"月"+d+"日"+a[date.getDay()];
  22.              
  23.             document.getElementById("LBDateTime").innerText=datenow1;
  24.         }
  25.         
  26. function IMG1_onclick() {
  27.     top.leftFrame.location.href='LeftMenu.aspx?id=1';top.mainFrame.location.href='SpacePage.aspx';   //='SysManage/SysManageUser.aspx';
  28.     
  29. }
  30. function IMG2_onclick() {
  31.      top.leftFrame.location.href='Left.aspx';//top.mainFrame.location.href='SpacePage.aspx';
  32. }
  33. function IMG4_onclick()
  34. {
  35.    top.leftFrame.location.href='LeftMenu.aspx?id=2';top.mainFrame.location.href='SpacePage.aspx';
  36. }
  37. function IMG3_onclick()
  38. {
  39.    top.leftFrame.location.href='LeftMenu.aspx?id=3';//top.mainFrame.location.href='SpacePage.aspx';
  40. }
  41.   </script>
  42.     
  43. </head>
  44. <body  onload="datenow()">
  45.     <form id="form1" runat="server">
  46.         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" height="67">
  47.         <tr>
  48.         <td style="width: 13px"><img src="Images/index_03.jpg" width="13" height="67"></td>
  49.         <td width="261" background="Images/index_04.jpg"><img src="Images/index_09.jpg" width="251" height="49"></td>
  50.         <td width="360" align="center" background="Images/index_04.jpg">
  51.         <table width="59%" height="49" border="0" cellpadding="0" cellspacing="0">
  52.         <tr>
  53.         <td width="70" valign="bottom" style="height: 49px"><img src="Images/index_14.jpg" width="70" height="43" style="cursor:hand" border="0"  alt="首页" id="IMG2" language="javascript" onclick="return IMG2_onclick()"></td>
  54.         <td width="70" valign="bottom" style="height: 49px"><img src="Images/index_15.jpg" width="70" height="43" style="cursor:hand" border="0"  alt="工作区" id="IMG4" language="javascript" onclick="return IMG4_onclick()"></td>
  55.             <td width="70" valign="bottom" style="height: 49px"><img src="images/index_18.jpg" width="70" height="43" border="0" style="cursor:hand" id="IMG1" alt="系统区" language="javascript" onclick="return IMG1_onclick()"></td>
  56.              <td width="70" valign="bottom" style="height: 49px"><img src="images/index_16.jpg" width="70" height="43" border="0" style="cursor:hand" id="IMG3" alt="项目区" language="javascript" onclick="return IMG3_onclick()"></td>
  57.              
  58.              
  59.                   <%--  <td width="70" valign="bottom" style="height: 49px"><a href="#" ID="A1" title="项目区"><img src="Images/index_16.jpg" width="70" height="43" border="0"></a></td>--%>
  60.         <td width="70" valign="bottom" style="height: 49px"><a href="#" ID="A5" title="帮助"><img src="images/index_19.jpg" width="70" height="43" border="0"></a></td>
  61.         <td width="70" valign="bottom" style="height: 49px">  <asp:HyperLink ID="HL_Out" runat="server" Font-Bold="True"  Text=" 注销 " ImageUrl="images/index_20''.jpg"  Target="_parent"  width="70" height="43" NavigateUrl="~/login.aspx"  Font-Overline="false"/>   </td>
  62.                
  63.            <td width="70" valign="bottom" style="height: 49px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  64.         </tr>
  65.         </table>
  66.         </td>
  67.         <td width="*" background="Images/index_06.jpg">
  68.         <table width="300" height="49" border="0" cellpadding="0" cellspacing="0">
  69.         <tr>
  70.         <td valign="bottom">欢迎您:<span id="Header1_lblName" runat="server">   <br> </span>
  71.         <font color="#ff0000"></font>
  72.         <br>
  73.         今天是:
  74.        <label id="LBDateTime"></label>
  75.     </td>
  76.         </tr>
  77.         </table>
  78.         </td>
  79.         </tr>
  80.         </table>
  81.         <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  82.         <tr>
  83.         <td><img src="Images/index_12.jpg" width="100%" height="8"></td>
  84.         </tr>
  85.         </table>
  86.     </form>
  87. </body>
  88. </html>