192 lines
4.2 KiB
Perl
Executable file
192 lines
4.2 KiB
Perl
Executable file
#!/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;
|
|
#whether it is called from the opac of the intranet
|
|
my $type=$input->param('type');
|
|
#setup colours
|
|
my $main;
|
|
my $secondary;
|
|
if ($type eq 'opac'){
|
|
$main='#99cccc';
|
|
$secondary='#efe5ef';
|
|
} else {
|
|
$main='#cccc99';
|
|
$secondary='#ffffcc';
|
|
}
|
|
print startpage();
|
|
print startmenu($type);
|
|
my $blah;
|
|
|
|
my $bib=$input->param('bib');
|
|
my $title=$input->param('title');
|
|
my $bi=$input->param('bi');
|
|
my $data=bibitemdata($bi);
|
|
|
|
my @items=ItemInfo(\$blah,$bib,$title);
|
|
#print @items;
|
|
my $count=@items;
|
|
my $i=0;
|
|
print center();
|
|
|
|
print <<printend
|
|
<br>
|
|
<a href=request.html><img src=/images/requests.gif width=120 height=42 border=0 align=right border=0></a>
|
|
<FONT SIZE=6><em>$data->{'title'} ($data->{'author'})</em></FONT><P>
|
|
<p>
|
|
<form >
|
|
<!-------------------BIBLIO ITEM------------>
|
|
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left>
|
|
<TR VALIGN=TOP>
|
|
<td bgcolor="99cc33" background="/images/background-mem.gif" ><B>$data->{'biblioitemnumber'} GROUP - Largeprint </b> </TD>
|
|
</TR>
|
|
<tr VALIGN=TOP >
|
|
<TD width=210 >
|
|
<INPUT TYPE="image" name="submit" VALUE="modify" height=42 WIDTH=93 BORDER=0 src="/images/modify-mem.gif">
|
|
<INPUT TYPE="image" name="submit" VALUE="modify" height=42 WIDTH=93 BORDER=0 src="/images/delete-mem.gif">
|
|
<br>
|
|
<FONT SIZE=2 face="arial, helvetica">
|
|
Group Number: <br>
|
|
Volume: <br>
|
|
Number: <br>
|
|
Classification: <br>
|
|
Itemtype: <br>
|
|
ISBN: <br>
|
|
ISSN: <br>
|
|
Dewey: <br>
|
|
Subclass: <br>
|
|
Copyright: <br>
|
|
Number of Items: 2 <br>
|
|
|
|
</font>
|
|
|
|
|
|
</TD>
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<img src="/images/holder.gif" width=16 height=250 align=left>
|
|
|
|
|
|
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left width=220 >
|
|
|
|
<TR VALIGN=TOP>
|
|
|
|
<td bgcolor="99cc33" background="/images/background-mem.gif"><B>BARCODE LO123456</b></TD>
|
|
|
|
|
|
</TR>
|
|
|
|
|
|
<tr VALIGN=TOP >
|
|
<TD width=220 >
|
|
|
|
<INPUT TYPE="image" name="submit" VALUE="modify" height=42 WIDTH=93 BORDER=0 src="/images/modify-mem.gif">
|
|
|
|
<INPUT TYPE="image" name="submit" VALUE="modify" height=42 WIDTH=93 BORDER=0 src="/images/delete-mem.gif">
|
|
|
|
<br>
|
|
|
|
<FONT SIZE=2 face="arial, helvetica">
|
|
Item Number: <br>
|
|
Due Date: <br>
|
|
Member: <br>
|
|
Reserves: <br>
|
|
Home Branch: <br>
|
|
|
|
[rest of item info]<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
\/
|
|
</font>
|
|
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<img src="/images/holder.gif" width=16 height=250 align=left>
|
|
|
|
|
|
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left width=220 >
|
|
|
|
<TR VALIGN=TOP>
|
|
|
|
<td bgcolor="99cc33" background="/images/background-mem.gif"><B>BARCODE LO123457</b></TD>
|
|
|
|
|
|
</TR>
|
|
|
|
|
|
<tr VALIGN=TOP >
|
|
<TD width=220 >
|
|
|
|
<INPUT TYPE="image" name="submit" VALUE="modify" height=42 WIDTH=93 BORDER=0 src="/images/modify-mem.gif">
|
|
|
|
<INPUT TYPE="image" name="submit" VALUE="modify" height=42 WIDTH=93 BORDER=0 src="/images/delete-mem.gif">
|
|
|
|
<br>
|
|
|
|
<FONT SIZE=2 face="arial, helvetica">
|
|
Item Number: <br>
|
|
Due Date: <br>
|
|
Member: <br>
|
|
Reserves: <br>
|
|
Home Branch: <br>
|
|
|
|
[rest of item info]<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
|<br>
|
|
\/
|
|
</font>
|
|
|
|
|
|
</TD>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
printend
|
|
;
|
|
|
|
|
|
print endcenter();
|
|
|
|
print endmenu($type);
|
|
print endpage();
|