25 |
if ($row[type]=="h" && file_exists(find_html_file("multi",$row[html]))) { |
if ($row[type]=="h" && file_exists(find_html_file("multi",$row[html]))) { |
26 |
$main=join('',file(find_html_file("multi",$row[html]))); |
$main=join('',file(find_html_file("multi",$row[html]))); |
27 |
} elseif ($row[type]=="p") { |
} elseif ($row[type]=="p") { |
28 |
if (file_exists(find_html_file("",$row[path]))) { |
if (file_exists(find_html_file("/",$row[path]))) { |
29 |
$main=join('',file(find_html_file("",$row[path]))); |
$main=join('',file(find_html_file("/",$row[path]))); |
30 |
|
// fix entities from MS programs |
31 |
|
include("fix_msshit.inc"); |
32 |
|
$main=fix_msshit($main); |
33 |
} else { |
} else { |
34 |
$main="<b>can't find $row[path] for id $p</b>"; |
$main="<b>can't find $row[path] for id $p</b>"; |
35 |
} |
} |