<!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" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{#$title#}</title>
	<meta name="author" content="骑士CMS" />
	<meta name="copyright" content="74cms.com" />
	<link rel="shortcut icon" href="{#$QISHI.site_dir#}favicon.ico" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_common.css" />
	<link rel="stylesheet" href="{#$QISHI.site_template#}css/user_company.css" />
	<script src="{#$QISHI.site_template#}js/png24fix.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.js"></script>
	<script src="{#$QISHI.site_dir#}data/cache_classify.js" type="text/javascript" charset="utf-8"></script>
	<script src="{#$QISHI.site_template#}js/jquery.user.singleselectlayer.js" type="text/javascript" charset="utf-8"></script>
	<script src="{#$QISHI.site_template#}js/tc.all.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.dropdown.js"></script>
	<script src="{#$QISHI.site_template#}js/Validform.min.js"></script>
	<script type="text/javascript" src="{#$QISHI.site_template#}js/jquery.radioui.js"></script>
	<script src="{#$QISHI.site_template#}js/jquery.radiorelated.js"></script>
	<script>
		$(document).ready(function() {
			$(":radio").RadioUI();
			sexSelection("#sex_check_box", "#sex");
			//上传
			$('input[id=lefile]').change(function() {
			   $('#uploadListVal').val($(this).val());
			});
			// 验证
			$("#Form1").Validform({
				tiptype:2,
				datatype:
				{
				
				}
			});
			// 填充行业弹出层数据
			trade_filldata("#trad_list", QS_trade, "#determine", "#deselect", "#aui_outer", "#trade_result_show", "#trade", "#trade_cn");
			// 行业弹出框
			$("#trad_window").click(function() {
				popWin("aui_outer");
			}); 
			dropdownform("#mobile_meue", "#mobile_name", "#mobile", "#mobile_cn"); // 手机
			dropdownform("#email_meue", "#email_name", "#email", "#email_cn"); // 邮箱
			// 添加年份
			var myDate = new Date();
			var y = myDate.getFullYear();
			var ymin = y-10;
			var yearhtm = "";
			for (i=y;i>=ymin;i--) {
				yearhtm += '<li><a id="'+i+'" dataid="'+i+'" title="'+i+'年" href="javascript:;">'+i+'年</a></li>';
			}
			$("#list_time_y").html(yearhtm);
			dropdownform("#list_time_meue", "#list_time_name", "#list_time", "#list_time_cn"); // 年份

			$("#lefile").change(function() {
				var value=$(this).val();
				$('#uploadListVal').val(value);
			});
			// 下载
			$("#down").click(function() {
				window.open("{#$QISHI.site_domain#}{#$QISHI.site_dir#}data/list/{#$list.file#}");
			});
		});
	</script>
