<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$head[title]}</title>
<meta content="{$head[keywords]}" name="keywords">
<meta content="{$head[description]}" name="description">
<base href="{$PHPCMS[siteurl]}" />
<script language="JavaScript" src="data/config.js"></script>
<script language="JavaScript" src="images/js/jquery.min.js"></script>
<script language="JavaScript" src="images/js/css.js"></script>
<script language="JavaScript" src="images/js/common.js"></script>
<link href="{SKIN_PATH}member.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.table_info caption,.table_list caption,.table_form caption{font-size:13px;}
.table_info td{padding:0px;}
#mypanel ul li{line-height:28px;height:28px;float:left;margin-right:20px;font-weight:bold;}
#mypanel ul li a{ color:#0d75be; text-decoration:none;display:block;padding:0 5px;}
#mypanel ul li a:link,#mypanel ul li a:visited{text-decoration:none;color:#0d75be;}
#mypanel ul li a:hover{text-decoration:none;color:#ff8400; background:#FFFFFF;padding:0 5px;}
</style>
</head>
<body style="background-color:#fff">
<center>
<div id="head">
  <div id="logo"><a href="{$M[url]}" alt=""><img src="images/logo_member.gif" alt="{$PHPCMS[sitename]}"></a></div><div id="banner"></div>
</div>
<div id="membermenu">
{php $m = load('menu.class.php'); $menuid = $m->menuid('member_0');$menus = menu($menuid);}
{loop $menus $menu}
	{if RELATE_URL==$menu[url]}<span id="menu_now">{$menu[name]}</span>{else}<a href="{$menu[url]}">{$menu[name]}</a>{/if}
{/loop}
</div>

<div id="main">
{template "member","left"}
{if $action=='add'}
<div id="right">
<p id="position"><strong>当前位置：</strong><a href="{$MODULE[yp][url]}">企业黄页</a></p>
<table cellpadding="0" cellspacing="1" class="table_info">
<tr>
<td>
<div id="mypanel">
<ul>
<li><a href="{$M[url]}myjob.php?action=edit"><span>我的简历</span></a></li>
<li><a href="{$M[url]}myjob.php?action=manage&label=0"><span>我的职位库</span></a></li>
<li><a href="{$M[url]}myjob.php?action=manage&label=1"><span>职位申请记录</span></a></li>
<li><a href="javascript:update({$applyid})"><span>刷新简历</span></a></li>
</ul>
</div>
</td>
</tr>
</table>

<form action="{URL}" method="post" name="myform"  enctype="multipart/form-data" >
<table cellpadding="0" cellspacing="1" class="table_form">
	<caption>我的简历</caption>
  <tr>
    <th width="19%" class="td_right"><font color="#FF0000">*</font> <strong>真实姓名：</strong></th>
    <td class="td_left"><input name="info[truename]" type="text" id="truename" size="20" value="{$truename}" require="true" msg="请填写您的真实姓名"/> <input name="info[gender]" type="radio" style="border:0px " value="0" checked/>
        <span >先生</span>
        <input type="radio" name="info[gender]" value="1" style="border:0px " />
        <span >女士</span></td>
  </tr>
  <tr>
    <th><strong>生日：</strong></th>
    <td class="td_left"><input name="byear" type="text" size="4" value="{$byear}">
      <span class="color_2">年</span> 
<select name="bmonth" id="bmonth">
{loop $montharr $month}
 <option value="{$month}" {if $month==$bmonth}selected{/if}>{$month}</option>
{/loop}
</select>
      <span class="color_2">月</span> 
      <select name="bday" id="bday">
{loop $dayarr $day}
 <option value="{$day}" {if $day==$bday}selected{/if}>{$day}</option>
{/loop}
        </select>
      <span class="color_2">日</span> </td>
  </tr>
  <tr>
    <th><strong>身份证号：</strong></th>
    <td class="td_left"><input type="text" name="info[idcard]" size=22 maxlength=18 value="{$idcard}" datatype="idCard" msg="请输入正确的身份证号码"/></td>
  </tr>
  <tr>
    <th><strong>户    籍：</strong></th>
    <td class="td_left">
