<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Prductptpms.ascx.cs" Inherits="WebMain_Product_product" %>
<asp:Panel ID="Panel1" runat="server" Width="100%">
<table border="0" cellpadding="0" cellspacing="0" class="topdh" width="100%">
    <tr>
        <td style="height: 19px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/">首页</asp:HyperLink>
                        &gt; &nbsp;<asp:HyperLink ID="big" runat="server">[big]</asp:HyperLink>&nbsp;
                        &gt; &nbsp;<asp:HyperLink ID="small" runat="server">HyperLink</asp:HyperLink>
                    </td>
                    <td width="34">
                   <div class="tupage">
                       <asp:HyperLink ID="HyperLink2" runat="server">20</asp:HyperLink></div>
                    </td>
                    <td width="34">
                       <div class="tupage"><asp:HyperLink ID="HyperLink3" runat="server">40</asp:HyperLink></div></td>
                    <td colspan="3" width="100">
                        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
                            <asp:ListItem Selected="True" Value="time">按时间升序</asp:ListItem>
                            <asp:ListItem Value="timedesc">按时间降序</asp:ListItem>
                            <asp:ListItem Value="price">按价格升序</asp:ListItem>
                            <asp:ListItem Value="pricedesc">按价格降序</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 100%">
        <tr>
            <td align="center" style="width: 935px; height: 7px">
            </td>
        </tr>
        <tr>
            <td align="center" style="width: 935px;">
<asp:DataList ID="prductpt" runat="server" RepeatColumns="3" Width="98%">
    <ItemTemplate>
 <table border="0" cellpadding="0" cellspacing="0">
      <tr>
      <td align="center" colspan="4" class="Pimgboder" onmouseover="this.style.background='#f3f3f3';" onmouseout="this.style.background=''" >
      <a href='/china/productlistpm.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank"><img Border="0" src='/upfile/<%# DataBinder.Eval(Container.DataItem,"ThumbnailsPic")%>' height="120" width="120" ></a></td>
      </tr>
  <tr><td align="center" colspan="4">
          <div align="center">
   <a href='productlistpm.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank"></a>
</div><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" style="height: 23px;">
            <asp:LinkButton ID="Pname" runat="server" PostBackUrl='<%#"~/china/productlistpm.aspx?id="+DataBinder.Eval(Container.DataItem, "id")%>'><%# SubStr(Convert.ToString(DataBinder.Eval(Container.DataItem, "Products")),8) %></asp:LinkButton></td>
      </tr>
      <tr>
        <td align="center">
            <asp:Label ID="Label1" runat="server" Text="一口价："></asp:Label>
            <asp:Label ID="Price" runat="server"><%#Convert.ToDecimal(DataBinder.Eval(Container.DataItem, "SalePrice")).ToString("￥0.0")%></asp:Label></td>
      </tr>
    <tr>
        <td align="center">
            剩余时间：<asp:Label ID="timeg" runat="server" ForeColor="Red" Text="Label"></asp:Label></td>
    </tr>
      <tr>
        <td align="center" style="width: 123px; height: 18px;">
            <asp:HyperLink ID="buyto" runat="server">购买</asp:HyperLink>&nbsp;
  
            <a href='/china/productlistpm.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id")%>' target="_blank">查看</a></td>
      </tr>
    </table>
      </td>
  </tr>
</table>
    </ItemTemplate>
</asp:DataList></td>
        </tr>
    </table>
    <div id="tnt_pagination">
<asp:Table ID="Table1" runat="server" HorizontalAlign="Right">
</asp:Table>
</div>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Width="100%" Visible="False">
    <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 100%">
        <tr>
            <td align="center" style="width: 935px; height: 7px">
            </td>
        </tr>
        <tr>
            <td align="center" style="width: 935px; height: 19px">
                <asp:HyperLink ID="HyperLink4" runat="server" ImageUrl="~/images/car_3.gif">HyperLink</asp:HyperLink>
                ＳＯＲＲＹ 暂无此类产品</td>
        </tr>
    </table>
</asp:Panel>