</head>
<body>
	<!-- 顶部 -->
	{#include file="member_hunter/header.htm"#}
	<!-- 二级菜单 -->
	<div class="secondary_menu clearfix">
		<ul>
			<li><a href="?act=search_engine_junior" class="sec_menu_li {#if $act=='search_engine_junior'#}hashover{#/if#}">初级人才搜索</a></li>
			<li><a href="?act=search_engine_senior" class="sec_menu_li {#if $act=='search_engine_senior'#}hashover{#/if#}">高级人才搜索</a></li>
			<li><a href="?act=search_list" class="sec_menu_li hashover">List通讯录</a></li>
		</ul>
	</div>
	<!-- 二级菜单结束 -->
	<!-- 修改通讯录 -->
	<div class="container">
		<div class="com_addjobs_box" style="margin-top:15px;">
			<div class="addjobs_title_box clearfix">
				<h2>修改List通讯录</h2>
				<div class="link_blue"><a href="?act=manage_self_list">管理我的List通讯录</a></div>
			</div>
	<form id="Form1" name="Form1" method="post" action="?act=save_update_list" enctype="multipart/form-data">
			<div class="addjobs_junior_bbox">
				<div class="junior_box">
					<!-- 莫名其妙的IE BUG 必须有一行注释才不错位 -->
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 通讯录标题：</td>
								<td width="365" colspan="3">
									<input value="{#$list.title#}" name="title" id="" class="text input-medium span360" datatype="*" sucmsg="&nbsp;" nullmsg="请输入通讯录标题" errormsg="请输入通讯录标题">
								</td>
								<td class="link_blue"></td>
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 所属行业：</td>
								<td width="365" colspan="3">
								<span data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 302px;" id="trade_result_show">
									<span class="items" style="left: 6px; height: 20px;">{#$list.trade_cn|default:"请选择所属行业"#}</span>
									<em class="drop" style="height: 30px; margin-top: -1px;" id="trad_window"></em>
								</span>
								<input name="trade" id="trade" type="hidden" value="{#$list.trade#}" />
								<input name="trade_cn" id="trade_cn" type="hidden" value="{#$list.trade_cn#}" datatype="*" sucmsg="&nbsp;" nullmsg="请选择所属行业" errormsg="请选择所属行业"/>
								<td class="link_blue"></td>
							</tr>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 下载定价：</td>
								<td width="" colspan="1"><input value="{#$list.price#}" name="price" id="" class="text input-medium span130">&nbsp;元&nbsp;&nbsp;<span class="list_comment_span">平台收取{#$QISHI.charge_ratio#}%的服务费</span></td>
							</tr>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right">头衔title：</td>
								<td colspan="2" id="sex_check_box">
									<label><input type="radio" data="1"  class="radio" style="display: none;" autocomplete="off" {#if $list.rank_title==1#}checked{#/if#}>有</label>
									<label><input type="radio" data="2"  class="radio" style="display: none;" autocomplete="off" {#if $list.rank_title==2#}checked{#/if#}>无</label>
									<input type="hidden" value="{#if $list.rank_title==1#}1{#else#}2{#/if#}" name="rank_title" id="sex" />
								</td>	
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 手机：</td>
								<td width="135">
									<span class="optionlist w_131">
										<span id="mobile_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 117px;" id="city_result_show">
											<span class="items" style="left: 6px; height: 20px;"></span>
											<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="mobile_meue"></em>
										</span>
										<ul class="droplist">
											<li><a id="1" dataid="1" title="全部有" href="javascript:;">全部有</a></li>
											<li><a id="2" dataid="2" title="多数有" href="javascript:;">多数有</a></li>
											<li><a id="3" dataid="3" title="少数有" href="javascript:;">少数有</a></li>
											<li><a id="4" dataid="4" title="全部无" href="javascript:;">全部无</a></li>
										</ul>
									</span>
									<input type="hidden" value="{#$list.mobile#}" name="mobile" id="mobile" />
									<input type="hidden" value="{#$list.mobile_cn#}" name="mobile_cn" id="mobile_cn" datatype="*" sucmsg="&nbsp;" nullmsg="请选择手机分类" errormsg="请选择手机分类"/>
								</td>
								<td class="link_blue"></td>
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 邮箱：</td>
								<td width="135">
									<span class="optionlist w_131">
										<span id="email_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 117px;" id="city_result_show">
											<span class="items" style="left: 6px; height: 20px;"></span>
											<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="email_meue"></em>
										</span>
										<ul class="droplist">
											<li><a id="1" dataid="1" title="全部有" href="javascript:;">全部有</a></li>
											<li><a id="2" dataid="2" title="多数有" href="javascript:;">多数有</a></li>
											<li><a id="3" dataid="3" title="少数有" href="javascript:;">少数有</a></li>
											<li><a id="4" dataid="4" title="全部无" href="javascript:;">全部无</a></li>
										</ul>
									</span>
									<input type="hidden" value="{#$list.email#}" name="email" id="email" />
									<input type="hidden" value="{#$list.email_cn#}" name="email_cn" id="email_cn" datatype="*" sucmsg="&nbsp;" nullmsg="请选择邮箱分类" errormsg="请选择邮箱分类"/>
								</td>
								<td class="link_blue"></td>
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 年份：</td>
								<td width="135">
									<span class="optionlist w_131">
										<span id="list_time_name" data-name="industries" class="LocalDataUIC simulation-text LocalDataUIC-simulation-text" style="font-size: 12px; height: 20px; width: 117px;" id="city_result_show">
											<span class="items" style="left: 6px; height: 20px;"></span>
											<em class="selectui-drop" style="height: 30px; margin-top: -1px;" id="list_time_meue"></em>
										</span>
										<ul class="droplist" id="list_time_y" style="height:200px;overflow-x:hidden; overflow-y:scroll;"></ul>
									</span>
									<input type="hidden" value="{#$list.list_time#}" name="list_time" id="list_time" />
									<input type="hidden" value="{#$list.list_time_cn#}" name="list_time_cn" id="list_time_cn" datatype="*" sucmsg="&nbsp;" nullmsg="请选择年份" errormsg="请选择年份"/>
								</td>
								<td class="link_blue"></td>
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 人数：</td>
								<td width="365" colspan="3">
									<input value="{#$list.number#}" name="number" id="" class="text input-medium span360" datatype="*" sucmsg="&nbsp;" nullmsg="请输入人数" errormsg="请输入人数">
								</td>
								<td class="link_blue"></td>
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="45">
								<td class="addjobs_step_table_left" width="115" align="right"><span class="must">*</span> 当前文件：</td>
								<td width="365" colspan="3">
									<input value="{#$list.file#}" id="uploadListVal" class="text input-medium span360" datatype="*" sucmsg="&nbsp;" nullmsg="请选择文件" errormsg="请选择文件">
								</td>
								<td>
									<input type="button" value="更新" class="list_change_btn" onclick="$('input[id=lefile]').click();" />
									<input type="button" value="下载" class="list_change_btn" id="down" />
									<input type="file" name="file" id="lefile" style="display:none;" />
								</td>
								<td class="link_blue"></td>
							</tr>
							<tr height="18">
								<td class="addjobs_step_table_left" width="115" align="right">&nbsp;</td>
								<td width="365" colspan="3">
									<span class="list_comment_span">doc/xls/zip格式  {#$QISHI.upload_list_file_size_max#}KB以内</span>
								</td>
							</tr>
						</tbody>
					</table>
					<table cellspacing="0" class="addjobs_step_table">
						<tbody>
							<tr height="215">
								<td class="addjobs_step_table_left" width="115" align="right" valign="top">
									<div class="m_15" style="position:relative;top:10px;"><span class="must">*</span> List描述：</div>
								</td>
								<td colspan="4">
									<div class="textarea_box link_blue">
										<textarea name="contents" datatype="*" tip="" altercss="gray" value="请输入List描述" errormsg="请填写有效内容">{#$list.contents#}</textarea>
									</div>
								</td>
							</tr>
							<tr height="20" style="display:;">
								<td class="addjobs_step_table_left" width="115" align="right" valign="top">&nbsp;</td>
								<td colspan="4"><span class="form_error_span"></span></td>
							</tr>
							<tr height="40">
								<td class="addjobs_step_table_left" width="115" align="right">&nbsp;</td>
								<td valign="bottom" colspan="3"> 
									<input type="hidden" name="id" value="{#$list.id#}" />
									<input type="submit" value="更新List" class="but110lan" />&nbsp;
									<input type="button" value="返回List" class="but110hui" onclick="window.location.href='?act=manage_self_list&type=1'"/>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</form>
		</div>
	</div>
	<!-- 修改通讯录结束 -->
	<!-- 底部 -->
	{#include file="./footer.htm"#}
		<!-- 所属行业弹出框 -->
	<div class="aui_outer" style="display:none;" id="aui_outer">
		<table class="aui_border">
			<tbody>
				<tr><td class="aui_nw"></td><td class="aui_n"></td><td class="aui_ne"></td></tr>
				<tr>
					<td class="aui_w"></td>
					<td class="aui_c">
						<div class="aui_inner">
							<table class="aui_dialog">
								<tbody>
									<tr><td class="aui_header" colspan="2"><div class="aui_titleBar"><div class="aui_title" style="cursor: move;">选择行业分类</div><a href="javascript:;" class="aui_close">×</a></div></td></tr>
									<tr>
										<td class="aui_main" style="width: auto; height: auto; visibility: visible;">
											<div class="aui_content" style="padding: 20px 25px;">
												<div class="items jquery-localdata">
													<p class="tips">最多可以选择 1 项</p>
													<div style="height:410px" class="item-table">
														<table style="width:700px;" class="options-table">
															<tbody class="item-list"><tr class=""><td><table><tbody id="trad_list">
																<!-- 列表内容 -->
															</tbody></table></td></tr>
															</tbody>
														</table>
													</div>
												</div>
											</div>
										</td>
									</tr>
									<tr><td class="aui_footer" colspan="2"><div class="aui_buttons" style=""><button class="aui-btn aui-btn-primary" id="determine" type="button">确定</button><button class="aui-btn aui-btn-light" id="deselect" type="button">取消</button></div></td></tr>
								</tbody>
							</table>
						</div>
					</td>
					<td class="aui_e"></td>
				</tr>
				<tr><td class="aui_sw"></td><td class="aui_s"></td><td class="aui_se" style="cursor: se-resize;"></td></tr>
			</tbody>
		</table>
	</div>
	<!-- 所属行业弹出框 End-->
</body>
</html>