15 |
|
|
16 |
$sth = $dbh->prepare("select brand,form from vet_products where smpc=$smpc"); |
$sth = $dbh->prepare("select brand,form from vet_products where smpc=$smpc"); |
17 |
$sth->execute(); |
$sth->execute(); |
18 |
if ($row=$sth->fetchrow_hash()) $title.=" : $row[brand] $row[form]"; |
if ($row=$sth->fetchrow_hash()) { |
19 |
|
$title.=" : $row[brand] $row[form]"; |
20 |
|
$title=str_replace("®","®",$title); |
21 |
|
$main=str_replace("µ","µ",$main); |
22 |
|
$main=str_replace("≅","≅",$main); |
23 |
|
} |
24 |
} |
} |
25 |
|
|
26 |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
28 |
include("find_html_file.inc"); |
include("find_html_file.inc"); |
29 |
if (file_exists(find_html_file("vet",$smpc))) { |
if (file_exists(find_html_file("vet",$smpc))) { |
30 |
$main=join('',file(find_html_file("vet",$smpc))); |
$main=join('',file(find_html_file("vet",$smpc))); |
31 |
|
# $main=str_replace("Â","",$main); // hm? |
32 |
$main=str_replace("®","®",$main); |
$main=str_replace("®","®",$main); |
33 |
} |
} |
34 |
|
|