📄 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 id="Head1" runat="server">
<title>WDP Master Page</title>
<script language="javascript" type="text/javascript">
// <!CDATA[
// ]]>
</script>
<link rel="stylesheet" href="navbar.css" type="text/css" title="navbar">
<link href="bookstyle.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="button.css" type="text/css" title="buttons" />
<link rel="stylesheet" href="dropraise.css"
type="text/css" title="first char" />
</head>
<body style="background-color: lightgrey">
<div style="white-space:nowrap; color: #0000ff; background-color: darkgray;" class="navbar"><a href="default.aspx" class="whiteHoverUnderline">Home</a> |
<a href="register1.aspx" class="whiteHoverUnderline" >Register</a> |
<a href="applyMember2.aspx" class="whiteHoverUnderline" >Log In </a> |
<a href="adminlogin.aspx" class="whiteHoverUnderline" >Administrator Log In </a> |<br />
</div>
<img onmouseover="this.src='qs1.jpg'"
onmouseout="this.src='qs2.jpg'"
src="qs2.jpg" border="0" id="icon" height="106" alt="Quit now" style="width: 102px" />
<img onmouseover="this.src='mouth.jpg'"
onmouseout="this.src='homepage_black.gif'"
src="homepage_black.gif" border="0" id="Img1"
width="790" height="107" alt="Quit now" />
<hr style="background-color: dimgray; height: 13px;" />
<form id="form1" runat="server">
<div>
<table width="100%">
<tr>
<td style="height: 34px">
<asp:Panel ID="Panel1" runat="server" Height="25px" Width="100%">
<table width="100%" style="background-color:#f0f0f0;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right" width="100%" style="height: 25px">
<div>
<asp:TextBox ID="txtName" runat="server" Width="80px" Text="Username"></asp:TextBox>
<asp:TextBox ID="txtPwd" runat="server" Width="80px" Text="Password"></asp:TextBox>
<asp:Button ID="btnLogin" runat="server" Text="quickly login" Width="80px" OnClick="btnLogin_Click" /> </div>
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="25px" Width="100%">
<table width="100%" style="background-color:#f5f5f5;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="height: 38px">
<div>>> <%=Session["Username"].ToString() %> Welcome!
<a href="memberservice.aspx" class="whiteHoverUnderline" >Service</a>
<a href="discussion.aspx" class="whiteHoverUnderline" >Discussion</a>
<a href="newdiscussion.aspx" class="whiteHoverUnderline" >NEW!Discussion</a>
</div>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</div>
</form>
<div>
<asp:contentplaceholder id="WDPContentPlaceHolder" runat="server"></asp:contentplaceholder>
</div>
<div style="width: 100%; height: 25px; text-align: right; color: gray; font-family: Arial; background-color:
white;">© 2008 QinChuan. All rights reserved.
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -