<?php include mayi_tpl('inc_header'); ?>
<link rel="Stylesheet" type="text/css" href="template/css/new.dialog.css" />
<link rel="stylesheet" type="text/css" href="template/css/new.my.css" />
<link rel="stylesheet" type="text/css" href="../template/global/magic-check.css" />
<script language="javascript" src="template/javascript.js"></script>
<script language="javascript" src="template/jquery.172.min.js"></script>
</head>
<body class="blue">
<div class="container">
<div id="main" class="main section-setting">
<div class="clearfix main-inner">
<div class="content">
<div class="clearfix content-inner">
<div class='location'><?=$location?></div>
<div class="content-main">
<div class="content-main-inner">
<div class="pwrap setting-userinfo">
<div class="phead">
<div class="phead-inner"></div>
</div>
<div class="pbody">
<div id="msg_success"></div>
<div id="msg_error"></div>
<div id="msg_alert"></div>
<div class="cleafix pagetab-wrap">
<ul class="pagetab">
<li><a href="?m=base" <?php if($ac!='resume'){?>class="current"<?php }?>><span>联系方式</span></a></li>
<?php if($if_corp!=1){?><li><a href="?m=base&ac=resume" <?php if($ac=='resume'){?>class="current"<?php }?>><span>创建简历</span></a></li><?php }?>
<li><a href="?m=resumePost"><span><?php echo $m=='resume'?'我收到的简历':'我投出的简历'?></span></a></li>
</ul>
</div>
<div style="display:none;">
    <iframe width=0 height=0 src='' id="iframe_city" name="iframe_city"></iframe> 
    <iframe width=0 height=0 src='' id="iframe_area" name="iframe_area"></iframe> 
    <iframe width=0 height=0 src='' id="iframe_street" name="iframe_street"></iframe> 
    <form method="post" target="iframe_city" id="form_city"></form>
    <form method="post" target="iframe_area" id="form_area"></form>
    <form method="post" target="iframe_street" id="form_street"></form>
</div>

