10 |
$smarty->assign( array ( Title=>"PLIVA Ljubljana" ) ); |
$smarty->assign( array ( Title=>"PLIVA Ljubljana" ) ); |
11 |
|
|
12 |
include("find_html_file.inc"); |
include("find_html_file.inc"); |
13 |
|
include("fix_msshit.inc"); |
14 |
|
|
15 |
if (! isset($p)) { |
if (! isset($p)) { |
16 |
$p=0; |
$p=0; |
31 |
$smarty->assign("mtext",$row[name]); |
$smarty->assign("mtext",$row[name]); |
32 |
if ($row[type]=="h" && find_html_file("multi",$row[html])) { |
if ($row[type]=="h" && find_html_file("multi",$row[html])) { |
33 |
$main=join('',file(find_html_file("multi",$row[html]))); |
$main=join('',file(find_html_file("multi",$row[html]))); |
34 |
|
$main=fix_msshit($main); |
35 |
} elseif ($row[type]=="p") { |
} elseif ($row[type]=="p") { |
36 |
if (find_html_file("",$row[path])) { |
if (find_html_file("",$row[path])) { |
37 |
$main=join('',file(find_html_file("",$row[path]))); |
$main=join('',file(find_html_file("",$row[path]))); |
38 |
// fix entities from MS programs |
// fix entities from MS programs |
|
include("fix_msshit.inc"); |
|
39 |
$main=fix_msshit($main); |
$main=fix_msshit($main); |
40 |
} else { |
} else { |
41 |
$main="<b>can't find $row[path] for id $p</b>"; |
$main="<b>can't find $row[path] for id $p</b>"; |