Location: PHPKode > scripts > VN Squares > signup.php
Online Super Bowl Squares Script
Please read the "Readme.txt for license agreement, installation and usage instructions 

require "header.inc"; 

<table width="50%" cellpadding="5" style="font-family: verdana, arial; border: #FFCC99 1px solid">
  <td width="" align="center" valign="top" style="font-size: 11px"> 
  	<h2><strong>You are signing up for square(s): <font color="#ff0000">
	<form name="signup"  action="thankyou.php" method="post">
if ( isset($_REQUEST['sqSelect_Submit']) ) {
	$SQcount = 100;
	for ($i=0;$i<$SQcount;$i++) {
		if ($i<10) { $SQarray[$i] = $_POST["sqNum_0$i"]; }
		else { $SQarray[$i] = $_POST["sqNum_$i"]; }
		if ( isset($SQarray[$i]) ) { 
			echo $SQarray[$i]." "; 
			echo ('<input type="hidden" name="square_'.$SQ.'" value="'.$SQarray[$i].'">');
			echo ('<input type="hidden" name="sqTotal" value="'.$SQ.'">');
			if ( $SQ == 10 ) { echo "<p>Maximum of 10 Squares per selection</p>"; break; } // limit to 10
	if ( $SQ==0 ) { 
		echo "<p style=\"font-size:12px; color:#000000\">You must select at least one square to continue!</p>"; 
		echo "<p><a href=\"".$superbowlURL."\" title=\"Online Superbowl Squares\">Home</a></p>";
  	<!--<h2><strong>You are signing up for square(s): <font color="#ff0000"><?=$square_select?></font></strong></h2>-->
	<!--<form name="signup"  action="thankyou.php" method="post">-->
	  <p><b>Name</b> <br/><input type=text name="realname" size="30" value=""></p>
	  <p><b>Email</b><br/><input type=text name="email" size="30" maxlength="45" value=""></p>
	  <p><b>Notes to Admin</b><br/> 
		<textarea name="body" rows="3" cols="40" wrap="virtual" style="font-family: verdana, arial; font-size: 10px"></textarea>
	  <p>You have 24 hours to make your payment or your square will be released.<br/><input type="submit" value="Submit"></p>

	  <!--<input type="hidden" name="square" value="<?=$square_select?>">-->
	  <input type="hidden" name="confirmation" value="0"></input> 
<p style="font-family: verdana, arial; font-size: 12px">
	<a href="<?=$superbowlURL?>" title="Online Superbowl Squares">Home</a>
<?php require "footer.inc"; ?>
Return current item: VN Squares