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 == "") { |
46 |
|
|
47 |
include("common.inc"); |
include("common.inc"); |
48 |
|
|
49 |
|
$smarty->assign("from",$from); |
50 |
|
|
51 |
if (isset($mailto) && check_required()) { |
if (isset($mailto) && check_required()) { |
52 |
$main="Your comment is sent to $mailto. Thank you."; |
$main="Your comment is sent to $mailto. Thank you."; |
53 |
include("quoted-printable.inc"); |
include("quoted-printable.inc"); |
57 |
$main=$smarty->fetch("$main_file.tpl"); |
$main=$smarty->fetch("$main_file.tpl"); |
58 |
} |
} |
59 |
|
|
60 |
$smarty->assign( array(MAIN=>$main, from=>$from, |
$smarty->assign( array(MAIN=>$main, |
61 |
contact_section=>1, |
contact_section=>1, |
62 |
)); |
)); |
63 |
|
|