--- human_health.php 2001/03/06 07:38:45 1.5 +++ human_health.php 2001/10/01 14:05:16 1.8 @@ -6,11 +6,7 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); -$section="products"; - -$title="Products : Human Health"; -$lpic="products"; $lext=".jpg"; -$mpic="products.gif"; +include("section.inc"); $back_url="products.php"; $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); @@ -51,7 +47,7 @@ if (isset($search)) { - $sql="select distinct brand,form,generic,description,type,atc,town,smpc,have_smpc from products $sql_where order by brand asc"; + $sql="select distinct brand,form,generic,description,type,atc,town,smpc,have_smpc,tm from products $sql_where order by brand asc"; $sth = $dbh->prepare("$sql"); $sth->execute(); while ($row=$sth->fetchrow_hash()) { @@ -75,7 +71,7 @@ $main=$smarty->fetch("human_health.tpl"); include("common.inc"); -$smarty->assign( array(back_url=>$back_url, MAIN=>$main)); +$smarty->assign( array(back_url=>$back_url, MAIN=>$main, self=>$PHP_SELF)); $smarty->display("index.tpl"); ?>