<select id="SelectSheng" name="info[province]" onChange="City1Select();"></select> <select name="info[city]" id="SelectShi"></select>
    </td>
  </tr>
<tr>
    <th><strong>目前居住地：</strong></th>
    <td class="td_left">
<select id="SelectSheng2" name="info[placeprovince]" onChange="City2Select();"></select> <select name="info[placecity]" id="SelectShi2"></select>
    </td>
  </tr>
    <tr>
    <th><strong>教育水平：</strong></th>
    <td class="td_left"><select name="info[edulevel]" size=1>
      <option value="">请选择　　</option>
      <option value="博士" >博士</option>
      <option value="硕士" >硕士</option>
      <option value="大学" >研究生</option>
      <option value="大学" >本科</option>
      <option value="大学" >大专</option>
      <option value="高中" >高中</option>
      <option value="初中" >初中</option>
      <option value="小学" >小学</option>
    </select>
    </td>
  </tr>
  <tr>
    <th><strong>照片地址：</strong></th>
    <td class="td_left"><input name="info[userface]" type="text" id="userface" size="50" value="" /> <input type="button" value="上传" onClick="javascript:openwinx('{PHPCMS_PATH}yp/upload.php?uploadtext=userface','upload','350','200')"></td>
  </tr>

<tr>
<th><strong>工作性质：</strong></th>
<td width="81%" class="td_left" >
	<select id="character" name="info[worktype]">
	<option value="不限" selected>不限</option>	
	<option value="全职">全职</option>
	<option value="兼职">兼职</option>
	<option value="实习">实习</option>	
	</select>
	</td>
</tr>
<tr> 
<th><strong>工作经历：</strong></th>
<td valign="top" class="td_left">
<textarea name="info[story]" id="story" cols="80" rows="6">{$story}</textarea>
</td>
</tr>

<tr> 
  <th><strong>欲从事岗位：</strong></th>
  <td class="td_left">
  <select name="info[station]">
  {$station}
  </select>
<font color="#FF0000">*</font></td>
</tr>
<tr> 
	<th><strong>工作年限：</strong></th>
	<td class="td_left" >
	<input name="info[experience]" type="text" id="experience" size="20" >
	</td>
</tr>
</tr>

<tr> 
	<th><strong>薪资要求：</strong></th>
	<td class="td_left">
	<input name="info[pay]" type="text" id="pay" size="6" >/月 0 为面议
	</td>
</tr>
<tr>
<th><strong>期待地区：</strong></th>
<td class="td_left">
<input name="info[area]" type="text" id="area" size="36" >
</select>
</td>
</tr>
<tr> 
	<th><strong>上岗时间：</strong></th>
	<td class="td_left">
	<select id="period" name="info[period]">
	<option value="0" selected>随叫随到</option>
	<option value="2">两天内</option>
	<option value="3">三天内</option>
	<option value="7">一周内</option>
	<option value="14">两周内</option>
	<option value="30">一个月</option>
	<option value="60">两个月</option>
	<option value="90">三个月</option>
	</select>
	</td>
</tr>
<tr> 
<th><strong>个人鉴定：</strong></th>
<td valign="top" class="td_left">
<textarea name="info[introduce]" id="introduce" cols="80" rows="15">{$introduce}</textarea>
</td>
</tr>

<tr> 
<th><strong>毕业时间：</strong></th>
<td valign="top" class="td_left">
<input name="info[graduatetime]" type="text" id="graduatetime" size="10" datatype="date" msg="请输入正确的时间">
</td>

