<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block to the TOP of your page BEFORE anything else. */
  require_once "/hsphere/local/home/apbcweb/artistsofpalmbeachcounty.org/cmsAdmin/lib/viewer_functions.php";

  list($e_blast_events_noticeRecords, $e_blast_events_noticeMetaData) = getRecords(array(
    'tableName'   => 'e_blast_events_notice',
  'orderBy'=> 'neverRemove ASC, event_start_date ASC',

  ));
  $e_blast_events_noticeRecord = @$e_blast_events_noticeRecords[0]; // get first record
?>
<!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 - Events</title>
		<link href="css/apbc900.css" type="text/css" rel="stylesheet" media="all" />
  
         <!-- This style makes the menu item for the current page white and bold --> 
		<style type="text/css">
a.events:link { font-family:Verdana; color: #ffffff; font-size: 0.68em; font-weight: bold; text-decoration: none;}
a.events:visited { font-family:Verdana; color: #ffffff; font-size: 0.68em; font-weight: bold; text-decoration: none;}
a.events:hover { font-family:Verdana; color: #ffffff; font-size: 0.68em; font-weight: bold; text-decoration: none; }
a.events:active { font-family:Verdana; color: #ffffff; font-size: 0.68em; font-weight: bold; text-decoration: none;}
</style>
       <link rel="stylesheet" type="text/css" href="css/anylinkcssmenu.css" />
       <link rel="alternate" type="application/rss+xml" 
  title="RSS Feed for Happening Now" 
  href="rss/happening-now-rss.xml.php" />

<script type="text/javascript" src="Scripts/anylinkcssmenu.js">

/***********************************************
* AnyLink CSS Menu script v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm for full source code
***********************************************/

</script>

	<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

	<body bgcolor="#9b97ad"><?php
$count_my_page = ("happeningnowcounter.txt");
$hits = file($count_my_page);
$hits[0] ++;
$fp = fopen($count_my_page , "w");
fputs($fp , "$hits[0]");
fclose($fp);?>
    	<?PHP  
  function maxWords($textOrHtml, $maxWords) { 
  $text = strip_tags($textOrHtml); 
  $words = preg_split("/\s+/", $text, $maxWords+1); 
  if (count($words) > $maxWords) { unset($words[$maxWords]); } 
  $output = join(' ', $words); 
 
  return $output; 
  } 
?>
    <?php 
	require 'emailcode.class.php'; 
	$emailcode = new ClassEmailcode();?>
		<table bgcolor="#7C7164" align="center" width="1085" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0','height','180','width','100%','pluginspage','http://www.macromedia.com/go/getflashplayer','src','images/masthead','wmode','transparent','quality','best','play','true','movie','images/masthead' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="180" width="100%">
								<param name="movie" value="images/masthead.swf" />
								<param name="quality" value="best" />
								<param name="play" value="true" />
								<param name="wmode" value="transparent" />
								<embed height="188" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/masthead.swf" type="application/x-shockwave-flash" width="100%" wmode="transparent" quality="best" play="true"></embed> 
							</object></noscript>
			</td>
  </tr>
</table>

<table align="center" width="1085" border="0" cellspacing="0" cellpadding="20">
<tr>
					<td valign="top" rowspan="3" width="107" bgcolor="#66594b" ><!-- #BeginLibraryItem "/Library/LeftNav.lbi" --> <table  width="107"  border="0" cellspacing="0"  cellpadding="4" height="600">
                            <tr>
                              <td align="left" valign="top">
<p>&nbsp;</p>
<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>





<p><a href="http://www.artistsofpalmbeachcounty.org/index.php">Home </a></p>

                                                    

<p><a href="#" class="anchorclass" rel="submenu1" rev="lr">About&nbsp;&nbsp;&nbsp;<img src="http://www.artistsofpalmbeachcounty.org/images/pointer2.gif" style="border-width:0;  position:relative; left: 0px; top:2px" /><br />APBC</a></p>

                                                    
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="http://www.artistsofpalmbeachcounty.org/whoweare.php">Who We Are</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/boardofdirectors.php">Board of<br />&nbsp;Directors</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/committees.php">Committees</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/bylaws.php">By-Laws</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/pdf/2007-bylaws.pdf">By-Laws (PDF)</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/ourmission.php">Mission<br />&nbsp;Statement</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/history.php">History</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/webterms.php">Terms of<br />&nbsp;Service</a></li>
</ul>
</div>
<p> <a  href="http://www.artistsofpalmbeachcounty.org/artists.php">APBC Artists</a></p>
<p><a href="#" class="anchorclass" rel="submenu1" rev="lr">Meetings&nbsp;&nbsp;&nbsp;<img src="http://www.artistsofpalmbeachcounty.org/images/pointer2.gif" style="border-width:0;  position:relative; left: 0px; top:2px" /></a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="http://www.artistsofpalmbeachcounty.org/meetings.php">General Meetings</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/boardmeetings.php">Board Meetings</a></li>
</ul>
</div>

<!--<p><a href="#" class="anchorclass" rel="submenu1" rev="lr">Events&nbsp;&nbsp;&nbsp;<img src="http://www.artistsofpalmbeachcounty.org/images/pointer2.gif" style="border-width:0;  position:relative; left: 0px; top:2px" /></a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="http://www.artistsofpalmbeachcounty.org/artavox.php">Artavox 2009<br />&nbsp;Slide Presentation</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/exhibitions.php">APBC Exhibitions</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/events.php">Happening Now!</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/workshops.php">APBC Workshops</a></li> 
<li><a href="http://www.artistsofpalmbeachcounty.org/pastevents.php">Past Event<br />&nbsp;Image Galleries</a></li>
</ul>
</div> 



<p><a href="http://www.artistsofpalmbeachcounty.org/exhibitions.php">APBC Exhibitions</a></p>-->
<p><a href="http://www.artistsofpalmbeachcounty.org/events.php">What's Happening Now!</a></p>
<p><a href="http://www.artistsofpalmbeachcounty.org/special-events.php"  >Special Events</a></p>
<!--<p><a href="http://www.artistsofpalmbeachcounty.org/workshops.php">APBC Workshops</a></p> -->
<p><a href="http://www.artistsofpalmbeachcounty.org/writerscorner.php"  >Writer's Corner</a></p>


<!--<p><a href="#" class="anchorclass" rel="submenu1" rev="lr">Meet Our&nbsp;&nbsp;&nbsp;<img src="images/pointer2.gif" style="border-width:0;  position:relative; left: 0px; top:2px" /><br />Artists</a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="artists.php">Artists<br />&nbsp;Listings</a></li>
<li><a href="articles.php">Members<br />&nbsp;Spotlight</a></li>
</ul>
</div> 

<p><a href="#" class="anchorclass" rel="submenu1" rev="lr">Join&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/pointer2.gif" style="border-width:0;  position:relative; left: 0px; top:2px" /><br />APBC</a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="becomeamember.php">Member<br />&nbsp;Benefits</a></li>
<li><a href="onlinemembershipform.php">On-Line<br />&nbsp;Application</a></li>
<li><a href="pdf/membershipapplication.pdf">Download<br />&nbsp;Application</a></li>
</ul>
</div> -->

<div>
<p><a href="http://www.artistsofpalmbeachcounty.org/becomeamember.php"  >Become a<br />member</a></p>
<p><a href="#" class="anchorclass" rel="submenu1" rev="lr">Members&nbsp;&nbsp;&nbsp;<img src="http://www.artistsofpalmbeachcounty.org/images/pointer2.gif" style="border-width:0;  position:relative; left: 0px; top:2px" /><br />Only</a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="http://www.artistsofpalmbeachcounty.org/members.php">Need a Login Password?<br />&nbsp;Forgot Your Login Info?</a></li>
<!--<li><a href="http://www.artistsofpalmbeachcounty.org/OK/news_notes.php">News and Notes</a></li> -->
<li><a href="http://www.artistsofpalmbeachcounty.org/OK/paypal.php">Renew Dues</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/OK/informationrevisionrequestform.php">Information <br />&nbsp;Revision Form</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/OK/exhibitionsubmission.php">APBC Exhibition<br>
&nbsp;Entry Forms<br />and Information</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/OK/eventform.php">&quot;Happening Now&quot;<br>Event
  Submission Form</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/OK/budget.php">Annual Report</a></li>
<li><a href="http://www.artistsofpalmbeachcounty.org/specialwebpage.php">Get a Personal<br />&nbsp;Web Page</a></li>
</ul>
</div><p><a href="http://www.artistsofpalmbeachcounty.org/membersblogs.php"  >Member's<br />Blogs</a></p>

<p><a href="http://www.artistsofpalmbeachcounty.org/pastevents.php">Past Event<br />
Image Galleries</a></p>
<p><a href="http://www.artistsofpalmbeachcounty.org/artavox.php">Artavox 2009<br />&nbsp;Presentation</a></p>
<p><a href="http://www.artistsofpalmbeachcounty.org/contributors.php"  >Supporters</a></p>
<p><a href="http://www.artistsofpalmbeachcounty.org/resources.php"  >Resources</a></p>
<p><a href="http://www.artistsofpalmbeachcounty.org/contact.php"  >Contact Us</a></p></div>










</td>
					        </tr>
                          </table>
						  <table width="107"  border="0" cellspacing="0"  cellpadding="4" >
                            <tr>
                              <td valign="bottom"><br /><div align="left" > <a href="http://www.artistsofpalmbeachcounty.org/sitemap.htm" class="anchorclass"  >Site map</a></div></td>
                            </tr>
                          </table><!-- #EndLibraryItem --><br /><br /> <table width="80%" border="0" align="center" cellpadding="0">
                        
                          <tr><td><div align="center"><a href="rss/happening-now-rss.xml.php" target="_blank"><img src="images/rssss.png" alt="" width="40" height="40" /></a></div></td>
                          </tr><tr>
                          <td><span class="body-text-bold"><br />
                          Subscribe to our RSS feed and never miss an event listing.</span> </td>
                          </tr>
                      
                      </table></td>
					
					<td valign="top" align="center" bgcolor="#7C7164"  >
					  
                          <div align="left">
					
					            <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0','height','70','width','100%','pluginspage','http://www.macromedia.com/go/getflashplayer','src','images/headlines/happeningnowhead','wmode','transparent','quality','best','play','true','movie','images/headlines/happeningnowhead' ); //end AC code
                                </script>
					            <noscript>
					            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="70" width="100%" >
                                  <param name="movie" value="images/headlines/happeningnowhead.swf" />
                                  <param name="quality" value="best" />
                                  <param name="play" value="true" />
                                  <param name="wmode" value="transparent" />
                                  <embed height="70" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/headlines/happeningnowhead.swf" type="application/x-shockwave-flash" width="100%" wmode="transparent" quality="best" play="true"></embed>
                                </object>
					            </noscript><div align="center">
					       <div align="right"></div>

				           
					          
				            
			             
			              <div>
			                <p><span class="body-text">APBC members' work can be seen in a wide range of events, publications, performances, and on going exhibitions.<br />
                            <br />
			                  </span>
                             <span class="body-text">APBC also sponsors events and exhibitions, and co-produces events with other organizations.</span><br />
                              <br />
                              <span class="body-text">Receptions may occur during</span> <span class="body-text">an event and not on opening day.<br />
                              <br />
                              </span>		                      </p>
		                    <p><span class="body-text-black">If you're a member</span>, <a class="special"  href="http://www.artistsofpalmbeachcounty.org/OK/eventform.php"> FILL OUT AN EVENT INFORMATION SUBMISSION FORM</a>  <span class="body-text">and we'll publish your event information</span>.<br />
                            <table width="90%" border="0" cellpadding="0">
                              <tr>
                                <td align="center"><table width="60%" align="left" border="0" cellpadding="0">
                                <tr>
                                      <td align="center" class="special-non-link">Skip to:</td><td align="center">||</td>
                                      <td align="center"><a class="special" href="#A">What's Happening This Week</a>
                                      </td>
                                      <td align="center">||</td>
                                      <td align="center"><a class="special" href="#B">Other Great Events</a></td><td align="center">||</td>
                                    </tr>
                                </table></td>
                                <td align="right"><a href="rss/happening-now-rss.xml.php" target="_blank"><img src="images/rssss.png" alt="" width="40" height="40" /></a></td>
                              </tr>
                            </table>
                            </p>
			              </div>
		              <br /><div align="center" ><hr align="center" color="#660033"/><span class="heading-text-bold">APBC SPONSORED EVENTS</span><br /> 
		                <span class="body-text-bold-italic">These events are listed by opening date.</span> 
</div>



 <span class="body-text-bold-italic">
<?php $ischeck= 0; ?> 
    <?php foreach ($e_blast_events_noticeRecords as $record): ?> 
        <?php if($record['apbc_event']==1) $ischeck=1; ?>
    <?php endforeach ?> 
    
 <?php if ($ischeck==0) echo "We sponsor many events throughout the year, and they'll be listed here.<br>We hope you'll enjoy one of the other events below."; ?>

  </span>
 <table width="90%" border="0" align="center" cellpadding="5"><?php foreach ($e_blast_events_noticeRecords as $record): ?><?php if ($record['apbc_event'] == 1): ?>
  <tr>
    <td colspan="2" align="center"><hr align="center" width="300" color="#660033"/>      </td>
    </tr>
  <tr>
    <td width="100" align="center">
     <?php if (sizeof($record['event_image_1']) >= 1): ?>  
      
      <?php foreach ($record['event_image_1'] as $upload): ?>   
           <a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><br /><br /><img border="0" src="<?php echo $upload['thumbUrlPath'] ?>" alt="" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" align="center" /></a>  
             <?php endforeach ?>  
          <?php else: ?>  
    <a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><br /><br /><img border="0" src="http://www.artistsofpalmbeachcounty.org/images/bullseye.png" width="150" height="130" alt="Generic Event Image" /></a> 
   
        
        <?php endif ?>  </td><td align="left" valign="top"><div class="heading-text-bold"><a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><?php $event_title = ($record['event_title']); ?><?php echo strtoupper($event_title); ?></a></div>
                             <?php if ($record['event_start_date'] && $record['event_start_date'] != '0000-00-00 00:00:00'): ?>
  <span class="body-text-bold"><?php echo date("D, M jS, Y", strtotime($record['event_start_date'])) ?>  </span><?php endif; ?><?php if ($record['event_end_date'] && $record['event_end_date'] != '0000-00-00 00:00:00'): ?>
  <span class="body-text-bold">&nbsp;through&nbsp;<?php echo date("D, M jS, Y", strtotime($record['event_end_date'])) ?></span><?php endif; ?><br /><?php if ($record['event_reception_date'] && $record['event_reception_date'] != '0000-00-00 00:00:00'): ?><div class="body-text-bold"><br />Reception</div><div class="body-text"><?php echo date("D, M jS, Y", strtotime($record['event_reception_date'])) ?></div><?php endif; ?>
  
  <?php if ($record['event_description']): ?><br /> <span class="body-text"><?PHP  echo maxWords($record['event_description'], 40); 
?>...</span><a class="read-more" href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>">(Read More)</a><?php endif; ?><?php endif; ?>
  
  
      <?php endforeach; ?> </td>
  </tr>
</table>
<?php
    list($e_blast_events_noticeRecords, $e_blast_events_noticeMetaData) = getRecords(array(
    'tableName'   => 'e_blast_events_notice',
	  'where' => '((NOW() + INTERVAL 7 DAY) >= event_reception_date AND event_reception_date >= TIMESTAMP(CURDATE(), "00:00:00")) OR ((NOW() + INTERVAL 7 DAY) >= event_start_date AND event_start_date >= TIMESTAMP(CURDATE(), "00:00:00"))',   
	  
	  'orderBy'=> 'neverRemove ASC, event_start_date ASC',
  ));

?>
<br /><div align="center"><hr align="center"  color="#660033"/><a name="A"></a> <span class="heading-text-bold">THIS WEEK'S HAPPENINGS</span><br /><span class="body-text-bold-italic">These events are listed by opening date.</span>
</div>
<div class="body-text-bold-italic">
<?php if(!$e_blast_events_noticeRecords) echo "Sorry, none of our events listings are opening or have a reception during the next 7 days.<br />But there are many events listed below to choose from."; 
?>
<?php if($e_blast_events_noticeRecords) echo "These events are opening or have a reception during the next 7 days."; ?>


  </div>
  <table width="90%" border="0" align="center" cellpadding="5"><?php foreach ($e_blast_events_noticeRecords as $record): ?><?php if ($record['apbc_event'] != 1): ?>
  <tr>
    <td colspan="2" align="center"><hr align="center" width="300" color="#660033"/>      </td>
    </tr>
  <tr>
    <td width="100" align="center">
     <?php if (sizeof($record['event_image_1']) >= 1): ?>  
      
      <?php foreach ($record['event_image_1'] as $upload): ?>   
           <a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><br /><br /><img border="0" src="<?php echo $upload['thumbUrlPath'] ?>" alt="" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" align="center" /></a>  
             <?php endforeach ?>  
          <?php else: ?>  
    <a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><br /><br /><img border="0" src="http://www.artistsofpalmbeachcounty.org/images/bullseye.png" width="150" height="130" alt="Generic Event Image" /></a> 
   
        
        <?php endif ?>  </td><td align="left" valign="top"><div class="heading-text-bold"><a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><?php $event_title = ($record['event_title']); ?><?php echo strtoupper($event_title); ?></a></div>
                             <?php if ($record['event_start_date'] && $record['event_start_date'] != '0000-00-00 00:00:00'): ?>
  <span class="body-text-bold"><?php echo date("D, M jS, Y", strtotime($record['event_start_date'])) ?>  </span><?php endif; ?><?php if ($record['event_end_date'] && $record['event_end_date'] != '0000-00-00 00:00:00'): ?>
  <span class="body-text-bold">&nbsp;through&nbsp;<?php echo date("D, M jS, Y", strtotime($record['event_end_date'])) ?></span><?php endif; ?><br /><?php if ($record['event_reception_date'] && $record['event_reception_date'] != '0000-00-00 00:00:00'): ?><div class="body-text-bold"><br />Reception</div><div class="body-text"><?php echo date("D, M jS, Y", strtotime($record['event_reception_date'])) ?></div><?php endif; ?>
  
  <?php if ($record['event_description']): ?><br /> <span class="body-text"><?PHP  echo maxWords($record['event_description'], 40); 
?>...</span><a class="read-more" href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>">(Read More)</a><?php endif; ?><?php endif; ?>
  
  
      <?php endforeach; ?> </td>
  </tr>
</table>	

<?php
    list($e_blast_events_noticeRecords, $e_blast_events_noticeMetaData) = getRecords(array(
    'tableName'   => 'e_blast_events_notice',
	  'where' => 'event_start_date < TIMESTAMP(CURDATE(), "00:00:00") OR event_start_date > TIMESTAMP(NOW()+ INTERVAL 7 DAY)',
	  'orderBy'=> 'neverRemove, event_end_date ASC',
  ));

?>
<br /><div align="center" class="heading-text-bold"><hr align="center"  color="#660033"/><a name="B"></a>MEMBER HAPPENINGS<br />
</div>
 <?php if (!$e_blast_events_noticeRecord['apbc_event'] == 1): ?>
 <span class="body-text-bold-italic">Our members are participating in a wide variety of art related events. We hope you'll attend some of them.<br />These events are sorted by the event ending date.</span> 
 <?php endif ?>
  
  <table width="90%" border="0" align="center" cellpadding="5"><?php foreach ($e_blast_events_noticeRecords as $record): ?><?php if ($record['apbc_event'] != 1): ?>
  <tr>
    <td colspan="2" align="center"><hr width="300" color="#660033"/>      </td>
    </tr>
  <tr>
    <td width="100" align="center">
     <?php if (sizeof($record['event_image_1']) >= 1): ?>  
      
      <?php foreach ($record['event_image_1'] as $upload): ?>   
           <a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><br /><br /><img border="0" src="<?php echo $upload['thumbUrlPath'] ?>" alt="" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" align="center" /></a>  
             <?php endforeach ?>  
          <?php else: ?>  
    <a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><br /><br /><img border="0" src="http://www.artistsofpalmbeachcounty.org/images/bullseye.png" width="150" height="130" alt="Generic Event Image" /></a> 
   
        
        <?php endif ?>  </td><td align="left" valign="top"><div class="heading-text-bold"><a href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>"><?php $event_title = ($record['event_title']); ?><?php echo strtoupper($event_title); ?></a></div>
                             <?php if ($record['event_start_date'] && $record['event_start_date'] != '0000-00-00 00:00:00'): ?>
  <span class="body-text-bold"><?php echo date("D, M jS, Y", strtotime($record['event_start_date'])) ?>  </span><?php endif; ?><?php if ($record['event_end_date'] && $record['event_end_date'] != '0000-00-00 00:00:00'): ?>
  <span class="body-text-bold">&nbsp;through&nbsp;<?php echo date("D, M jS, Y", strtotime($record['event_end_date'])) ?></span><?php endif; ?><br /><?php if ($record['event_reception_date'] && $record['event_reception_date'] != '0000-00-00 00:00:00'): ?><div class="body-text-bold"><br />Reception</div><div class="body-text"><?php echo date("D, M jS, Y", strtotime($record['event_reception_date'])) ?></div><?php endif; ?>
  
  <?php if ($record['event_description']): ?><br /> <span class="body-text"><?PHP  echo maxWords($record['event_description'], 40); 
?>...</span><a class="read-more" href="http://www.artistsofpalmbeachcounty.org/eventdetail.php?<?php echo $record['num'] ?>">(Read More)</a><?php endif; ?><?php endif; ?>
  
  
      <?php endforeach; ?> </td>
  </tr>
</table>	
<?php if (!$e_blast_events_noticeRecords): ?>
                      <span class="body-text-bold">New events will be listed soon!</span>
                      <?php endif ?><br /><span class="body-text-small"><?php echo $hits[0]; ?></span>                    </td>
  </tr>
			</table>
	
<p></p><script type="text/javascript">

//anylinkcssmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
anylinkcssmenu.init("anchorclass")

</script></body>

</html>