--- contact.php 2001/10/02 09:59:03 1.14 +++ contact.php 2001/11/21 10:27:39 1.15 @@ -16,6 +16,7 @@ if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?")); if ($from == $HTTP_HOST || $from=="www.pliva.hr") $from="index"; } +$smarty->assign("from",$from); $email="webmaster@pliva.hr"; // default @@ -55,7 +56,7 @@ $main=$smarty->fetch("$main_file.tpl"); } -$smarty->assign( array(MAIN=>$main, from=>$from, +$smarty->assign( array(MAIN=>$main, contact_section=>1, ));