added these files from the rel-1-2 branch. This is the beging of the new opac
[koha.git] / opac / opac-search.pl
1 #!/usr/bin/perl
2 use strict;
3 require Exporter;
4
5 use C4::Output;  
6 use CGI;
7 use C4::Auth;
8
9 my $query = new CGI;
10 my ($loggedinuser, $cookie, $sessionID) = checkauth($query ,1);
11
12 my $template = gettemplate("opac-search.tmpl", "opac");
13
14 $template->param(loggedinuser => $loggedinuser);
15
16 print "Content-Type: text/html\n\n", $template->output;