6 |
|
|
7 |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
8 |
|
|
|
$main_file=$section; |
|
9 |
include("section.inc"); |
include("section.inc"); |
10 |
|
$main_file=$section; |
11 |
|
|
12 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
13 |
|
|
16 |
if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?")); |
if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?")); |
17 |
if ($from == $HTTP_HOST || $from=="www.pliva.hr") $from="index"; |
if ($from == $HTTP_HOST || $from=="www.pliva.hr") $from="index"; |
18 |
} |
} |
19 |
|
$smarty->assign("from",$from); |
20 |
|
|
21 |
$email="webmaster@pliva.hr"; // default |
$email="webmaster@pliva.hr"; // default |
22 |
|
|
56 |
$main=$smarty->fetch("$main_file.tpl"); |
$main=$smarty->fetch("$main_file.tpl"); |
57 |
} |
} |
58 |
|
|
59 |
$smarty->assign( array(MAIN=>$main, from=>$from, |
$smarty->assign( array(MAIN=>$main, |
60 |
contact_section=>1, |
contact_section=>1, |
61 |
)); |
)); |
62 |
|
|