use C4::Auth;
use C4::AuthoritiesMarc;
use C4::Koha;
-
+use C4::NewsChannels;
my $query = new CGI;
my $authtypes = getauthtypes;
my @authtypesloop;
$template->param(NOTMARC => !$marc_p);
$template->param(authtypesloop => \@authtypesloop);
+my ($koha_news_count, $all_koha_news) = &get_opac_news(undef, 'koha');
+$template->param(koha_news => $all_koha_news);
+$template->param(koha_news_count => $koha_news_count);
+
output_html_with_http_headers $query, $cookie, $template->output;