<%@ Control Language="c#" AutoEventWireup="True" Codebehind="ShowReview.ascx.cs" Inherits="DreamerShop.UserControl.ShowReview" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<form id="Form1" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"
	method="post" runat="server">
<asp:datagrid id="dgReview" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="95%"
	HorizontalAlign="Center" ShowHeader="False" PageSize="5">
	<Columns>
		<asp:TemplateColumn HeaderText="">
			<ItemStyle HorizontalAlign="Center"></ItemStyle>
			<ItemTemplate>
				<table width='98%' border='0' align='center' cellpadding='2' cellspacing='1'>
					<tr>
						<td><%=myLanguagesDeal.GetMyString("ReViewTextNetName") %><%# DataBinder.Eval(Container.DataItem, "UserName")%>
							<%# DataBinder.Eval(Container.DataItem, "UserIP")%><%# DataBinder.Eval(Container.DataItem, "ReviewTime")%></td>
						<td width='20%'><img src='images/level<%# DataBinder.Eval(Container.DataItem, "Grade")%>.gif'></td>
					</tr>
					<tr>
						<td colspan='2' >&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "Content")%>
						</td>
					</tr>
					<tr>
						<td colspan='2' ><%=myLanguagesDeal.GetMyString("ReViewTextMaster") %>:<%# DataBinder.Eval(Container.DataItem, "WriteBack")%>
						</td>
					</tr>
				
				</table>
			</ItemTemplate>
		</asp:TemplateColumn>
	</Columns>
	<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right" Visible="false"></PagerStyle>
</asp:datagrid>
<asp:Panel id="PanReviewNaviage" runat="server">
	<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" Width="30px" runat="server" MaxLength="3" CssClass="wenbenkuang"></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" CssClass="go-wenbenkuang" Text="Go" onclick="btGo_Click"></asp:button></TD>
		</TR>
	</TABLE>
</asp:Panel>
</form>