/[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.7 by dpavlin, Thu Sep 20 09:50:24 2001 UTC revision 1.8 by dpavlin, Tue Nov 6 12:35:37 2001 UTC
# Line 19  if (! isset($p)) { Line 19  if (! isset($p)) {
19          $sql="select id,menu_num,name,html,path,type from multi where $visible_is_true and id=$p";          $sql="select id,menu_num,name,html,path,type from multi where $visible_is_true and id=$p";
20          $sth = $dbh->prepare("$sql");          $sth = $dbh->prepare("$sql");
21          $sth->execute();          $sth->execute();
22          $row=$sth->fetchrow_hash();          if (! $row=$sth->fetchrow_hash()) {
23                    $sth = $dbh->prepare("select min(num) as menu_num from menu");
24                    $sth->execute();
25                    $row2=$sth->fetchrow_hash();
26                    $row = array(id=>0,menu_num=>$row2[menu_num],name=>"Can't find page",html=>'',path=>'',type=>'');
27            }
28    
29          $title.=" : $row[name]";          $title.=" : $row[name]";
30          if ($row[type]=="h" && find_html_file("multi",$row[html])) {          if ($row[type]=="h" && find_html_file("multi",$row[html])) {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.26