#! /usr/bin/perl

# co129_search - find co129 keywords

# PREAMBLE
use CGI;
use strict;

my ($cgi) = new CGI;
print $cgi->header ();
print $cgi->start_html (-title=>'LATIN DECLENSION',
					   -author=>'keloon@catholic.org.hk',
					   -base=>'true',
					   -meta=>{'keywords'=>'Latin Grammar',
					           'content'=>"text/html; charset=utf-8",'keywords'=>'Latin Grammar','copyright'=>'copyright 2000, Louis Ha'},
					   -BGCOLOR=>'#CCCCFF');

print "<BR>";
print "<center>";
print "<H4><font size=5 face=Times News Roman color=red>FIRST CONJUGATION VERB</font></H4>";
print "</center>";

# MAIN-BODY
my ($prstem) = $cgi->param ("prstem");
my ($pfstem) = $cgi->param ("pfstem");
my ($sustem) = $cgi->param ("sustem");
my ($instem) = $cgi->param ("instem");
my ($english) = $cgi->param ("english");
declense ($prstem,$pfstem,$sustem,$instem,$english) if ($prstem,$pfstem,$sustem,$instem,$english);
# ending
print $cgi->hr();
print '<strong><font size = "3"><A HREF="http://www.catholic.org.hk/latin/conjugation/verb_1.html" TARGET="_parent">Return to Main page</strong></font></A><br><br>';
print '<strong><font size = "2">The present website is compiled for an introductory Latin course at the Chinese University of Hong Kong by <A HREF="mailto:keloon@catholic.org.hk" TARGET="_parent">Dr. Louis Ha</A>.<br>';
print 'Copyright by Louis Ha, 2000.</font></strong><br>';
print $cgi->center ('*     *     *');
print '<br><br>';
## MAIN-BODY

