⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newproduct.ascx

📁 网奇.NET网络商城系统5.1.zip 商场系统
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="NewProduct.ascx.cs" Inherits="wqshop.Modules.NewProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<div class="nframe">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
        <td class="tl"></td>
	    <td class="tm"><a href="NewProducts.aspx"><img src="Template/freemodelv6/Images/more2.gif" border="0" /></a></td>
        <td class="tr">&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="ml"></td>
    <td class="mm">
	<%BindNewProductList(config.NewProductSizeInIndex);%>
	<asp:DataList ID="dlNewProducts"
					CellPadding="5"
					CellSpacing="0"
					GridLines="None"
					RepeatColumns="4"
					RepeatDirection="Horizontal"
					RepeatLayout="Table"
					Visible=false
					Width="100%"
					runat="server">
      <itemstyle CssClass="alignCenterTop"/>    
      <itemtemplate>
        <table cellpadding="4" cellspacing="0" border="0" width="145">
          <tr>
            <td colspan="2" align="left"></td>
          </tr>
          <tr>
            <td width="50%"><a href='<%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>'><img src='upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>' border=0 width="90" height="90" /></a></td>
          </tr>
          <tr>
            <td><span class="thumbnailtitle"><a href='<%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>' target=_self ><%#DataBinder.Eval(Container.DataItem,"Name")%></a><br />
                  <%=GetResourceString("MemberPrice")%>:<%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><br />
                <a href="#" onclick='addtocart(<%#DataBinder.Eval(Container.DataItem,"ProductID")%>)'><img src="Template/freemodelv6/Images/buy.gif" border="0" /></a> <a href='Actions.aspx?action=Favorite&ProductID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReturnUrl=<%=Request.Url%>'><img src="Template/freemodelv6/Images/collect.gif" border="0" /></a></span></td>
          </tr>
          <tr>
            <td align=center><%# GetAliPayButton(DataBinder.Eval(Container.DataItem,"ProductID").ToString())%></td>
          </tr>
        </table>
      </itemtemplate>
	  </asp:DataList></td>
    <td class="mr" ></td>
  </tr>
</table>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -