include("top.php");
$page_variable="category=$category&country=$country&province=$province&city=$city&metro=$metro&distance=$distance&form=complete&keyword=$keyword&zip=$zip";
$hits=mysql_query("UPDATE jobs SET views=views+1 WHERE ad='".mysql_real_escape_string($ad)."'");
$hit=mysql_query("INSERT INTO views(job_id, date, ip_address, publication) values('".mysql_real_escape_string($ad)."', '".time()."', '".$_SERVER['REMOTE_ADDR']."', '$publication')");
if(strripos($job[description], 'keywords')!==false){$job[description]=substr($job[description], 0, strripos($job[description], 'keywords'));}
$job[description]=str_replace("=~", "src='", $job[description]);
$job[description]=str_replace("=`", "src='", $job[description]);
$job[description]=str_replace("~>", "'>", $job[description]);
$job[description]=str_replace("`>", "'>", $job[description]);
$job[description]=str_replace("`", "'", $job[description]);
$job[description]=str_replace("~", """, $job[description]);
$job_keyword_start=strpos("$job[description]", "");
$job_keyword_end=strpos("$job[description]", "");
if($job_keyword_end>0){$job_keyword_end=$job_keyword_end+11;}
$job1[description]=substr("$job[description]", 0, $start);
$job2[description]=substr("$job[description]", $job_keyword_end);
$job[description]="$job1[description]"."$job2[description]";
print("
");
print(">> Return to Job Search ");
if($job[ad]!='' && $job[expiry]>time() && $job[publication]='Net Hire'){
if($job[hp_job_title]!==null){$job[job_title]=$job[hp_job_title];}
else{$job[job_title]=substr($job[job_title], 0, strrpos($job[job_title], $job[city]));}
print("
$job[job_title]
|
|
$job[description]
Click here and send us your resume to be considered for this position.
| ");
}
else{
print("
This job is no longer available |
This job is no longer available. We apologize for any inconvenience this may have caused. Return to your search results.
| | ");
}
print(" |
");
include("bottom.php");
?>