6 use C4::Output; # gettemplate
7 use C4::Auth; # checkauth
11 my ($loggedinuser, $cookie, $sessionID) = checkauth($query, 1);
13 my $template = gettemplate("opac-main.tmpl", "opac");
15 $template->param(loggedinuser => $loggedinuser);
17 print "Content-Type: text/html\n\n", $template->output;