</tr>
<tr> 
<th><strong>毕业学校：</strong></th>
<td valign="top" class="td_left">
<input name="info[school]" type="text" id="school" size="30" require="true" datatype="limit" min="1" msg="请输入毕业院校"> <font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<th><strong>所学专业：</td>
<td valign="top" class="td_left">
<input name="info[specialty]" type="text" id="specialty" size="30" require="true" datatype="limit" min="1" msg="请输入所学专业"> <font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<td colspan="2" bgcolor="#E6E6E6"><B>联系方式：</B> 为了迅速的找到更理想的工作，请尽量详细填写每项联系方式。 </td>
</td>
</tr>
<tr> 
<th><strong>联系电话：</strong></th>
<td valign="top" class="td_left">
<input name="info[mobile]" type="text" id="mobile" size="30" value="" require="true" datatype="custom" regexp="^[0-9]{7,11}$" msg="请输入正确的联系电话"> <font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<th><strong>家庭电话：</strong></th>
<td valign="top" class="td_left">
<input name="info[telephone]" type="text" id="telephone" size="30" value="" datatype="custom" regexp="^[0-9]{7,11}$" msg="请输入正确的家庭电话">
</td>
</tr>
<tr> 
<th><strong>E-Mail：</strong></th>
<td valign="top" class="td_left">
<input name="info[email]" type="text" id="email" size="30" value="{$_email}"  require="true" datatype="email" msg="请输入正确的E-Mail地址"><font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<th><strong>QQ：</strong></th>
<td valign="top" class="td_left">
<input name="info[qq]" type="text" id="qq" size="30" value="" datatype="qq" msg="请输入正确的QQ号码">
</td>
</tr>


<tr> 
<th><strong>通讯地址：</strong></th>
<td valign="top" class="td_left">
<input name="info[address]" type="text" id="address" size="50" value="">
</td>
</tr>
<tr> 
<th><strong>邮编：</strong></th>
<td valign="top" class="td_left">
<input name="info[zip]" type="text" id="zip" size="6" datatype="zipCode" msg="请输入正确的邮编">
</td>
</tr>
<tr>
<th><strong>个人主页：</strong></th>
<td valign="top" class="td_left">
<input name="info[homepage]" type="text" id="homepage" size="30" value="" datatype="url" msg="请输入正确的个人主页地址">
</td>
</tr>
 <tr>
    <td width="15%" class="td_right">
	</td>
    <td class="td_left" height="25">
	<input type="submit" name="dosubmit" value=" 确认修改 " />
	</td>
  </tr>
</table>
</form>
</div>
{elseif $action=='edit'}
<div id="right">
<p id="position"><strong>当前位置：</strong><a href="{$MODULE[yp][url]}">企业黄页</a></p>
<table cellpadding="0" cellspacing="1" class="table_info">
<tr>
<td>
<div id="mypanel">
<ul>
<li><a href="{$M[url]}myjob.php?action=edit"><span>我的简历</span></a></li>
<li><a href="{$M[url]}myjob.php?action=manage&label=0"><span>我的职位库</span></a></li>
<li><a href="{$M[url]}myjob.php?action=manage&label=1"><span>职位申请记录</span></a></li>
<li><a href="javascript:update({$applyid})"><span>刷新简历</span></a></li>
<li><a href="{$M[url]}apply.php?applyid={$applyid}" target="_blank"><span>预览简历</span></a></li>
</ul>
</div>
</td>
</tr>
</table>

<form action="{URL}" method="post" name="myform"  enctype="multipart/form-data" >
<table cellpadding="0" cellspacing="1" class="table_form">
	<caption>编辑我的简历</caption>
  <tr>
    <th width="19%" class="td_right"><font color="#FF0000">*</font> <strong>真实姓名：</strong></th>
    <td class="td_left"><input name="info[truename]" type="text" id="truename" size="20" value="{$truename}" require="true" msg="请填写您的真实姓名"/>
<input name="info[gender]" type="radio" style="border:0px " value="0" {if !$gender}checked{/if}/>
        <span >先生</span>
        <input type="radio" name="info[gender]" value="1" style="border:0px " {if $gender}checked{/if}/>
        <span >女士</span></td>
  </tr>
  <tr>
    <th><strong>生日：</strong></th>
    <td class="td_left"><input name="byear" type="text" size="4" value="{$byear}">
      <span class="color_2">年</span> 
