登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

学无止境

一点积累,与大家分享

 
 
 

日志

 
 

.Net Pet Shop 4.0 Web -MasterPager.master  

2010-06-08 11:28:46|  分类: .net技术 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="PetShop.Web.MasterPage" %>
<%@ Register Src="http://dszhang.blog.163.com/blog/Controls/BreadCrumbControl.ascx" TagName="BreadCrumbControl" TagPrefix="PetShopControl" %>
<%@ Register Src="http://dszhang.blog.163.com/blog/Controls/NavigationControl.ascx" TagName="NavigationControl" TagPrefix="PetShopControl" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<!-其它页面通过定制设置Title ey:Products Page.Title = WebUtility.GetCategoryName(Request.QueryString["categoryId"]);-->
   
<title>The .NET Pet Shop</title>
</head>
<body>
    <form id="form1" runat="server">
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
                <td width="10">&nbsp;</td>
                <td width="410"><a href="http://dszhang.blog.163.com/blog/Default.aspx"><img border="0" src="http://dszhang.blog.163.com/blog/Comm_Images/Logo.gif" alt=".NET Pet Shop 4.0" width="287" height="78"></a>
                </td>                
                <td width="320">
                    <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="signIn" width="5"></td>
                            <td class="signIn">
                                <asp:Panel ID="panFocus" runat="server" DefaultButton="btnSearch">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td><asp:TextBox ID="txtSearch" Width="115px" runat="server" CssClass="textboxSearch"></asp:TextBox></td>
                                        <td align="right">
                                            <asp:ImageButton ID="btnSearch" runat="server" AlternateText="Search" CausesValidation="false"
                                                ImageUrl="Comm_Images/button-search.gif" OnClick="btnSearch_Click" /></td>
                                        </tr>
                                    </table>
                                </asp:Panel>    
                            </td>
                            <td align="right" class="signIn">
                                <table width="100%">
                                    <tr>
                                        <td>
                                            <asp:LoginView ID="lgnView" runat="server">
                                                <LoggedInTemplate>
                                                    <div class="link"><a href="http://dszhang.blog.163.com/blog/UserProfile.aspx">Profile</a></div>
                                                </LoggedInTemplate>
                                                <AnonymousTemplate>
                                                    <div class="disabledLink">Profile</div>
                                                </AnonymousTemplate>                                                
                                            </asp:LoginView>
                                        </td>
                                        <td align="right"><asp:LoginStatus ID="lgnStatus" runat="server" CssClass="link" LoginText="sign in" LogoutAction="Refresh" LogoutText="sign out" /></td>
                                        <td><img src="http://dszhang.blog.163.com/blog/Comm_Images/button-checkout.gif" /></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="signIn" width="5"></td>
                        </tr>
                        <tr>
                            <td class="checkOut" width="5"></td>
                            <td colspan="2" class="checkOut">
                                <table width="100%">
                                    <tr>
                                        <td nowrap="nowrap"><a href="http://dszhang.blog.163.com/blog/ShoppingCart.aspx"><img border="0" src="http://dszhang.blog.163.com/blog/Comm_Images/button-cart-grey.gif"></a></td>
                                        <td nowrap="nowrap"><a class="linkCheckOut" href="http://dszhang.blog.163.com/blog/ShoppingCart.aspx">check out</a></td>
                                        <td nowrap="nowrap" class="CartInfo" width="100%" >&nbsp;</td>                                        
                                        <td nowrap="nowrap"><a href="http://dszhang.blog.163.com/blog/WishList.aspx"><img border="0" src="http://dszhang.blog.163.com/blog/Comm_Images/button-wishlist-grey.gif"></a></td>
                                        <td nowrap="nowrap"><a class="linkCheckOut" href="http://dszhang.blog.163.com/blog/WishList.aspx">wish list</a></td>
                                    </tr>
                                    
                                </table>
                            </td>
                            <td class="checkOut" width="5"></td>
                        </tr>
                    </table>    
                </td>
                <td width="20">&nbsp;</td>
            </tr>
        </table>
    
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
            <tr>
                <td colspan="4"><img src="http://dszhang.blog.163.com/blog/Comm_Images/spacer.gif" height="5" /></td>
            </tr>
            <tr>
                <td width="10">&nbsp;</td>
                <td width="105">&nbsp;</td>
                <td width="625">
                    <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bgBreadcrumb"><span class="breadcrumb">
                             <!-- 头部导航条,采用<asp:PlaceHolder runat="server" ID="plhControl" />-->
                               <PetShopControl:BreadCrumbControl id="breadCrumb" runat="server" />

                    </td>
                            <td align="right"><asp:LoginName ID="lgnName" runat="server" FormatString="Welcome {0}" SkinID="LoginName" /></td>
                        </tr>                       
                    </table>
                </td>
                <td width="20">&nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td class="pageHeader">
                     <!-- 二级栏目文字说明   ltlHeader.Text = Page.Header.Title; 此处简单的绑定Title
                     -->
                    <asp:Literal ID="ltlHeader" runat="server"></asp:Literal>

                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td class="dottedLine"></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td valign="top">&nbsp;</td>
                <td valign="top">
               <!--左部表格导航条,采用Repeat-->
                    <PetShopControl:NavigationControl id="Categories" runat="server">
                    </PetShopControl:NavigationControl>

                </td>
                <td bgcolor="#FFFFFF" valign="top">
  <!--
  内容位置区:
 其它栏目通过  <asp:Content 内容给值,如:
<asp:Content ID="cntPage" ContentPlaceHolderID="cphPage" runat="Server" EnableViewState="false">  
    <PetShopControl:ProductsControl ID="ProductsControl1" runat="server" />
</asp:Content>
-->
                   
<asp:ContentPlaceHolder ID="cphPage" runat="server">
                    </asp:ContentPlaceHolder>

                </td>
                <td height="250">&nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td class="footer">
                    <table width="100%">
                        <tr>
                            <td>Version 4.0 - Powered by .NET 2.0</td><td align="right" style="padding-right: 5px">
                                <a href="http://www.vertigosoftware.com" target="_blank"><img alt="Created by Vertigo Software, Inc." border="0" src="http://dszhang.blog.163.com/blog/Comm_Images/vertigo-icon.gif"/></a></td>
                        </tr>
                    </table>
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </form>
</body>
</html>
  评论这张
 
阅读(926)| 评论(0)

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018