--- new.php 2002/04/30 13:26:33 1.27 +++ new.php 2002/05/07 14:02:33 1.28 @@ -14,6 +14,7 @@ $sql_where="where $visible_is_true"; +unset($menu_item); // don't modify title in section.inc include("section.inc"); if ($section == "investor") { @@ -87,6 +88,7 @@ $tmp="$PHP_SELF?start=".($start+10); if ($days) $tmp.="&days=$days"; if ($from) $tmp.="&from=$from"; + if ($type) $tmp.="&type=$type"; $smarty->assign(array( "multi_page_show" => 1, "multi_page_next" => $tmp @@ -96,6 +98,7 @@ $tmp="$PHP_SELF?start=".($start-10); if ($days) $tmp.="&days=$days"; if ($from) $tmp.="&from=$from"; + if ($type) $tmp.="&type=$type"; $smarty->assign(array( "multi_page_show" => 1, "multi_page_prev" => $tmp @@ -104,9 +107,10 @@ if (isset($id) && $num_selected == 1) { $title.=" : ".$news_type[ $data[0][type] ]." : ".$data[0][title_lc]; + } else { + $title.=" : ".$news_type[ $data[0][type] ]; } - if (isset($days) && $num_selected == 0) { $warning = "There are no news for last $days days."; } elseif ($main == "" && $num_selected == 0) {