<%@ Register TagPrefix="uc1" TagName="LeftTwo" Src="LeftTwo.ascx" %>
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="ListMain.ascx.cs" Inherits="DreamerShop.TP1.ListMain" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" debug="False"%>
<%@ Register TagPrefix="uc1" TagName="SendGoodsMsgMod" Src="SendGoodsMsgMod.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<%=strCoupletMsg%>
<%=strFlutterMsg%>
<%=strSuspendMsg%>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" class="tabtopk">
  <tr>
    <td width="220" height="300" align="left" valign="top"><uc1:LeftTwo id="LeftTwo" runat="server"></uc1:LeftTwo></td>
    <td width="784" align="left" valign="top"><table width="783" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="30" colspan="2" align="center" valign="middle" class="font">
		  	<table border="0" cellspacing="0" cellpadding="0" align="left">
        <tr><td>&nbsp;</td>
        <td class="font" ><asp:datalist id="dtlClassGrade" runat="server" DataKeyField="ClassID" RepeatDirection="Horizontal" RepeatLayout="Flow">
						<ItemTemplate>
							<a href='<%# DataBinder.Eval(Container.DataItem, "ClassLink") %>'  >
								<span class="font"><%# DataBinder.Eval(Container.DataItem, "ClassName") %></span></a> ->					</ItemTemplate>
					</asp:datalist></td><td><asp:label id="lbTopMessage" runat="server" class="font"></asp:label></td></tr></table>
		  </td>
        </tr>
		
        <tr>
          <td colspan="2"><img src="Images/TP29/art_21.gif" width="783" height="11" /></td>
        </tr>
        <tr>
          <td height="300" colspan="2" align="center" valign="top" class="rigbor">
		  
		   <form id="Form1" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"
							method="post" runat="server">
			
			<table width="96%" border="0" cellpadding="0" cellspacing="0"  align="center">
				<tr>
					<td height="10" >
							<TABLE cellSpacing="2" cellPadding="0" width="100%" border="0" align="center">
								<TR>
									<TD align="center"><%=strRotatorMsg%>										</TD>
									</TR>
							  </TABLE>				  </td>
			  </tr>
			  <tr>
					<td align="right">
					<asp:DropDownList id="drlFindOrder" runat="server" AutoPostBack="True" onselectedindexchanged="drlFindOrder_SelectedIndexChanged">
                    <asp:ListItem Value="0">按时间降序</asp:ListItem>
                    <asp:ListItem Value="1">按时间升序</asp:ListItem>
                    <asp:ListItem Value="2">按价格降序</asp:ListItem>
                    <asp:ListItem Value="3">按价格升序</asp:ListItem>
                    <asp:ListItem Value="4">按名称降序</asp:ListItem>
                    <asp:ListItem Value="5">按名称升序</asp:ListItem>
                  </asp:DropDownList>				  </td>
			  </tr>
			  
			  <tr>
					<td >
						 <table width="100%" border="0" cellpadding="2" cellspacing="0">
				<tr>
				<td>
				  <asp:Label id="lbCurPageNum" runat="server" Visible="False">0</asp:Label>
			<asp:Label id="lbPageMaxNum" runat="server" Visible="False">0</asp:Label>
			<asp:Label id="lbdlListPPageSize" runat="server" Visible="False">24</asp:Label>
			<asp:Label id="lbSelShowType" runat="server" Visible="False">1</asp:Label>
				<asp:DataList ID="dtlCorrClassInfo" runat="server" Width="100%" RepeatDirection="Horizontal" CellPadding="0" BackColor="#F7F7F7" 
			CellSpacing="0" RepeatLayout="Table" RepeatColumns="4">
			<itemstyle HorizontalAlign="center" Height="20"></itemstyle>
			<itemtemplate>
				<a href='<%# DataBinder.Eval(Container.DataItem, "ClassLink") %>' class="font7">
					<%# DataBinder.Eval(Container.DataItem, "ClassName") %>				</a>			</itemtemplate>
		</asp:DataList>				</td>
				</tr>
			</table>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" >
								<tr>
									<td>
									<asp:DataList id="dlListP" runat="server" EnableViewState="False" RepeatColumns="4" Width="100%" RepeatDirection="Horizontal">						
			<ItemStyle VerticalAlign="Top" Width="25%" BorderWidth="0" HorizontalAlign="center"></ItemStyle>
			<ItemTemplate>
			<table width="110" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="100" align="center" valign="top" ><table cellpadding="0" cellspacing="0" style="border: 1px solid #CDCDCD" ><tr><td><%# DataBinder.Eval(Container.DataItem, "SmallPicInf") %></td></tr></table></td>
                </tr>
                <tr>
                  <td height="20" align="center" valign="middle"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' target="_blank" title='<%# DataBinder.Eval(Container.DataItem, "ProductName") %>' ><span ><%# DataBinder.Eval(Container.DataItem, "ProductName1") %></span></a></td>
                </tr>
                <tr>
                  <td  align="center" valign="middle" class="vipfont"><%# DataBinder.Eval(Container.DataItem, "strMyPrice") %></td>
				  <tr>
                  <td  align="center" valign="middle" class="vipfont"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></td>
                </tr>
                <tr>
                  <td  align="center" valign="middle" class="userfont"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></td>
                </tr>
                <tr>
                  <td  align="center" valign="middle" class="shichang"><%# DataBinder.Eval(Container.DataItem, "strMarketPrice") %></td>
                </tr>
              </table>
			</ItemTemplate>
	</asp:DataList>
										<asp:datagrid id="dgList" runat="server" BorderWidth="0" ShowHeader="False" AllowPaging="True"
											AutoGenerateColumns="False" Width="100%" DataKeyField="ProductID">
											<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
											<Columns>
												<asp:TemplateColumn>
													<ItemTemplate>
														<table width="100%">
															<tr>
																<td align="Center" width="160" ><table height='100%' align='center' border="0">
																		<tr>
																			<td class="top_frame"><%# DataBinder.Eval(Container.DataItem, "SmallPicInf") %></td>
																		</tr>
																	</table>																</td>
																<td><table width='100%' height='57' border='0' cellpadding='2' cellspacing='0'>
																		<tr>
																			<td height='11'><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' target="_blank" title='<%# DataBinder.Eval(Container.DataItem, "ProductName") %>' ><span class="name"><%# DataBinder.Eval(Container.DataItem, "ProductName1") %></span></a></td>
																		</tr>
																		<tr>
																			<td valign='top' ><table width='100%' border='0' cellpadding='0' cellspacing='0' >
																					<tr>
																						<td  valign='TOP'><%# DataBinder.Eval(Container.DataItem, "Brief") %></td>
																					</tr>
																				</table>																			</td>
																		</tr>
																		<tr>
																			<td  valign='top'><table  width='97%' border='0' cellspacing='0' cellpadding='0'>
																					<tr>
																						<td  width='69%' align="left">
																						<table  border="0" cellspacing="0" cellpadding="0" align="left">
			  <tr>
				<td  align="center" class="vip_price"><%# DataBinder.Eval(Container.DataItem, "strMyPrice") %></td>
			  </tr>
			  <tr>
				<td  align="center" class="vip_price"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></td>
			  </tr>
			  <tr>
				<td align="center" class="member_price"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></td>
			  </tr>
			  <tr>
				<td align="center" class="name"><s><%# DataBinder.Eval(Container.DataItem, "strMarketPrice") %></s></td>
			  </tr>
			</table>																						</td>
																					</tr>
																					<tr>
																						<td align='RIGHT'><table border='0' cellspacing='0' cellpadding='2'>
																								<tr>
																									<td ><table width="100%" border="0" cellspacing="0">
                                
                                <tr align="center" valign="middle">
                                  <td align="center"></td>
                                </tr>
                            </table></td>
																									<td class="p9orange">																									</td>
																									<td ><table width="100%" border="0"  cellspacing="0">
                                <tr>
                                  <td align="center"></td>
                                </tr>
                            </table></td>
																								</tr>
																							</table>																						</td>
																					</tr>
																				</table>																			</td>
																		</tr>
																	</table>																</td>
															</tr>
															<td height="15" colspan="2"><table width="95%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td height="1" bgcolor="#dddddd"></td>
									</tr>
								</table></td>
							  </tr>
														</table>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
										</asp:datagrid>
										<table  width="100%" align="center" border="0" >
											<tr align="center" class="font7">
												<td><asp:LinkButton id="btFirst" runat="server" CausesValidation="False" onclick="btFirst_Click"><%=myLanguagesDeal.GetMyString("TextFirstPage")%></asp:LinkButton>&nbsp;
													<asp:LinkButton id="btPre" runat="server" CausesValidation="False" onclick="btPre_Click"><%=myLanguagesDeal.GetMyString("TextPrePage")%></asp:LinkButton>&nbsp;
													<asp:LinkButton id="btNext" runat="server" CausesValidation="False" onclick="btNext_Click"><%=myLanguagesDeal.GetMyString("TextNextPage")%></asp:LinkButton>&nbsp;
													<asp:LinkButton id="btLast" runat="server" CausesValidation="False" onclick="btLast_Click"><%=myLanguagesDeal.GetMyString("TextLastPage")%></asp:LinkButton>&nbsp;&nbsp;
													<asp:label id="lbPage" runat="server"></asp:label>&nbsp;
													<%=myLanguagesDeal.GetMyString("TextGotoPage")%>
													<asp:textbox id="txtPageNum" runat="server" Width="30px" CssClass="wenbenkuang" MaxLength="3"></asp:textbox><asp:comparevalidator id="CompareValidator1" runat="server" ErrorMessage="输入数字" ControlToValidate="txtPageNum"
														Operator="DataTypeCheck" Type="Integer" Display="Dynamic"></asp:comparevalidator><%=myLanguagesDeal.GetMyString("TextPages")%>
													<asp:button id="btGo" runat="server" CausesValidation="False" Text="Go" CssClass="go-wenbenkuang" onclick="btGo_Click"></asp:button></td>
											</tr>
										</table>									</td>
								</tr>
				</table>				  </td>
			  </tr>
			</table>
			</form>		  </td>
        </tr>
        <tr>
          <td colspan="2"><img src="Images/TP29/art_23.gif" width="783" height="10" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>