<%@ Control Language="c#" AutoEventWireup="True" Codebehind="NewsMain.ascx.cs" Inherits="DreamerShop.TP1.NewsMain" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="uc1" TagName="LeftTwo" Src="LeftTwo.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NewsClassList" Src="NewsClassList.ascx" %>
<%@ Register TagPrefix="uc1" TagName="BrandSort" Src="BrandSort.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LinkUs" Src="LinkUs.ascx" %>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<%=strCoupletMsg%>
<%=strFlutterMsg%>
<%=strSuspendMsg%>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" class="tabtopk10px">
  <tr>
    <td width="195" height="400" align="left" valign="top">
	<table width="186" border="0" cellpadding="0" cellspacing="1" bgcolor="#C8C8C8" >
        <tr>
          <td height="80" align="center" valign="top" bgcolor="#FFFFFF"><table width="186" border="0" cellpadding="0" cellspacing="0" class="tabbotk10px">
            <tr>
              <td height="25" align="left" valign="middle" class="titbg"><strong><%=myLanguagesDeal.GetMyString("TextNewsClass")%></strong></td>
            </tr>
            <tr>
              <td height="80" align="center" valign="top" class="tdtopk6px"><table width="162" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="left" valign="top" class="hg20px">
				  <uc1:NewsClassList id="NewsClassList1" runat="server"></uc1:NewsClassList>
				  </td>
                </tr>
                
              </table></td>
            </tr>
          </table></td>
        </tr>
      </table>
<table><tr><td height="5"></td></tr></table>

	<uc1:LeftTwo id="LeftTwo" runat="server"></uc1:LeftTwo>
      </td>
    <td width="765" align="right" valign="top"><table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#E7E7E7" class="bot15px">
      <tr>
        <td height="22" align="left" valign="middle" bgcolor="#F7F7F7">&nbsp;&nbsp;<strong><%=mstrTitleName%></strong></td>
        </tr>
    </table>
      <table width="755" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center" valign="middle" height="5">
		  
		  </td>
        </tr>
		<tr>
          <td align="left" valign="middle">
		   <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="98%" border="0" cellpadding="2" cellspacing="0">
								<tr>
									<td align="CENTER">
										<br />
										<asp:panel id="PanNews1" runat="server">
											<asp:datagrid id="dgList" runat="server" PageSize="50" Width="100%" AutoGenerateColumns="False"
												AllowPaging="True" ShowHeader="False" BorderWidth="0">
												<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
												<Columns>
													<asp:TemplateColumn>
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<table align="center" cellpadding="0" cellspacing="0" width="98%">
																<tr>
																	<td width="20" align="right"></td>
																	 <td width="47" height="22"><%# DataBinder.Eval(Container.DataItem, "Num") %></td>
																	<td align="left">&nbsp;<a href='<%# DataBinder.Eval(Container.DataItem, "NewsLink") %>'><%# DataBinder.Eval(Container.DataItem, "NewsTitle") %></a>
																	</td>
																	<td width="120" ><%# DataBinder.Eval(Container.DataItem, "PubTime") %></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">首页</asp:LinkButton>&nbsp;
														<asp:LinkButton id="btPre" runat="server" CausesValidation="False" onclick="btPre_Click">上一页</asp:LinkButton>&nbsp;
														<asp:LinkButton id="btNext" runat="server" CausesValidation="False" onclick="btNext_Click">下一页</asp:LinkButton>&nbsp;
														<asp:LinkButton id="btLast" runat="server" CausesValidation="False" onclick="btLast_Click">尾页</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" Display="Dynamic" Type="Integer" Operator="DataTypeCheck"
															ControlToValidate="txtPageNum" ErrorMessage="输入数字"></asp:comparevalidator><%=myLanguagesDeal.GetMyString("TextPages")%>
														<asp:button id="btGo" runat="server" CausesValidation="False" CssClass="go-wenbenkuang" Text="Go" onclick="btGo_Click"></asp:button></TD>
												</TR>
											</TABLE>
										</asp:panel><asp:panel id="PanNews2" runat="server">
											<TABLE  cellSpacing="0" cellPadding="0" width="92%" border="0">
												<TR>
													<TD class="p9navyblue" align="center" height="28">
														<asp:Label id="lbTitle" runat="server" Font-Bold="true" Font-Size="12px"></asp:Label>
														<HR noShade SIZE="1">
													</TD>
												</TR>
												<TR>
													<TD  vAlign="top" height="132">
														<asp:Label id="lbContent" runat="server" CssClass="Contentfont"></asp:Label><BR>
													</TD>
												</TR>
												<TR>
													<TD  align="right" height="28"><BR>
														<%=myLanguagesDeal.GetMyString("TextPubDate")%>
														<asp:Label id="lbPubTime" runat="server"></asp:Label>
														<asp:LinkButton id="lbtReturn" runat="server" CausesValidation="False" onclick="lbtReturn_Click"><%=myLanguagesDeal.GetMyString("TextReturnIndex")%>
														</asp:LinkButton></TD>
												</TR>
											</TABLE>
										</asp:panel>
									</td>
								</tr>

							</table>
				  </form>
		  </td>
        </tr>
		<tr>
          <td align="center" valign="middle" height="5">
		  
		  </td>
        </tr>
      </table></td>
  </tr>
</table>