home *** CD-ROM | disk | FTP | other *** search
- #!/usr/local/bin/perl
- $local_root = $ENV{'DOCUMENT_ROOT'} ;
- $cgi_name = '/cgi-bin' ;
- push(@INC, $local_root . $cgi_name );
-
- require 'cgi-lib.pl';
-
- $file = $ENV{'QUERY_STRING'};
-
- @file_list = (
- 'Portada_3_QXP_cover.pdf' ,
- 'EDITORIAL_page_1.pdf' ,
- 'Anuncio_page_1.pdf' ,
- 'Anuncio_page_2.pdf' ,
- 'Llamamientos_cartas_page_1.pdf' ,
- 'Llamamientos_cartas_page_2.pdf' ,
- 'Llamamientos_cartas_page_3.pdf' ,
- 'Central_Park_page_1.pdf' ,
- 'Central_Park_page_2.pdf' ,
- 'LOS_PABELLONES_page_1.pdf' ,
- 'LOS_PABELLONES_page_2.pdf' ,
- 'LOS_PABELLONES_page_3.pdf' ,
- 'IMS_page_1.pdf' ,
- 'IMS_page_2.pdf' ) ;
-
- $i = 0 ;
- $increment = 1;
- print "Content-type: text/html\n\n" ;
-
- print <<EoI;
- <BODY BGCOLOR="#000000" TEXT="#9999CC" LINK="#9999CC" VLINK="#999999">
- <center>
-
-
- EoI
-
- #<img src="/Images/Flags/spain_flag_small.GIF" hspace="0" vspace="0" >
-
- for (; defined($file_list[$i]); $i += $increment) {
-
- if ( $file_list[$i] eq $file ) {
-
- print <<EoI;
- <a href="push_pdf_spanish.cgi?$file_list[$i]" target="_parent"><img border="0" src="../bulb_lit_small.jpg"></a>
-
- EoI
-
- } else {
-
- print <<EoI;
- <a href="push_pdf_spanish.cgi?$file_list[$i]" target="_parent"><img border="0" src="../bulb_unlit_small.gif"></a>
- EoI
-
- }
-
- }
-
- # print the trailer
-
- print "\n<\/body>\n";
-
- exit (0);
-
-