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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK rel="stylesheet" type="text/css" href="../Css/Other.css">
	    <script language="javascript" src="../Cscript/ListBoxFun.js"></script>
		<script language="javascript" src="../cscript/com_basic.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" Runat=server>
			<!--页面顶部-->
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td style="PADDING-RIGHT:5px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="5"></td>
							</tr>
							<tr>
								<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="5" height="24" background="../Images/WebOffices/Right1_bg.jpg"></td>
											<td background="../Images/WebOffices/Right1_bg.jpg" style="PADDING-LEFT:8px;PADDING-TOP:2px"><font color="#ffffff"><b>编辑职位</b></font></td>
											<td width="200" align="right" background="../Images/WebOffices/Right1_bg.jpg" style="PADDING-RIGHT:8px"></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="4"></td>
							</tr>
						</table>
						<!--页面主体-->
						<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#D1E6F7">
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 职位名称：</td>
								<td><asp:TextBox Runat=server ID="txt_JobName" Width="270" MaxLength="100"></asp:TextBox>
								<asp:CheckBox Runat=server ID="chk_BestFlag" />急聘职位
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_JobName" ControlToValidate="txt_JobName" Display="Dynamic"
										ErrorMessage="<br>请填写职位名称！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 职位性质：</td>
								<td><asp:RadioButtonList Runat=server ID="rbn_JobProperty" RepeatColumns="4" CellPadding="0" CellSpacing="0">
										<asp:ListItem Value="1" Selected="True">全职</asp:ListItem>
										<asp:ListItem Value="2">兼职</asp:ListItem>
										<asp:ListItem Value="3">临时</asp:ListItem>
										<asp:ListItem Value="4">实习</asp:ListItem>
									</asp:RadioButtonList></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">职位编号：</td>
								<td><asp:TextBox Runat=server ID="txt_JobNo" Width="200" MaxLength="30"></asp:TextBox>
									<font color="#777777">公司内部的自定编号</font>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">招聘部门：</td>
								<td><asp:DropDownList Runat=server ID="ddl_Department" Width="200">
										<asp:ListItem Value="0">请选择</asp:ListItem>
									</asp:DropDownList>
									<a href="Com_Department.aspx"><u>新增部门</u></a>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 有效期限：</td>
								<td><asp:TextBox Runat=server ID="txt_ValidityDays" Width="60" MaxLength="3">90</asp:TextBox>
									天
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_ValidityDays" ControlToValidate="txt_ValidityDays" Display="Dynamic"
										ErrorMessage="<br>请填写有效期限！"></asp:RequiredFieldValidator>
									<asp:RegularExpressionValidator Runat=server ID="rev_ValidityDays" ControlToValidate="txt_ValidityDays" ValidationExpression="[0-9]{1,3}"
										Display="Dynamic" ErrorMessage="<br>请填写正确的有效期限！"></asp:RegularExpressionValidator>
									<asp:RangeValidator Runat=server ID="rav_ValidityDays" ControlToValidate="txt_ValidityDays" MinimumValue="1"
										MaximumValue="999" Display="Dynamic" ErrorMessage="<br>职位有效期限只能是有效的数字！"></asp:RangeValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 招聘人数：</td>
								<td><asp:TextBox Runat=server ID="txt_Mans" Width="60" MaxLength="4">0</asp:TextBox>
									人<font color="#777777">(默认为0,表示若干人)</font>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Mans" ControlToValidate="txt_Mans" Display="Dynamic" ErrorMessage="<br>请填写招聘人数！"></asp:RequiredFieldValidator>
									<asp:RegularExpressionValidator Runat=server ID="rev_Mans" ControlToValidate="txt_Mans" ValidationExpression="[0-9]{1,4}"
										Display="Dynamic" ErrorMessage="<br>请填写正确的招聘人数！"></asp:RegularExpressionValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 职位类别：</td>
								<td><!--职位类别-->
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr valign="top">
											<td width="200"><asp:DropDownList Runat=server ID="ddl_JobType" Width="200"></asp:DropDownList><br>
												<asp:ListBox Runat=server ID="lib_JobTypeBox" Width="200" Rows="6"></asp:ListBox>
											</td>
											<td width="70" align="center">
												<input type="button" name="AddJobType" value="添加>>" onclick="AddItemToList('ddl_JobType','lib_JobTypeBox','lib_JobType',5, 2, '','hid_JobType');"
													style="WIDTH:55px"><br>
												<img src="../Images/Public/Space5px.gif"><br>
												<input type="button" name="DeleteJobType" value="<<移除" onclick="DeleteListSelectedItem('lib_JobType', 0,'hid_JobType');"
													style="WIDTH:55px"></td>
											<td><asp:ListBox Runat=server ID="lib_JobType" Width="200" Rows="7" SelectionMode="Multiple"></asp:ListBox>
												<input Runat=server type="hidden" id="hid_JobType" name="hid_JobType">
											</td>
										</tr>
									</table>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_JobType" ControlToValidate="lib_JobType" Display="Dynamic"
										ErrorMessage="请选择职位类别！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 工作地区：</td>
								<td><!--工作地区-->
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr valign="top">
											<td width="200"><asp:DropDownList Runat=server ID="ddl_WorkPlace" Width="200"></asp:DropDownList><br>
												<asp:ListBox Runat=server ID="lib_WorkPlaceBox" Width="200" Rows="6"></asp:ListBox>
											</td>
											<td width="70" align="center">
												<input type="button" name="AddWorkPlace" value="添加>>" onclick="AddItemToList('ddl_WorkPlace','lib_WorkPlaceBox','lib_WorkPlace',5, 1, '','hid_WorkPlace');"
													style="WIDTH:55px"><br>
												<img src="../Images/Public/Space5px.gif"><br>
												<input type="button" name="DeleteWorkPlace" value="<<移除" onclick="DeleteListSelectedItem('lib_WorkPlace', 0,'hid_WorkPlace');"
													style="WIDTH:55px"></td>
											<td><asp:ListBox Runat=server ID="lib_WorkPlace" Width="200" Rows="7" SelectionMode="Multiple"></asp:ListBox>
												<input type="hidden" id="hid_WorkPlace" name="hid_WorkPlace" Runat=server>
											</td>
										</tr>
									</table>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_WorkPlace" ControlToValidate="lib_WorkPlace" Display="Dynamic"
										ErrorMessage="请选择工作地区！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 职位描述：</td>
								<td><font color="#777777">请填写职位描述及任职要求等内容，(限3000字 <a href="javascript:" onclick="javascript:alert('您输入了'+ document.getElementById('txt_JobDesc').value.length +'个字');">
											<font color="#777777">计算字数</font></a>) </font>
									<br>
									<asp:TextBox Runat=server ID="txt_JobDesc" TextMode="MultiLine" Width="470" Rows="6" MaxLength="3000"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_JobDesc" ControlToValidate="txt_JobDesc" Display="Dynamic"
										ErrorMessage="<br>请填写职位描述！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 月薪范围：</td>
								<td><asp:DropDownList Runat=server ID="ddl_MonthPay" Width="120">
										<asp:ListItem Value="">请选择</asp:ListItem>
										<asp:ListItem Value="999">1000以下</asp:ListItem>
										<asp:ListItem Value="1999">1000～1999</asp:ListItem>
										<asp:ListItem Value="2999">2000～2999</asp:ListItem>
										<asp:ListItem Value="3999">3000～3999</asp:ListItem>
										<asp:ListItem Value="4999">4000～4999</asp:ListItem>
										<asp:ListItem Value="5999">5000～5999</asp:ListItem>
										<asp:ListItem Value="7999">6000～7999</asp:ListItem>
										<asp:ListItem Value="9999">8000～9999</asp:ListItem>
										<asp:ListItem Value="14999">10000～14999</asp:ListItem>
										<asp:ListItem Value="19999">15000～19999</asp:ListItem>
										<asp:ListItem Value="29999">20000～29999</asp:ListItem>
										<asp:ListItem Value="49999">30000～49999</asp:ListItem>
										<asp:ListItem Value="50000">50000以上</asp:ListItem>
									</asp:DropDownList>
									人民币
									<asp:CheckBox Runat=server ID="chk_Astalk"></asp:CheckBox>在职位页面中显示为面议
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_MonthPay" ControlToValidate="ddl_MonthPay" Display="Dynamic"
										ErrorMessage="<br>请选择月薪范围！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">其他待遇：</td>
								<td><font color="#777777">补助、休假、住房、分红、股票期权等<br>
									</font>
									<asp:TextBox Runat=server ID="txt_OtherPay" Width="270" MaxLength="100"></asp:TextBox>
								</td>
							</tr>
						</table>
						<!--应聘要求-->
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="25" style="PADDING-LEFT: 12px; PADDING-TOP: 3px; BORDER-BOTTOM: #d3d3d3 1px solid"><strong>应聘要求</strong>
								</td>
							</tr>
							<tr>
								<td height="25" style="PADDING-LEFT: 12px; PADDING-TOP: 3px"><font color="#777777">填写应聘要求可以在求职者搜索职位时更好地搜索到贵企业的职位</font></td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#D1E6F7">
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">学历要求：</td>
								<td><asp:DropDownList Runat=server ID="ddl_Degree" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
									</asp:DropDownList></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">工作经验：</td>
								<td><asp:DropDownList Runat=server ID="ddl_WorkYears" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
										<asp:ListItem Value="-2">在校学生</asp:ListItem>
										<asp:ListItem Value="-1">应届毕业生</asp:ListItem>
										<asp:ListItem Value="1">1年以上</asp:ListItem>
										<asp:ListItem Value="2">2年以上</asp:ListItem>
										<asp:ListItem Value="3">3年以上</asp:ListItem>
										<asp:ListItem Value="4">4年以上</asp:ListItem>
										<asp:ListItem Value="5">5年以上</asp:ListItem>
										<asp:ListItem Value="8">8年以上</asp:ListItem>
										<asp:ListItem Value="10">10年以上</asp:ListItem>
									</asp:DropDownList></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">性别要求：</td>
								<td><asp:DropDownList Runat=server ID="ddl_Sex" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
										<asp:ListItem Value="1">男</asp:ListItem>
										<asp:ListItem Value="2">女</asp:ListItem>
									</asp:DropDownList></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">年龄范围：</td>
								<td><asp:DropDownList Runat=server ID="ddl_MinAge" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
									</asp:DropDownList>
									<asp:DropDownList Runat=server ID="ddl_MaxAge" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
									</asp:DropDownList>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">语言能力：</td>
								<td><asp:DropDownList Runat=server ID="ddl_LanguageSign" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
									</asp:DropDownList>
									<asp:DropDownList Runat=server ID="ddl_LanguageLevel" Width="80">
										<asp:ListItem Value="0">不限</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:DropDownList>
									<asp:Label Runat=server ID="lbl_Language" ForeColor="#ff0000"></asp:Label>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">简历语言：</td>
								<td><asp:DropDownList Runat=server ID="ddl_ResumeLang" Width="80">
										<asp:ListItem Value="0">不限</asp:ListItem>
										<asp:ListItem Value="1">中文</asp:ListItem>
										<asp:ListItem Value="2">英文</asp:ListItem>
									</asp:DropDownList>
								</td>
							</tr>
						</table>
						<!--联系方式-->
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="25" style="PADDING-LEFT: 12px; PADDING-TOP: 3px; BORDER-BOTTOM: #d3d3d3 1px solid"><strong>联系方式</strong>
								</td>
							</tr>
							<tr>
								<td height="25" style="PADDING-LEFT:8px; PADDING-TOP:3px"><font color="#777777">为确保求职者能及时联系到贵公司，建议您填写多种联系方式</font></td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#D1E6F7">
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 联 系 人：</td>
								<td><asp:TextBox Runat=server ID="txt_Linkman" Width="200" MaxLength="30"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Linkman" ControlToValidate="txt_Linkman" Display="Dynamic"
										ErrorMessage="<br>请填写联系人！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 联系电话：</td>
								<td><asp:TextBox Runat=server ID="txt_Phone" Width="200" MaxLength="30"></asp:TextBox>
									<asp:CheckBox Runat=server ID="chk_PhoneKeep"></asp:CheckBox>屏蔽电话
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Phone" ControlToValidate="txt_Phone" Display="Dynamic" ErrorMessage="<br>请填写联系电话！"></asp:RequiredFieldValidator>
									<asp:RegularExpressionValidator Runat=server ID="rev_Phone" ControlToValidate="txt_Phone" ValidationExpression="[0-9-  +.() -]{7,20}"
										Display="Dynamic" ErrorMessage="<br>请填写正确的联系电话！"></asp:RegularExpressionValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">传真号码：</td>
								<td><asp:TextBox Runat=server ID="txt_Fax" Width="200" MaxLength="30"></asp:TextBox></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff3300">*</font> 电子邮箱：</td>
								<td><asp:TextBox Runat=server ID="txt_Email" Width="200" MaxLength="100"></asp:TextBox>
									<asp:CheckBox Runat=server ID="chk_EmailKeep"></asp:CheckBox>屏蔽邮箱
									<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="100" style="PADDING-LEFT:20px">邮政编码：</td>
								<td><asp:TextBox Runat=server ID="txt_PostCode" Width="200" MaxLength="6"></asp:TextBox>
									<asp:RegularExpressionValidator Runat=server ID="rev_PostCode" ControlToValidate="txt_PostCode" ValidationExpression="[0-9]{6}"
										Display="Dynamic" ErrorMessage="<br>请填写正确的邮政编码！"></asp:RegularExpressionValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">通讯地址：</td>
								<td><asp:TextBox Runat=server ID="txt_Address" Width="270" MaxLength="100"></asp:TextBox></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">面试地址：</td>
								<td><asp:TextBox Runat=server ID="txt_TestAddress" Width="270" MaxLength="100"></asp:TextBox></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">简历接收：</td>
								<td><asp:CheckBox Runat=server ID="chk_Accept" Checked="True"></asp:CheckBox>将应聘简历同时发送到电子邮箱
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">自动回复：</td>
								<td><asp:CheckBox Runat=server ID="chk_AutoReply" Checked="True"></asp:CheckBox>自动回复邮件给应聘者
									</a>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px"></td>
								<td><asp:CheckBox Runat=server ID="chk_AllUpdate"></asp:CheckBox>更新所有招聘信息的联系方式</td>
							</tr>
						</table>
						<!--保存-->
						<table width="100%" border="0" cellspacing="1" cellpadding="4">
							<tr valign="top" bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">&nbsp;</td>
								<td><asp:Button Runat=server ID="btn_Submit" Text="保存" Width="60" OnClick="btn_Submit_Click"></asp:Button>
									<asp:Label Runat=server ID="lbl_Error" ForeColor="#ff0000"></asp:Label>
								</td>
							</tr>
						</table>
						<!--主体结束-->
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>