--- sections/novosti.inc 2001/09/10 13:25:01 1.3 +++ sections/novosti.inc 2001/09/20 09:50:24 1.5 @@ -2,7 +2,7 @@ include("news_sif.inc"); -$sql_where="where visible is true"; +$sql_where="where $visible_is_true"; if (file_exists(find_html_file("more",$more))) { @@ -94,6 +94,7 @@ if (isset($id) && find_html_file("more",$data[0][more])) { $main=join('',file(find_html_file("more",$data[0][more]))); } else { + if (! isset($p)) $p="novosti"; $logo="p/${p}_".$data[0][type].".jpg"; if (file_exists($logo)) { $smarty->assign("logo",$logo);