<%@ 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" %>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<%=strCoupletMsg%>
<%=strFlutterMsg%>
<%=strSuspendMsg%>
<table width="976" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td width="180"  valign="top" >
			<uc1:LeftTwo id="LeftTwo" runat="server"></uc1:LeftTwo>
		</td>
		<td align="center" valign="top">
			<TABLE cellSpacing="2" cellPadding="0" width="100%" border="0" align="center">
				<TR>
					<TD><%=strRotatorMsg%>
					</TD>
				</TR>
			</TABLE>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr> 
                <td height="3"> </td>
              </tr>
              <tr> 
                <td height="21"><table border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><img src="images/TP9/show_title_01.gif"></td>
                      <td width="150" bgcolor="#F39B49" class="showtitle1"><nobr><asp:label id="lbTopMessage" runat="server" CssClass="p14redgrow"></asp:label></nobr></td>
                      <td width="4"><img src="images/TP9/show_title_02.gif"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="5"> </td>
              </tr>
              <tr>
                <td height="16" background="images/TP9/show_title_03.gif">&nbsp;</td>
              </tr>
            </table>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<TR>
					<TD align="left"><table width="626" border="0" cellpadding="3" cellspacing="0" class="table2">
	<tr>
		<td>
		<table width="100%" border="0" cellpadding="2" cellspacing="0">
							<tr><td><asp:datalist id="dtlClassGrade" runat="server" Width="100%" DataKeyField="ClassID" RepeatDirection="Horizontal"
						RepeatLayout="Flow">
						<ItemTemplate>
							<a href='<%# DataBinder.Eval(Container.DataItem, "ClassLink") %>' >
								<%# DataBinder.Eval(Container.DataItem, "ClassName") %>
							</a> -> 
						</ItemTemplate>
					</asp:datalist></td></tr>
							<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") %>' class="class="font3"">
								<%# DataBinder.Eval(Container.DataItem, "ClassName") %>
							</a>
						</itemtemplate>
					</asp:DataList>
							</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="95%" border="0" cellpadding="2" cellspacing="0">
							<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>
							<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">40</asp:Label>
							<asp:Label id="lbSelShowType" runat="server" Visible="False">1</asp:Label>
							<table width="100%" border="0" cellspacing="0" cellpadding="0" class="dotX">
								<tr>
									<td align="center">
									<asp:DataList id="dlListP" runat="server" EnableViewState="False" RepeatColumns="5" RepeatDirection="Horizontal" >
							<ItemStyle VerticalAlign="Top" Width="20%"></ItemStyle>
							<ItemTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
                          <tr> 
                            <td width="153" valign="top"> <div align="center">
                                <table width="135" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td colspan="3"><div align="center"> 
                                        <table width="108" height="109" border="0" cellpadding="0" cellspacing="0">
                                          <tr> 
                                            <td valign="top" class="pic2"><table  width="102" height="102" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>'  target="_blank"><%# DataBinder.Eval(Container.DataItem, "SmallPic") %></a></td></tr></table></td>
                                          </tr>
                                        </table>
                                      </div></td>
                                  </tr>
                                  <tr> 
                                    <td width="16" height="20">&nbsp;</td>
                                    <td width="20"><img src="images/TP9/jt3.gif" width="9" height="10" /></td>
                                    <td width="99" class="orange12"><%# DataBinder.Eval(Container.DataItem, "ProductName") %></td>
                                  </tr>
                                   <tr> 
                                    <td ></td>
                                    <td colspan="2"><s><%# DataBinder.Eval(Container.DataItem, "strMarketPrice") %></s></td>
                                  </tr>
                                  <tr> 
                                    <td ></td>
                                    <td  colspan="2"><font color="#FF0000"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></font></td></tr>
									<tr> 
                                    <td ></td>
                                    <td  colspan="2"><font color="#FF0000"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></font></td></tr>
                                  <tr> 
                                  <tr> 
                                    <td height="24" colspan="3"> <div align="center"><%# DataBinder.Eval(Container.DataItem, "ShoppingUrl") %><img src="images/TP9/buy2.jpg" alt='<%=myLanguagesDeal.GetMyString("TextBuy")%>' width="57" height="18"  border="0" /><%# DataBinder.Eval(Container.DataItem, "strLink") %>
                                        <a href='<%# DataBinder.Eval(Container.DataItem, "ColUrl") %>'  target="_blank"><img src="images/TP9/shoucang2.jpg"  alt='<%=myLanguagesDeal.GetMyString("TextCollection")%>' width="57" height="18" border="0" /></a>
                                      </div></td>
                                  </tr>
                                </table>
                              </div></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%" class="dotX">
															<tr>
																<td align="Center" width="160" class="dotY"><table height='100%' align='center' border="0">
																		<tr>
																			<td><table cellspacing="0" bordercolordark="#efefee" cellpadding="0" bordercolorlight="#ffffff"
																					border="1">
																					<tbody>
																						<tr>
																							<td align="middle"><div align="center"> 
                                        <table width="108" height="109" border="0" cellpadding="0" cellspacing="0">
                                          <tr> 
                                            <td valign="top" class="pic2"><table  width="102" height="102" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>'  target="_blank"><%# DataBinder.Eval(Container.DataItem, "SmallPic") %></a></td></tr></table></td>
                                          </tr>
                                        </table>
                                      </div>
																							</td>
																						</tr>
																					</tbody>
																				</table>
																			</td>
																		</tr>
																	</table>
																</td>
																<td><table width='100%' height='57' border='0' cellpadding='2' cellspacing='0'>
																		<tr>
																			<td height='11'><strong><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' class="orange12" target="_blank"><font color="#FF3300"><%# DataBinder.Eval(Container.DataItem, "ProductName") %></font></a></strong></span></td>
																		</tr>
																		<tr>
																			<td valign='top' class='p9v'><table width='100%' border='0' cellpadding='0' cellspacing='0' class='p9v'>
																					<tr>
																						<td class='p9v' valign='TOP'><%# DataBinder.Eval(Container.DataItem, "Brief") %></td>
																					</tr>
																				</table>
																			</td>
																		</tr>
																		<tr>
																			<td class='p9black' valign='top'><table class='p9v' width='97%' border='0' cellspacing='0' cellpadding='0'>
																					<tr>
																						<td class='p9navyblue' width='69%' align="left"><TABLE height="57" cellSpacing="0" cellPadding="2" border="0">
																								<tr>
																									<td valign="top" nowrap align="middle"><font color="#FF0000"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></font></td>
																								</tr>
																								<tr>
																									<td valign="top" nowrap align="middle"><font color="#FF0000"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></font></td>
																								</tr>
																								<tr>
																									<td valign="top" nowrap align="middle"><span class='blue12px_'><s><%# DataBinder.Eval(Container.DataItem, "strMarketPrice") %></s></span></td>
																								</tr>
																							</TABLE>
																						</td>
																					</tr>
																					<tr>
																						<td align='RIGHT'><table border='0' cellspacing='0' cellpadding='2'>
																								<tr>
																									<td ><%# DataBinder.Eval(Container.DataItem, "ShoppingUrl") %><img  alt='<%=myLanguagesDeal.GetMyString("TextBuy")%>' src="Images/TP9/buy2.jpg"  border="0"><%# DataBinder.Eval(Container.DataItem, "strLink") %></td>
																									<td class="p9orange">
																									</td>
																									<td ><a href='<%# DataBinder.Eval(Container.DataItem, "ColUrl") %>'  target="_blank"><img  alt='<%=myLanguagesDeal.GetMyString("TextCollection")%>' src="Images/TP9/shoucang2.jpg"  border="0"></a></td>
																								</tr>
																							</table>
																						</td>
																					</tr>
																				</table>
																			</td>
																		</tr>
																	</table>
																</td>
															</tr>
														</table>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
										</asp:datagrid>
										<table class="table-zuoyou" width="100%" align="center" border="0">
											<tr align="center">
												<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>
						</form>
				</td>
	</tr>

</table>
				  </TD>
				</TR>
			</table>
			<br>
		</td>
		<td width="18">&nbsp;</td>
	</tr>
</table>