<select name="bmonth" id="bmonth">
{loop $montharr $month}
 <option value="{$month}" {if $month==$bmonth}selected{/if}>{$month}</option>
{/loop}
</select>
      <span class="color_2">月</span> 
      <select name="bday" id="bday">
{loop $dayarr $day}
 <option value="{$day}" {if $day==$bday}selected{/if}>{$day}</option>
{/loop}
        </select>
      <span class="color_2">日</span> </td>
  </tr>
  <tr>
    <th><strong>身份证号：</strong></th>
    <td class="td_left"><input type="text" name="info[idcard]" size=22 maxlength=18 value="{$idcard}" datatype="idCard" msg="请输入正确的身份证号码"/></td>
  </tr>
  <tr>
    <th><strong>户    籍：</strong></th>
    <td class="td_left">
	<select id="SelectSheng" name="info[province]" onChange="City1Select();"><option value="{$province}" selected>{$province}</option></select>
	<select name="info[city]" id="SelectShi"><option value="{$city}" selected>{$city}</option></select>
    </td>
  </tr>
<tr>
    <th><strong>目前居住地：</strong></th>
    <td class="td_left">
<select id="SelectSheng2" name="info[placeprovince]" onChange="City2Select();">
<option value="{$placeprovince}" selected>{$placeprovince}</option>
</select>
<select name="info[placecity]" id="SelectShi2"><option value="{$placecity}" selected>{$placecity}</option></select>
    </td>
  </tr>
    <tr>
    <th><strong>教育水平：</strong></th>
    <td class="td_left"><select name="info[edulevel]" size=1>
      <option value="">请选择　　</option>
      <option value="博士" {if $edulevel=='博士'}selected{/if}>博士</option>
      <option value="硕士" {if $edulevel=='硕士'}selected{/if}>硕士</option>
      <option value="大学" {if $edulevel=='研究生'}selected{/if}>研究生</option>
      <option value="大学" {if $edulevel=='本科'}selected{/if}>本科</option>
      <option value="大学" {if $edulevel=='大专'}selected{/if}>大专</option>
      <option value="高中" {if $edulevel=='高中'}selected{/if}>高中</option>
      <option value="初中" {if $edulevel=='初中'}selected{/if}>初中</option>
      <option value="小学" {if $edulevel=='小学'}selected{/if}>小学</option>
    </select>
    </td>
  </tr>
  <tr>
    <th><strong>照片地址：</strong></th>
    <td class="td_left"><input name="info[userface]" type="text" id="userface" size="50" value="{$userface}" /> <input type="button" value="上传" onClick="javascript:openwinx('{PHPCMS_PATH}yp/upload.php?uploadtext=userface','upload','350','200')"></td>
  </tr>

<tr>
<th><strong>工作性质：</strong></th>
<td width="81%" class="td_left" >
	<select id="character" name="info[worktype]">
	<option value="不限" {if $worktype=='不限'}selected{/if}>不限</option>	
	<option value="全职" {if $worktype=='全职'}selected{/if}>全职</option>
	<option value="兼职" {if $worktype=='兼职'}selected{/if}>兼职</option>
	<option value="实习" {if $worktype=='实习'}selected{/if}>实习</option>	
	</select>
	</td>
</tr>
<tr> 
<th><strong>工作经历：</strong></th>
<td valign="top" class="td_left">
<textarea name="info[story]" id="story" cols="80" rows="6">{$story}</textarea>
</td>
</tr>

<tr> 
  <th><strong>欲从事岗位：</strong></th>
  <td class="td_left">
  <select name="info[station]">
  {$station}
  </select>
<font color="#FF0000">*</font></td>
</tr>
<tr> 
	<th><strong>工作年限：</strong></th>
	<td class="td_left" >
	<input name="info[experience]" type="text" id="experience" size="20" value="{$experience}">
	</td>
</tr>
</tr>

<tr> 
	<th><strong>薪资要求：</strong></th>
	<td class="td_left">
	<input name="info[pay]" type="text" id="pay" size="6" value="{$pay}">/月 0 为面议
	</td>
