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

<asp:DataList ID="DataListAuctionInfoDetail" runat="server" RepeatColumns="1" Width="100%"  GridLines="None" BorderWidth="0">
<ItemTemplate>

<div class="mod2 OrganizationProduct">
  <div class="title clearfix "> <span class="left" id="auction"></span> <span class="right "></span></div>
  <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"><%# Eval("Name")%> </font><br>
  
      商品名称：<a href='ProductDetail.aspx?guid=<%# Eval("ProductGuid") %>'   target="_blank"> <%# Eval("ProductName")%></a><br/>
      起止时间：<font class="f1"><%# Eval("StartTime")%>--<%# Eval("EndTime")%></font><br>
      价格下限：<%# Globals.MoneySymbol%><%# Eval("LowerPrice")%><br>
      价格上限：<%# Globals.MoneySymbol%><%# Eval("UpperPrice")%><br>
      消耗积分：<%# Eval("ConsumeScore")%>分<br>
     拍卖活动状态：<asp:HiddenField ID="HiddenFieldIsEnd" runat="server" Value='<%# Eval("IsEnd")%>'/><asp:Label ID="LabelAuctionInfoMessage" runat="server"  ForeColor="red" Font-Bold="True" /><ShopNum1:SpanTimer ID="SpanTimerShow" runat="server" EndTime='<%# Eval("EndTime")%>'  />
 
      <br />
    </div>
  </div>
</div>
<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><%# Eval("Memo")%>。</p>
  </div>
</div>
</ItemTemplate>
</asp:DataList>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin:10px 0">
<tr>
<td >
 我的积分：<font class="StorePrice"><asp:Label ID="LabelScore" runat="server"></asp:Label></font>
&nbsp;&nbsp;&nbsp;&nbsp;
<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" CommandName="ButtonBidPrice" 
                                    Text="我要出价" class="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>
<!--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">
    <asp:DataList  ID="DataListAuctionPrice" runat="server" GridLines="Horizontal" 
                    RepeatColumns="1" RepeatDirection="Horizontal" Width="100%">
      <ItemTemplate>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
          <tr>
            <td bgcolor="#FFFFFF" align="center"><%# Globals.MoneySymbol%><%# Eval("BidPrice")%>&nbsp;</td>
          </tr>
        </table>
      </ItemTemplate>
    </asp:DataList>
  </div>
</div>
<br />
<asp:HiddenField ID="HiddenFieldGuid" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenMemloginID" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldConsumeScore" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldProductGuid" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldBuyPrice" runat="server"  Value='0'/>
<asp:HiddenField ID="HiddenFieldMostPrice" runat="server"  Value='0'/>
