<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Page language="c#" Codebehind="InquireManage.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.InquireManage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title><%=myLanguagesDeal.GetMyString("TextInquireManage")%>-<%=mConfigInf.strWebTitle%>
		</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<META content="<%=mConfigInf.strDescription%>" name=description>
		<META content="<%=mConfigInf.strKeywords%>" name=keywords>
		<LINK href="../StyleSheet1.css" rel="stylesheet">
		<SCRIPT language="javascript" id="clientEventHandlersJS">
		<!--

		
		function selall()
		{	
			var a = document.getElementsByTagName("input");
		
			var str;
			var len;
			var state;
			for (var i=0; i<a.length; i++)
			{
				if (a[i].type == "checkbox") 
				{
					str=a[i].id;
					len=str.lastIndexOf("ckSelAll");
					if((len * 1)>=1)
					{
						state=a[i].checked;
						break;
						}
				}
			}
			for (var i=0; i<a.length; i++)
			{
				if (a[i].type == "checkbox") 
				{
					str=a[i].id;
					len=str.lastIndexOf("ckSelItem");
					if((len * 1)>=1)
						a[i].checked=state;
				}
			}
		}
		
		function imgHelp_onclick() {
			popUpWin("DSHelp/ReviewManage.html","Help",100,100,800,600);
			}
			
		function popUpWin(URLStr,WinName, left, top, width, height)
		{
			var popUpWin=0;
			if(popUpWin)

			{

			if(!popUpWin.closed) popUpWin.close();

			}

			popUpWin = open(URLStr, WinName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
		}
		//-->
		</SCRIPT>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:languagesdeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:languagesdeal>
			<table cellSpacing="0" cellPadding="0" width="97%" align="center" border="0">
				<tr>
					<td vAlign="top" height="262">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td vAlign="top" bgColor="#ffffff" height="300"><FONT face="宋体"><asp:panel id="Pan1" runat="server">
											<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
												<TR>
													<TD class="p12black"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextInquireManage")%>--&gt;<%=myLanguagesDeal.GetMyString("InquireTextList")%></SPAN>
														</TD>
													<TD>
														<asp:ImageButton id="ibtDeleteAll" runat="server" ImageUrl="../Images/Admin/fb-delete.gif" onclick="ibtDeleteAll_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextDeteleSelect")%></TD>
												</TR>
											</TABLE>
											<HR noShade SIZE="1">
											<asp:datagrid id="dgList" runat="server" DataKeyField="InquireID" Width="100%" AutoGenerateColumns="False"
												AllowPaging="false" PageSize="20" CssClass="table-shangxia">
												<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
												<Columns>
													<asp:TemplateColumn HeaderText="操作">
														<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
														<HeaderTemplate>
															<asp:CheckBox id="ckSelAll" runat="server" onClick="selall()"></asp:CheckBox>
														</HeaderTemplate>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<table width="100%" border="0" cellspacing="0" cellpadding="0">
																<tr align="left" bgcolor="#F1F1F1">
																	<td><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("InquireTextUserName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></SPAN><%# DataBinder.Eval(Container.DataItem, "UserName")%>(<%# DataBinder.Eval(Container.DataItem, "UserSex")%>)
																	</td>
																	<td><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("InquireTextUserTime")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></SPAN><%# DataBinder.Eval(Container.DataItem, "InquireDate")%>
																	</td>
																	<td><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("InquireTextTitle")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></SPAN><%# DataBinder.Eval(Container.DataItem, "InquireSubject")%>
																	</td>
																	<td>
																		<asp:Button id="btDelete" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete" Runat="server"></asp:Button></td>
																	<td align="right" width="1%">
																		<asp:CheckBox id="ckSelItem" runat="server"></asp:CheckBox></td>
																</tr>
																<tr>
																	<td colspan="76"><p><br>
																			<table width="98%" border="0" cellpadding="1" cellspacing="1">
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextProductName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td colspan="3"><%# DataBinder.Eval(Container.DataItem, "DependName")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextContent")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td colspan="3"><%# DataBinder.Eval(Container.DataItem, "InquireMessage")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextCorpName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="398"><%# DataBinder.Eval(Container.DataItem, "CorpName")%></td>
																					<td width="70" align="right"><%=myLanguagesDeal.GetMyString("InquireTextSelect1")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="372"><%# DataBinder.Eval(Container.DataItem, "Select1")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td colspan="3"><%# DataBinder.Eval(Container.DataItem, "Address")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextSelect2")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="398"><%# DataBinder.Eval(Container.DataItem, "Select2")%></td>
																					<td width="70" align="right">Email<%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="372"><%# DataBinder.Eval(Container.DataItem, "Email")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextTel")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="398"><%# DataBinder.Eval(Container.DataItem, "Tel")%></td>
																					<td width="70" align="right"><%=myLanguagesDeal.GetMyString("InquireTextFax")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="372"><%# DataBinder.Eval(Container.DataItem, "Fax")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextPostCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="398"><%# DataBinder.Eval(Container.DataItem, "PostCode")%></td>
																					<td width="70" align="right"><%=myLanguagesDeal.GetMyString("InquireTextSelect3")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td width="372"><%# DataBinder.Eval(Container.DataItem, "Select3")%></td>
																				</tr>
																				<tr>
																					<td width="80" align="right"><%=myLanguagesDeal.GetMyString("InquireTextUserPosition")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td><%# DataBinder.Eval(Container.DataItem, "UserPosition")%></td>
																					<td width="70" align="right"><%=myLanguagesDeal.GetMyString("InquireTextUploadPic")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></td>
																					<td><%# DataBinder.Eval(Container.DataItem, "FileName")%></td>
																				</tr>
																			</table>
																		</p>
																	</td>
																</tr>
															</table>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
												<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
											</asp:datagrid>
											<TABLE class="table-zuoyou" id="Table1" width="100%" align="center" border="0">
												<TR align="center" bgColor="#f1f1f1">
													<TD>
														<asp:button id="btFirst" runat="server" CssClass="go-wenbenkuang" Text=" 首 页" BorderStyle="Groove" onclick="btFirst_Click"></asp:button>&nbsp;
														<asp:button id="btPre" runat="server" CssClass="go-wenbenkuang" Text="上一页" BorderStyle="Groove" onclick="btPre_Click"></asp:button>&nbsp;
														<asp:button id="btNext" runat="server" CssClass="go-wenbenkuang" Text="下一页" BorderStyle="Groove" onclick="btNext_Click"></asp:button>&nbsp;
														<asp:button id="btLast" runat="server" CssClass="go-wenbenkuang" Text=" 尾 页" BorderStyle="Groove" onclick="btLast_Click"></asp:button>&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="CompareValidator2" runat="server" ErrorMessage="输入数字" Display="Dynamic" ControlToValidate="txtPageNum"
															Type="Integer" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator><%=myLanguagesDeal.GetMyString("TextPages")%>
														<asp:button id="btGo" runat="server" CssClass="go-wenbenkuang" Text="Go" onclick="btGo_Click"></asp:button></TD>
												</TR>
											</TABLE>
										</asp:panel></FONT><asp:panel id="Pan2" runat="server" Visible="False"></asp:panel></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