</tr>
<tr>
<th><strong>期待地区：</strong></th>
<td class="td_left">
<input name="info[area]" type="text" id="area" size="36" value="{$area}">
</select>
</td>
</tr>
<tr> 
	<th><strong>上岗时间：</strong></th>
	<td class="td_left">
	<select id="period" name="info[period]">
	<option value="0" {if $period==0}selected{/if}>随叫随到</option>
	<option value="2" {if $period==2}selected{/if}>两天内</option>
	<option value="3" {if $period==3}selected{/if}>三天内</option>
	<option value="7" {if $period==7}selected{/if}>一周内</option>
	<option value="14" {if $period==14}selected{/if}>两周内</option>
	<option value="30" {if $period==30}selected{/if}>一个月</option>
	<option value="60" {if $period==60}selected{/if}>二个月</option>
	<option value="90" {if $period==90}selected{/if}>三个月</option>
	</select>
	</td>
</tr>
<tr> 
<th><strong>个人鉴定：</strong></th>
<td valign="top" class="td_left">
<textarea name="info[introduce]" id="introduce" cols="80" rows="15">{$introduce}</textarea>
</td>
</tr>
<tr>
<th><strong>毕业时间：</strong></th>
<td valign="top" class="td_left">
<input name="info[graduatetime]" type="text" id="graduatetime" size="10" value="{$graduatetime}" datatype="date" msg="请输入正确的时间">
</td>

</tr>
<tr> 
<th><strong>毕业学校：</strong></th>
<td valign="top" class="td_left">
<input name="info[school]" type="text" id="school" size="30" value="{$school}" require="true" datatype="limit" min="1" msg="请输入毕业院校"> <font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<th><strong>所学专业：</td>
<td valign="top" class="td_left">
<input name="info[specialty]" type="text" id="specialty" size="30" value="{$specialty}" require="true" datatype="limit" min="1" msg="请输入所学专业"> <font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<td colspan="2" bgcolor="#E6E6E6"><B>联系方式：</B> 为了迅速的找到更理想的工作，请尽量详细填写每项联系方式。 </td>
</td>
</tr>
<tr>
<th><strong>联系电话：</strong></th>
<td valign="top" class="td_left">
<input name="info[mobile]" type="text" id="mobile" size="30" value="{$mobile}" require="true" datatype="custom" regexp="^[0-9]{7,11}$" msg="请输入正确的联系电话"> <font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<th><strong>家庭电话：</strong></th>
<td valign="top" class="td_left">
<input name="info[telephone]" type="text" id="telephone" size="30" value="{$telephone}" datatype="custom" regexp="^[0-9]{7,11}$" msg="请输入正确的家庭电话">
</td>
</tr>
<tr> 
<th><strong>E-Mail：</strong></th>
<td valign="top" class="td_left">
<input name="info[email]" type="text" id="email" size="30" value="{$email}" require="true" datatype="email" msg="请输入正确的E-Mail地址"><font color="#FF0000">*</font>
</td>
</tr>
<tr> 
<th><strong>QQ：</strong></th>
<td valign="top" class="td_left">
<input name="info[qq]" type="text" id="qq" size="30" value="{$qq}" datatype="qq" msg="请输入正确的QQ号码">
</td>
</tr>


<tr> 
<th><strong>通讯地址：</strong></th>
<td valign="top" class="td_left">
<input name="info[address]" type="text" id="address" size="50" value="{$address}">
</td>
</tr>
<tr> 
<th><strong>邮编：</strong></th>
<td valign="top" class="td_left">
<input name="info[zip]" type="text" id="zip" size="6" value="{$zip}" datatype="zipCode" msg="请输入正确的邮编">
</td>
</tr>
<tr>
<th><strong>个人主页：</strong></th>
<td valign="top" class="td_left">
<input name="info[homepage]" type="text" id="homepage" size="30" value="{$homepage}" datatype="url" msg="请输入正确的个人主页地址">
</td>
</tr>
 <tr>
    <td width="15%" class="td_right">
	</td>
    <td class="td_left" height="25">
	<input type="hidden" name="applyid" value="{$applyid}" />
	<input type="hidden" name="action" value="edit" />
	<input type="submit" name="dosubmit" value=" 确认修改 " />
	</td>
  </tr>