# DECLENSE
sub declense{
	print "<center><big>";
#	printf "<b>Latin   : %s<BR><BR></b>\n",
#		$cgi->escapeHTML ($key_word).", -is, -e";
	print $cgi->blockquote(qq{<font face='Times News Roman'><b>Latin : $prstem-o, $instem, $pfstem-i, $sustem-um </b></font>}); 
	printf "<b>English : %s<BR><BR>\n",
		$cgi->escapeHTML ($english);
	print $cgi->hr();
print $cgi->blockquote(qq{<font face='Times News Roman'>
<table border=1 cellpadding=5 cellspacing=5>
<tr><td><big><big></td>
<td bgcolor="#0000ff"><big><big><font color="#ffff00"><b></b>ACTIVE</font><L></L></td>
<td bgcolor="#0000ff"><big><big></td>
</tr>
<tr><td><big><big></td>
<td bgcolor="#05AFFA"><big><big>INDICATIVE<L></L></td>
<td bgcolor="#A1D3F8"><big><big>SUBJUNCTIVE</td>
</tr>
<tr>
<td><big><big></td>
<td><big><big><b>PRESENT</b><L></L></td>
<td><big><big><L></L></td>
</tr>
<td><big><big>1.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>o</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>em</B></L></td>
</tr>
<tr>
<td><big><big>2.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>as</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>es</B></L></td>
</tr>
<tr>
<td><big><big>3.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>at</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>et</B></L></td>
</tr>
<tr>
<td><big><big>1.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;mus</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#275;mus</B></L></td>
</tr>
<tr>
<td><big><big>2.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;tis</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#275;tis</B></L></td>
</tr>
<tr>
<td><big><big>3.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ant</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ent</B></L></td>
</tr>
<tr>
<td><big><big></td>
<td><big><big><b>IMPERFECT</b></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>1.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bam</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;rem</B></L></td>
</tr>
<tr>
<td><big><big>2.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bas</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;res</B></L></td>
</tr>
<tr>
<td><big><big>3.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bat</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;ret</B></L></td>
</tr>
<tr>
<td><big><big>1.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ab&#257;mus</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ar&#275;mus</B></L></td>
</tr>
<tr>
<td><big><big>2.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ab&#257;tis</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ar&#275;tis</B></L></td>
</tr>
<tr>
<td><big><big>3.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bant</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;rent</B></L></td>
</tr>
<tr>
<td><big><big></td>
<td><big><big><b>FUTURE</b></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>1.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bo</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>2.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bis</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>3.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bit</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>1.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bimus</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>2.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bitis</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>3.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;bunt</B></L></td>
<td><big><big></td>
</tr>
<tr><td><big><big></td>
<td><big><big><b>PERFECT</b><L></L></td>
<td><big><big><L></L></td>
</tr>
<td><big><big>1.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>i</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erim</B></L></td>
</tr>
<tr><td><big><big>2.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;sti</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>eris</B></L></td>
</tr>
<tr>
<td><big><big>3.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>it</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erit</B></L></td>
</tr>
<tr>
<td><big><big>1.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>imus</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>er&#299;mus</B></L></td>
</tr>
<tr>
<td><big><big>2.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;stis</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>er&#299;tis</B></L></td>
</tr>
<tr>
<td><big><big>3.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#275;runt</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erint</B></L></td>
</tr>
<tr>
<td><big><big></td>
<td><big><big><b>PLUPERFECT</b></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>1.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>eram</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;ssem</B></L></td>
</tr>
<tr>
<td><big><big>2.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>eras</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;sses</B></L></td>
</tr>
<tr>
<td><big><big>3.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erat</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;sset</B></L></td>
</tr>
<tr>
<td><big><big>1.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>er&#257;mus</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>iss&#275;mus</B></L></td>
</tr>
<tr>
<td><big><big>2.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>er&#257;tis</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>iss&#275;tis</B></L></td>
</tr>
<tr>
<td><big><big>3.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erant</B></L></td>
<td bgcolor="#A1D3F8"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;ssent</B></L></td>
</tr>
<tr>
<td><big><big></td>
<td><big><big><b>FUTURE PERFECT</b></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>1.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>ero</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>2.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>eris</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>3.sg</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erit</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>1.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#275;rimus</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>2.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#275;ritis</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big>3.pl</td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>erint</B></L></td>
<td><big><big></td>
</tr>
</table>

<br>
<TABLE border=1 cellpadding=5 cellspacing=5>
<tr>
<td><big><big></td>
<td bgcolor="#0000ff"><big><big><font color="#ffff00"><b>ACTIVE</b></font><L></L></td>
<td bgcolor="#0000ff"><big><big><font color="#ffff00"><b>ACTIVE</b></font><L></L></td>
</tr>
<tr>
<td><big><big></td>
<td bgcolor="#99ffff"><big><big><b>IMPERATIVE</b></td>
<td bgcolor="#99ffff"><big><big><b>INFINITIVE</b></td>
</tr>
<tr>
<td><big><big><b>present</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>a</B>,  <FONT COLOR="#FF3333">$prstem</font><B>&#257;te</B></L></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;re</B></L></td>
</tr>
<tr>
<td><big><big><b>perfect</b></td>
<td><big><big></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$pfstem</font><B>&#299;sse</B></L></td>
</tr>
<tr>
<td><big><big><b>future</b></td>
<td><big><big></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$sustem</font><B>&#363;rus -a -um esse</B></L></td>
</tr>
</table>

<BR>

<TABLE border=1 cellpadding=5 cellspacing=5>
<tr>
<td><big><big></td>
<td bgcolor="#ff6600"><big><big><b>PARTICIPLE</b></td>
<td bgcolor="#ff6600"><big><big><b>PARTICIPLE</b></td>
<td><big><big></td>
<td><big><big></td>
<td bgcolor="#ff9999"><big><big><b>GERUND</b></td>
<td bgcolor="#ff9999"><big><big><b>SUPINE</b></td>
</tr>
<tr>
<td><big><big></td>
<td bgcolor="#0000ff"><big><big><font color="#ffff00"><b>ACTIVE</b></font><L></L></td>
<td bgcolor="#ffff00"><big><big><b>PASSIVE</b></td>
<td><big><big></td>
<td><big><big><b>Gen.</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;ndi</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big><b>present</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>ans, (-tis)</B></L></td>
<td><big><big></td>
<td><big><big></td>
<td><big><big><b>Dat.</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;ndo</B></L></td>
<td><big><big></td>
</tr>
<tr>
<td><big><big><b>perfect</b></td>
<td><big><big></td>
<td bgcolor="#ffff00"><big><big><L><FONT COLOR="#FF3333">$sustem</font><B>us -a -um</B></L></td>
<td><big><big></td>
<td><big><big><b>Acc.</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;ndum</B></L></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$sustem</font><B>um</B></L></td>
</tr>
<tr>
<td><big><big><b>future</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$sustem</font><B>&#363;rus -a -um</B></L></td>
<td bgcolor="#ffff00"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;ndus -a -um</B></L></td>
<td><big><big></td>
<td><big><big><b>Abl.</b></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$prstem</font><B>&#257;ndo</B></L></td>
<td bgcolor="#05AFFA"><big><big><L><FONT COLOR="#FF3333">$sustem</font><B>u</B></L></td>
</tr>
</table>

</center>
});

}



## WEBPAGE OUTPUT
