📄 commendproduct.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CommendProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.CommendProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<div class='mframe'>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="85"><img src="template/wangqi/images/l1.gif" width="85" height="26"></td>
<td background="template/wangqi/images/bg1.gif"> </td>
<td width="59"><a href="Search.aspx?keyword=&Type=Commend"><img src="template/wangqi/images/more1.gif" width="59" height="26" border="0"></a></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="ml"></td>
<td class="mm">
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>
<td valign="top">
<%BindCommendProductList(config.CommendProductSizeInIndex);%>
<asp:DataList id="dlCommendProductts"
CellPadding="5"
CellSpacing="0"
GridLines="None"
RepeatColumns="3"
RepeatDirection="Horizontal"
RepeatLayout="Table"
Visible=false
Width="100%"
runat="server">
<ItemStyle CssClass="alignCenterTop"/>
<ItemTemplate>
<table cellpadding="5" cellspacing="0" border="0" width="130">
<tr>
<td align="center"><a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>'><img src='<%=config.Path%>upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>' border=0 width="90"></a></td>
</tr>
<tr>
<td align="center">>> <a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>' target=_self ><%#DataBinder.Eval(Container.DataItem,"Name")%></a></td>
</tr>
<tr>
<td align="left">
<span class="thumbnailTitle">市场价格:<%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:f}")%><br>会员价格:<%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%>
<% if(config.MarkUnit == 1) {%><br>赠送积分:<%#DataBinder.Eval(Container.DataItem,"Score")%><% }%>
<br><a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>'><img src="template/wangqi/images/xx.gif" border="0"></a> <a href="#" onclick='addtocart(<%#DataBinder.Eval(Container.DataItem,"ProductID")%>)'><img src="template/wangqi/images/dg.gif" border="0"></a> <a href='Actions.aspx?action=Favorite&ProductID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReturnUrl=<%=Request.Url%>'><img src="template/wangqi/images/sc.gif" border="0"></a>
<br><%# GetAliPayButton(DataBinder.Eval(Container.DataItem,"ProductID").ToString())%></span>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td>
</tr>
</table>
</td>
<td class="mr"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" >
<tr>
<td class="bl"></td>
<td class="bm"> </td>
<td class="br"></td>
</tr>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -