--- careers.php 2001/03/06 09:02:05 1.7 +++ careers.php 2001/03/12 14:01:50 1.8 @@ -26,6 +26,14 @@ $countries[]=$row; } $smarty->assign("countries",$countries); + + if ($position) { + $sth = $dbh->prepare("select num,title,job_code,department,location from open_positions where visible is true and num=$position"); + $sth->execute(); + if ($row=$sth->fetchrow_hash()) { + $smarty->assign("position",$row); + } + } } elseif ($part == "OpenPositions") { $sth = $dbh->prepare("select num,title,job_code,department,location,description,edu_req,qual_req from open_positions where visible is true order by num asc"); $sth->execute(); @@ -46,7 +54,7 @@ Country: $country e-mail: $email tel: $tel -Purpose: $purpose +Purpose: $purpose $open_position Interest: $intereset $other_what Comments: