Web/Products.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Products.aspx.cs" Inherits="Products" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="WebControl/Top.ascx" TagName="Top" TagPrefix="uc1" %>
<%@ Register Src="WebControl/Foot.ascx" TagName="Foot" TagPrefix="uc2" %>
<%@ Register Src="WebControl/Left.ascx" TagName="Left" TagPrefix="uc3" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商品-B2C电子商务网站</title>
<meta name="keywords" content="网上鞋店,手机数码,护肤品,..." />
<meta name="description" content="BtoC购物网站为您提供最实惠的商品..." />

<link href="../../style/style.css" rel="stylesheet" type="text/css" />
<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

</head>
<body>

<form runat="server" id="form1">
<center>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
    <uc1:Top runat="server" ID="uctop" />
    
    <div id="templatemo_main">
    	<uc3:Left runat="server" ID="ucLeft" />
        
        <div id="content" class="float_r">
        	 <h4><%= strTypeName%></h4>
                 <asp:Repeater ID="rptProduct" runat="server">
				    <ItemTemplate>
                        <div class="product_box">
	                         <h3 style="text-align:center"><%# publicHandle.GetSubstring(Eval("ProductName").ToString(), 16, "...")%></h3>
            	             <a href='Productdetail.aspx?id=<%# Eval("Id") %>'><img src="Admin/Upfile/<%# Eval("ProductPic") %>" title="<%# Eval("ProductName")%>" alt="<%# Eval("ProductName")%>" style="width:200px; height:150px;"/></a>
                             <p class="product_price"><s>市场价:¥ <%# Eval("MarketPrice")%></s></p>
                             <p class="product_price">本网站价:¥ <%# Eval("WebsitePrice")%></p>
                             <a href='Shoppingcart.aspx?ProductId=<%# Eval("Id") %>&num=1' class="addtocart"></a>
                             <a href='Productdetail.aspx?id=<%# Eval("Id") %>' class="detail"></a>     
                         </div>        	  
                    </ItemTemplate>
			    </asp:Repeater> 

            <div class="cleaner"></div> 
        </div> 
        <div id="trRecord" style="float:left; margin-left:80px; margin-top:10px">
            <nobr><webdiyer:AspNetPager ID="pager" PageSize="6" runat="server" CssClass="_tab_page_div" UrlPaging="True" FirstPageText="【首页】"
                  LastPageText="【尾页】" NextPageText="【下一页】" NumericButtonCount="5" PrevPageText="【上一页】"
                  CustomInfoClass="_tab_pager_div1" ShowCustomInfoSection="Left" EnableUrlRewriting="false" PageIndexBoxClass="page_box_ipt" SubmitButtonClass="page_btn_go" SubmitButtonText="" ShowInputBox="Never">
            </webdiyer:AspNetPager></nobr>
        </div>
        <div class="cleaner"></div>
    </div> <!-- END of templatemo_main -->
    
    <uc2:Foot runat="server" ID="ucFoot" />
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</center>
后面还有 4 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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