--- new.php 2002/04/29 13:11:39 1.24 +++ new.php 2002/04/29 13:25:27 1.25 @@ -48,8 +48,10 @@ if (isset($type)) { if ($type == "n") { $sql_where .= " and (type='n' or type='i')"; - } elseif ($type == "e" || $type == "f" || $type == "c") { - $sql_where .= " and type='".$type."'"; + } elseif ($type == "e") { + $sql_where .= " and (type='e' or type='f')"; + } elseif ($type == "c") { + $sql_where .= " and type='c'"; } $title.=" : ".$news_type[$type]; }