/[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.6 by dpavlin, Mon Mar 5 15:36:16 2001 UTC revision 1.7 by dpavlin, Tue Mar 6 09:02:05 2001 UTC
# Line 33  if (file_exists($main_file.$part.".htm") Line 33  if (file_exists($main_file.$part.".htm")
33                          $positions[]=$row;                          $positions[]=$row;
34                  }                  }
35                  $smarty->assign("positions",$positions);                  $smarty->assign("positions",$positions);
36            } elseif ($part == "Mail") {
37    
38    $mail="
39    First name: $first_name
40    Last name: $last_name
41    Address: $address1
42            $address2
43    City: $city
44    State: $state
45    ZIP: $zip
46    Country: $country
47    e-mail: $email
48    tel: $tel
49    Purpose: $purpose
50    Interest: $intereset
51            $other_what
52    Comments:
53    $comments
54    
55    Resume: $resume_name ($resume_size bytes)
56    ";
57                    $smarty->assign("mail","You sent following e-mail:<br><pre>$mail</pre>");
58                    include("class.CMailFile");
59                    $sendto="careercenter@pliva.hr";
60                    $replyto="$first_name $last_name <$email>";
61                    $mailfile = new CMailFile("application for submission",$sendto,$replyto,$mail,$resume);
62                    $mailfile->sendfile();
63                    @unlink($resume);
64          }          }
65    
66          $main=$smarty->fetch("Careers-".$part.".tpl");          $main=$smarty->fetch("Careers-".$part.".tpl");
# Line 51  $smarty->assign("contact_url","careers.p Line 79  $smarty->assign("contact_url","careers.p
79    
80  $smarty->display("index.tpl");  $smarty->display("index.tpl");
81  ?>  ?>
82    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26