home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet 1996 World Exposition
/
park.org.s3.amazonaws.com.7z
/
park.org.s3.amazonaws.com
/
cgi-bin
/
Japan
/
Theme
/
theme_read_comment_e.cgi
< prev
next >
Wrap
Text File
|
2017-09-21
|
973b
|
52 lines
#!/usr/local/bin/perl
# theme_read_comment_e.cgi
# Comments reader program in Japan theme pavilion for English page
# kawauso@acs.dnp.co.jp
# 95/12/27
# 96/05/01 updated by haruki@st.rim.or.jp
# THIS CODE USES THESE LIBRARIES
#
# jcode.pl Copyright (c) 1991,1992 Software Research Associates, Inc.
# Original by srekcah@sra.co.jp, Feb 1992
# Maintained by Kazumasa Utashiro <utashiro@sra.co.jp>
#
require 'jcode.pl';
require 'meetinit.pl';
#
# Ñ│ÑßÑ≤Ñ╚Ñ╒ÑíÑñÑδñ╬░╠├╓ñ≥╞└ñδ
#
$ac_comment_file_e = "$ThemePath/logs/theme_ac_comments_e.html";
#
# HTMLÑ╪Ñ├Ñ└╜╨╬╧
#
print "Content-type: text/html\n\n";
#
# Ñ│ÑßÑ≤Ñ╚Ñ╒ÑíÑñÑδñ≥╔╕╜α╜╨╬╧ñ╪╜╨╬╧
#
open (FILE, "<$ac_comment_file_e") || &err("Can not open comment file");
while (<FILE>) {
$code = &jcode'convert(*_, 'jis');
print $_;
}
close(FILE);
#
# Ñ¿ÑΘí╝ñ╬╛∞╣τ
#
sub err{
local($msg) = @_;
print "<p>$msg</p>\n";
close FILE;
print "</BODY></HTML>\n";
exit;
}