|
|

<?php
//////////////////////////////////////////////////////////////////////////////////////////////////////////
//File: modify_personinfo.php
//Author: TZNKTG
//Purpose: This page is modify information of personal
///////////////////////////////////////////////////////////////////////////////////////////////////////////
require("admin_auth.php");
require("../include/dbfun.php");
require("../include/commonvar.php");
require("../include/seek_array.php");
require("../include/seek_array2.php");
require("../include/seek_array3.php");
require("../include/seek_arrayso.php");
session_start();
$adminname = $_SESSION['adminname'];
$userid = $_GET['userid'];
$modify_userinfo_sql="select * from ".$userinfo_table." where id=".$userid;
$db->execute($modify_userinfo_sql);
?>
<html>
<head><title>【<?php echo $title ?>】后台管理-人才信息管理</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<link href="../huntercss/15hr.css" type="text/css" rel="stylesheet">
<script language="javascript" src="../css_js/Options.js"></script>
<script language="javascript" src="../css_js/per_jslib.js"></script>
<script language="javascript" src="../css_js/jobAndCityCatalog.js"></script>
<script language="javascript" src="../css_js/common.js"></script>
<script language="javascript" src="../css_js/script.js"></script>
<script language="javascript" src="../css_js/per_editwork.js"></script>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<table width="755" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="186" valign="top" background="../images/hunter_left_bg.gif">
<?php require("admin_left.php"); ?>
</td>
<td rowspan="2">
<table cellspacing="0" cellpadding="0" width="200" align="center" border="0">
<tbody>
<tr><td><img height="27" src="../images/hunter_admin_personinfo.gif" width="555"></td></tr>
<tr><td><img height="26" src="../images/hunter_middle_line.gif" width="555"></td></tr>
<tr><td bordercolor="#FFFFFF" background="../images/hunter_right_bg.gif" bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tbody>
<?php
while($userinfo=$db->reader())
{
##############################################################################
$userid = $userinfo['id'];//用户编号
$_SESSION['userid'] = $userid;
$username= $userinfo['username']; //用户名称
$_SESSION['username'] = $username;
$userpwd = $userinfo['userpwd']; //用户密码
$reuserpwd = $userpwd; //用户确认密码
$truename = $userinfo['truename']; //真实姓名
$idcard = $userinfo['idcard']; //身份证号
if($userinfo['sex']=="1") //性别
{
$sex1=" checked";
$sex2=" ";
}
else
{
$sex1=" ";
$sex2=" checked";
}
$birthdate = explode("-",$userinfo['birthdate']);//出生年月
$year = $birthdate[0];//年数
$level1 = $userinfo['fllevel1'];
$level2 = $userinfo['fllevel2'];
$level3 = $userinfo['fllevel3'];
$edubrup = $userinfo['edubrup'];//教育与培训背景
$wkedyears = $userinfo['wkedyears'];//工作经历业绩--年数
$wkedmonths = $userinfo['wkedmonths'];//工作经历业绩--月份
$wkedcompnum = $userinfo['wkedcompnum'];//工作经历业绩--工作公司家数
$wkedexperience = $userinfo['wkedexperience'];//工作经历业绩
$remark = $userinfo['remark'];//自评报告
$nowwkaddress = $userinfo['nowwkaddress'];//现在工作地址
$appwkpos = $userinfo['appwkpos'];//求职意向
$subpostsort=$userinfo["subpostsort"];
$subpostsortcn = $jobFunction{$userinfo["subpostsort"]};
$_session["subpostsort"] = $userinfo["subpostsort"];
$_session["subwkaddress"] = $userinfo["subwkaddress"];
if($userinfo['reqhousing']=="1")//住房要求
{
$rehousing1=" checked";
$rehousing2=" ";
}
else
{
$rehousing1=" ";
$rehousing2=" checked";
}
$dealother = $userinfo['dealother'];//待遇及其它要求
$relphone = $userinfo['relphone'];//联系电话
$mobphone = $userinfo['mobphone'];//手机
$lookmachine = $userinfo['lookmachine'];//寻呼机
$email = $userinfo['email'];//电子邮件
$homepage = $userinfo['homepage'];//个人主页
$comaddress = $userinfo['comaddress'];//通信地址
$postcode = $userinfo['postcode'];//邮政编码
##############################################################################
?>
<tr><td valign="top" align="center">
<form name="frm" action="modifyperson_result.php" method="post">
<input type="hidden" name="job_id" value="<?php echo $subpostsort ?>">
<input type="hidden" name="other_flag" value=""> <table cellspacing="0" cellpadding="5" width="95%" border="0">
<tbody>
<tr><td>欢迎<b><font color="#FF0000" size="2">【<?php echo $adminname ?>】</font></b>管理员进入人才信息管理中心。您可以通过对精英人才的全部信息进行相应的查看和修改。若发现错误、不足和不适当信息,我们将第一时间以电话或者电子邮件的方式通知相应的精英人才用户,将其加以修正,以便精英人才的信息达到更加的完善。</td></tr>
<tr><td align="center">
<table cellspacing="1" cellpadding="2" width="100%" border="0">
<tbody>
<tr><td bgcolor="white" colspan="2"><font color="#669900">注意:带“<font color="#0000ff">*</font>”项可以不填</font></td></tr>
<tr><td bgcolor="#d1d3d4" colspan="2" height="25">一、基本信息</td></tr>
<tr><td width="91" height="25">用户类别:</td><td width="450" height="25">
<select class="fieldhz" style="width: 184px" name="usersort">
<?php usersortfun(); ?>
</select>
<font color="#666600"> (请选择您所属的人才分类) </font>
</td></tr>
<tr bgcolor="#f6f6f6">
<td width="91" bgcolor="#f6f6f6" height="25">密 码:</td><td width="450" height="25"><input class="fieldhz" id="password" style="width: 184px; height: 21px" type="password" maxlength="14" name="password" value="<?php echo $userpwd ?>"> <font color="#666600">(至少六位)</font></td>
</tr>
<tr>
<td width="91" height="25">密码确认:</td><td width="450" height="25"><input class="fieldhz" id="confirmpassword" style="width: 184px; height: 21px" type="password" maxlength="14" name="repassword" value="<?php echo $reuserpwd ?>"></td>
</tr>
<tr>
<td width="91" bgcolor="#f6f6f6">真实姓名<span style="font-size: 12px; font-family: verdana">:</span></td> <td width="450" bgcolor="#f6f6f6"><input class="fieldhz" id="name" style="width: 184px; height: 21px" maxlength="10" value="<?php echo $truename ?>" name="name"><font color="#666600"> (填写真实姓名)</font></td>
</tr>
<tr><td width="91">身份证号<span style="font-size: 12px; font-family: verdana">:</span></td><td width="450"><input class="fieldnumber" id="id" style="width: 184px; height: 21px" maxlength="18" value="<?php echo $idcard ?>" name="idcode"> <font color="666600">(填写真实身份证号)</font></td></tr>
<tr>
<td width="91"bgcolor="#f6f6f6">性 别<spanstyle="font-size:12px;font-family:verdana">:</span></td>
<td width=450 bgcolor="#f6f6f6"><input id="sex" style="font-size: 12px; color: rgb(224,226,222); font-family: 宋体" type="radio" name="sex" value="1"<?php echo $sex1 ?>>男 <input id="sex" style="font-size:12px;color:rgb(224,226,222); font-family: 宋体" type="radio" name="sex" value="2"<?php echo $sex2 ?>> 女</td>
</tr>
<tr>
<td width=91>出生年月<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width=450><input class="fieldnumber" id="birthday_y" maxlength="4" size="3" value="<?php echo $year ?>" name="year" > 年
<select class="fieldnumber" id="birthday_m" size="1" name="month" maxlength="2">
<?php monthfun(); ?>
</select> 月
<select class="fieldnumber" id="birthday_d" size="1" name="day" maxlength="2">
<?php dayfun(); ?>
</select> 日
<font color="#666600">(年龄为≥25岁,与身份证上年龄一致) </font><font color="#006699"> </font></td></tr>
<tr>
<td width="91" bgcolor="#f6f6f6">外语水平<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450" bgcolor=#f6f6f6><font color=#669900><font color=#0000ff>*</font></font></td>
</tr>
<tr>
<td width="91"> </td>
<td width="450"><font color="#3333ff"><select class="fieldhz" id="language_type" size="1" name="language1">
<?php languagefun(); ?>
</select>
</font> 水平 <input class="fieldhz" id="language_extent" maxlength="6" size="9" value="<?php echo $level1 ?>" name="level1"> (第一外语)<br>
<select class="fieldhz" id="language_type1" size="1" name="language2">
<?php languagettfun(); ?>
</select>
水平 <input class="fieldhz" id="language_extent1" maxlength="6" size="9" name="level2" value="<?php echo $level2 ?>"> (第二外语)<br>
<select class="fieldh" id="language_type2" size="1" name="language3">
<?php languagettfun(); ?>
</select>
水平 <input class="fieldhz" id="language_extent2" maxlength="6" size="9" name="level3" value="<?php echo$level3 ?>"> (第三外语)</td>
</tr>
<tr>
<td width="91" bgcolor=#f6f6f6>最高学历<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450" bgcolor="#f6f6f6">
<font color="#3333ff">
<select class="fieldhz" id="education" style="width: 184px; height: 21px" size="1" name="education"> <?php highedutionfun(); ?>
</select>
</font>
</td>
</tr>
<tr>
<td width="91">计算机水平<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450"><font color="#3333ff">
<select class="fieldhz" id="computerlevel" size="1" name="computerlevel">
<?php computerlevelfun(); ?>
</select>
</font><font color="#669900"><font color="#0000ff"> *</font></font></td>
</tr>
<tr>
<td bgcolor=#f6f6f6 colspan=2>教育与培训背景<span style="font-size: 12px; font-family:verdana">:</span></td>
</tr>
<tr>
<td width="91"></td>
<td width="450"><font face=宋体><textarea class="fieldhz" name="education_content" rows="8" cols="55"><?php echo $edubrup ?></textarea></font></td>
</tr>
<tr>
<td bgcolor=#f6f6f6 colspan=2>工作经历业绩<span style="font-size: 12px; font-family: verdana">:</span></td>
</tr>
<tr>
<td width="91"></td>
<td valign="top" width="450"><font class="truetext">我有</font>
<input class="fieldnumber" id="jobyears_y" maxlength="2" size="2" name="jobyears_y" value="<?php echo $wkedyears ?>" > 年
<input class="fieldnumber" id="jobyears_m" maxlength="2" size="2" name="jobyears_m" value="<?php echo $wkedmonths ?>"> 月工作经验 曾在
<input class="fieldnumber" id="workcompanynumber" maxlength="2" size="2" name="workcompanynumber" value="<?php echo $wkedcompnum ?>"> 家公司任职<br><font face="宋体">
<textarea class="fieldhz" name="job_experience" rows="8" cols="55"><?php echo $wkedexperience ?></textarea></font><br>
<font face="宋体"><font color="#666600">(如发现毕业年限与工作经验不符,则不予以注册。)</font></font><br></td>
</tr>
<tr>
<td bgcolor="#f6f6f6" colspan="2">自评报告<span style="font-size: 12px; font-family:verdana">:</span></td>
</tr>
<tr>
<td width="91"></td>
<td width="450"><font face=宋体><textarea class="fieldhz" id="remark" name="remark" rows="8" cols="55"><?php echo $remark ?></textarea></font></td>
</tr>
<tr>
<td width="91" bgcolor=#f6f6f6>现工作地点<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450" bgcolor="#f6f6f6"><input class="fieldhz" id="jobaddress" maxlength="30" size="28" name="jobaddress" value="<?php echo $nowwkaddress ?>"></td>
</tr>
<tr><td bgcolor="#d1d3d4" colspan="2" height="25">二、您的要求:</td></tr>
<tr>
<td width="91" bgcolor="#f6f6f6">求职意向<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450" bgcolor="#f6f6f6"><input class="fieldhz" id="objective" maxlength="200" size="28" value="<?php echo $appwkpos ?>" name="objective">(多意向可以用;分隔) </td>
</tr>
<tr>
<td width="91">岗位类别<span
style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450">
<select style="width: 150px" onChange="javascript:selectOnchange(document.frm.jobmaincatalogry,document.frm.jobfunction,'jobcatelog'); document.frm.job_id.value=document.frm.jobfunction.value;" name="jobmaincatalogry">
<script language="javascript">writeJobs();</script>
</select>
<select class="fieldhz" id="jobfunction" style="width: 180px" onChange="javascript:document.frm.job_id.value=this.value;document.frm.other_flag.value=this.options[this.selectedIndex].text" name="jobfunction">
</select>
</td>
</tr>
<tr>
<td width="91" bgcolor="#f6f6f6">工作地点<span style="font-size: 12px; font-family: verdana">:</span>
</td>
<td width="450" bgcolor="#f6f6f6">
<select style="width: 120px" onChange="javascript:selectOnchange(document.frm.province,document.frm.workplace,'citys0')" name="province">
<script language="javascript">writeCitys();</script>
</select>
<select class="fieldhz" id="workplace" style="width: 100px" name="workplace">
</select>
</td>
</tr>
<tr>
<td width="91">住房要求<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450"><input id="homeneed" style="font-size: 12px; font-family: 宋体" type="radio" name="homeneed" value="1"<?php echo $rehousing1 ?>> 要求提供 <input id="homeneed" style="font-size: 12px; font-family: 宋体" type="radio" name="homeneed" value="0"<?php echo $rehousing2 ?>> 不需要</td>
</tr>
<tr>
<td bgcolor="#f6f6f6" colspan="2">待遇及其它要求<span style="font-size: 12px; font-family: verdana">:</span></td>
</tr>
<tr>
<td width="91" bgcolor="#ffffff"></td><td width="450" bgcolor="#ffffff"><textarea class="fieldhz" id="deal" name="deal" rows="8" cols="55"><?php echo $dealother ?></textarea><br></td>
</tr>
<tr><td bgcolor="#d1d3d4" colspan="2" height="25">三、联系方式:</td></tr>
<tr>
<td width="91" bgcolor="#f6f6f6">联系电话<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450" bgcolor="#f6f6f6"><input class="fieldnumber" id="tel" style="width: 210px; height: 20px" maxlength="30" size="30" value="<?php echo $relphone ?>" name="tel"> <font color="#ff0000">(注明区号,格式如:0576-2572002)</font></td>
</tr>
<tr>
<td width="91" bgcolor="#ffffff">手 机<span style="font-size: 12px; font-family: verdana">:</span></td>
<td width="450" bgcolor="#ffffff"><input class="fieldnumber" id="mobile" style="width: 214px; height: 20px" maxlength="30" size="30" value="<?php echo $mobphone ?>" name="mobile"><font color="#669900"><font color="#669900"><font color="#666600"> (注:联系电话和手机必填一项)</font></font><font color="#0000ff"></font></font></td>
</tr>
<tr>
<td width="91" bgcolor="#f6f6f6">寻 呼 机: </td>
<td width="450" bgcolor="#f6f6f6"><input class="fieldnumber" id="bp" style="width: 214px; height: 20px" maxlength="20" size="30" name="bp" value="<?php echo $lookmachine ?>"> <font color="#669900"></font></td>
</tr>
<tr>
<td width="91" bgcolor="#ffffff">电子邮件:</td>
<td width=450 bgcolor="#ffffff"><input class=fieldalp id=email style="width: 214px; height: 20px" maxlength="40" size="32" value="<?php echo $email ?>" name="email"> <font color="#666600">(请准确填写,以便联系!)</font></td>
</tr>
<tr>
<td width=91 bgcolor=#f6f6f6>个人主页<span style="font-size: 12px; font-family: verdana">:</span></td> <td width="450" bgcolor="#f6f6f6"><input class="fieldalp" id="homepage" style="width: 214px; height: 20px" maxlength="48" size="32" value="<?php echo $homepage ?>" name="homepage"></td>
</tr>
<tr>
<td width=91 bgcolor="#ffffff">通信地址<span style="font-size: 12px; font-family: verdana">:</span></td><td width="450" bgcolor="#ffffff"><input class="fieldhz" id="address" style="width: 214px; height: 20px" maxlength="150" size="33" value="<?php echo $comaddress ?>" name="address"> <font color="#669900"><font color="#0000ff">*</font></font></td>
</tr>
<tr>
<td width=91 bgcolor=#f6f6f6>邮政编码<span style="font-size: 12px; font-family:verdana">:</span></td><td width="450" bgcolor="#f6f6f6"><input class="fieldnumber" id="post_code" style="width: 214px; height: 21px" maxlength="6" size="33" value="<?php echo $postcode ?>" name="post_code"> <font color="#669900"><font color="#0000ff">*</font></font></td>
</tr>
<tr>
<td width="541" height="35" colspan="2" align="center"><input id="okbutton" style="font-size: 12px; font-family: 宋体" onClick="return checkform(this)" type="submit" value=" 修 改 "name="submit"> <input id="cancelbutton" style="font-size: 12px; font-family: 宋体" type="button" name="back" value=" 返 回 " onclick="history.back()"></td>
</tr>
<script language="javascript">
function js_init_cn()
{
//用户人才分类
js_set_sel(document.frm.usersort,'<? echo $userinfo[usersort];?>');
//用户出生月份
js_set_sel(document.frm.month, '<? echo $birthdate[1];?>');
//用户出生日数
js_set_sel(document.frm.day, '<? echo $birthdate[2];?>');
//第一外语
js_set_sel(document.frm.language1, '<? echo $userinfo[flsort1];?>');
//第二外语
js_set_sel(document.frm.language2, '<? echo $userinfo[flsort2];?>');
//第三外语
js_set_sel(document.frm.language3, '<? echo $userinfo[flsort3];?>');
//最高学历
js_set_sel(document.frm.education, '<? echo $userinfo[highedu];?>');
//计算机水平
js_set_sel(document.frm.computerlevel, '<? echo $userinfo[complevel];?>');
//岗位大类别
//js_set_sel(document.frm.jobmaincatalogry, '<? echo englishcn($userinfo[postsort]);?>');
//岗位小类别
//js_set_sel(document.frm.jobfunction, '<? echo $userinfo[subpostsort];?>');
//add_subitem1(document.frm.jobmaincatalogry,document.frm.jobfunction,0);
add_item(document.frm.jobmaincatalogry, document.frm.jobfunction, document.frm.job_id.value);
//工作地点(省、直辖市、自治区)
js_set_sel(document.frm.province, '<? echo englishcn($userinfo[wkaddress]);?>'); //工作地点 (地级市、县级市、区)
add_city(document.frm.workplace, "<? echo englishcn($userinfo[wkaddress]);?>", "<? echo englishcn($userinfo[subwkaddress]);?>",0);
}
js_init_cn();
</script>
<?php
} ?>
</td></tr></tbody></table>
</td></tr></tbody></table>
</form>
<table cellspacing="0" cellpadding="0" width="94%" align=center border=0>
<tbody>
<tr><td><img height="10" src="../images/hunter_right_bottom.gif" width="555"></td></tr>
</tbody>
</table>
</td></tr></tbody></table>
</td></tr></tbody></table>
<tr>
<td valign="bottom" background="../images/hunter_left_bg.gif"><img src="../images/hunter_left_bottom.gif"></td>
</tr>
</td></tr></tbody></table><br>
</body>
</html> |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|