session_start(); header("Cache-control: private"); // IE 6 Fix. if (isset($_SESSION["cfgfile"])) { include("/home/config/".$_SESSION["cfgfile"]); } else { echo("No config file"); exit(); } if (!isset($_SESSION["visitor"])) { header("Location:$site/main/members.php"); } ?> include("/home/hiring_template/include/header.tpl"); include("/home/config/common.php"); echo($js_hlight_rows); //connect to the mysql server dbconn( $host, $user, $pass, $dbname); //Request data from jobpostings $sql="SELECT jobpostings.jobref, jobpostings.coid, jobpostings.jobtitle, jobpostings.employer, active, empjobref, cid, candactivity.date, ref FROM candactivity, jobpostings WHERE cid='$visitor' AND jobpostings.jobref=candactivity.jobref ORDER BY candactivity.date DESC, jobpostings.jobref DESC "; $result=mysql_query($sql); $numjobapps=mysql_num_rows($result); if (!$result){ echo("
Error performing query : ". mysql_error()."
"); } ?>
|
|||||||||||||||||||||