<%@ 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="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<%=strCoupletMsg%>
<%=strFlutterMsg%>
<%=strSuspendMsg%>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="202" height="400" align="left" valign="top"><uc1:LeftTwo id="LeftTwo" runat="server"></uc1:LeftTwo>
      </td>
    <td width="598" align="center" valign="top" class="zhubor"><table width="576" border="0" cellpadding="0" cellspacing="0" class="tabtopk8px">
        <tr>
          <td height="22" align="left" valign="middle" bgcolor="EBEBEB" class="leftmenufont">&nbsp;&nbsp;<asp:label id="lbTopMessage" runat="server"></asp:label></td>
        </tr>
      </table>
      <table width="568" border="0" cellpadding="0" cellspacing="0" class="tabtopk8px">
        <tr>
          <td height="370" align="center" valign="top">
		 <table width="100%" border="0" cellspacing="0" cellpadding="0">
							 <tr>
								<td height="1"></td>
							  </tr>
							  
							  <tr>
								<td align="center"><%=strRotatorMsg%></td>
							  </tr>
						</table>
						
						<form id="Form1" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"
							method="post" runat="server">
		<table width="580" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr >
          <td height="28"><table width="100%" border="0" cellpadding="2" cellspacing="0" align="center">
							<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>
      </table></td>
        </tr>
        <tr>
          <td align="center" valign="top" class="kuang_pink2"><table width="450" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="2"></td>
              </tr>
            </table>
             
                <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">20</asp:Label>
			<asp:Label id="lbSelShowType" runat="server" Visible="False">1</asp:Label>
			
			<table width="100%" border="0" cellpadding="2" cellspacing="0" align="center">
							<tr>
							<td>
							<asp:DataList ID="dtlCorrClassInfo" runat="server" Width="100%" RepeatDirection="Horizontal" CellPadding="0" BackColor="#F6F6F6" 
						CellSpacing="0" RepeatLayout="Table" RepeatColumns="4">
						<itemstyle HorizontalAlign="center" Height="20"></itemstyle>
						<itemtemplate>
							<a href='<%# DataBinder.Eval(Container.DataItem, "ClassLink") %>' >
								<%# DataBinder.Eval(Container.DataItem, "ClassName") %>
							</a>
						</itemtemplate>
					</asp:DataList>
							</td>
							</tr>
							</table>
			<table><tr><td height="2"></td></tr></table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" >
								<tr>
									<td>
									<asp:DataList id="dlListP" runat="server" EnableViewState="False" RepeatColumns="4" Width="100%" RepeatDirection="Horizontal" CellPadding="1" CellSpacing="2">						
			<ItemStyle VerticalAlign="Top" HorizontalAlign="center" Width="25%" BorderWidth="0"></ItemStyle>
			<ItemTemplate>
			<table width="100" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="112" align="center" valign="middle"><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="18" align="center" valign="bottom"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' <%=mstrTarget%> title='<%# DataBinder.Eval(Container.DataItem, "ProductName") %>' ><span ><%# DataBinder.Eval(Container.DataItem, "ProductName1") %></span></a></td>
                    </tr>
                    <tr>
                      <td align="center" valign="bottom" class="vipfont"><%# DataBinder.Eval(Container.DataItem, "strMyPrice") %></td>
 </tr>
         <tr>
					 <td align="center" valign="bottom" class="vipfont"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></td>
				 </tr>           
  <tr>
                      <td align="center" valign="bottom" class="userfont"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></td>
                    </tr>
                    <tr>
                      <td  align="center" valign="bottom" class="scfont"><%# 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="font14"><%# 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" valign="bottom" class="vipfont"><%# DataBinder.Eval(Container.DataItem, "strMyPrice") %></td>
 </tr>
         <tr>
					 <td align="center" valign="bottom" class="vipfont"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></td>
				 </tr>           
  <tr>
                      <td align="center" valign="bottom" class="userfont"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></td>
                    </tr>
                    <tr>
                      <td  align="center" valign="bottom" class="shichangfont"><%# DataBinder.Eval(Container.DataItem, "strMarketPrice") %></td>
                    </tr>
			</table>																						</td>
																					    <td  width='69%' align="right">
																						 <%# DataBinder.Eval(Container.DataItem, "ShoppingUrl") %><img src="Images/TP33/SHOP_53.gif" width="44" height="17" alt='<%=myLanguagesDeal.GetMyString("TextBuy")%>' border="0" /><%# DataBinder.Eval(Container.DataItem, "strLink") %>&nbsp;
                      <a href='<%# DataBinder.Eval(Container.DataItem, "ColUrl") %>'  target="_blank"><img src="Images/TP33/SHOP_55.gif" width="44" height="17"  alt='<%=myLanguagesDeal.GetMyString("TextCollection")%>'  border="0" /></a>
																						</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>
      </table></td>
  </tr>
</table>