Kumara - predecessor to Koha
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

#!/usr/bin/perl
#script to display detailed information
#written 8/11/99
use strict;
#use DBI;
use C4::Search;
use CGI;
use C4::Output;
my $input = new CGI;
print $input->header;
print startpage();
print startmenu();
my $blah;
my $bib=$input->param('bib');
my $title=$input->param('title');
my @items=ItemInfo(\$blah,$bib,$title);
#print @items;
my $count=@items;
my $i=0;
print center();
print mktablehdr;
print mktablerow(3,'white','Title','Itemnumber','DateDue');
my $colour=1;
while ($i < $count){
my @results=split('\t',$items[$i]);
if ($colour == 1){
print mktablerow(4,'#ffffcc',@results);
$colour=0;
} else{
print mktablerow(4,'white',@results);
$colour=1;
}
$i++;
}
print endcenter();
print mktableft();
print endmenu();
print endpage();