<%@ 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="NewsClassList" Src="NewsClassList.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.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">
  <tr>
    <td bgcolor="#FFFFFF">

<table width="960" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="206" align="right" valign="top">
		   <table width="200" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="142" height="38" background="Images/TP20/article.gif">&nbsp;</td>
              <td background="Images/TP20/article1.gif">&nbsp;</td>
              <td width="7" background="Images/TP20/article0.gif"></td>
            </tr>
          </table>
            <table width="200" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="50" align="center" valign="top" bgcolor="#f8f8f8" class="bian0"><uc1:NewsClassList id="NewsClassList1" runat="server"></uc1:NewsClassList>
                </td>
              </tr>
              <tr>
                <td height="6" background="Images/TP20/sort_b.gif"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="6"></td>
              </tr>
            </table>
<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"><%=myLanguagesDeal.GetMyString("TextYouplace")%><%=mstrTitleName%>
					</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="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="30" 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="50" align="right"></td>
																	<td align="left">&nbsp;<a href='<%# DataBinder.Eval(Container.DataItem, "NewsLink") %>' class="g12toorange">
																			<%# DataBinder.Eval(Container.DataItem, "NewsTitle") %>
																		</a>
																	</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">首页</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"></asp:Label>
														<HR noShade SIZE="1">
													</TD>
												</TR>
												<TR>
													<TD  vAlign="top" height="132">
														<asp:Label id="lbContent" runat="server"></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>
			
							<!--Form End-->
							         </td>
        </tr>
      </table>
	  
	  </td></tr></table>