Python & CGI Programming


HTML Example Template


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Kevin Gunn's Web-O-Rama, V. 7.36">
<meta name="AUTHOR" content="Gilbert Le Blanc">
<meta name="DESCRIPTION" content="Online version of the Pokémon trading card game with club play">
<title>Create a Pokémon Trading Card Deck</title>

<link rel="stylesheet" href="mainstyle.css" type="text/css">
<<card>>
<<addcard>>
</head>

<body bgcolor="#00FFFF" text="#000040" link="#0000FF" leftmargin="20" rightmargin="20" marginwidth="20">

<table border="0" rules="none" cellpadding="10" cellspacing="0" width="500">
<tr>
<td height="70" width="70"><a href="index.html"><img width="65" height="65" border="0" src="Bitmaps/pikachumove3.gif" alt="Pokemon Internet Club"></a></td>
<td class="title">Pokémon Internet Club</td>
</tr>
</table>

<table border="0" rules="cols" cellpadding="10" cellspacing="0" width="100%">
<tr>

<td valign="top" width="20%" nowrap>
<p class="bucketLeftNav">
<a class="bucketLeftNav" href="index.html">Home</a>
<br><a class="bucketLeftNav" href="game_rules.html">Game Rules</a>
<br><a class="bucketLeftNav" href="watch_game.html">Watch Game</a>
<br>
<br><a class="bucketLeftNav" href="cgi-bin/SignInSetup.py?CreateDeck">Create Deck</a>
<br><a class="bucketLeftNav" href="cgi-bin/SignInSetup.py?PlayGame">Play Game</a>
<br>
<br><a class="bucketLeftNav" href="feedback.html">Feedback</a>
<br><a class="bucketLeftNav" href="about.html">About PIC</a>
</p>
</td>
        
<td valign="top" width="400">
<p class="subtitle">Select Deck</p>

<<messages>>

<form action="CreateDeckDisplay.py" enctype="application/x-www-form-urlencoded" method="post">
<p class="text">Select one of the cards and click on View Card to see the card information.</p>
<p class="text">Clear Card clears the card so you can select another Pokémon card to view.</p>

<input type="hidden" name="Order" <<order_value>>>
<input type="hidden" name="PlayerID" <<playerid_value>>>
<input type="hidden" name="DeckID" <<deckid_value>>>

<table border="0" rules="cols" cellpadding="0" cellspacing="0" width="100%">

<colgroup>
<col width="30%" valign="middle">
<col width="70% valign="middle">
</colgroup>

<tr>
<td class="formtext" nowrap>Pokémon Card</td>
<td><select name="PokemonCard" size="1" readonly>
<<pokemoncard>>
</select>
</td>
</tr>

<tr>
<td class="formtext" nowrap>Energy Card</td>
<td><select name="EnergyCard" size="1" readonly>
<<energycard>>
</select>
</td>
</tr>

<tr>
<td class="formtext" nowrap>Trainer Card</td>
<td><select name="TrainerCard" size="1" readonly>
<<trainercard>>
</select>
</td>
</tr>

<tr>
<td class="formtext" nowrap>Stadium Card</td>
<td><select name="StadiumCard" size="1" readonly>
<<stadiumcard>>
</select>
</td>
</tr>

<tr>
<td class="formtext" nowrap>Tool Card</td>
<td><select name="ToolCard" size="1" readonly>
<<toolcard>>
</select>
</td>
</tr>

</table>

<br>
<center>
<input type="submit" name="ViewCard" value="View Card">
<input type="submit" name="ClearCard" value="Clear Card">
<input type="submit" name="AddCard" value="Add Card">
</center>
</form>
</td>

</tr>
</table>

<p align="center" class="copyright">Copyright © 2002 Pokémon Internet Club.  Pokémon images borrowed from <a class="copyright" href="http://members.aol.com/enrico5553/pokealbum.html">PokeAlbum</a>.  All rights reserved.
<br>Copyrights on the Pokémon images, cards, characters, and trading card game are held by Nintendo and <a class="copyright"  href="http://www.wizards.com/default.asp?x=pokemon">Wizards of the Coast, Inc.</a>.</p>
</body>
</html>