 <%@ Control Language="C#"  %>
 <%@ Import Namespace="ShopNum1.Common"%>
 

 <div class="mod2 OrganizationProduct">
    <div class="title clearfix "> <span class="left" id="auction"></span> <span class="right "></span></div>
     <asp:DataList ID="DataListShow" runat="server"  RepeatColumns="1" Width="100%"  GridLines="None" BorderWidth="0">
<ItemTemplate>
    <div class="Organization clearfix">
      <div class="OrganizationImage"><a href='ProductDetail.aspx?guid=<%# Eval("ProductGuid") %>'   target="_blank"> 
        <asp:Image ID="ImageProduct" runat="server" Height="100px" 
                    ImageUrl='<%#Globals.ImagePath+"s_"+Eval("OriginalImgeProduct") %>' 
                    Width="100px" /></a>
      </div>
      <div class="OrganizationList" style="line-height:150%">
        
          拍卖活动名称：<font class="f4"><%# DataBinder.Eval(Container, "DataItem(Name)", "{0}")%> </font><br>
          商品名称：<a href='ProductDetail.aspx?guid=<%# Eval("ProductGuid") %>'   target="_blank"> <%# DataBinder.Eval(Container, "DataItem(ProductName)", "{0}")%></a><br/>
          起止时间：<font class="f1"><%# DataBinder.Eval(Container, "DataItem(StartTime)", "{0}")%>--<%# DataBinder.Eval(Container, "DataItem(EndTime)", "{0}")%></font><br>
          起拍价：<%# Globals.MoneySymbol%><%# DataBinder.Eval(Container, "DataItem(StartPrice)", "{0}")%><br/>
          加价幅度：<%# Globals.MoneySymbol%><%# DataBinder.Eval(Container, "DataItem(ExtentPrice)", "{0}")%><br>
          保证金：<%# Globals.MoneySymbol%><%# DataBinder.Eval(Container, "DataItem(Deposit)", "{0}")%> <br>
          一口价：<%# Globals.MoneySymbol%><%# DataBinder.Eval(Container, "DataItem(OnePrice)", "{0}")%><br/>
          拍卖活动状态：<asp:HiddenField ID="HiddenFieldIsEnd" runat="server" Value='<%# Eval("IsEnd")%>'/><asp:Label ID="LabelLongAuctionInfoMessage" runat="server"  ForeColor="red" Font-Bold="True" /><ShopNum1:SpanTimer ID="SpanTimerShow" runat="server" EndTime='<%# Eval("EndTime")%>'  />
                <br />     
      </div>
    </div>
     </ItemTemplate>
</asp:DataList>
  </div>
  <table border="0" cellpadding="0" cellspacing="0" style="margin:10px 0">
<tr>
<td>
<asp:Label ID="LabelShow" runat="server" Text="我要出价：" /><asp:TextBox ID="TextBoxBidPrice" runat="server"></asp:TextBox>
     <asp:RequiredFieldValidator ID="RequiredFieldValidatorBidPrice" 
                            runat="server" ControlToValidate="TextBoxBidPrice" Display="Dynamic" 
                                ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorBidPrice" 
                        runat="server" ControlToValidate="TextBoxBidPrice" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" 
        ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
<asp:Button ID="ButtonBidPrice" runat="server" Text="我要出价"  CommandName="ButtonBidPrice" CssClass="bnt_number6" />
<asp:Button ID="ButtonBuy" runat="server" Text="立即购买"  CommandName="ButtonBuy" CausesValidation="false"  CssClass="bnt_number6"/><asp:Label ID="LabelBuyMessage" runat="server" Text=""  Visible="false"/></td>
</tr>
</table>

  <div class="mod1">
    <div class="title clearfix"> <span class="left"></span> <span class="right"></span>
      <div class="fl">活动描述：</div>
    </div>
    <div class="content vote">
      <p><asp:Label ID="LabelMemo" runat="server" Text='<%#Eval("Memo")%>'></asp:Label></p>
    </div>
  </div>
  <!--this is the end-->
  <div class="mod1">
    <div class="title clearfix"> <span class="left"></span> <span class="right"></span>
      <div class="fl">出价记录</div>
    </div>
    <div class="content">
      <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
        <tr>
          <td width="25%" bgcolor="#FFFFFF"><strong>买家</strong></td>
          <td width="25%" bgcolor="#FFFFFF"><strong>出价</strong></td>
          <td width="25%" bgcolor="#FFFFFF"><strong>时间</strong></td>
          <td width="25%" bgcolor="#FFFFFF"><strong>状态</strong></td>
        </tr>
        <tr>
          <td colspan="4" align="center" bgcolor="#FFFFFF">
             <asp:DataList ID="DataListLongAuctionPrice" runat="server" GridLines="none" 
                RepeatColumns="1" RepeatDirection="Horizontal" Width="100%" CellSpacing="1" BackColor="#E1E1E1" ItemStyle-BackColor="White">  <ItemTemplate>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="25%"  align="left"><%# DataBinder.Eval(Container, "DataItem(MemLoginID)", "{0}")%></td>
    <td width="25%" align="left"> <%# Globals.MoneySymbol%><%# DataBinder.Eval(Container, "DataItem(BidPrice)", "{0}")%></td>
    <td width="25%" align="left"> <%# DataBinder.Eval(Container, "DataItem(BidTime)", "{0}")%></td>
    <td width="25%" align="right"> <asp:Label ID="LabelIsFirst" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem(IsFirst)", "{0}")%>' /></td>
  </tr>
</table>
    </ItemTemplate>
            </asp:DataList>  
</td>
        </tr>
      </table>
    </div>
  </div>
  <!--this is the end-->
<asp:HiddenField ID="HiddenFieldGuid" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldMemLoginID" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldProductGuid" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldBuyPrice" runat="server"  Value='0'/>
