--- contact.php 2001/10/01 14:05:16 1.13 +++ contact.php 2001/11/21 10:29:57 1.16 @@ -6,8 +6,8 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); -$main_file=$section; include("section.inc"); +$main_file=$section; $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); @@ -46,6 +46,8 @@ include("common.inc"); +$smarty->assign("from",$from); + if (isset($mailto) && check_required()) { $main="Your comment is sent to $mailto. Thank you."; include("quoted-printable.inc"); @@ -55,7 +57,7 @@ $main=$smarty->fetch("$main_file.tpl"); } -$smarty->assign( array(MAIN=>$main, from=>$from, +$smarty->assign( array(MAIN=>$main, contact_section=>1, ));