/[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.1.1 by dpavlin, Mon Feb 19 16:22:20 2001 UTC revision 1.4 by dpavlin, Sat Mar 3 12:56:33 2001 UTC
# Line 10  $section=str_replace(".php","",basename( Line 10  $section=str_replace(".php","",basename(
10  $smarty->assign("section",$section);  $smarty->assign("section",$section);
11    
12  $title="CAREERS";  $title="CAREERS";
13    if ($menu_item) $title.=" : $menu_item";
14  $lpic="careers"; $lext=".jpg";  $lpic="careers"; $lext=".jpg";
15  $mpic="careers.gif";  $mpic="careers.gif";
16  $main_file="./html/Careers-";  $main_file="./html/Careers-";
17  if (file_exists($main_file.$part.".htm")) {  if (file_exists($main_file.$part.".htm")) {
18          $main_file.=$part.".htm";          $main_file.=$part.".htm";
19          $main=join('',file($main_file));          $main=join('',file($main_file));
20    } elseif (file_exists("./templates/Careers-".$part.".tpl")) {
21    
22            $sth = $dbh->prepare("select iso,name from countries order by name");
23            $sth->execute();
24            while ($row=$sth->fetchrow_hash()) {
25                    $countries[]=$row;
26            }
27            $smarty->assign("countries",$countries);
28    
29            $main=$smarty->fetch("Careers-".$part.".tpl");
30  } else {  } else {
31          $main_file.="Main.htm";          $main_file.="Main.htm";
32          $main=join('',file($main_file));          $main=join('',file($main_file));

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26