// display.nor // displays picture within site template // parameter: image: filename of picture to be displayed // parameter: l: language. // picture file must exist in /art/ directory $INCLUDESPATH="/usr/local/etc/httpd/vhosts/sancta.org/htdocs/includes/"; $IMAGEPATH="/usr/local/etc/httpd/vhosts/sancta.org/htdocs/art/cards/"; if ( $l == "s" ){ $header_file = $INCLUDESPATH."header_white_s.html"; } else{ $header_file = $INCLUDESPATH."header_white.html"; } if ( $l == "s" ){ $footer_file = $INCLUDESPATH."footer_white_s.html"; } else{ $footer_file = $INCLUDESPATH."footer_white.html"; } $picture = $IMAGEPATH.$image; include ($header_file); if (file_exists($picture)) { print "
";
//echo "