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 |
|
|
} else { |
20 |
|
|
$main_file.="Main.htm"; |
21 |
|
|
$main=join('',file($main_file)); |
22 |
|
|
} |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
26 |
|
|
|
27 |
|
|
include("common.inc"); |
28 |
|
|
$smarty->assign("MAIN",$main); |
29 |
|
|
|
30 |
|
|
$smarty->assign("debug",$PHP_SELF." -- ".basename($PHP_SELF)); |
31 |
|
|
|
32 |
|
|
$smarty->assign("contact_url","careers.php?part=ContactUs"); |
33 |
|
|
|
34 |
|
|
$smarty->display("index.tpl"); |
35 |
|
|
?> |