<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */
  require_once "/hsphere/local/home/apbcweb/artistsofpalmbeachcounty.org/cmsAdmin/lib/viewer_functions.php";

  list($e_blast_meeting_noticeRecords, $e_blast_meeting_noticeMetaData) = getRecords(array(
    'tableName'   => 'e_blast_meeting_notice',
    'where'       => whereRecordNumberInUrl(1),
    'limit'       => '1',
  ));
  $e_blast_meeting_noticeRecord = @$e_blast_meeting_noticeRecords[0]; // get first record

$meeting =  date("F jS", strtotime($e_blast_meeting_noticeRecord['meeting_date']))

?>
<?php showme($_REQUEST); ?>
<!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>
		<!-- saved from url=(0013)about:internet -->
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta name="generator" content="Adobe GoLive" />
		<title>Welcome to the Artists of Palm Beach County - eBlast</title>
<link href="css/apbc900.css" type="text/css" rel="stylesheet" media="all" />
        
	    <script src="http://artistsofpalmbeachcounty.org/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
        
      
        
        <style type="text/css">
a:link { font-family:Verdana; color: #e3e0db; font-size: 0.9em; font-weight: bold; text-decoration: none;}
a:visited { font-family:Verdana; color: #e3e0db; font-size: 0.9em; font-weight: bold; text-decoration: none;}
a:hover { font-family:Verdana; color: #ffffff; text-decoration: none; font-size: 0.9em; font-weight: bold;}
a:active { font-family:Verdana; color: #e3e0db; font-size: 0.9em; font-weight: bold; text-decoration: none;}
 img { behavior: url(iepngfix.htc) } 
.body-text {font-family:Arial;font-size: 1.0em; }
.body-text-black {font-family:Arial;  color: #000000; font-size: 1.0em; }
.body-text-underline {font-family:Arial; font-size: 1.0em; text-decoration: underline;}
.body-text-bold {font-family:Arial; font-size: 1.0em; font-weight: bold;}
.body-text-bold-red {font-family:Arial; color: #ff0000; font-size: 1.0em; font-weight: bold;}
.body-text-red {font-family:Arial; color: #ff0000; font-size: 1.0em;}
.body-text-bold-italic {font-family:Arial; color: #000000; font-size: 1.0em; font-weight: bold; font-style:italic; }
.body-text-bold-underline {font-family:Arial; color: #000000; font-size: 1.0em; font-weight: bold; text-decoration: underline; }
.body-text-small {font-family:Arial; font-size: .8em; } 
.title-text {font-family:Arial; font-size: 1.5em; }
.title-text-black {font-family:Arial; color: #000000; font-size: 1.5em; }
.title-text-italic {font-family:Arial; font-size: 1.5em; font-style:italic; }
.title-text-bold {font-family:Arial; font-size: 1.5em; font-weight: bold;}
.title-text-red {font-family:Arial; color: #ff0000; font-size: 1.5em;}
.heading-text {font-family:Arial; font-size: 1.3em; }
.heading-text-italic {font-family:Arial; font-size: 1.3em; font-style:italic; }
.heading-text-bold {font-family:Arial; font-size: 1.3em; font-weight: bold;}
.heading-text-red {font-family:Arial; color: #ff0000; font-size: 1.3em;}
.non-link { font-family:Verdana; color: #ffffff; font-size: 0.68em; font-weight: bold; text-decoration: none;} 
.special-non-link { font-family:Arial; color: #e3e0db; font-size: .9em; font-weight: bold; text-decoration: none;}
.special:link { font-family:Arial; color: #e3e0db; font-size: 1.0em; font-weight: bold; text-decoration: none;}
.special:visited { font-family:Arial; color: #e3e0db; font-size: 1.0em; font-weight: bold; text-decoration: none;}
.special:hover { font-family:Arial; color: #ffffff; font-size: 1.0em; font-weight: bold; text-decoration: none;}
.special:active { font-family:Arial; color: #e3e0db; font-size: 1.0em; font-weight: bold; text-decoration: none;}

.pad { border-right: 20px solid transparent;
 		border-bottom: 10px solid transparent;
  
}
.about {	
 	column-width: auto;
	column-count: 2;
	column-gap: 60px;
	column-rule: 2px dotted #BBB;
	column-fill: balance;
	-moz-column-count: 2; 
	-moz-column-gap: 60px;
	-moz-column-rule: 2px dotted #BBB;
	-webkit-column-count: 2; 
	-webkit-column-gap: 60px;
	-webkit-column-rule: 2px dotted #BBB;
	border-top: 0px solid #999;
	border-bottom: 0px solid #999;	
	padding: 18px;
	text-align: left;
	width: 900px;
	}

</style> 

        
        
</head>

	<body bgcolor="#B3B3D3">
		
			<table align="center" width="900" border="0" cellpadding="10">
			  <tr>
    <td colspan="2" align="left"><img src="http://artistsofpalmbeachcounty.org/images/APBC-LOGO.png" alt="Artists of Palm Beach County" /></td>
  </tr>
  <tr>
    <td width="72%" align="left" valign="top"><span class="heading-text-bold">On the web at <a href="http://www.ArtistsofPalmBeachCounty.org">www.ArtistsofPalmBeachCounty.org</a><br />
      <br />
      APBC MEETING NOTICE RSVP</span><br />
    
    <span class="body-text">  
	

    
	
	</td>
    <td width="28%" align="right" valign="top">&nbsp;</td>
    </tr>
  
  <tr><td colspan="2" valign="top" align="center" >
  
  <table width="100%" border="0" cellpadding="0">
  <tr><td>
    
     <?php if ($e_blast_meeting_noticeRecord['meeting_rsvp']): ?>
     <span class="body-text-bold">If you're planning to attend the <?php if ($e_blast_meeting_noticeRecord['meeting_date'] && $e_blast_meeting_noticeRecord['meeting_date'] != '0000-00-00 00:00:00'): ?>
  <?php echo date("F jS", strtotime($e_blast_meeting_noticeRecord['meeting_date'])) ?>
  <?php endif; ?> meeting, please let us know.</span><br /><br /><div class="heading-text-yellow-italic" align="left"><br /><!--VALIDATIONERROR--></div>
     <form method="post" action="http://www.artistsofpalmbeachcounty.org/meeting-RSVPphp.php">

<table width="80%" border="0" cellpadding="15" align="left">
  <tr>
    <td width="50%" align="left" valign="middle"><label class="body-text-bold">Will you be able to attend this month's meeting?</label></td>
    <td width="60%" align="left" valign="middle">
 <select name="attend">  
      <option value="">...Select...</OPTION>  
      <option value="yes">Yes, I will be attending the <?php echo date("F jS", strtotime($e_blast_meeting_noticeRecord['meeting_date'])) ?> meeting.</option>  
      <option value="no" >Sorry, I won't be able to make it to the <?php echo date("F jS", strtotime($e_blast_meeting_noticeRecord['meeting_date'])) ?> meeting.</option>  
    </select> </td>
  </tr>
  
  <tr>
    <td width="50%" align="left" valign="middle"><label class="body-text-bold">If you'll be bringing guests, enter the number joining you.</label></td>
   <td align="left" valign="middle"><input class="text" type="text" name="guests" id="guests" value="" /></td>
  </tr>
  <tr>
    <td width="40%" align="left" valign="middle" class="body-text-bold">What's your First Name</td>
    <td align="left" valign="middle"><input class="text" type="text" name="first_name" id="first_name" value="" /></td>
  </tr>
  <tr>
    <td width="40%" align="left" valign="middle" class="body-text-bold">Your Last Name</td>
    <td align="left" valign="middle"><input class="text" type="text" name="last_name" id="last_name" value="" /></td>
  </tr>
  <tr>
    <td width="40%" align="left" valign="middle" class="body-text-bold">Your e-mail</td>
    <td align="left" valign="middle"><input class="text" type="text" name="email" id="email" value="" /></td>
  </tr>
  <tr>
    <td width="40%" align="left" valign="middle" class="body-text-bold">Re-enter your e-mail</td>
    <td align="left" valign="middle"><input class="text" type="text" name="email2" id="email2" value="" /></td>
  </tr>
  <tr>
  <td width="40%">
  <span class="body-text">To help prove that you're a human, 
  please enter the characters into the blank box</span><br />
  </td>
  <td align="left" valign="middle"><img src="http://www.artistsofpalmbeachcounty.org/meeting-RSVPphp.php?formstogoimgflt=yes" height="40" width="160"/>&nbsp; &nbsp;
    <input type="text" name="verify" id="verify" width="200" value="" /></td></tr>
  <tr>
  <td colspan="2" align="left" valign="middle"><input type="submit" name="form_submitted" value="Submit" /></td>
  </tr>
</table>
</form></div>
    <?php endif; ?></td>
  </tr>
  <tr>
    <td align="center"> <?php if ($e_blast_meeting_noticeRecord['meeting_image_1']): ?><br /><br /><?php foreach ($e_blast_meeting_noticeRecord['meeting_image_1'] as $upload): ?>
      <img src="http://artistsofpalmbeachcounty.org<?php echo $upload['thumbUrlPath2'] ?>" width="<?php echo $upload['thumbWidth2'] ?>" height="<?php echo $upload['thumbHeight2'] ?>" alt="" /><br/>
       <span class="body-text-bold"><br />
                              <?php if ($upload['info1']): ?><?php echo $upload['info1']; ?><br /><?php endif; ?></span>
                              <span class="body-text"><?php if ($upload['info2']): ?><?php echo $upload['info2']; ?><?php endif; ?></span>
<?php endforeach ?><?php endif; ?></td>
  </tr>
</table>
     
</td>
    </tr>
  <tr>
    <td align="left" colspan="2" class="body-text-small">&nbsp;</td>
  </tr>
</table>

<?php  if ( @$_REQUEST['attend'] == "yes" ) { incrementCounterField('e_blast_meeting_notice', 'attending', $e_blast_meeting_noticeRecord['num']); }  ?>

<?php  
  if ( @$_REQUEST['guests'] ) {  
  
    for ( $i = 0; $i < $_REQUEST['guests']; $i++ ) {  
      incrementCounterField('e_blast_meeting_notice', 'attending', $e_blast_meeting_noticeRecord['num']); }  
    }  
 
?>

 
                      
                            
	
</body>

</html>