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

Contents of /careers.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Sat Mar 3 12:56:33 2001 UTC (18 years, 3 months ago) by dpavlin
Branch: MAIN
Changes since 1.3: +1 -0 lines
bolji title-ovi stranica

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 if ($menu_item) $title.=" : $menu_item";
14 $lpic="careers"; $lext=".jpg";
15 $mpic="careers.gif";
16 $main_file="./html/Careers-";
17 if (file_exists($main_file.$part.".htm")) {
18 $main_file.=$part.".htm";
19 $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 {
31 $main_file.="Main.htm";
32 $main=join('',file($main_file));
33 }
34
35
36 $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
37
38 include("common.inc");
39 $smarty->assign("MAIN",$main);
40
41 $smarty->assign("debug",$PHP_SELF." -- ".basename($PHP_SELF));
42
43 $smarty->assign("contact_url","careers.php?part=ContactUs");
44
45 $smarty->display("index.tpl");
46 ?>

  ViewVC Help
Powered by ViewVC 1.1.26