/[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.2 by dpavlin, Mon Jul 9 08:49:46 2001 UTC revision 1.3 by dpavlin, Mon Jul 9 13:40:26 2001 UTC
# Line 21  if (! isset($p)) { Line 21  if (! isset($p)) {
21          $title.=" : $row[name]";          $title.=" : $row[name]";
22          if ($row[type]=="h" && file_exists(find_html_file("multi",$row[html]))) {          if ($row[type]=="h" && file_exists(find_html_file("multi",$row[html]))) {
23                  $main=join('',file(find_html_file("multi",$row[html])));                  $main=join('',file(find_html_file("multi",$row[html])));
24          } elseif ($row[type]=="p" && file_exists(find_html_file("",$row[path]))) {          } elseif ($row[type]=="p") {
25                  $main=join('',file(find_html_file("",$row[path])));                  if (file_exists(find_html_file("",$row[path]))) {
26                            $main=join('',file(find_html_file("",$row[path])));
27                    } else {
28                            $main="<b>can't find $row[path] for id $p</b>";
29                    }
30                  // try to load translation (html fix-up or something)                  // try to load translation (html fix-up or something)
31                  $fix_up="./fix_up/".str_replace("/","_",dirname($row[path])).".inc";                  $fix_up="./fix_up/".str_replace("/","_",dirname($row[path])).".inc";
32                    
33    #               $main.="<!-- trying to use fixup $fix_up -->";  ## DEBUG
34                  if (file_exists($fix_up)) {                  if (file_exists($fix_up)) {
35                          include($fix_up);                          include($fix_up);
36    #                       $main.="<!-- fixup: $fix_up -->";       ## DEBUG
37                  }                  }
38          } else {          } else {
39                  $main="<b>can't find multi page for id $p</b>";                  $main="<b>can't find multi page for id $p</b>";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26