<%@ 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="960"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#FFFFFF">

<table width="960" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="206" align="right" valign="top"><uc1:LeftTwo id="LeftTwo" runat="server"></uc1:LeftTwo>
          </td>
          <td 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>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="3%" height="28" align="center" background="Images/TP20/line2.gif">&nbsp;</td>
              <td width="3%" align="left" background="Images/TP20/line2.gif"><img src="Images/TP20/sign.gif" width="13" height="13" /></td>
              <td width="94%" align="left" valign="middle" background="Images/TP20/line2.gif" class="font9"><table border="0" cellspacing="0" cellpadding="0">
        <tr><td>&nbsp;</td>
        <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><td><asp:label id="lbTopMessage" runat="server" CssClass="p14redgrow"></asp:label></td></tr></table>
					</td>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
			
			<!--Form Start-->
			<form id="Form1" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"
							method="post" runat="server">
            <table width="739" height="29" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="20" background="Images/TP20/bar3.gif">&nbsp;</td>
                <td width="75" align="center" background="Images/TP20/bar3.gif">&nbsp;</td>
                <td width="3" align="left" valign="bottom" background="Images/TP20/bar3.gif"></td>
                <td align="right" valign="middle" background="Images/TP20/bar3.gif"><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>&nbsp;</td>
                <td width="28" align="left" background="Images/TP20/bar3.gif"><a href="#"></a></td>
                <td width="4" background="Images/TP20/bar4.gif"></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">32</asp:Label>
			<asp:Label id="lbSelShowType" runat="server" Visible="False">1</asp:Label>
			<table><tr><td height="5"></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="98%" RepeatDirection="Horizontal">						
			<ItemStyle VerticalAlign="Top" Width="25%" BorderWidth="0"></ItemStyle>
			<ItemTemplate>
			<table width="102" height="102" border="0" cellpadding="0" cellspacing="0" align="center">
				<tr>
				  <td height="96" class="kuang"><%# DataBinder.Eval(Container.DataItem, "SmallPicInf") %></td>
				</tr>
				<tr>
				  <td height="5"></td>
				</tr>
			  </table>
				<table width="130" border="0" cellspacing="0" cellpadding="1" align="center">
				  <tr>
					<td class="font1" align="center"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' target="_blank" title='<%# DataBinder.Eval(Container.DataItem, "ProductName") %>'  class="font1"><%# DataBinder.Eval(Container.DataItem, "ProductName1") %></a></td>
				  </tr>
				</table>
				<table width="110" border="0" cellspacing="0" cellpadding="0" align="center">
				  <tr>
					<td  align="center" class="font5"><%# DataBinder.Eval(Container.DataItem, "strMyPrice") %></td>
				  </tr>
				  <tr>
					<td  align="center" class="font5"><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></td>
				  </tr>
				  <tr>
					<td align="center" class="font4"><%# DataBinder.Eval(Container.DataItem, "strPrice") %></td>
				  </tr>
				  <tr>
					<td align="center" class="font9"><s><%# DataBinder.Eval(Container.DataItem, "strMarketPrice") %></s></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><table cellspacing="0" bordercolordark="#efefee" cellpadding="0" bordercolorlight="#ffffff"
																					border="1">
																					<tbody>
																						<tr>
																							<td align="middle"><a href='<%# DataBinder.Eval(Container.DataItem, "ViewUrl") %>' title='<%# DataBinder.Eval(Container.DataItem, "ProductName") %>' target="_blank">
																									<table height="0" cellspacing="0" cellpadding="0" width="80" border="0">
																										<tbody>
																											<tr>
																												<td></td>
																											</tr>
																										</tbody>
																									</table>
																									<table height="80" cellspacing="0" cellpadding="0" width="0" align="left" border="0">
																										<tbody>

																											<tr>
																												<td></td>
																											</tr>
																										</tbody>
																									</table>
																									<%# DataBinder.Eval(Container.DataItem, "SmallPic") %>
																								</a>
																							</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") %>'  target="_blank"><%# DataBinder.Eval(Container.DataItem, "ProductName") %></a></strong></span></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 height="57" cellSpacing="0" cellPadding="2" border="0">
																								<tr>
																									<td valign="top" nowrap align="middle"><span ><%# DataBinder.Eval(Container.DataItem, "strVIPPrice") %></span></td>
																								</tr>
																								<tr>
																									<td valign="top" nowrap align="middle"><span ><%# DataBinder.Eval(Container.DataItem, "strPrice") %></span></td>
																								</tr>
																								<tr>
																									<td valign="top" nowrap align="middle"><span ><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 ><table width="100%" border="1" bordercolorlight="#666666"   bordercolordark="#FFFFFF" cellspacing="0">
                                
                                <tr align="center" valign="middle">
                                  <td align="center"><%# DataBinder.Eval(Container.DataItem, "ShoppingUrl") %><span class="STYLE10"><%=myLanguagesDeal.GetMyString("TextBuy1")%></span><%# DataBinder.Eval(Container.DataItem, "strLink") %></td>
                                </tr>
                            </table></td>
																									<td class="p9orange">
																									</td>
																									<td ><table width="100%" border="1" bordercolorlight="#666666"   bordercolordark="#FFFFFF" cellspacing="0">
                                <tr>
                                  <td align="center"><a href='<%# DataBinder.Eval(Container.DataItem, "ColUrl") %>' target="_blank"><span class="STYLE4"><%=myLanguagesDeal.GetMyString("TextCollection1")%></span></a></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">
												<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>
							<!--Form End-->
							         </td>
        </tr>
      </table>
	  
	  </td></tr></table>