/[corp_html]/careers.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /careers.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Mon Feb 19 16:22:20 2001 UTC revision 1.2 by dpavlin, Wed Feb 28 14:13:51 2001 UTC
# Line 16  $main_file="./html/Careers-"; Line 16  $main_file="./html/Careers-";
16  if (file_exists($main_file.$part.".htm")) {  if (file_exists($main_file.$part.".htm")) {
17          $main_file.=$part.".htm";          $main_file.=$part.".htm";
18          $main=join('',file($main_file));          $main=join('',file($main_file));
19    } elseif (file_exists("./templates/Careers-".$part.".tpl")) {
20    
21            $sth = $dbh->prepare("select iso,name from countries order by iso");
22            $sth->execute();
23            while ($row=$sth->fetchrow_hash()) {
24                    $countries[]=$row;
25            }
26            $smarty->assign("countries",$countries);
27    
28            $main=$smarty->fetch("Careers-".$part.".tpl");
29  } else {  } else {
30          $main_file.="Main.htm";          $main_file.="Main.htm";
31          $main=join('',file($main_file));          $main=join('',file($main_file));

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26