6 use C4::Output; # gettemplate
7 use C4::Auth; # checkauth
12 $flagsrequired->{borrow}=1;
14 my ($loggedinuser, $cookie, $sessionID) = checkauth($query, 1, $flagsrequired);
17 my $template = gettemplate("opac-main.tmpl", "opac");
19 $template->param(loggedinuser => $loggedinuser);
21 print "Content-Type: text/html\n\n", $template->output;