4 |
|
|
5 |
$smarty = new Smarty; |
$smarty = new Smarty; |
6 |
|
|
|
|
|
7 |
$smarty->assign( array ( Title=>"PLIVA Ljubljana" ) ); |
$smarty->assign( array ( Title=>"PLIVA Ljubljana" ) ); |
8 |
|
|
9 |
$section=str_replace(".php","",basename($PHP_SELF)); |
$section=str_replace(".php","",basename($PHP_SELF)); |
36 |
} |
} |
37 |
if (find_html_file("static/$d[0]",$d[1])) { |
if (find_html_file("static/$d[0]",$d[1])) { |
38 |
$main=join('',file(find_html_file("static/$d[0]",$d[1]))); |
$main=join('',file(find_html_file("static/$d[0]",$d[1]))); |
39 |
|
// fix entities from MS programs |
40 |
|
include("fix_msshit.inc"); |
41 |
|
$main=fix_msshit($main); |
42 |
} else { |
} else { |
43 |
$main="<b>Can't find static/$d[0]/$d[1]</b>"; |
$main="<b>Can't find static/$d[0]/$d[1]</b>"; |
44 |
} |
} |