Web/WebControl/Top.ascx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Top.ascx.cs" Inherits="WebControl_Top" %>

<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">

</script>

<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "top_nav", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script>


<div id="templatemo_header">
    <div id="site_title"><h1><a href="Index.aspx"><!--网上购物 --></a></h1></div>
    <div id="header_right">
        <p>
            <asp:Panel runat="server" ID="pnlLogin">           
	        <a href="Member/MemberInfo.aspx">我的账户</a> | <a href="Member/Collection.aspx">我的收藏</a> | <a href="Shoppingcart.aspx">我的购物车</a> | <a href="Member/Review.aspx">我的评论</a> | <a href="Login.aspx">登录</a> | <a href="Registration.aspx">注册</a>
	        </asp:Panel>
	        
	        <asp:Panel runat="server" ID="pnlOutLogin" Visible="false">
	          <a href="Member/MemberInfo.aspx">我的账户</a> | <a href="Member/Collection.aspx">我的收藏</a> | <a href="Shoppingcart.aspx">我的购物车</a> | <a href="Member/Review.aspx">我的评论</a> | 您好:<%=  Session["MemberName"] %> <asp:LinkButton ID="lbnTui" runat="server" onclick="lbnTuo_Click">安全退出</asp:LinkButton>
	        </asp:Panel>
	    </p>
	</div>
    <div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
    
<div id="templatemo_menubar">
    
    <div id="top_nav" class="ddsmoothmenu">
        <ul>
            <li><a href="Index.aspx" class="selected">主页</a></li>
            <asp:Repeater ID="rptProductType" runat="server" OnItemDataBound="rptProductType_ItemDataBound">
                <ItemTemplate>
                     <li><a href='Products.aspx?ProductTypeId=<%# Eval("Id")%>'><%#Eval("TypeName")%></a>
                         <ul>
                             <asp:Repeater ID="rptProductChildType" runat="server">
				                 <ItemTemplate>
                                    <li><a href='Products.aspx?ProductTypeId=<%#  Eval("Id") %>'><%#Eval("TypeName")%></a></li>
                                 </ItemTemplate>
			                 </asp:Repeater>
                         </ul>
                     </li>
                </ItemTemplate>
			</asp:Repeater>
            
            <asp:Repeater ID="rptInformationType" runat="server" OnItemDataBound="rptInformationType_ItemDataBound" >
后面还有 25 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。