LzyDaz Designs
www.lzydaz.com
Bonnie Lincicome © 2010 All Rights Reserved
This page was last updated on December 01, 2008 22:39:58
Source Code for Form
<fieldset>
<legend>Create Your Postcard</legend>
<form action="follow-up.php" method="post" name="create">
<label>Choose your Stamp:</label><br />
<input name="stamp" type="radio" value="1" />Beauty<br />
<input name="stamp" type="radio" value="2" />Bold<br />
<input name="stamp" type="radio" value="3" />Classic<br />
<input name="stamp" type="radio" value="4" />Fragrant<br />
<input name="stamp" type="radio" value="5" />Soft<br />
<input name="stamp" type="radio" value="6" />Spring<br />
<input name="stamp" type="radio" value="7" />Sunshine
<p>
<select name="greeting">
<option value="helloFrom">Hello from,</option>
<option value="greetingFrom">Greetings from,</option>
</select>
</p>
<p>
<label>Your location:</label>
<input type="text" name="area" id="area" />
</p>
<p>
<label>Enter a comment:</label>
<textarea type="text" name="comment" id="comment"></textarea>
</p>
<p>
<label>Sign your name:</label>
<input type="text" name="yourName" id="yourName" />
</p>
<p><input type="submit" name="create" id="button" value="Create My Postcard!" /></p>
</form>
</fieldset>
Source Code for Current Page
<?php $siteName = 'LzyDaz Designs<br /><em><span class="white-text">www.lzydaz.com</span></em>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Post Card</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link href="../common/site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="head">
<p><?php echo $siteName; ?></p>
</div><!--close #head-->
<div id="wrap">
<div id="content">
<div id="bar-nav">
<?php include($_SERVER['DOCUMENT_ROOT'] . '/lvs/php101/includes/bar-nav.php'); ?>
</div><!--close bar-nav-->
<h1>Post a Card</h1>
<div id="navcontainer">
<ul>
<li><a href="../week4.php" title="Return to Main">Main</a></li>
<li class="last"><a href="stamp.php" title="Get a Stamp!">Stamps</a></li>
</ul>
</div><!-- close navcontainer -->
<div id="right-container">
<?php include('includes/form.php'); ?>
</div><!--close #right-container-->
</div><!--close #content-->
</div><!--close #wrap-->
<div id="foot">
<?php include($_SERVER['DOCUMENT_ROOT'] . '/lvs/php101/includes/copyright.php'); ?>
</div><!--close #foot-->
<div id="source">
<?php echo date("T"); ?>
<hr />
<?php echo phpversion(); ?>
<hr />
<p>Source Code for Form</p>
<?php show_source('includes/form.php'); ?>
<hr />
<p>Source Code for Current Page</p>
<?php show_source(basename($_SERVER['PHP_SELF'])); ?>
</div><!--close #source-->
</body>
</html>