--- web/cgi-bin/download.cgi 2001/03/31 11:42:06 1.2 +++ web/cgi-bin/download.cgi 2001/03/31 12:00:29 1.3 @@ -21,6 +21,9 @@ $| = 1; #-------------------------------------------------------------- my ($build_dir) = "/builds"; my ($log_file) = "download_log"; +my ($left) = "../left.inc" ; +my ($title) = "../title.inc"; +my ($bottom) = "../bottom.inc"; #-------------------------------------------------------------- @@ -51,11 +54,42 @@ if (defined($submit) && $submit eq "Download") { } else { print "Content-type: text/html\n\n"; - - print < + + + - - + + + i-scream downloads + + + + + + + + + + + + +
+END + + &print_html($left); + + print <<"END"; + +END + + &print_html($title); + + print <
@@ -102,7 +136,26 @@ else { EOT -} + &print_html($bottom); + print <<"END"; -exit; \ No newline at end of file +
+ + + + +END + +} + +exit; + + +# Print a file without escaping HTML: - +sub print_html ($) { + my ($filename) = @_; + print `cat $filename`; +} \ No newline at end of file