/[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.12 by dpavlin, Tue Apr 10 12:43:58 2001 UTC revision 1.14 by dpavlin, Tue Sep 18 10:26:46 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  include("common.inc");  include("common.inc");
   
13  $title="CAREERS";  $title="CAREERS";
14  if ($menu_item) $title.=" : $menu_item";  if ($menu_item) $title.=" : $menu_item";
15  $lpic="careers"; $lext=".jpg";  $lpic="careers"; $lext=".jpg";
# Line 25  if (file_exists($main_file.$part.".htm") Line 24  if (file_exists($main_file.$part.".htm")
24    
25          $sql="select num,title,job_code,department,open_position_locations.location as location,description,edu_req,qual_req,open_position_locations.email as sendto          $sql="select num,title,job_code,department,open_position_locations.location as location,description,edu_req,qual_req,open_position_locations.email as sendto
26                  from open_positions,open_position_locations                  from open_positions,open_position_locations
27                  where open_positions.location_id=open_position_locations.id and visible is true";                  where open_positions.location_id=open_position_locations.id and $visible_is_true";
28          if ($part == "ApplicationForm") {          if ($part == "ApplicationForm") {
29                  $sth = $dbh->prepare("select iso,name from countries order by name");                  $sth = $dbh->prepare("select iso,name from countries order by name");
30                  $sth->execute();                  $sth->execute();
# Line 82  Resume: $resume_name ($resume_size bytes Line 81  Resume: $resume_name ($resume_size bytes
81                          $sendto=rot13($sendto);                          $sendto=rot13($sendto);
82                  }                  }
83                  $replyto="$first_name $last_name <$email>";                  $replyto="$first_name $last_name <$email>";
84                  $mailfile = new CMailFile("application for submission",$sendto,$replyto,$mail,$resume);                  $mailfile = new CMailFile("Application for $open_position",$sendto,$replyto,$mail,$resume);
85                  $mailfile->sendfile();                  $mailfile->sendfile();
86                  @unlink($resume);                  @unlink($resume);
87          }          }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.26