<?php
include_once('captcha/captchac_lib.php');
session_write_close ();
?>
<?php

/* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */

  // load viewer library
  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';
  $dirsToCheck = array('/path_to_your_server/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

list($common_informationRecords, $common_informationMetaData) = getRecords(array(
'tableName' => 'common_information',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$common_informationRecord = @$common_informationRecords[0]; // get first record

?>
 
<?php if (!@$GLOBALS['WEBSITE_MEMBERSHIP_PLUGIN']) { die("You must activate the Website Membership plugin before you can access this page."); } ?>
<?php

  $showSignupForm = true;

  // error checking
  if (@$CURRENT_USER) {
    $errorsAndAlerts = "You are already signed up! <a class='special' href='{$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL']}'>CLICK HERE TO CONTINUE.</a>";
    $showSignupForm = false;
  }

  // process form
  if (@$_REQUEST['save']) {

    // error checking
    $errorsAndAlerts = "";
	if (!@$_REQUEST['first_name'])                { $errorsAndAlerts .= "You must enter your first name!<br/>\n"; }
	if (!@$_REQUEST['last_name'])                { $errorsAndAlerts .= "You must enter your last name!<br/>\n"; }
    if (!@$_REQUEST['email'])                   { $errorsAndAlerts .= "You must enter your email!<br/>\n"; }
    else if(!isValidEmail(@$_REQUEST['email'])) { $errorsAndAlerts .= "Please enter a valid email (example: user@example.com)<br/>\n"; }
    if (!@$_REQUEST['username'])                { $errorsAndAlerts .= "You must choose a username!<br/>\n"; }
	 if (!@$_REQUEST['emergency_contact_name'])                { $errorsAndAlerts .= "You must enter an emergency contact name!<br/>\n"; }
	  if (!@$_REQUEST['emergency_contact_phone'])                { $errorsAndAlerts .= "You must an emergency contact phone!<br/>\n"; }
if (!@$_REQUEST['Turing'])    {$errorsAndAlerts .= "You must enter the CAPTCHA code!<br/>\n";}
else  
{
 	$Turing_code = $_REQUEST["Turing"];   
	if ( CheckCaptcha($Turing_code) !=1 )  {  $errorsAndAlerts .= "The CAPTCHA code you entered does not match. Please try again.<br/>\n";}
		


}

    // check for duplicate usernames and emails
    if (!$errorsAndAlerts) {
      $count = mysql_select_count_from('accounts', "`username` = '".mysql_escape(@$_REQUEST['username'])."'");
      if ($count > 0 && @$_REQUEST['username']) { $errorsAndAlerts .= "That username is already in use, please choose another!<br/>\n"; }

      $count = mysql_select_count_from('accounts', "'".mysql_escape($_REQUEST['email'])."' IN (email, username)");
      if ($count > 0) { $errorsAndAlerts .= "That email is already in use, please choose another!<br/>\n"; }
    }

    // turn off strict mysql error checking for: STRICT_ALL_TABLES
    mysqlStrictMode(false); // disable Mysql strict errors for when a field isn't defined below (can be caused when fields are added later)

    // add user
    if (!$errorsAndAlerts) {
      $_REQUEST['password'] = substr(md5(uniqid(rand(), true)), 15); // example output: c5560251ef0b3eef9
 			@$_REQUEST['first_name']=ucwords(@$_REQUEST['first_name']);
			@$_REQUEST['middle_initial']=strtoupper(@$_REQUEST['middle_initial']);
			@$_REQUEST['last_name']=ucfirst(@$_REQUEST['last_name']);			
 			@$_REQUEST['city']=ucwords(@$_REQUEST['city']);
			@$_REQUEST['state']=strtoupper(@$_REQUEST['state']);
			@$_REQUEST['discipline_code']=strtoupper(@$_REQUEST['discipline_code']);
	 		
		$student_1_dob = date("Y-m-d",mktime(0,0,0,@$_REQUEST['month_1'],@$_REQUEST['day_1'],@$_REQUEST['year_1'])); 	
	  $student_2_dob = date("Y-m-d",mktime(0,0,0,@$_REQUEST['month_2'],@$_REQUEST['day_2'],@$_REQUEST['year_2'])); 
	   $student_3_dob = date("Y-m-d",mktime(0,0,0,@$_REQUEST['month_3'],@$_REQUEST['day_3'],@$_REQUEST['year_3'])); 		
        mysql_query("INSERT INTO `{$TABLE_PREFIX}accounts` SET
                      first_name         = '".mysql_escape( $_REQUEST['first_name'] )."',
					  middle_initial         = '".mysql_escape( $_REQUEST['middle_initial'] )."',
					  last_name         = '".mysql_escape( $_REQUEST['last_name'] )."',
					  email            = '".mysql_escape( $_REQUEST['email'] )."',	 
					  web_site         = '".mysql_escape( $_REQUEST['web_site'] )."',
					  facebook         = '".mysql_escape( $_REQUEST['facebook'] )."',
					  flickr         = '".mysql_escape( $_REQUEST['flickr'] )."',
					  linkedin         = '".mysql_escape( $_REQUEST['linkedin'] )."',
					  twitter         = '".mysql_escape( $_REQUEST['twitter'] )."',
					  blog            = '".mysql_escape( $_REQUEST['blog'] )."',					  
					  other_social_networking_site_name         = '".mysql_escape( $_REQUEST['other_social_networking_site_name'] )."',
					  other_social_networking_site_url         = '".mysql_escape( $_REQUEST['other_social_networking_site_url'] )."',
                      username         = '".mysql_escape( $_REQUEST['username'] )."',
					  password         = '".mysql_escape( $_REQUEST['password'] )."',
					  street_address         = '".mysql_escape( $_REQUEST['street_address'] )."',
					  city         = '".mysql_escape( $_REQUEST['city'] )."',
					  state         = '".mysql_escape( $_REQUEST['state'] )."',
					  zip         = '".mysql_escape( $_REQUEST['zip'] )."',
					  day_phone         = '".mysql_escape( $_REQUEST['day_phone'] )."', 
					  evening_phone         = '".mysql_escape( $_REQUEST['evening_phone'] )."', 
					  other_phone         = '".mysql_escape( $_REQUEST['other_phone'] )."',
					  
					  emergency_contact_name         = '".mysql_escape( $_REQUEST['emergency_contact_name'] )."', 
					  emergency_contact_phone         = '".mysql_escape( $_REQUEST['emergency_contact_phone'] )."',
					  
					 student_1_first_name         = '".mysql_escape( $_REQUEST['student_1_first_name'] )."',
					  student_1_m_i         = '".mysql_escape( $_REQUEST['student_1_m_i'] )."',
					  student_1_last_name         = '".mysql_escape( $_REQUEST['student_1_last_name'] )."',
					  student_1_dob      	= '".mysql_escape($student_1_dob)."', 
					  student_1_medical_conditions         = '".mysql_escape( $_REQUEST['student_1_medical_conditions'] )."',
					  student_1_competition_level         = '".mysql_escape( $_REQUEST['student_1_competition_level'] )."',
					  student_1_goals         = '".mysql_escape( $_REQUEST['student_1_goals'] )."', 
					  					   student_2_first_name         = '".mysql_escape( $_REQUEST['student_2_first_name'] )."',
					  student_2_m_i         = '".mysql_escape( $_REQUEST['student_2_m_i'] )."',
					  student_2_last_name         = '".mysql_escape( $_REQUEST['student_2_last_name'] )."',
					  student_2_dob      	= '".mysql_escape($student_2_dob)."',
					  student_2_medical_conditions         = '".mysql_escape( $_REQUEST['student_2_medical_conditions'] )."',
					  student_2_competition_level          = '".mysql_escape( $_REQUEST['student_2_competition_level'] )."',
					  student_2_goals         = '".mysql_escape( $_REQUEST['student_2_goals'] )."', 
					  
					  
					   student_3_first_name         = '".mysql_escape( $_REQUEST['student_3_first_name'] )."',
					  student_3_m_i         = '".mysql_escape( $_REQUEST['student_3_m_i'] )."',
					  student_3_last_name         = '".mysql_escape( $_REQUEST['student_3_last_name'] )."',
					  student_3_dob      	= '".mysql_escape($student_3_dob)."',
					  student_3_medical_conditions         = '".mysql_escape( $_REQUEST['student_3_medical_conditions'] )."',
					  student_3_competition_level         = '".mysql_escape( $_REQUEST['student_3_competition_level'] )."',
					  student_3_goals         = '".mysql_escape( $_REQUEST['student_3_goals'] )."', 
					  
					  
					  
			          AllowedFolders = 'Level_1',
					  hidden           = '1',
                      disabled         = '1',
					  approved         = '0',
					  registration_fee_refund     = '1',
                      isAdmin          = '0',
                      expiresDate      = '0000-00-00 00:00:00',
                      neverExpires     = '1',
                      createdDate      = NOW(),
                      updatedDate      = NOW(),
                      createdByUserNum = '0',
                      updatedByUserNum = '0'")
      or die("MySQL Error Creating Record:<br/>\n". htmlspecialchars(mysql_error()) . "\n");
      $userNum = mysql_insert_id();
	  
	        // create accesslist entry
      // replace '_sample' with the table you want the user to access
      // replace '6' with the access level they should have: 0=none, 6=author, 9=editor
      // replace '1' with the max listings they are allowed
      mysql_query("INSERT INTO `{$TABLE_PREFIX}_accesslist`
                               (userNum,  tableName,        accessLevel, maxRecords, randomSaveId)
                        VALUES ($userNum, 'all',            '1',         NULL,       '1234567890'),
                               ($userNum, '_sample',        '6',         1,          '1234567890'),
                               ($userNum, '_sample',        '6',         1,          '1234567890'),
                               ($userNum, '_sample',        '6',         1,          '1234567890')") or die("MySQL Error Creating Access List:<br/>\n". htmlspecialchars(mysql_error()) . "\n");

      //
      _websiteLogin_sendSignupMessage();
      $errorsAndAlerts  = "Thanks, We've created an account for you. As soon as your membership is successfully processed we'll mail you your password.<br/><br/>\n";
      $errorsAndAlerts .= "The approval process is handled by our membership committee.<br/><br/>\n";
	   $errorsAndAlerts .= "If you haven't received an email from us within a few days check your spam filter for messages from {$SETTINGS['adminEmail']}<br/><br/>\n";
     

      $_REQUEST        = array(); // clear form values
      $showSignupForm  = false;
    }
  }

?>
<!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">
<head>
	<meta charset="utf-8">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
	
<title>A R A N M O R E&nbsp; &nbsp;A C A D E M Y&nbsp; &nbsp;O F&nbsp; &nbsp;I R I S H&nbsp; &nbsp;D A N C E</title>
	
<style type="text/css">

/* CSS for Ajax ticker*/

#ajaxticker1{
width: 900px;
height: 100px;
border: 1px ridge black;
padding: 5px;
background-color: #DAF7D9; 
text-align: center;

}

#ajaxticker1 div{ /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/
background-color: #DAF7D9;
}

.someclass{ //class to apply to your scroller(s) if desired
}
/* CSS for pinning footer to bottom of screen */
#footer {
position: absolute; 
bottom: 0;
width: 100%;
font-size: 1.1em;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
}
/* CSS for supersizing the background image */
* { margin: 0; padding: 0; }
	
#bg { position: fixed; top: 0; left: 0;}
.bgwidth { width: 100%; }
.bgheight { height: 100%; }
		
#page-wrap { position: relative; width: 100%; background: none;   }

/* CSS for scroll test */		
.scroll {
	font-size: .7em; font-family: Arial, Helvetica, sans-serif; color:#000000;
}

</style>
	
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">

</script>

<!-- Supersized script -->
<script>
		$(function() {   
		
			var theWindow        = $(window),
			    $bg              = $("#bg"),
			    aspectRatio      = $bg.width() / $bg.height();
			    			    		
			function resizeBg() {
				
				if ( (theWindow.width() / theWindow.height()) < aspectRatio ) {
				    $bg
				    	.removeClass()
				    	.addClass('bgheight');
				} else {
				    $bg
				    	.removeClass()
				    	.addClass('bgwidth');
				}
							
			}
			                   			
			theWindow.resize(function() {
				resizeBg();
			}).trigger("resize");
		
		});
	</script>
    
 	<!-- ajax ticker script -->   
<script src="http://www.mywebsite.com/Scripts/ajaxticker.js" type="text/javascript">

/***********************************************
* Ajax Ticker script (txt file source)- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

</script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>  
<link href="http://www.mywebsite.com/cssmy.css.php" rel="stylesheet" type="text/css" media="all">
</head>

<body onload="MM_preloadImages('<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][0]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][0]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][1]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][1]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][2]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][2]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][3]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][3]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][4]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][4]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][5]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][5]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][6]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][6]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][7]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][7]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][8]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][8]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][9]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][9]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][10]['thumbUrlPath'] ?>','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][10]['thumbUrlPath'] ?>')">

	<img src="<?php foreach ($common_informationRecord['member_app_page_background_image'] as $upload): ?><?php echo $upload['urlPath'] ?><?php endforeach ?>" id="bg" alt="">
	
<div align="center"  id="page-wrap">
	 <?php foreach ($common_informationRecord['school_masthead'] as $upload): ?>
      
            <img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" />
        <?php endforeach ?><br />
     
      <div id="nav2">
     
          <table  align="left"  border="0" cellspacing="<?php echo $common_informationRecord['navigation_menu_spacing'] ?>" cellpadding="0">
          
  <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][0]): ?>
 <tr><td align="center" valign="top" >     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][0]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][0]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][0]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][0]['info2'] ?>" name="Image1" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][0]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][0]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>   
      
    <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][1]): ?>
<tr><td align="center" valign="top"  >     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][1]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][1]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][1]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][1]['info2'] ?>" name="Image2" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][1]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][1]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>     
    
 <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][2]): ?>
<tr><td align="center" valign="top" >     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][2]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][2]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][2]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][2]['info2'] ?>" name="Image3" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][2]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][2]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>       
    
   <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][3]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][3]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][3]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][3]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][3]['info2'] ?>" name="Image4" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][3]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][3]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>    
   
   <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][4]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][4]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][4]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][4]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][4]['info2'] ?>" name="Image5" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][4]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][4]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>  
    <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][5]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][5]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][5]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][5]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][5]['info2'] ?>" name="Image6" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][5]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][5]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>  
 <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][6]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][6]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][6]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][6]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][6]['info2'] ?>" name="Image7" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][6]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][6]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>  
<?php if (@$common_informationRecord['navigation_menu_item_1_normal'][7]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][7]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][7]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][7]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][7]['info2'] ?>" name="Image8" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][7]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][7]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>   
   <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][8]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][8]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][8]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][8]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][8]['info2'] ?>" name="Image6" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][8]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][8]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>  
 <?php if (@$common_informationRecord['navigation_menu_item_1_normal'][9]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][9]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][9]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][9]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][9]['info2'] ?>" name="Image7" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][9]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][9]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?>  
<?php if (@$common_informationRecord['navigation_menu_item_1_normal'][10]): ?>
<tr><td align="center" valign="top">     
<a href="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][10]['info1'] ?>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','<?php echo @$common_informationRecord['navigation_menu_item_1_hover'][10]['thumbUrlPath'] ?>',1)"><img src="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][10]['thumbUrlPath'] ?>" alt="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][10]['info2'] ?>" name="Image8" width="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][10]['thumbWidth'] ?>" height="<?php echo @$common_informationRecord['navigation_menu_item_1_normal'][10]['thumbHeight'] ?>" border="0"></a>
</td></tr>
<?php endif ?> 
</table>
</div>
 <br />
 <h1><?php foreach ($common_informationRecord['students_masthead'] as $upload): ?>
      
            <img src="<?php echo $upload['thumbUrlPath3'] ?>" width="<?php echo $upload['thumbWidth3'] ?>" height="<?php echo $upload['thumbHeight3'] ?>" alt="" />
        <?php endforeach ?></h1>
        <br />
        <br />
         <?php if ($showSignupForm): ?><span class="heading-text-blue-13">***YOU MUST BE OVER 13 YEARS OLD AND THE ADULT RESPONSIBLE***<br />
        ***FOR STUDENTS AND PAYMENTS IN ORDER TO USE THIS FORM***</span><?php endif ?>  <br />
     
 <br />
        
<table align="center"  width="40%"><tr><td>

 <!-- USER SIGNUP FORM -->
 <?php if (@$errorsAndAlerts): ?>
                            
                      <div class="heading-text-blue-13" align="left">
                       
                      <?php echo $errorsAndAlerts; ?><br/>
                         </div>
                      
                               
  <?php else: ?>
                           <span class="body-text-9">Pl<span class="floatRight">ease fill out the  form below and click on the submit button.<br /><br />
</span><br /><br />
                          
                           <span class="body-text-bold-9">Questions? &nbsp; </span><a class="special" href="http://www.mywebsitee.com/contact.php">CLICK HERE TO CONTACT US</a><br />
                           <br />
                           
    <?php endif ?>                       
                                  
  <?php if ($showSignupForm): ?>
                                                          
<form method="post" action="?" >
                                                
                                                        <input type="hidden" name="save" value="1" />
                                                                  
                                  <table border="0" cellspacing="7" cellpadding="5">
                                                                    
                                    <tr>
                                      <td colspan="2" class="body-text-bold-9">PLEASE TELL US A LITTLE ABOUT YOURSELF AND YOUR FAMILY.</td>
                                    </tr>
                                    <tr>
                                      <td colspan="2" class="body-text-bold-9"><span class="body-text-bold-red-9">*</span> = Required field</td>
                                    </tr>
                                    <tr>
                                      <td colspan="2" class="heading-text-blue-13">Adult Information</td>
                                    </tr>
                                    <tr>
                                      <td width="486" class="body-text-bold-9">First Name <span class="body-text-bold-red-9">*</span></td>
        <td width="392"><input type="text" name="first_name" value="<?php echo htmlspecialchars(@$_REQUEST['first_name']); ?>" size="50" /></td>
       </tr>
       <tr>
                                                            <td class="body-text-bold-9">Middle Initial (optional)&nbsp;</td>
        <td><input type="text" name="middle_initial" value="<?php echo htmlspecialchars(@$_REQUEST['middle_initial']); ?>" MAXLENGTH="1" size="3" /></td>
       </tr>
                                    <tr>
                                      <td class="body-text-bold-9">Last Name <span class="body-text-bold-red-9">*</span></td>
        <td><input type="text" name="last_name" value="<?php echo htmlspecialchars(@$_REQUEST['last_name']); ?>" size="50" /></td>
       </tr>
        <tr>
          <td class="body-text-bold-9">Street Address</td>
      <td><input type="text" name="street_address" value="<?php echo htmlspecialchars(@$_REQUEST['street_address']); ?>" size="50" /></td>
     </tr>
     <tr>
          <td class="body-text-bold-9">City</td>
      <td><input type="text" name="city" value="<?php echo htmlspecialchars(@$_REQUEST['city']); ?>" size="50" /></td>
     </tr>
     <tr>  
          <td class="body-text-bold-9">State</td>  
      <td><input type="text" name="state" value="<?php echo htmlspecialchars(@$_REQUEST['state']); ?>" MAXLENGTH="2" size="50" /></td>  
     </tr>
     <tr>
          <td class="body-text-bold-9">Zip Code</td>
      <td><input type="text" name="zip" value="<?php echo htmlspecialchars(@$_REQUEST['zip']); ?>" MAXLENGTH="10" size="50" /></td>
     </tr>
                                                         
                                                        
                                    <tr>
                                      <td class="body-text-bold-9">Day Phone <br />
                                      (numbers only please)</td>
                                      <td><input type="text" name="day_phone" value="<?php echo htmlspecialchars(@$_REQUEST['day_phone']); ?>" MAXLENGTH="10" size="50" /></td>
                                    </tr>
                                    <tr>
                                      <td class="body-text-bold-9">Evening Phone</td>
                                      <td><input type="text" name="evening_phone" value="<?php echo htmlspecialchars(@$_REQUEST['evening_phone']); ?>" MAXLENGTH="10" size="50" /></td>
                                    </tr>
                                    <tr>
                                      <td class="body-text-bold-9">Cell Phone</td>
                                      <td><input type="text" name="other_phone" value="<?php echo htmlspecialchars(@$_REQUEST['other_phone']); ?>" MAXLENGTH="10" size="50" /></td>
                                    </tr>
                                    <tr>
                                      <td class="body-text-bold-9">Email Address <span class="body-text-bold-red-9">*</span></td>
        <td><input type="text" name="email" value="<?php echo htmlspecialchars(@$_REQUEST['email']); ?>" size="50" /></td>
       </tr>
       
                                    
                              <tr>
                                        <td class="body-text-bold-9">Choose a temporary Username <span class="body-text-bold-red-9">*</span></td>
        <td><input type="text" name="username" value="<?php echo htmlspecialchars(@$_REQUEST['username']); ?>" size="50" /></td>
       </tr>
                                    <tr>
                                      <td colspan="2" class="heading-text-blue-13">Emergency Contact Information</td>
                                    
                                    </tr>
                                    
<tr>
<td class="body-text-bold-9">Emergency Contact Name <span class="body-text-bold-red-9">*</span></td>
<td><input type="text" name="emergency_contact_name" value="<?php echo htmlspecialchars(@$_REQUEST['emergency_contact_name']); ?>" size="50" /></td>
</tr>
       
<tr>
<td class="body-text-bold-9">Emergency Contact Phone <span class="body-text-bold-red-9">*</span></td>
<td><input type="text" name="emergency_contact_phone" value="<?php echo htmlspecialchars(@$_REQUEST['emergency_contact_phone']); ?>" MAXLENGTH="10" size="50" /></td>
</tr>
<tr>
 <td colspan="2"><span  class="heading-text-blue-13">Student 1 Information</span> <span class="body-text-bold-9">(Students must be at least <?php echo $common_informationRecord['youngest_student'] ?> years old to register)</span></td>
 </tr>
<tr>
<td class="body-text-bold-9">First Name</td>
<td><input type="text" name="student_1_first_name" value="<?php echo htmlspecialchars(@$_REQUEST['student_1_first_name']); ?>" size="50" /></td>
</tr>
<tr>
<td class="body-text-bold-9">Midle Initial (optional)</td>
<td><input type="text" name="student_1_m_i" value="<?php echo htmlspecialchars(@$_REQUEST['student_1_m_i']); ?>"  MAXLENGTH="1" size="3" /></td>
</tr>
<tr>
<td class="body-text-bold-9">Last Name</td>
<td><input type="text" name="student_1_last_name" value="<?php echo htmlspecialchars(@$_REQUEST['student_1_last_name']); ?>" size="50" /></td>
</tr>
<tr> 
     <td>Date of Birth</td> 
     <td>
	 
	 <?php  
$lowestYear  = (date("Y") - $common_informationRecord['oldest_student']);   
$highestYear = (date("Y") - $common_informationRecord['youngest_student']);  
?> 
Month:  
<select name="month_1">  
  <?php foreach(range(1,12) as $month_1): ?>     
    <option value="<?php echo $month_1;?>"><?php echo date("F",strtotime("0000-$month_1"));?></option>  
  <?php endforeach ?>  
</select> Day:  
<select name="day_1">  
  <?php foreach(range(1,31)as $day_1): ?>  
      <option value="<?php echo $day_1;?>"><?php echo $day_1;?></option>    
  <?php endforeach ?>  
</select> Year:  
<select name="year_1">  
   <?php foreach (range($highestYear,$lowestYear) as $year_1):?>  
       <option value="<?php echo $year_1;?>"><?php echo $year_1;?></option>  
   <?php endforeach?>  
</select> 

   </tr>
<tr>
<td class="body-text-bold-9">Medical Conditions</td>
<td><input type="text" name="student_1_medical_conditions" value="<?php echo htmlspecialchars(@$_REQUEST['student_1_medical_conditions']); ?>" size="50" /></td>
</tr>
 <tr>
   <td valign="top">Current Competition Level</td>
   <td>
     <?php $fieldname = 'student_1_competition_level'; ?>
     <?php $idCounter = 0; ?>
     <?php foreach (getListOptions('accounts', $fieldname) as $value => $label): ?>
       <?php $id = "$fieldname." . ++$idCounter; ?>
       <input type="radio" name="<?php echo $fieldname ?>" id="<?php echo $id ?>"
             value="<?php echo htmlspecialchars($value) ?>" <?php checkedIf(@$_REQUEST[$fieldname], $value) ?> />
       <label for="<?php echo $id ?>"><?php echo htmlspecialchars($value) ?></label><br/>

     <?php endforeach ?>
   </td>
  </tr>

<tr>
<td class="body-text-bold-9">Goals</td>
<td><input type="text" name="student_1_goals" value="<?php echo htmlspecialchars(@$_REQUEST['student_1_goals']); ?>" size="50" /></td>
 </tr>
       
<tr>
<td colspan="2" class="heading-text-blue-13">Student 2 Information</td>
                                    
<tr>
<td class="body-text-bold-9">First Name</td>
<td><input type="text" name="student_2_first_name" value="<?php echo htmlspecialchars(@$_REQUEST['student_2_first_name']); ?>" size="50" /></td>
</tr>
<tr>
<td class="body-text-bold-9">Midle Initial (optional)</td>
<td><input type="text" name="student_2_m_i" value="<?php echo htmlspecialchars(@$_REQUEST['student_2_m_i']); ?>"  MAXLENGTH="1" size="3" /></td>
</tr>
<tr>
<td class="body-text-bold-9">Last Name</td>
<td><input type="text" name="student_2_last_name" value="<?php echo htmlspecialchars(@$_REQUEST['student_2_last_name']); ?>" size="50" /></td>
</tr>
<tr> 
     <td>Date of Birth</td> 
     <td>Month:  
<select name="month_2">  
  <?php foreach(range(1,12) as $month_2): ?>     
    <option value="<?php echo $month_2;?>"><?php echo date("F",strtotime("0000-$month_2"));?></option>  
  <?php endforeach ?>  
</select> Day:  
<select name="day_2">  
  <?php foreach(range(1,31)as $day_2): ?>  
      <option value="<?php echo $day_2;?>"><?php echo $day_2;?></option>    
  <?php endforeach ?>  
</select> Year:  
<select name="year_2">  
   <?php foreach (range($highestYear,$lowestYear) as $year_2):?>  
       <option value="<?php echo $year_2;?>"><?php echo $year_2;?></option>  
   <?php endforeach?>  
</select> 

   </tr>
<tr>
<td class="body-text-bold-9">Medical Conditions</td>
<td><input type="text" name="student_2_medical_conditions" value="<?php echo htmlspecialchars(@$_REQUEST['student_2_medical_conditions']); ?>" size="50" /></td>
</tr>
 <tr>
   <td valign="top">Current Competition Level</td>
   <td>
     <?php $fieldname = 'student_2_competition_level'; ?>
     <?php $idCounter = 0; ?>
     <?php foreach (getListOptions('accounts', $fieldname) as $value => $label): ?>
       <?php $id = "$fieldname." . ++$idCounter; ?>
       <input type="radio" name="<?php echo $fieldname ?>" id="<?php echo $id ?>"
             value="<?php echo htmlspecialchars($value) ?>" <?php checkedIf(@$_REQUEST[$fieldname], $value) ?> />
       <label for="<?php echo $id ?>"><?php echo htmlspecialchars($value) ?></label><br/>

     <?php endforeach ?>
   </td>
  </tr>

<tr>
<td class="body-text-bold-9">Goals</td>
<td><input type="text" name="student_2_goals" value="<?php echo htmlspecialchars(@$_REQUEST['student_2_goals']); ?>" size="50" /></td>
 </tr>
<tr>
<td colspan="2" class="heading-text-blue-13">Student 3 Information</td>
                                    
</tr>

<tr>
<td class="body-text-bold-9">First Name</td>
<td><input type="text" name="student_3_first_name" value="<?php echo htmlspecialchars(@$_REQUEST['student_3_first_name']); ?>" size="50" /></td>
</tr>
<tr>
<td class="body-text-bold-9">Midle Initial (optional)</td>
<td><input type="text" name="student_3_m_i" value="<?php echo htmlspecialchars(@$_REQUEST['student_3_m_i']); ?>" MAXLENGTH="1" size="3" /></td>
</tr>
<tr>
<td class="body-text-bold-9">Last Name</td>
<td><input type="text" name="student_3_last_name" value="<?php echo htmlspecialchars(@$_REQUEST['student_3_last_name']); ?>" size="50" /></td>
</tr>
<tr> 
     <td>Date of Birth</td> 
     <td>Month:  
<select name="month_3">  
  <?php foreach(range(1,12) as $month_3): ?>     
    <option value="<?php echo $month_3;?>"><?php echo date("F",strtotime("0000-$month_3"));?></option>  
  <?php endforeach ?>  
</select> Day:  
<select name="day_3">  
  <?php foreach(range(1,31)as $day_3): ?>  
      <option value="<?php echo $day_3;?>"><?php echo $day_3;?></option>    
  <?php endforeach ?>  
</select> Year:  
<select name="year_3">  
    <?php foreach (range($highestYear,$lowestYear) as $year_3):?>  
       <option value="<?php echo $year_3;?>"><?php echo $year_3;?></option>  
   <?php endforeach?>  
</select> 

   </tr>
<tr>
<td class="body-text-bold-9">Medical Conditions</td>
<td><input type="text" name="student_3_medical_conditions" value="<?php echo htmlspecialchars(@$_REQUEST['student_3_medical_conditions']); ?>" size="50" /></td>
</tr>
 <tr>
   <td valign="top">Current Competition Level</td>
   <td>
     <?php $fieldname = 'student_3_competition_level'; ?>
     <?php $idCounter = 0; ?>
     <?php foreach (getListOptions('accounts', $fieldname) as $value => $label): ?>
       <?php $id = "$fieldname." . ++$idCounter; ?>
       <input type="radio" name="<?php echo $fieldname ?>" id="<?php echo $id ?>"
             value="<?php echo htmlspecialchars($value) ?>" <?php checkedIf(@$_REQUEST[$fieldname], $value) ?> />
       <label for="<?php echo $id ?>"><?php echo htmlspecialchars($value) ?></label><br/>

     <?php endforeach ?>
   </td>
  </tr>
<tr>
<td class="body-text-bold-9">Goals</td>
<td><input type="text" name="student_3_goals" value="<?php echo htmlspecialchars(@$_REQUEST['student_3_goals']); ?>" size="50" /></td>
 </tr>
       
<tr>
                                      <td colspan="2" class="heading-text-blue-13">Optional Adult Information</td>
                                    
                                    </tr>
        <tr>
              <td class="body-text-bold-9"><p>Web Site URL</p>
              </td>
                                                            <td><input type="text" name="web_site" value="<?php echo htmlspecialchars(@$_REQUEST['web_site']); ?>" size="50" /></td>
                                    </tr>
                                    <tr>
              <td class="body-text-bold-9"><p>Facebook URL</p>
              </td>
                                      <td><input type="text" name="facebook" value="<?php echo htmlspecialchars(@$_REQUEST['facebook']); ?>" size="50" /></td>
                                    </tr>
                                    <tr>
              <td class="body-text-bold-9"><p>Flickr URL</p>
              </td>
                                      <td><input type="text" name="flickr" value="<?php echo htmlspecialchars(@$_REQUEST['flickr']); ?>" size="50" /></td>
                                    </tr>
                                    <tr>
              <td class="body-text-bold-9"><p>Linkedin URL</p>
              </td>
                                      <td><input type="text" name="linkedin" value="<?php echo htmlspecialchars(@$_REQUEST['linkedin']); ?>" size="50" /></td>
                                    </tr>
                                    <tr>
              <td class="body-text-bold-9"><p>Twitter URL</p>
              </td>
                                      <td><input type="text" name="twitter" value="<?php echo htmlspecialchars(@$_REQUEST['twitter']); ?>" size="50" /></td>
                                    </tr>
                                    <tr>
              <td class="body-text-bold-9"><p>Other Social Networking Site Name</p>
              </td>
                                      <td><input type="text" name="other_social_networking_site_name" value="<?php echo htmlspecialchars(@$_REQUEST['other_social_networking_site_name']); ?>" size="50" /></td>
                                    </tr>
                                    <tr>
              <td class="body-text-bold-9"><p>Other Social Networking Site URL</p>
              </td>
                                      <td><input type="text" name="other_social_networking_site_url" value="<?php echo htmlspecialchars(@$_REQUEST['other_social_networking_site_url']); ?>" size="50" /></td>
                                    </tr>
                                      <tr>
                                        <td  valign="top">&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                   
                   
                
                   <tr>
                     <td  valign="top"><span class="body-text-bold-9">CAPTCHA Image Verification</span><br />
                     <span class="body-text-9">To help prevent spam, please type the characters in the image into the blank box before you click on submit.<br />
                     <br />
                     </span> <a href="/captcha/whatisturing.html" onclick="window.open('/captcha/whatisturing.html','_blank','width=300, height=300, left=' + (screen.width-450) + ', top=100');return false;">WHAT'S CAPTCHA?</a></td>
                     <td>
                     
                     <table cellpadding=5 cellspacing=0 >


<tr>
<td style="padding: 5px;" width="300" height="100"><img src="/captcha/captchac_code.php" id="captcha"><br />
<a href="#" onclick=" document.getElementById('captcha').src = document.getElementById('captcha').src + '?' + (new Date()).getMilliseconds()">CLICK TO CHANGE THE CHARACTERS DISPLAYED</a><br /></td>
</tr>
<tr>
  <td style="padding: 5px;"><input type="text" name="Turing" value="" maxlength="100" size="20" />
    <br />
    <br />    </td>
</tr>
</table></td></tr>
                   
                   
                   
                                                                    
                                    <tr>
                                      <td colspan="2" align="center">
                                        <br/><input class="button" type="submit" name="submit" value="Click to Submit &gt;&gt;" />                                                            </td>
       </tr>
                                  </table>
                        
  </form>
                               
                                  <?php endif ?>
                                  <br /> 
                                    <?php if ($showSignupForm): ?><span class="body-text-9">By submitting this form you agree to abide by all the terms and conditions of membership.</span><br /><a class="special" href="http://www.mywebsite.com/webterms.php">CLICK HERE TO READ OUR TERMS</a><?php endif ?> 
                                  <!-- /USER SIGNUP FORM --> </td></tr></table>

 </div>

  
</body>

</html>