</table>
</form>
</div>
{else}
<div id="right">
	<p id="position"><strong>当前位置：</strong><a href="{$MODULE[yp][url]}">企业黄页</a></p>
	<div class="clear"></div>
	<table cellpadding="0" cellspacing="1" class="table_info">
	<tr>
	<td>
	<div id="mypanel">
	<ul>
	<li><a href="{$M[url]}myjob.php?action=edit"><span>我的简历</span></a></li>
	<li><a href="{$M[url]}myjob.php?action=manage&label=0"><span>我的职位库</span></a></li>
	<li><a href="{$M[url]}myjob.php?action=manage&label=1"><span>职位申请记录</span></a></li>
	<li><a href="javascript:update({$applyid})"><span>刷新简历</span></a></li>
	<li><a href="{$M[url]}apply.php?applyid={$applyid}" target="_blank"><span>预览简历</span></a></li>
	</ul>
	</div>
	</td>
	</tr>
	</table>
	{if $label}
	<table cellpadding="0" cellspacing="1" class="table_list">
	  <caption>职位申请记录</caption>
	  <tr>
		<th width="50">ID</th>
		<th><strong>职位名称</strong></th>
		<th>公司名称</strong></th>
		<th width="110">申请时间</strong></th>
		<th width="110">状态</strong></th>
	  </tr>
	{loop $stocks['result'] $result}
	<tr>
		<td>{$result['stockid']}</td>
		<td><a href="yp/job.php?action=show&jobid={$result['jobid']}">{$result['title']}</a></td>
		<td><a href="{company_url($result['userid'])}">{$result['companyname']}</a></td>
		<td>{date("Y.m.d",$result['addtime'])}</td>
		<td style="color:red;">{if $result['status'] == 2}已邀请面试{elseif $result['status'] == 1}已查看{else}未查看{/if}</td>
	</tr>
	{/loop}
	</table>
	<div id="pages">{$pages}</div>
	<table cellpadding="0" cellspacing="1" class="table_info">
	  <caption>
	  提示信息
	  </caption>
	  <tr>
		<td> 为了让您的提问被更多人关注，以获得最佳的回答，您可以追加悬赏
		<br/>
		</td>
	  </tr>
	</table>
  </div>
  {else}
  <form action="yp/myjob.php?action=manage&label=0" method="post">
  <table cellpadding="0" cellspacing="1" class="table_list">
	  <caption>我的职位库</caption>
	  <tr>
		<th width="50"><input type="checkbox" onClick="checkall(this)" /></th>
		<th width="50">ID</th>
		<th><strong>职位名称</strong></th>			
		<th>公司名称</strong></th>
		<th width="110">收藏时间</strong></th>
	  </tr>
	{loop $stocks['result'] $result}
	<tr>
		<td><input type="checkbox" name="stockid[]" value="{$result['stockid']}"/></td>
		<td>{$result['stockid']}</td>
		<td><a href="{show_url('job',$result[id])}">{$result['title']}</a></td>
		<td><a href="{company_url($result['userid'])}">{$result['companyname']}</a></td>
		<td>{date("Y.m.d",$result['addtime'])}</td>
	</tr>
	{/loop}
	<tr>
		<td colspan="5" class="align_left">
			<input type="submit" name="dosubmit" value=" 删 除 " />
		</td>
	</tr>
	</table>
	</form>
	<div id="pages">{$pages}</div>
	<table cellpadding="0" cellspacing="1" class="table_info">
	  <caption>
	  提示信息
	  </caption>
	  <tr>
		<td> 为了让您的提问被更多人关注，以获得最佳的回答，您可以追加悬赏
<br/>
		</td>
	  </tr>
	</table>
  </div>
  {/if}
{/if}
	</div>
	<div class="clear"></div>