<form action="?m=base" method="post" enctype=multipart/form-data>
<?php if($error == '41'){?>
<input name="url" value="../<?=$mymps_global['cfg_postfile']?>" type="hidden"><?php }?>
<div class="formgroup">
<?php if($ac!='resume'){?>
    <div class="formrow"><h3 class="label"><label>用户名</label></h3><div class="form-enter"><?php echo $s_uid; ?><?php if($row['openid']){?><a style="margin-left:10px;" href="?m=base&ac=nobind" title="解除QQ账号绑定"><img src="../include/qqlogin/noqq_login.png" align="absmiddle"></a><?php }?></div></div>
    <div class="formrow">
    <h3 class="label">性别</h3>
    <div class="form-enter">
    <input class="magic-radio" type="radio" value="男" name="sex" id="gender1"<?php if($row['sex'] == '男') echo 'checked'; ?> /><label for="gender1">男</label><input class="magic-radio" type="radio" value="女" name="sex"  id="gender2"<?php if($row['sex'] == '女') echo 'checked'; ?> /><label for="gender2">女</label>
    </div>
    </div>
    <div class="formrow"><h3 class="label">所属地区</h3><div class="form-enter"><?php echo select_where_option('/include/selectwhere.php?',$row['cityid'],$row['areaid'],$row['streetid'],'',1); ?></div></div>
    <?php if(!$appkey){?>
    <div class="formrow"><h3 class="label">您的姓名</h3><div class="form-enter"><input type="text" name="cname" class="text" value="<?php echo $row['cname']; ?>"/></div></div>
    <div class="formrow"><h3 class="label">手机号码</h3>
    <div class="form-enter">
    <input style="float:left; margin-right:15px;" <?php if($row[sj_certify] == 1 && $row[mobile]) echo 'readonly';?> type="text" class="text" name="mobile" value="<?php echo $row['mobile']?$row['mobile']:$row['tel']?>" maxlength="" /><?php if($row[sj_certify] == 0){?><a href="?m=certify&ac=sjrz" style=" font-size:14px;color:#ff0000; text-decoration:underline;">手机号尚未认证，认证后可发布信息，点我认证 &raquo;</a><?php }else{?><a style=" font-size:14px;color:green;">该手机号已通过认证</a><?php }?>&nbsp;&nbsp;<input class="magic-checkbox" type="checkbox" name="istel" value="1" id="istel"><label for="istel">同步更新信息电话号码</label></div></div>
    <?php }?>
    <div class="formrow"><h3 class="label">微信号</h3><div class="form-enter"><input style="float:left; margin-right:15px;" type="text" class="text" name="weixin" value="<?php echo $row['weixin']?>" maxlength="" />&nbsp;&nbsp;<input class="magic-checkbox" type="checkbox" name="isweixin" value="1" id="isweixin"><label for="isweixin">同步更新信息微信号</label></div></div>
    <div class="formrow"><h3 class="label">QQ号</h3><div class="form-enter"><input style="float:left; margin-right:15px;" type="text" class="text" name="qq" value="<?php echo $row['qq']?>" maxlength="" /> &nbsp;&nbsp;<input class="magic-checkbox" type="checkbox" name="isqq" value="1" id="isqq"><label for="isqq">同步更新信息QQ号</label></div></div>
    <input type="hidden" name="email" value="<?php echo $row['email']?>" >
<?php }else{?>
	<input name="ac" value="resume" type="hidden">
	<?php if($roww['zhaopian']){?><div class=formrow><h3 class=label><label>个人照片：</label></h3><div class=form-enter><img style="max-width:180px; border:1px #dedede solid; border-radius:5px;" src="<?=$roww['zhaopian']?>" border="0"></div></div><?php }?>
    <div class=formrow><h3 class=label>更换照片：</h3><div class=form-enter><script type=text/javascript>var MagicUploadName="zhaopian";</script><div id=ShowMagicUpload></div><div class=clear10></div><div class=magic-notice>支持上传的类型：jpg,png,gif，图片尺寸：<?=$mymps_mymps['cfg_memberlogo_limit']['width']?>*<?=$mymps_mymps['cfg_memberlogo_limit']['height']?></div><script type=text/javascript src=../template/global/magic-upload.js></script></div></div>
	<div class="formrow"><h3 class="label"><font color="red">*</font>真实姓名</h3><div class="form-enter"><input type="text" name="xingming" class="txt" value="<?php echo $roww['xingming']?$roww['xingming']:$row['cname']; ?>"/></div></div>
    <div class="formrow">
    <h3 class="label">性别</h3>
    <div class="form-enter">
    <input class="magic-radio" type="radio" value="男" name="sex" id="gender1"<?php if($row['sex'] == '男') echo 'checked'; ?> /><label for="gender1">男</label><input class="magic-radio" type="radio" value="女" name="sex"  id="gender2"<?php if($row['sex'] == '女') echo 'checked'; ?> /><label for="gender2">女</label>
    </div>
    </div>
    <div class="formrow"><h3 class="label">所属地区</h3><div class="form-enter"><?php echo select_where_option('/include/selectwhere.php',$row['cityid'],$row['areaid'],$row['streetid']); ?></div></div>
    <div class="formrow"><h3 class="label">微信号</h3><div class="form-enter"><input style="float:left; margin-right:15px;" type="text" class="text" name="weixin" value="<?php echo $row['weixin']?>" maxlength="" />&nbsp;&nbsp;</div></div>
    <div class="formrow"><h3 class="label">QQ号</h3><div class="form-enter"><input style="float:left; margin-right:15px;" type="text" class="text" name="qq" value="<?php echo $row['qq']?>" maxlength="" /> &nbsp;&nbsp;</div></div>
    <div class="formrow"><h3 class="label">电子邮箱</h3><div class="form-enter"><input style="float:left; margin-right:15px;" type="text" class="text" name="email" value="<?php echo $row['email']?>" maxlength="" /> &nbsp;&nbsp;</div></div>
    <div class="formrow"><h3 class="label"><font color="red">*</font>期望月薪</h3><div class="form-enter">
    <select name="yuexin" class="input">
    <option value="0" <?php if(empty($row['yuexin'])) echo 'selected'?>>面议</option>
    <option value="1" <?php if($roww['yuexin']==1) echo 'selected'?>>2000以下</option>
    <option value="2" <?php if($roww['yuexin']==2) echo 'selected'?>>2000-4000</option>
    <option value="3" <?php if($roww['yuexin']==3) echo 'selected'?>>4000-6000</option>
    <option value="4" <?php if($roww['yuexin']==4) echo 'selected'?>>6000-8000</option>
    <option value="5" <?php if($roww['yuexin']==5) echo 'selected'?>>8000-12000</option>
    <option value="6" <?php if($roww['yuexin']==6) echo 'selected'?>>12000-20000</option>
    <option value="7" <?php if($roww['yuexin']==7) echo 'selected'?>>20000-50000</option>
    <option value="8" <?php if($roww['yuexin']==8) echo 'selected'?>>50000以上</option>
    </select>
    </div></div>
    <div class="formrow"><h3 class="label"><font color="red">*</font>工作经验</h3><div class="form-enter"><select name="jingyan" class="input">
    <option value="0" <?php if(empty($roww['jingyan'])) echo 'selected'?>>无经验</option>
    <option value="1" <?php if($roww['jingyan']==1) echo 'selected'?>>应届生</option>
    <option value="2" <?php if($roww['jingyan']==2) echo 'selected'?>>1年以下</option>
    <option value="3" <?php if($roww['jingyan']==3) echo 'selected'?>>1-3年</option>
    <option value="4" <?php if($roww['jingyan']==4) echo 'selected'?>>3-5年</option>
    <option value="5" <?php if($roww['jingyan']==5) echo 'selected'?>>5-10年</option>
    <option value="6" <?php if($roww['jingyan']==6) echo 'selected'?>>10年以上</option>
    </select></div></div>
    <div class="formrow">
    <h3 class="label"><font color="red">*</font>目前状态</h3>
    <div class="form-enter">
    <input class="magic-radio" type="radio" value="1" name="zhuangtai" id="zhuangtai1"<?php if($roww['zhuangtai'] == '1') echo 'checked'; ?> /><label for="zhuangtai1">离职</label>
    <input class="magic-radio" type="radio" value="2" name="zhuangtai"  id="zhuangtai2"<?php if($roww['zhuangtai'] == '2') echo 'checked'; ?> /><label for="zhuangtai2">在职</label>
    <input class="magic-radio" type="radio" value="3" name="zhuangtai"  id="zhuangtai3"<?php if($roww['zhuangtai'] == '3') echo 'checked'; ?> /><label for="zhuangtai3">在校</label>
    </div>
    </div>
    <div class="formrow">
    <h3 class="label"><font color="red">*</font>最高学历</h3>
    <div class="form-enter">
    <input class="magic-radio" type="radio" value="1" name="xueli" id="xueli1"<?php if($roww['xueli'] == '1') echo 'checked'; ?> /><label for="xueli1">高中及以下</label>
    <input class="magic-radio" type="radio" value="2" name="xueli" id="xueli2"<?php if($roww['xueli'] == '2') echo 'checked'; ?> /><label for="xueli2">中专</label>
    <input class="magic-radio" type="radio" value="3" name="xueli"  id="xueli3"<?php if($roww['xueli'] == '3') echo 'checked'; ?> /><label for="xueli3">大专</label>
    <input class="magic-radio" type="radio" value="4" name="xueli"  id="xueli4"<?php if($roww['xueli'] == '4') echo 'checked'; ?> /><label for="xueli4">本科</label>
    <input class="magic-radio" type="radio" value="5" name="xueli" id="xueli5"<?php if($roww['xueli'] == '5') echo 'checked'; ?> /><label for="xueli5">硕士</label>
    <input class="magic-radio" type="radio" value="6" name="xueli"  id="xueli6"<?php if($roww['xueli'] == '6') echo 'checked'; ?> /><label for="xueli6">博士及以上</label>
    </div>
    </div><div class="formrow"><h3 class="label">毕业院校</h3><div class="form-enter"><input type="text" class="text" name="yuanxiao" placeholder="如：北京大学-光华管理学院" value="<?php echo $roww['yuanxiao']?>" /></div></div>
	<div class="formrow"><h3 class="label">出生日期</h3><div class="form-enter"><input type="text" name="chusheng" placeholder="如：1995-10-01" class="txt" value="<?php echo $roww['chusheng']; ?>"/></div></div>
	<div class="formrow"><h3 class="label">自我介绍<br>求职方向</h3><div class="form-enter"><textarea name="jieshao" placeholder="如：酷爱足球等体育运动，想找一个网络工程师的岗位"><?php echo $roww['jieshao']; ?></textarea></div></div>
	<div class="formrow"><h3 class="label">工作经历</h3><div class="form-enter"><textarea name="jingli" placeholder="如：大学就读期间，曾担任学生会主席职务，2021年9月-2022年在山东交投集团实习"><?php echo $roww['jingli']; ?></textarea></div></div>
<?php }?>
<div class="formrow formrow-action">
<h3 class="label">&nbsp;</h3>
<span class="minbtn-wrap">
<span class="btn">
<input type="submit" value="提交保存" class="button" name="base_submit" />
</span>
</span>
</div></div></form></div><div class="pfoot"><p><b>-</b></p></div></div></div></div></div></div></div></div><?php include mayi_tpl('inc_foot'); ?></div></body></html>