/[pliva-si]/multi.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /multi.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by dpavlin, Wed Nov 7 12:09:58 2001 UTC revision 1.10 by dpavlin, Wed Nov 7 14:24:02 2001 UTC
# Line 10  $smarty = new Smarty; Line 10  $smarty = new Smarty;
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;
# Line 30  if (! isset($p)) { Line 31  if (! isset($p)) {
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>";

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.26