//resumereg.php
<?
session_start();
?>
<html>
<head>
<title>用户登陆简历</title>
<?
if ( !session_is_registered("member_id") ) {
?>
<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=/member/login.php">
</head>
<?
exit;
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<?php
include(DB_MYSQL.INC);
if(isset($submit)) //加入到数据库里
{
//检验输入 ---> 没完成
//然后加入数据库
//然后退出
$db = new DB_Sql;
$db->query("insert into
resume( resume_col1,resume_col2,resume_col3,resume_col4,resume_col5,resume_col6,
resume_col7,resume_col8,resume_col9,resume_col10,resume_col11,resume_col12,
resume_col13,resume_col14,resume_col15,resume_col16,resume_col17,resume_col18
resume_col19,resume_col20,resume_col21,resume_col22
)
values(
'$member_id', //session中的变量
'$resume_col2',
'$resume_col3',
'$resume_col4',
'$resume_col5',
'$resume_col6',
'$resume_col7',
'$resume_col8',
'$resume_col9',
'$resume_col10',
'$resume_col11',
'$resume_col12',
'$resume_col13',
'$resume_col14',
'$resume_col15',
'$resume_col16',
'$resume_col17',
'$resume_col18',
'0',
'0',
'0',
'$resume_col22'
)
");
echo "Well done. ";
exit;
}
?>
<form name="form1" method="post" action="resumereg.php">
<table width="100%" border="1" cellspacing="0" cellpadding="1"
bordercolordark="#FFFFFF"
bordercolorlight="#FF9933" align="center">
<tr>
<td bgcolor="#FF9933" height="13"><font color="#FFFFFF">
<b><font size="2">个人简历提交:登录人
<?echo $member_name ?> </font></b></font></td>
</tr>
<tr valign="top">
<td height="342">
<table width="100%" border="1" cellspacing="0" cellpadding="2"
bordercolordark="#FFFFFF"
bordercolorlight="#CCCCCC">
<tr>
<td width="19%" height="18" bgcolor="#CCFFCC"
bordercolor="#CCFFCC">求职意向
</td>
<td width="62%" height="18">
<input type="text" name="resume_col8"
value="简单描述你想要的工作" size="50" maxlength="50">
</td>
<td width="10%" height="18" bgcolor="#CCFFCC">
<font color="#336600">求职类型</font></td>
<td width="9%" height="18">
<select name="resume_col22">
<option value="2">任意</option>
<option value="1">兼职</option>
<option value="0">全职</option>
</select>
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">最高学历</td>
<td colspan="3">
<select name="resume_col11">
<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>
<td width="19%" bgcolor="#CCFFCC">毕业院校</td>
<td colspan="3">
<input type="text" name="resume_col9" size="30" maxlength="40">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">学校所在城市</td>
<td colspan="3">
<input type="text" name="resume_col10" size="10" maxlength="10">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">主修专业</td>
<td colspan="3">
<input type="text" name="resume_col12" size="20" maxlength="20">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC"><font color="#336600">选修专业
</font></td>
<td colspan="3">
<input type="text" name="resume_col13" size="20" maxlength="20">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">完成主要学业的时间</td>
<td colspan="3">从
<input type="text" name="resume_col14">
开始,到
<input type="text" name="resume_col15">
结束 <font color="#FF3333">(例如2000-2-2)</font></td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">电脑技能 介绍</td>
<td colspan="3">
<input type="text" name="resume_col2" size="50" maxlength="50">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">第一外语</td>
<td colspan="3">
<input type="text" name="resume_col3" size="15" maxlength="15">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">第二外语</td>
<td colspan="3">
<input type="text" name="resume_col4" size="15" maxlength="15">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">其它语言和所获证书</td>
<td colspan="3">
<input type="text" name="resume_col5" size="50" maxlength="50">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC" height="23">爱好和兴趣</td>
<td colspan="3" height="23">
<input type="text" name="resume_col6" size="50" maxlength="50">
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">性格特点和个人技能</td>
<td colspan="3">
<textarea name="resume_col7" cols="50"></textarea>
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC" height="18">是否应届生</td>
<td colspan="3" height="18">有工作经验
<select name="resume_col14">
<option value="0">应届</option>
<option value="1">1年</option>
<option value="2">2年</option>
<option value="3">3年</option>
<option value="4">4年</option>
<option value="5">5年</option>
<option value="6">6年</option>
<option value="7">7年</option>
<option value="8">8年</option>
<option value="9">9年</option>
<option value="10">10年</option>
<option value="11">10年以上</option>
</select>
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC">曾工作简历</td>
<td colspan="3">
<textarea name="resume_col17" cols="50"></textarea>
</td>
</tr>
<tr>
<td width="19%" bgcolor="#CCFFCC"><font color="#336600">
其他注意事项</font></td>
<td colspan="3">
<textarea name="resume_col18" cols="50"></textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10">
<div align="center"><font color="#FF9933">
所有信息请仔细填写,不能有空闲的表格项目</font></div>
</td>
</tr>
<tr>
<td height="10">
<div align="center"><font size="1" color="#FF9933">
我保证我提供的信息真实,其信息的真伪性引起的损失由我本人负责
</font></div>
</td>
</tr>
</table>
<p align="center">
<input type="submit" name="submit" value="提交简历">
<input type="reset" name="reset" value="重新填写">
</p>
</form>
</body>
</html>
如果您对本文有任何疑问或者建议,请到讨论区发表您的意见:
>>
论坛入口 <<
上一篇:用PHP+MySQL构建一个招聘网站(7)
下一篇:用PHP+MySQL构建一个招聘网站(9)
【文章评论】
【收藏本文】
【推荐好友】
【打印本文】
【我要投稿】 【论坛讨论】
更多相关文章
|
|