<%@ page language="C#" autoeventwireup="true" inherits="About_Feedback, ZhaoPinXiTong" enableEventValidation="false" %>

<%@ Register Tagprefix="UserControls" TagName="Footer" Src="../Controls/Footer.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Right" Src="../Controls/Right.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Header" Src="../Controls/Header.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	<HEAD>
		<title><%= "用户反馈_" + pub_WebName %></title>
		<meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		 <script src="../cscript/jquery.min.js" type="text/javascript"></script>
		<LINK rel="stylesheet" type="text/css" href="../Css/Style.css">
        <script language="javascript" type="text/javascript">
            function chuser(ad) {
                if (ad == "code") {
                    userName = $('#txt_CheckCode').val();
                    $.ajax({
                        type: "get",
                        url: '../resume/Mreg.ashx?code=' + userName + '&category=code&time=' + new Date().getTime(),
                        dataType: "html", //(可以不写,默认)
                        beforeSend: function (XMLHttpRequest) { },
                        success: function (ReturnValue, textStatus) {
                            document.getElementById("Span1").innerHTML = ReturnValue;
                        },
                        complete: function (XMLHttpRequest, textStatus) { },
                        error: function () { }
                    });
                }
                if (ad == "codes") {
                    document.getElementById("Span1").innerHTML = "<font color=#ff0000>输入不正确</font>";
                }
            }
       </script>
	</HEAD>
	<body>
		<form id="Form1" method="post" Runat=server>
			<!--页面顶部-->
			<UserControls:Header Runat=server id="Header1"></UserControls:Header>
			<!--页面主体-->
			<table width="992" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr><td align="center" bgcolor="#FFFFFF"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr valign="top">
					<td width="160"><UserControls:Right Runat=server id="Right1"></UserControls:Right></td>
					<td width="10">&nbsp;</td>
					<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="25"><img src="../Images/Public/Right1_left.jpg" width="25" height="30"></td>
								<td background="../Images/Public/Right1_bg.jpg"><strong>用户反馈</strong></td>
								<td width="25"><img src="../Images/Public/Right1_right.jpg" width="25" height="30"></td>
							</tr>
						</table>
						<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td height="5"></td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#dfdfdf">
							<tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 反馈类型：</td>
								<td><asp:DropDownList Runat=server ID="ddl_Typeid" Width="350">
										<asp:ListItem Value="">-请选择-</asp:ListItem>
										<asp:ListItem Value="1">服务申请</asp:ListItem>
										<asp:ListItem Value="2">业务投诉</asp:ListItem>
										<asp:ListItem Value="3">建议意见</asp:ListItem>
										<asp:ListItem Value="4">操作帮助</asp:ListItem>
										<asp:ListItem Value="5">合作意向</asp:ListItem>
										<asp:ListItem Value="6">其他信息</asp:ListItem>
									</asp:DropDownList>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Typeid" ControlToValidate="ddl_Typeid" Display="Dynamic"
										ErrorMessage="<br>请选择反馈类型！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 反馈内容：</td>
								<td><asp:TextBox Runat=server ID="txt_Memo" Width="350" Rows="6" TextMode="MultiLine" MaxLength="1000"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Memo" ControlToValidate="txt_Memo" Display="Dynamic" ErrorMessage="<br>请输入反馈内容！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 您的称呼：</td>
								<td><asp:TextBox Runat=server ID="txt_Realname" Width="350"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Realname" ControlToValidate="txt_Realname" Display="Dynamic"
										ErrorMessage="<br>请输入您的称呼方式！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 邮件地址：</td>
								<td><asp:TextBox Runat=server ID="txt_Email" Width="350"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Email" ControlToValidate="txt_Email" Display="Dynamic" ErrorMessage="<br>请输入邮件地址！"></asp:RequiredFieldValidator>
									<asp:RegularExpressionValidator Runat=server ID="rev_Email" ControlToValidate="txt_Email" ValidationExpression="[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+"
										Display="Dynamic" ErrorMessage="<br>请输入正确的邮件地址！"></asp:RegularExpressionValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:24px">联系电话：</td>
								<td><asp:TextBox Runat=server ID="txt_Phone" Width="350"></asp:TextBox></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:24px">QQ/MSN：</td>
								<td><asp:TextBox Runat=server ID="txt_QQ" Width="350"></asp:TextBox></td>
							</tr>
                            <tr bgcolor="#ffffff">
								<td width="80" style="PADDING-LEFT:24px">验证码：</td>
								<td><asp:TextBox Runat=server ID="txt_CheckCode" Width="138" onchange="chuser('code')"></asp:TextBox><img src="../Public/Code.aspx" width="50" height="22" align="absMiddle" onclick="this.src=this.src+'?'+Math.random();chuser('codes');" title="刷新验证码"> <span id='Span1'></span>
                                      <asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_CheckCode" ControlToValidate="txt_CheckCode" Display="Dynamic"
										ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请输入验证码！"></asp:RequiredFieldValidator> </td>
							</tr>
						</table>
						<TABLE cellSpacing="1" cellPadding="4" width="100%" bgColor="#ffffff" border="0">
							<TR bgColor="#ffffff">
								<TD style="PADDING-LEFT: 24px" width="80">&nbsp;</TD>
								<TD>
									<asp:Button id="btn_Submit" Runat=server Width="55" Text="提交" OnClick="btn_Submit_Click"></asp:Button>
									<asp:Label id="lbl_Error" Runat=server ForeColor="#ff0000"></asp:Label></TD>
							</TR>
						</TABLE>
					</td>
				</tr>
			</table>
			<!--页面底部-->
			<UserControls:Footer Runat=server id="Footer1"></UserControls:Footer>
		</form>
	</body>
</HTML>
