温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(三层开发)源码
当前文件:
ThreeLayerHotel/WebSite_hotel/MasterPage.master,打开代码结构图
ThreeLayerHotel/WebSite_hotel/MasterPage.master,打开代码结构图1<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml"> 6
<head runat="server"> 7
<title>无标题页</title> 8
9
<asp:ContentPlaceHolder id="head" runat="server"> 10
</asp:ContentPlaceHolder> 11
<style type="text/css"> 12
.style13 13
{ 14
width: 366px; 15
height: 265px; 16
} 17
.style14 18
{} 19
.style15 20
{ 21
height: 3px; 22
} 23
.style20 24
{ 25
width: 151px; 26
height: 265px; 27
} 28
.style21 29
{ 30
height: 111px; 31
} 32
.style24 33
{ 34
width: 100%; 35
border-collapse: collapse; 36
} 37
.style25 38
{ 39
width: 266px; 40
} 41
.style26 42
{ 43
width: 100%; 44
background-image: url('Image2/beijing.png'); 45
} 46
A:hover 47
{ 48
color:Fuchsia; 49
text-decoration:none; 50
} 51
52
.style27 53
{ 54
width: 100%; 55
} 56
57
</style> 58
</head> 59
<body> 60
61
<form id="form1" runat="server"> 62
<asp:ScriptManager ID="ScriptManager1" runat="server"> 63
</asp:ScriptManager> 64
<table align="center" class="style26"> 65
<tr> 66
<td align="center" class="style14" colspan="2"> 67
<img src="Image2/top.gif" style="width: 969px; height: 116px" /></td> 68
</tr> 69
<tr> 70
<td align="left" colspan="2"> 71
用户名:<asp:Label ID="lblname" runat="server" Text="Label"></asp:Label> 72
身份:<asp:Label ID="lblstatus" runat="server" 73
Text="Label"></asp:Label> 74
<asp:SiteMapPath ID="SiteMapPath1" 75
runat="server" Font-Names="Verdana" Font-Size="Medium" 76
PathSeparator=" : "> 77
<PathSeparatorStyle Font-Bold="True" ForeColor="#507CD1" /> 78
<CurrentNodeStyle ForeColor="#333333" /> 79
<NodeStyle Font-Bold="True" ForeColor="#284E98" /> 80
<RootNodeStyle Font-Bold="True" ForeColor="#507CD1" /> 81
</asp:SiteMapPath> 82
83
<asp:LinkButton ID="LinkButton15" runat="server" CausesValidation="False" 84
ForeColor="#006600" onclick="LinkButton15_Click1">用户手册</asp:LinkButton> 85
86
<asp:Label ID="Label15" runat="server" Text="2008-7-28"></asp:Label> 87
</td> 88
</tr> 89
<tr> 90
<td align="left" class="style20"> 91
<asp:UpdatePanel ID="UpdatePanel3" runat="server"> 92
<ContentTemplate> 93
<asp:MultiView ID="MultiView2" runat="server"> 94
<asp:View ID="View3" runat="server"> 95
<asp:Menu ID="Menu6" runat="server" ForeColor="#3333FF" Height="133px" 96
StaticPopOutImageTextFormatString=""> 97
<DynamicSelectedStyle Font-Underline="False" /> 98
<DynamicMenuItemStyle BackColor="#CCEEFE" Font-Underline="False" 99
ForeColor="#3366FF" /> 100
<Items> 101
<asp:MenuItem Selectable="False" Text="客房类型管理" Value="客房类型管理"> 102
<asp:MenuItem NavigateUrl="~/SelectRoomType.aspx" Text="客房类型查询" Value="客房类型查询"> 103
</asp:MenuItem> 104
<asp:MenuItem NavigateUrl="~/AddRoomType.aspx" Text="客房类型新增" Value="客房类型新增"> 105
</asp:MenuItem> 106
</asp:MenuItem> 107
<asp:MenuItem Selectable="False" Text="客房信息管理" Value="客房信息管理"> 108
<asp:MenuItem NavigateUrl="~/SelectRoomInfo.aspx" Text="客房信息查询" Value="客房信息查询"> 109
</asp:MenuItem> 110
<asp:MenuItem NavigateUrl="~/AddRoomInfo.aspx" Text="客房信息新增" Value="客房信息新增"> 111
</asp:MenuItem> 112
</asp:MenuItem> 113
<asp:MenuItem Selectable="False" Text="用户预定管理" Value="客房预定管理"> 114
<asp:MenuItem NavigateUrl="~/UserRecord.aspx" Text="用户档案管理" Value="用户档案管理"> 115
</asp:MenuItem> 116
<asp:MenuItem NavigateUrl="~/UserReception.aspx" Text="用户接待管理" Value="用户接待管理"> 117
</asp:MenuItem> 118
</asp:MenuItem> 119
<asp:MenuItem Text="酒店报表管理" Value="酒店报表管理" Selectable="False"> 120
<asp:MenuItem NavigateUrl="~/Report.aspx" Text="报表信息" Value="报表信息"> 121
</asp:MenuItem> 122
</asp:MenuItem> 123
<asp:MenuItem Selectable="False" Text="用户安全系统" Value="用户安全系统"> 124
<asp:MenuItem NavigateUrl="~/ChangePwd.aspx" Text="密码修改" Value="密码修改"> 125
</asp:MenuItem> 126
</asp:MenuItem> 127
</Items> 128
</asp:Menu> 129
</asp:View> 130
<asp:View ID="View4" runat="server"> 131
<asp:Menu ID="Menu5" runat="server" Height="100px" Width="92px" 132
ForeColor="#3333FF"> 133
<DynamicMenuItemStyle BackColor="#CEEFFE" /> 134
<Items> 135
<asp:MenuItem Selectable="False" Text="客房查询" Value="客房查询"> 136
<asp:MenuItem NavigateUrl="~/SelectRoomInfo.aspx" Text="客房信息查询" Value="客房信息查询"> 137
</asp:MenuItem> 138
<asp:MenuItem NavigateUrl="~/SelectRoomType.aspx" Text="客房类型查询" Value="客房类型查询"> 139
</asp:MenuItem> 140
</asp:MenuItem> 141
<asp:MenuItem Selectable="False" Text="网上客服" Value="网上客服"> 142
<asp:MenuItem Text="在线预定" Value="在线预定" NavigateUrl="~/BookOnLine.aspx"> 143
</asp:MenuItem> 144
<asp:MenuItem Text="在线退房" Value="在线退房" NavigateUrl="~/CancelOnLine.aspx"> 145
</asp:MenuItem> 146
</asp:MenuItem> 147
<asp:MenuItem Selectable="False" Text="安全系统" Value="安全系统"> 148
<asp:MenuItem NavigateUrl="~/ChangePwd.aspx" Text="密码修改" Value="密码修改"> 149
</asp:MenuItem> 150
</asp:MenuItem> 151
</Items> 152
</asp:Menu> 153
</asp:View> 154
</asp:MultiView> 155
</ContentTemplate> 156
</asp:UpdatePanel> 157
</td> 158
<td align="center" class="style13"> 159
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> 160
<p align="left"> 161
</p> 162
</asp:ContentPlaceHolder> 163
</td> 164
</tr> 165
<tr> 166
<td align="center" class="style21" colspan="2"> 167
<table class="style24"> 168
<tr> 169
<td align="left" class="style25"> 170
<asp:LinkButton ID="LinkButton10" runat="server" Font-Size="11pt" 171
ForeColor="Red" ToolTip="酒店最新公告">酒店最新公告...</asp:LinkButton> 172
</td> 173
<td align="left" rowspan="5"> 174
<Marquee scrolldelay="100" onMouseOver="this.stop()"onMouseOut="this.start()" 175
style="width: 796px"> <asp:DataList ID="DataList1" runat="server" RepeatDirection="Horizontal" 176
DataKeyField="typeid" onselectedindexchanged="DataList1_SelectedIndexChanged"> 177
<ItemTemplate> 178
<asp:ImageButton ID="ImageButton1" runat="server" 179
180
ImageUrl='<%# Bind("ImageURL") %>' 181
ToolTip='<%# Bind("TypeName") %>' CommandName="select" CausesValidation="False" /> 182
</ItemTemplate> 183
</asp:DataList></marquee> 184
</td> 185
</tr> 186
<tr> 187
<td align="left" class="style25"> 188
<asp:LinkButton ID="LinkButton6" runat="server" Font-Size="11pt" 189
ForeColor="Red" ToolTip="任何才能最快捷的在本酒店预订房间">任何才能最快...</asp:LinkButton> 190
</td> 191
</tr> 192
<tr> 193
<td align="left" class="style25"> 194
<asp:LinkButton ID="LinkButton7" runat="server" Font-Size="11pt" 195
ForeColor="Red" ToolTip="酒店优惠政策">酒店优惠政策...</asp:LinkButton> 196
</td> 197
</tr> 198
<tr> 199
<td align="left" class="style25"> 200
<asp:LinkButton ID="LinkButton9" runat="server" Font-Size="11pt" 201
ForeColor="Red" ToolTip="访客留言" CausesValidation="False" 202
PostBackUrl="~/Message.aspx">访客留言</asp:LinkButton> 203
</td> 204
</tr> 205
<tr> 206
<td align="left" class="style25"> 207
<asp:LinkButton ID="LinkButton8" runat="server" Font-Size="11pt" 208
ForeColor="Blue">更多信息>></asp:LinkButton> 209
</td> 210
</tr> 211
</table> 212
</td> 213
</tr> 214
<tr> 215
<td align="center" class="style15" colspan="2" bgcolor="#99CCFF"> 216
<br /> 217
<a href="http://www.51aspx.com/" target="_blank" title="Asp.net源码下载专业站">51aspx.com</a> 218
<asp:Label ID="Label5" runat="server" ForeColor="Blue" Text="|"></asp:Label> 219
<asp:LinkButton ID="LinkButton2" runat="server" ForeColor="Blue">CSDN</asp:LinkButton> 220
<asp:Label ID="Label4" runat="server" ForeColor="Blue" Text="|"></asp:Label> 221
<asp:LinkButton ID="LinkButton3" runat="server" ForeColor="Blue">Google</asp:LinkButton> 222
<asp:Label ID="Label3" runat="server" ForeColor="Blue" Text="|"></asp:Label> 223
<asp:LinkButton ID="LinkButton4" runat="server" ForeColor="Blue">联系我们</asp:LinkButton> 224
<br /> 225
<br /> 226
<asp:Label ID="Label6" runat="server" ForeColor="Blue" 227
Text="Copyright © 2008-2080 ZH_Aptech T84"></asp:Label> 228
</td> 229
</tr> 230
</table> 231
<div style="z-index: 101; left: 788px; width: 195px; position: absolute; top: 131px; 232
height: 414px"> 233
<asp:UpdatePanel ID="UpdatePanel2" runat="server"> 234
<ContentTemplate> 235
<br /> 236
<asp:MultiView ID="MultiView4" runat="server"> 237
<asp:View ID="View8" runat="server"> 238
<table class="style27"> 239
<tr> 240
<td> 241
<asp:LinkButton ID="LinkButton14" runat="server" CausesValidation="False" 242
Font-Size="10pt" ForeColor="Blue" onclick="LinkButton14_Click">用户分类</asp:LinkButton> 243
</td> 244
</tr> 245
<tr> 246
<td> 247
<asp:LinkButton ID="LinkButton13" runat="server" CausesValidation="False" 248
Font-Size="10pt" ForeColor="Blue" onclick="LinkButton13_Click">管理员功能</asp:LinkButton> 249
</td> 250
</tr> 251
<tr> 252
<td> 253
<asp:LinkButton ID="LinkButton12" runat="server" CausesValidation="False" 254
![]()



.style13
