/[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

Annotation of /careers.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Fri Mar 2 07:50:37 2001 UTC (18 years, 1 month ago) by dpavlin
Branch: MAIN
Changes since 1.2: +1 -1 lines
order zemalja

1 dpavlin 1.1 <?php
2     require("Smarty.class.php");
3     require("conn.inc");
4    
5     $smarty = new Smarty;
6    
7     $smarty->assign( array ( Title=>"Pliva d.d." ) );
8    
9     $section=str_replace(".php","",basename($PHP_SELF));
10     $smarty->assign("section",$section);
11    
12     $title="CAREERS";
13     $lpic="careers"; $lext=".jpg";
14     $mpic="careers.gif";
15     $main_file="./html/Careers-";
16     if (file_exists($main_file.$part.".htm")) {
17     $main_file.=$part.".htm";
18     $main=join('',file($main_file));
19 dpavlin 1.2 } elseif (file_exists("./templates/Careers-".$part.".tpl")) {
20    
21 dpavlin 1.3 $sth = $dbh->prepare("select iso,name from countries order by name");
22 dpavlin 1.2 $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 dpavlin 1.1 } else {
30     $main_file.="Main.htm";
31     $main=join('',file($main_file));
32     }
33    
34    
35     $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
36    
37     include("common.inc");
38     $smarty->assign("MAIN",$main);
39    
40     $smarty->assign("debug",$PHP_SELF." -- ".basename($PHP_SELF));
41    
42     $smarty->assign("contact_url","careers.php?part=ContactUs");
43    
44     $smarty->display("index.tpl");
45     ?>

  ViewVC Help
Powered by ViewVC 1.1.26