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"])) && (!$covisitor)) {
header("Location:$site/main/members.php");
}
include("/home/config/common.php");
//connect to the mysql server
$dbcnx = dbconn( $host, $user, $pass, $dbname);
if ($visitor) {
$sql="SELECT * FROM candaccount WHERE cid='$visitor'";
} elseif ($empvisitor) { //employer viewing applicant
$sql="SELECT * FROM candaccount WHERE cid='$cid'";
}
$result=mysql_query($sql);
if (!$result){
echo("
Error performing query : ". mysql_error()."
");
}
$row=mysql_fetch_array($result);
$cid=$row["cid"];
include("/home/hiring_template/include/header.tpl");
$jobcat=translate_categories($row["jobcat"]);
$surname=$row["surname"];
$surname=stripslashes($surname);
$date=getnicedate($row["date"]);
//~~~~~~~~~~~~~~~~~~~~~~~~~~ if coming from clipboard and previously logged in
if (strlen($j)>2) {
/**********************************************************
** j will look like
**
** 34345;4545;454;454
**
**********************************************************/
$jobs=explode(";", $j);
for ($i=0; $i $val) {
echo("SESSION_ARRAY[\"jobs\"][".$key."]=".$val."
");
}
*/
}
?>
|
if ($visitor){
include("$serveraddr/include/candnav.php");
} elseif ($empvisitor) {
include("$serveraddr/include/empnav.php");
}
?>
|
|
/*
foreach ($_SESSION["jobs"] as $jobref=>$qty) {
echo("jobref=".$jobref." ");
}
*/
?>
Profile
| Title
| Description |
| Name |
Fatal error: Uncaught Error: Call to undefined function capitalise() in /var/www/vhosts/vps119920.ovh.net/httpdocs/securehut.com/hiring/candidates/myhiring/viewprofile.php:121
Stack trace:
#0 {main}
thrown in /var/www/vhosts/vps119920.ovh.net/httpdocs/securehut.com/hiring/candidates/myhiring/viewprofile.php on line 121
| | | |