--- vet_smpc.php 2001/04/05 12:26:33 1.1 +++ vet_smpc.php 2002/01/10 16:48:24 1.4 @@ -6,18 +6,19 @@ $smarty->assign( array ( Title=>"Pliva d.d." ) ); -$section="products"; - -$title="Products : Animal Health"; -$lpic="products"; $lext=".jpg"; -$mpic="products.gif"; +$section="animal_health"; +include("section.inc"); +$title.=" : Animal Health"; $back_url="animal_health.php"; if (isset($smpc)) { $sth = $dbh->prepare("select brand,form from vet_products where smpc=$smpc"); $sth->execute(); - if ($row=$sth->fetchrow_hash()) $title.=" : $row[brand] $row[form]"; + if ($row=$sth->fetchrow_hash()) { + $title.=" : $row[brand] $row[form]"; + $title=str_replace("®","®",$title); + } } $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); @@ -25,6 +26,8 @@ include("find_html_file.inc"); if (file_exists(find_html_file("vet",$smpc))) { $main=join('',file(find_html_file("vet",$smpc))); +# $main=str_replace("Â","",$main); // hm? + $main=str_replace("®","®",$main); } include("common.inc");