--- careers.php 2001/02/19 16:22:20 1.1 +++ careers.php 2001/02/28 14:13:51 1.2 @@ -16,6 +16,16 @@ if (file_exists($main_file.$part.".htm")) { $main_file.=$part.".htm"; $main=join('',file($main_file)); +} elseif (file_exists("./templates/Careers-".$part.".tpl")) { + + $sth = $dbh->prepare("select iso,name from countries order by iso"); + $sth->execute(); + while ($row=$sth->fetchrow_hash()) { + $countries[]=$row; + } + $smarty->assign("countries",$countries); + + $main=$smarty->fetch("Careers-".$part.".tpl"); } else { $main_file.="Main.htm"; $main=join('',file($main_file));