Get a Stamp
Choose your stamp.
Then, select the Post Cards link on the left to use it.
Or, try another selection.
LzyDaz Designs
www.lzydaz.com
Choose your stamp.
Then, select the Post Cards link on the left to use it.
Or, try another selection.
Bonnie Lincicome © 2010 All Rights Reserved
This page was last updated on December 01, 2008 22:40:14
Source Code for Check-Box Include
<?php
if ($stamp==1){//display the word if box was checked
echo "<br /><img src=\"images/stamp1.jpg\" height=\"100\" width=\"100\" alt=\"beauty\" /> Beauty";}
if ($stamp==2){
echo "<br /><img src=\"images/stamp2.jpg\" height=\"100\" width=\"100\" alt=\"bold\" /> Bold";}
if ($stamp==3){
echo "<br /><img src=\"images/stamp3.jpg\" height=\"100\" width=\"100\" alt=\"classic\" /> Classic";}
if ($stamp==4){
echo "<br /><img src=\"images/stamp4.jpg\" height=\"100\" width=\"100\" alt=\"fragrant\" /> Fragrant";}
if ($stamp==5){
echo "<br /><img src=\"images/stamp5.jpg\" height=\"100\" width=\"100\" alt=\"soft\" /> Soft";}
if ($stamp==6){
echo "<br /><img src=\"images/stamp6.jpg\" height=\"100\" width=\"100\" alt=\"spring\" /> Spring";}
if ($stamp==7){
echo "<br /><img src=\"images/stamp7.jpg\" height=\"100\" width=\"100\" alt=\"sunshine\" /> Sunshine";}
?>
<form action="<?php $_SERVER['PHP_SELF'] ?>" method="get" name="stamp">
<p><input name="stamp" type="checkbox" value="1" />Beauty<br />
<input name="stamp" type="checkbox" value="2" />Bold<br />
<input name="stamp" type="checkbox" value="3" />Classic<br />
<input name="stamp" type="checkbox" value="4" />Fragrant<br />
<input name="stamp" type="checkbox" value="5" />Soft<br />
<input name="stamp" type="checkbox" value="6" />Spring<br />
<input name="stamp" type="checkbox" value="7" />Sunshine</p>
<input name="submit_stamp" type="submit" value="Show me the stamp" />
</form>
Source Code for Current Page
<?php $siteName = 'LzyDaz Designs<br /><em><span class="white-text">www.lzydaz.com</span></em>'; ?>
<?php
$stamp = $_GET["stamp"];
?>
<!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>Stamps</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>Get a Stamp</h1>
<div id="navcontainer">
<ul>
<li><a href="../week4.php" title="Return to Main">Main</a></li>
<li class="last"><a href="card.php" title="Post a Card!">Post Cards</a></li>
</ul>
</div><!-- close navcontainer -->
<p class="center">Choose your stamp.<br />
Then, select the Post Cards link on the left to use it.<br />
Or, try another selection.</p>
<div id="right-container">
<?php include('includes/check-box.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 Check-Box Include</p>
<?php show_source('includes/check-box.php'); ?>
<hr />
<p>Source Code for Current Page</p>
<?php show_source(basename($_SERVER['PHP_SELF'])); ?>
</div><!--close #source-->
</body>
</html>