Web/WebControl/Left.ascx

(开头部分) 3KB

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

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

 <!--
<meta name="keywords" content="shoes store, free template, ecommerce, online shop, website templates, CSS, HTML" />
<meta name="description" content="Shoes Store is a free ecommerce template provided " />
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" href="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="sidebar" class="float_l">
   <div class="sidebar_box"><span class="bottom"></span>
       <h3>产品分类</h3>
          <div class="content"> 
              <ul class="sidebar_list">
                  <asp:Repeater ID="rptProductType" runat="server" OnItemDataBound="rptProductType_ItemDataBound">
                     <ItemTemplate>
                        <h6 class="first"><a href='Products.aspx?ProductTypeId=<%# Eval("Id")%>'><%#Eval("TypeName")%></a></h6>
                            <asp:Repeater ID="rptProductChildType" runat="server">
                                <ItemTemplate>
                                    <li style=" text-align:left; margin-left:20px"><a href='Products.aspx?ProductTypeId=<%#  Eval("Id") %>'><%# publicHandle.GetSubstring(Eval("TypeName").ToString(), 10, "...")%></a></li>
                                </ItemTemplate>
                            </asp:Repeater>
                        <li class="last"><a href="#"></a></li>
                     </ItemTemplate>
                   </asp:Repeater>
               </ul>
          </div>
    </div>
    
    <div class="sidebar_box"><span class="bottom"></span>
         <h3>热销产品 </h3>   
             <div class="content"> 
                <asp:Repeater ID="rptProductHot" runat="server">
                     <ItemTemplate>
                        <div class="bs_box">
                            <a href='Productdetail.aspx?id=<%#Eval("Id") %>'><img src="Admin/Upfile/<%#Eval("ProductPic") %>" alt="Shoes 1" style="width:57px; height:59px;"/></a>
                            <h4><a href='Productdetail.aspx?id=<%#Eval("Id") %>'><%# publicHandle.GetSubstring(Eval("ProductName").ToString(), 10, "...")%></a></h4>
                            <p class="price">本网站价:¥ <%#Eval("WebsitePrice")%></p>
                            <div class="cleaner"></div>
                        </div>
后面还有 5 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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