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 == "f" || $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 |
} |
} |