--- new.php 2002/04/29 13:25:27 1.25 +++ new.php 2002/04/30 13:26:33 1.27 @@ -21,11 +21,7 @@ if (! isset($type)) { $sql_where .= " and type='i'"; } - $title.=" : Investors News"; } else { - $title="What's New"; - $lpic="new"; $lext=".jpg"; - $mpic="new.gif"; $back_url="index.php"; $sql_where.=" and (type='a' or type='c' or type='e' or type='f' or type='i' or type='n' or type='p' or type='r')"; // don't show company profile } @@ -50,10 +46,11 @@ $sql_where .= " and (type='n' or type='i')"; } elseif ($type == "e") { $sql_where .= " and (type='e' or type='f')"; + } elseif ($type == "f") { + $sql_where .= " and type='f'"; } elseif ($type == "c") { $sql_where .= " and type='c'"; } - $title.=" : ".$news_type[$type]; } if (! isset($show) && !isset($start)) { @@ -134,7 +131,5 @@ $smarty->assign( array(back_url=>$back_url, MAIN=>$main, Section_title=>$title ) ); -include("inc/newsletter.php"); - $smarty->display("index.tpl"); ?>