<%@ Control Language="c#" AutoEventWireup="True" Codebehind="LeaveWord.ascx.cs" EnableViewState="false" Inherits="DreamerShop.UserControl.LeaveWord" 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>
<asp:Panel id="Panel1" runat="server"  BorderWidth="0">
	<FORM style="MARGIN: 0px" name="leavewordform" method="post">
		<TABLE width="95%"  border="0" align="center" cellPadding="0" cellSpacing="0">
			<TR >
				<TD width="100%">
					<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
						<TR>
							<TD width="15%" class="font7"><%=myLanguagesDeal.GetMyString("ReViewUserName")%><!--ÐÕ Ãû£º--></TD>
							<TD width="85%"><INPUT class="wenbenkuang" type="text" maxLength="18" name="UserName" onkeypress="return CheckInput()"></TD>
						</TR>
						<TR>
							<TD width="10%" class="font7"><%=myLanguagesDeal.GetMyString("MemberEmail")%><!--Email£º--></TD>
							<TD width="90%"><INPUT class="wenbenkuang" type="text" maxLength="30" name="Email" onkeypress="return CheckInput()">
							</TD>
						</TR>
						<TR>
							<TD width="10%" class="font7"><%=myLanguagesDeal.GetMyString("MemberTel")%><!--µç »°£º--></TD>
							<TD width="90%"><INPUT class="wenbenkuang" type="text" maxLength="18" name="Tel" onkeypress="return CheckInput()">
							</TD>
						</TR>
						<TR>
							<TD vAlign="top" class="font7"><%=myLanguagesDeal.GetMyString("ReViewTextContent")%><!--ÄÚ ÈÝ£º--></TD>
							<TD><TEXTAREA class="wenbenkuang" style="BORDER-RIGHT: #ffffff 1px groove" name="Content" rows="5"
									cols="70" maxLength="300" onkeypress="return CheckInput()"></TEXTAREA>
							</TD>
						</TR>
						<TR>
							<TD></TD>
							<TD><INPUT class="go-wenbenkuang" onclick="return check();" type="submit" value='<%=myLanguagesDeal.GetMyString("ReViewButtonSave")%>' name="submit">
							</TD>
						</TR>
					</TABLE>
				</TD>
			</TR>
	  </TABLE>
	</FORM>
	<SCRIPT language="javascript">
	<!--
	function CheckInput(){
		if (event.keyCode == 37 || event.keyCode == 39  || event.keyCode == 60  || event.keyCode == 62 )
			event.returnValue = false;
	}
		function checkspace(checkstr) {
			var str = '';
			for(i = 0; i < checkstr.length; i++) {
				str = str + ' ';
			}
			return (str == checkstr);
		}
	function check()
	{
		if(checkspace(document.leavewordform.UserName.value)) {
			document.leavewordform.UserName.focus();
			alert('<%=myLanguagesDeal.GetMyString("ReViewInputNameAlert")%>');
			return false;
		}
		
		if(checkspace(document.leavewordform.Content.value)) {
			document.leavewordform.Content.focus();
			alert('<%=myLanguagesDeal.GetMyString("MsgInputLeaveWordContentAlert")%>');
			return false;
		}
		
	}
	//-->
	</SCRIPT>
</asp:Panel>
<asp:Panel id="Panel2" runat="server" HorizontalAlign="Center">
	<big>
		<asp:Label id="lblwMsg" runat="server"></asp:Label></big></asp:Panel>
