/[corp_html]/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.1 by dpavlin, Mon Oct 1 14:05:16 2001 UTC revision 1.2 by dpavlin, Wed Oct 31 12:17:41 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    
24          $title.=" : $row[name]";          $title.=" : $row[name]";
25          if ($row[type]=="h" && find_html_file("multi",$row[html])) {          if ($row[type]=="h" && find_html_file("multi",$row[html])) {
# Line 84  if (! isset($p)) { Line 84  if (! isset($p)) {
84                  "multi_page_options"=>$multi_page_options,                  "multi_page_options"=>$multi_page_options,
85                  "multi_page_curr_id"=>$curr_id                  "multi_page_curr_id"=>$curr_id
86          ));          ));
87    
88            } else {        // no such page (no fetch)
89                    $main="<b>This page is no longer available</b>";
90                    $section="index";
91            }
92  }  }
93    
94  include("section.inc");  include("section.inc");

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

  ViewVC Help
Powered by ViewVC 1.1.26