sitetitle = $PAGE->htmltitle = _("News"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.news.php"); include_once($global['include_path']."class.news.php"); if(!isset($NEWS) || !is_object($NEWS)) $NEWS = new news; if(!isset($sct)) $sct=$global['news']['default_section']; if(isset($id)) $output = $NEWS->show_comments($id); elseif(trim($sct)!="") $output = $NEWS->get_news($sct); else $output = $NEWS->get_news(); if(isset($do) && $do == "add") $output = $NEWS->addcomment($id); $PAGE->render($output); ?>