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.0105
/
echeckplace.cgi
< prev
next >
Wrap
Text File
|
2017-09-21
|
2KB
|
96 lines
#!/usr/local/bin/perl
$| = 1;
# script for meeting room
# jrh
$CgiPath = '/stage/htdocs/cgi-bin/Japan/Theme';
push(@INC, "$CgiPath");
require 'jcode.pl'; # tends to be in /usr/local/lib/perl
require 'read-form.pl'; # tends to be in your cgi path
require 'frames.pl';
require 'meetinit.pl';
$ThisFile = '/stage/htdocs/cgi-bin/Japan/Theme/textpre.cgi';
# print "Content-type: text/html\n\n";
&get_referer;
&print_room;
#########################################################################
sub get_referer {
$Referer = $ENV{'HTTP_REFERER'};
}
sub print_room {
select(STDOUT);
# tell the server that we're sending data back now
print "Content-type: text/html\n\n";
# now send the server some html stuff
print '<html>
<head><title>Check in</title></head>
<body background="/Japan/Theme/image/bg1.gif">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><a href="/Japan/Theme/index.html" target="_top"><img src="/Japan/Theme/image/gohome.gif" border="0"></a></td>
</tr>
</table>
<center>
<H2> Welcome to Meeting Place !</H2>
<img src="/Japan/Theme/image/checkin.gif" border="0"alt="Please CHECK-INN!">
<table border="0" cellspacing="1" cellpadding="0">
<tr><td colspan="4" align="center"><font size="7">E</font><font size="3">verytime you visit the Theme Pavilion,<br>
please enter your name and address<br>(within 10 characters for each).
</font><br><br></td></tr>
<tr><td colspan="4" align="center"><font size="2"><b>*sample*</b><br>
akira/TYO, Bob Smith/St.Lewis, Yuki/Paris<br></font><br><br></td></tr>';
print "<form method=\"get\" action=\"/cgi-bin/Japan/Theme/checkin.cgi\">";
print '<tr valign="bottom">
<td>name:<br><br></td>
<td><input type="text" name="your_name" size=10><br><br></td>
<td align="right">place:<br><br></td>
<td><input type="text" name="your_location" size=10><br><br></td></tr>
<tr><td></td>';
print "<INPUT TYPE=\"HIDDEN\" NAME=\"referer\" VALUE=\"$Referer\">";
print '<td align="right"><input type="submit" value="submit"></td>
<td><input type="reset" value="reset"></td>
<td></td></tr>
</form>
</table>
</center>
</body>
<hr>
<center>
<adress>
Theme pavilion "sensorium"/IWE\'96 JAPAN
</adress>
</center>
</html>';
}