📄 masterpage.master
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<link rel="Stylesheet" href="CSS/Style.css" type="text/css" />
</head>
<body>
<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table border="0" style="width:1000px;" cellspacing="0">
<tr>
<td style="width: 18%; height:600px; background-color: #87ceff;" align="left" valign="top">
<table width="100%">
<tr>
<td style="width: 100%">
</td>
</tr>
<tr>
<td style="width: 100%; height: 148px;">
<div>
欢迎:<asp:Label ID="lbl_name" runat="server" Text="Label"></asp:Label><br />
角色:<asp:Label ID="lbl_role" runat="server" Text="Label"></asp:Label><br />
部门:<asp:Label ID="lbl_department" runat="server" Text="Label"></asp:Label><br />
您共有<asp:Label ID="lbl_mes" runat="server" Text="Label"></asp:Label>
条新消息<asp:Image ID="imgNew" runat="server" ImageUrl="~/Images/new.gif" /></div>
<br />
<hr />
</td>
</tr>
<tr>
<td style="width: 100%">
<div style="width: 100px; height: 100px">
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="XmlDataSource1" ExpandDepth="1" Width="164px" ImageSet="Contacts" NodeIndent="10" ShowLines="True">
<DataBindings>
<asp:TreeNodeBinding DataMember="Menu" Text="自动化办公系统" Value="自动化办公系统" ImageUrl="~/Images/person.gif" />
<asp:TreeNodeBinding DataMember="MenuTwo" TextField="name" ImageUrl="~/Images/menuclose.gif" />
<asp:TreeNodeBinding DataMember="MenuThree" NavigateUrlField="URL" TextField="name" ImageUrl="~/Images/CloseTree.gif" />
</DataBindings>
<ParentNodeStyle Font-Bold="True" ForeColor="#5555DD" />
<HoverNodeStyle Font-Underline="False" />
<SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
<NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/MenuXML.xml"></asp:XmlDataSource>
</div>
</td>
</tr>
</table>
</td>
<td style="width: 82%;" align="left" valign="top">
<div style="background-image: url(Images/topback.gif); width: 831px; height: 33px; text-align: center;">
<asp:Panel ID="panel1" runat="server" BackImageUrl="~/Images/topback.gif" Width="100%">
<table style="width:90%">
<tr>
<td style="width:14%">
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/home.gif" />
<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="White" CausesValidation="False" PostBackUrl="~/Index.aspx">主页</asp:LinkButton></td>
<td style="width:14%">
<asp:Image ID="Image2" runat="server" ImageUrl="~/Images/index.gif" />
<asp:LinkButton ID="LinkButton2" runat="server" ForeColor="White" OnClick="LinkButton2_Click" CausesValidation="False">重新登录</asp:LinkButton></td>
<td style="width:14%">
<asp:Image ID="Image3" runat="server" ImageUrl="~/Images/userkey.gif" />
<asp:LinkButton ID="LinkButton3" runat="server" ForeColor="White" OnClick="LinkButton3_Click" PostBackUrl="~/ModifyUser.aspx" CausesValidation="False">修改密码</asp:LinkButton></td>
<td style="width:14%">
<asp:Image ID="Image4" runat="server" ImageUrl="~/Images/showtoc.gif" />
<asp:LinkButton ID="LinkButton4" runat="server" ForeColor="White" CausesValidation="False">显示隐藏通知栏</asp:LinkButton></td>
<td style="width:14%">
<asp:Image ID="Image5" runat="server" ImageUrl="~/Images/help[1].bmp" />
<asp:LinkButton ID="LinkButton5" runat="server" ForeColor="White" CausesValidation="False">帮助</asp:LinkButton></td>
<td style="width:10%">
<asp:Image ID="Image6" runat="server" ImageUrl="~/Images/smile.gif" /></td>
<td style="width:14%" align="left">
<span style="color: white">今天是:<asp:Label ID="lblTime" runat="server" Text="0" /></span></td>
</tr>
</table>
</asp:Panel>
</div>
<div style="width: 831px; height: 27px; text-align: left;">
当前位置:
<asp:SiteMapPath ID="SiteMapPath1" runat="server">
</asp:SiteMapPath>
</div>
<div style="width: 831px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2" style="background-image: url(Images/downbg.gif); background-repeat: repeat-x; background-color: #7EC0EE; text-align: center;">
<br />
<span style="font-size: 10pt">版权所有:北京阿博泰克北大青鸟信息技术有限公司---产品研发部</span>,<a href="http://www.51aspx.com/CV/SimpleLifeBlog" target="_blank" title="Asp.net源码下载专业站">download from 51aspx.com</a>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -