/[corp_html]/new.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 /new.php

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

revision 1.23 by dpavlin, Mon Apr 29 13:01:49 2002 UTC revision 1.26 by dpavlin, Mon Apr 29 13:27:33 2002 UTC
# Line 48  if (file_exists(find_html_file("news",$m Line 48  if (file_exists(find_html_file("news",$m
48          if (isset($type)) {          if (isset($type)) {
49                  if ($type == "n") {                  if ($type == "n") {
50                          $sql_where .= " and (type='n' or type='i')";                          $sql_where .= " and (type='n' or type='i')";
51                  } elseif ($type == "e" || $type == "c") {                  } elseif ($type == "e") {
52                          $sql_where .= " and type='".$type."'";                          $sql_where .= " and (type='e' or type='f')";    
53                    } elseif ($type == "f") {
54                            $sql_where .= " and type='f'";
55                    } elseif ($type == "c") {
56                            $sql_where .= " and type='c'";
57                  }                  }
58                  $title.=" : ".$news_type[$type];                  $title.=" : ".$news_type[$type];
59          }          }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.26