</center>
{template 'phpcms','footer'}
<SCRIPT LANGUAGE="JavaScript">
<!--
$().ready(function() {
  $('form').checkForm(1);
});
var pList = new Object();
    pList['北京'] = ['北京'];
    pList['上海'] = ['上海'];
    pList['天津'] = ['天津'];
    pList['重庆'] = ['重庆'];
    pList['香港'] = ['香港'];
    pList['澳门'] = ['澳门'];
    pList['山东'] = ['济南', '青岛', '淄博', '枣庄', '东营', '烟台', '潍坊', '济宁', '泰安', '威海', '日照', '莱芜', '临沂', '德州', '聊城', '滨州', '菏泽'];
    pList['河北'] = ['石家庄', '邯郸', '邢台', '保定', '张家口', '承德', '廊坊', '唐山', '秦皇岛', '沧州', '衡水'];
    pList['山西'] = ['太原', '大同', '阳泉', '长治', '晋城', '朔州', '吕梁', '忻州', '晋中', '临汾', '运城'];
    pList['黑龙江'] = ['哈尔滨', '齐齐哈尔', '牡丹江', '佳木斯', '大庆', '绥化', '鹤岗', '鸡西', '黑河', '双鸭山', '伊春', '七台河', '大兴安岭'];
    pList['吉林'] = ['长春', '吉林', '四平', '辽源', '通化', '白山', '松原', '白城', '延边'];
    pList['辽宁'] = ['沈阳', '大连', '鞍山', '抚顺', '本溪', '丹东', '锦州', '营口', '阜新', '辽阳', '盘锦', '铁岭', '朝阳', '葫芦岛'];
    pList['内蒙古'] = ['呼和浩特', '包头', '乌海', '赤峰', '呼伦贝尔盟', '阿拉善盟', '哲里木盟', '兴安盟', '乌兰察布盟', '锡林郭勒盟', '巴彦淖尔盟', '伊克昭盟'];
    pList['江苏'] = ['南京', '镇江', '苏州', '南通', '扬州', '盐城', '徐州', '连云港', '常州', '无锡', '宿迁', '泰州', '淮安'];
    pList['浙江'] = ['杭州', '宁波', '温州', '嘉兴', '湖州', '绍兴', '金华', '衢州', '舟山', '台州', '丽水'];
    pList['安徽'] = ['合肥', '芜湖', '蚌埠', '马鞍山', '淮北', '铜陵', '安庆', '黄山', '滁州', '宿州', '池州', '淮南', '巢湖', '阜阳', '六安', '宣城', '亳州'];
    pList['福建'] = ['福州', '厦门', '莆田', '三明', '泉州', '漳州', '南平', '龙岩', '宁德'];
    pList['江西'] = ['南昌', '景德镇', '九江', '鹰潭', '萍乡', '新馀', '赣州', '吉安', '宜春', '抚州', '上饶'];
    pList['河南'] = ['郑州', '开封', '洛阳', '平顶山', '安阳', '鹤壁', '新乡', '焦作', '濮阳', '许昌', '漯河', '三门峡', '南阳', '商丘', '信阳', '周口', '驻马店', '济源'];
    pList['湖北'] = ['武汉', '宜昌', '荆州', '襄樊', '黄石', '荆门', '黄冈', '十堰', '恩施', '潜江', '天门', '仙桃', '随州', '咸宁', '孝感', '鄂州'];
    pList['湖南'] = ['长沙', '常德', '株洲', '湘潭', '衡阳', '岳阳', '邵阳', '益阳', '娄底', '怀化', '郴州', '永州', '湘西', '张家界'];
    pList['广东'] = ['广州', '深圳', '珠海', '汕头', '东莞', '中山', '佛山', '韶关', '江门', '湛江', '茂名', '肇庆', '惠州', '梅州', '汕尾', '河源', '阳江', '清远', '潮州', '揭阳', '云浮'];
    pList['广西'] = ['南宁', '柳州', '桂林', '梧州', '北海', '防城港', '钦州', '贵港', '玉林', '南宁', '柳州', '贺州', '百色', '河池'];
    pList['海南'] = ['海口', '三亚'];
    pList['四川'] = [ '成都', '绵阳', '德阳', '自贡', '攀枝花', '广元', '内江', '乐山', '南充', '宜宾', '广安', '达川', '雅安', '眉山', '甘孜', '凉山', '泸州'];
    pList['贵州'] = ['贵阳', '六盘水', '遵义', '安顺', '铜仁', '黔西南', '毕节', '黔东南', '黔南'];
    pList['云南'] = ['昆明', '大理', '曲靖', '玉溪', '昭通', '楚雄', '红河', '文山', '思茅', '西双版纳', '保山', '德宏', '丽江', '怒江', '迪庆', '临沧'];
    pList['西藏'] = ['拉萨', '日喀则', '山南', '林芝', '昌都', '阿里', '那曲'];
    pList['陕西'] = ['西安', '宝鸡', '咸阳', '铜川', '渭南', '延安', '榆林', '汉中', '安康', '商洛'];
    pList['甘肃'] = ['兰州', '嘉峪关', '金昌', '白银', '天水', '酒泉', '张掖', '武威', '定西', '陇南', '平凉', '庆阳', '临夏', '甘南'];
    pList['宁夏'] = ['银川', '石嘴山', '吴忠', '固原'];
    pList['青海'] = ['西宁', '海东', '海南', '海北', '黄南', '玉树', '果洛', '海西'];
    pList['新疆'] = ['乌鲁木齐', '石河子', '克拉玛依', '伊犁', '巴音郭勒', '昌吉', '克孜勒苏柯尔克孜', '博尔塔拉', '吐鲁番', '哈密', '喀什', '和田', '阿克苏'];
    pList['台湾'] = ['台北', '高雄', '台中', '台南', '屏东', '南投', '云林', '新竹', '彰化', '苗栗', '嘉义', '花莲', '桃园', '宜兰', '基隆', '台东', '金门', '马祖', '澎湖'];


    function City1Select(){
       var SelectSheng = document.all['SelectSheng'];
       var SelectShi = document.all['SelectShi'];
       var pValue = SelectSheng.options[SelectSheng.selectedIndex].value;
       for (var x=SelectShi.options.length-1; x>=0; x--) SelectShi.options[x] = null; 
       for (var i in pList) {
            if (i == pValue) {
                for (var j in pList[i]) {
                     SelectShi.options.add(new Option(pList[i][j], pList[i][j]));
                }
            }
       }
    }

    function City2Select(){
       var SelectSheng2 = document.all['SelectSheng2'];
       var SelectShi2 = document.all['SelectShi2'];
       var pValue = SelectSheng2.options[SelectSheng2.selectedIndex].value;
       for (var x=SelectShi2.options.length-1; x>=0; x--) SelectShi2.options[x] = null; 
       for (var i in pList) {
            if (i == pValue) {
                for (var j in pList[i]) {
                     SelectShi2.options.add(new Option(pList[i][j], pList[i][j]));
                }
            }
       }
    }
	
    window.onload = function() {
       var oBool = false;
       var SelectSheng = document.all['SelectSheng'];
       var SelectShi = document.all['SelectShi'];
	   
       var SelectSheng2 = document.all['SelectSheng2'];
       var SelectShi2 = document.all['SelectShi2'];
	   
       for (var i in pList) {
            SelectSheng.options.add(new Option(i, i));
			SelectSheng2.options.add(new Option(i, i));
			
            if (!oBool) {
                for (var j in pList[i]) {
                     SelectShi.options.add(new Option(pList[i][j], pList[i][j]));
                
                     SelectShi2.options.add(new Option(pList[i][j], pList[i][j]));
                }
                oBool = true;
            }
        }
        SelectSheng.selectedIndex = 0;
        SelectShi.selectedIndex = 0;
		
        SelectSheng2.selectedIndex = 0;
        SelectShi2.selectedIndex = 0;
    }
	
	var update = function(id)
	{
		$.get('yp/myjob.php',{action:'update',applyid:id,ran:Math.random()},function(data){if(data == "1")alert('简历刷新成功');else if (data == "-1") alert("请先建立您的简历");else alert('非法操作');});
	}
	
	var checkall = function(obj)
	{
		$("input[name='stockid[]']").attr('checked',obj.checked);
	}
//-->
</SCRIPT>
<script type="text/javascript" src="images/js/form.js"></script>
<script type="text/javascript" src="images/js/validator.js"></script>