6 |
|
|
7 |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
8 |
|
|
9 |
$section=str_replace(".php","",basename($PHP_SELF)); |
include("section.inc"); |
|
$smarty->assign("section",$section); |
|
|
|
|
10 |
$main_file=$section; |
$main_file=$section; |
11 |
|
|
|
$title="CONTACT US"; |
|
|
$lpic="cont"; $lext=".jpg"; |
|
|
$mpic="contactus.gif"; |
|
|
|
|
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 |
|
|
14 |
if (! isset($from) || $from == "") { |
if (! isset($from) || $from == "") { |
15 |
$from=str_replace(".php","",basename($HTTP_REFERER)); |
$from=str_replace(".php","",basename($HTTP_REFERER)); |
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"; |
18 |
} |
} |
19 |
|
|
20 |
$email="webmaster@pliva.hr"; // default |
$email="webmaster@pliva.hr"; // default |