【php开源代码栏目提醒】:以下是网学会员为您推荐的php开源代码-job.php,希望本篇文章对您学习有所帮助。
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title>个人求职</title>
</head>
<body>
<?php
include('head.php');
require_once('com/db.php');
$db = new DataAccess();
$db->connect();
?>
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" id="table1" height="206">
<tr>
<td style="border-left: 1px solid #0086DF; border-right: 1px solid #0086DF" width="760" valign="top">
<div align="center">
<table border="0" width="99%" cellspacing="0" cellpadding="0" id="table2" height="205">
<tr>
<td width="206" valign="top" align="center">
<table border="0" width="85%" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td height="36" style="border-top:1px solid #D4D4D4; border-left:1px solid #D4D4D4; border-right:1px solid #D4D4D4; border-bottom-width: 1px">
<img border="0" src="images/company1.gif" width="192" height="41"></td>
</tr>
<tr>
<td height="36" style="border-left:1px solid #D4D4D4; border-right:1px solid #D4D4D4; border-bottom-width: 1px" valign="top">
<div align="center">
<table border="0" width="96%" cellspacing="0" cellpadding="0" id="table16" height="25">
<?php
//热点企业
$sql = "select enterprise_id,fullname from enterprise where locked='0' order by rdate desc";
$result = $db->query($sql);
$row_num = $db->getRowNum();
if($row_num <= 0)
echo "暂无企业信息!";
else
{
while($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
echo '<tr><td width="14" height="18"><p align="center">'.
'<img border="0" src="images/link1.gif" width="6" height="11"></td>'.
'<td height="20"><a target =_blank href="enterprise.php?enterpriseid='.$row['enterprise_id'].'">'.$row["fullname"].'</a></td></tr>';
}
}
?>
</table>
</div>
</td>
</tr>
<tr>
<td height="36" style="border-top:1px solid #D4D4D4; border-left:1px solid #D4D4D4; border-right:1px solid #D4D4D4; border-bottom-width: 1px">
<img border="0" src="images/
websearch.gif" width="192" height="41"></td>
</tr>
<tr>
<td height="36" style="border-left: 1px solid #D4D4D4; border-right: 1px solid #D4D4D4; border-top-width: 1px; border-bottom-width: 1px">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="25" id="table11">
<form method="POST" action="search.php" TARGET="_blank">
<tr>
<td height="30">
<p align="left">
<SELECT SIZE='1' NAME='areavalue' onChange="document.getElementById('areatmp').value=this.options[selectedIndex].text" STYLE='border: 1px solid #333333; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color: #FFFFFF'>
<OPTION VALUE='0'>请选择
工作省份</OPTION>
<?php
$sql = "select areaclass from arealist";
$result = $db->query($sql);
while($row =
mysql_fetch_array($result,MYSQL_ASSOC))
{
?>
<option value='<?php echo $row['arealist_id']; ?>'><?php echo $row['areaclass']; ?></option>
<?php
}
?>
</SELECT>
</td>
</tr>
<tr>
<td height="30">
<p align="left">
<SELECT SIZE='1' NAME='jobvalue' onChange="document.getElementById('jobtmp').value=this.options[selectedIndex].text" STYLE='border: 1px solid #333333; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color: #FFFFFF'>
<OPTION VALUE='0' selected>请选择职位类别</OPTION>
<?php
$
sql = "select jobclass from joblist";
$result = $db->query($sql);
while($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
?>
<option value='<?php echo $row['joblist_id']; ?>'><?php echo $row['jobclass']; ?></option>
<?php
}
?>
</SELECT>
</td>
</tr>
<tr>
<td height="30">
<input onfocus="this.value=''" type="text" name="what" id="what" size="20" style="padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" value="请输入职位关键字">
<input type="hidden" name="jobtmp" id="jobtmp" size="20" value="" >
<input type='hidden' name='areatmp' id='areatmp' size='20' value=''>
</td>
</tr>
<tr>
<td height="30">
<SELECT NAME="datevalue" size="1">
<option selected value="不限">请选择发布时间</option>
<OPTION VALUE="不限">不限</OPTION> <OPTION VALUE="1">一天内</OPTION>
<OPTION VALUE="2">二天内</OPTION> <OPTION VALUE="3">三天内</OPTION> <OPTION VALUE="7">一星期内</OPTION>
<OPTION VALUE="14">二星期内</OPTION> <OPTION VALUE="30">一个月内</OPTION> <OPTION VALUE="91">三个月内</OPTION>
<OPTION VALU