<?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',


  ));
  
  list($become_a_memberRecords, $become_a_memberMetaData) = getRecords(array(
    'tableName'   => 'become_a_member',
   
   'limit'       => '1',
  ));
    $become_a_memberRecord = @$become_a_memberRecords[0]; // get first record
	
   beta_lookupRelatedFields(array(   
    'table'      => 'e_blast_events_notice',   
    'recordList' => &$e_blast_events_noticeRecords,   
    'fieldList'  => array( 'venue' )   
  
  )); 
  $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 - Exhibition Invitation and Entry Form</title>
		<link href="../css/apbc900.css" type="text/css" rel="stylesheet" media="all" />
        <link rel="stylesheet" type="text/css" href="../css/anylinkcssmenu.css" />
<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 
	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/ProtectedNav.lbi" -->
                    <?php if (strpos($CURRENT_USER['allowedFolders'], 'board_access')): ?>
                    <table width="107" cellpadding="4"  border="0" cellspacing="0" >
                      <tr>
                        <td  valign="top "><a class="special" href="http://www.artistsofpalmbeachcounty.org">Web Site Home</a></td>
                      </tr>
                    </table>
                    <br />
                    <table  width="107" cellpadding="4"  border="0" cellspacing="0" >
                      <tr>
                        <td><span class="heading-text">Board Pages</span></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/board_access/boardmeetingminutes.php"  >Board Meeting Minutes</a> </td>
                      </tr>
                      <tr>
                        <td><a class="special"  href="http://www.artistsofpalmbeachcounty.org/board_access/emaillist.php"  >Email Lists</a> </td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/board_access/maillist.php"  >Mailing Labels</a> </td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/board_access/memberlist.php"  >Membership Contact Information - All</a> </td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/board_access/memberlist-names.php"  >Membership Contact Information - Names Only</a> </td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/help.php"  >Web Site 
                          Help Documents</a> </td>
                      </tr>
                    </table>
                    <?PHP endif ?>
                    <br />
                    <?php if (strpos($CURRENT_USER['allowedFolders'], 'member_access')): ?>
                    <table width="107" cellpadding="4"  border="0" cellspacing="0" >
                      <tr>
                        <td><span class="heading-text">Member Pages</span></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/member_access/budget.php">Annual Report</a></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/member_access/exhibitionsubmission.php">Exhibition Entry Information</a></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/member_access/exhibitionapplication.php">Exhibition Entry Form</a></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/member_access/exhibition-payment.php">Exhibition Entry Payments</a></td>
                      </tr>
                      <tr>
                        <td><a class="special"  href="http://www.artistsofpalmbeachcounty.org/member_access/meeting_minutes.php">Meeting Minutes</a></td>
                      </tr>
                      <tr>
                        <td><a class="special"  href="http://www.artistsofpalmbeachcounty.org/member_access/eventform.php">Member's Event Submission Form</a></td>
                      </tr>
                      <tr>
                        <td><a class="special"  href="http://www.artistsofpalmbeachcounty.org/member_access/news_notes.php">News and Notes</a></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/member_access/paypal.php">Renew Dues</a></td>
                      </tr>
                      <tr>
                        <td><a class="special"  href="http://www.artistsofpalmbeachcounty.org/member_profile.php">Update Your Member Profile</a></td>
                      </tr>
                      <tr>
                        <td><a class="special" href="http://www.artistsofpalmbeachcounty.org/specialwebpage.php">Get a Personal Web Page</a></td>
                      </tr>
                    </table>
                    <?PHP endif ?>
                    <br />
                    <?php if (strpos($CURRENT_USER['allowedFolders'], 'committee_access')): ?>
                    <table width="107" cellpadding="4"  border="0" cellspacing="0" >
                      <tr>
                        <td><span class="special">Coming Soon</span></td>
                      </tr>
                    </table>
                    <?PHP endif ?>
					<!-- #EndLibraryItem --><br />
    <br /> </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/entryformhead','wmode','transparent','quality','best','play','true','movie','../images/headlines/entryformhead' ); //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/entryformhead.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/entryformhead.swf" type="application/x-shockwave-flash" width="100%" wmode="transparent" quality="best" play="true"></embed>
                                </object>
					            </noscript>
                                
                              <div align="center" class="body-text-bold"><br />
                              Click On An Exhibition Title For More Information</div>
  <table width="90%" border="0" align="center" cellpadding="10"><?php foreach ($e_blast_events_noticeRecords as $record): ?> <?php if ($record['apbc_event']): ?>
  
  <tr>
    <td width="100" align="center">&nbsp;</td>
    <td align="left" valign="top"><hr align="left" width="300" color="#660033"/>
      </td>
  </tr>
  <tr>
    <td valign="top" align="center">
  <?php foreach ($record['event_image_1'] as $upload): ?> <div align="center" class="body-text-bold"><a href="exhibitionsubmissiondetail.php?<?PHP echo $record['num'] ?>">Click For More Information<br /><br /></a></div>   
                              
  <a href="exhibitionsubmissiondetail.php?<?PHP echo $record['num'] ?>"><img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" /></a> 
      <?php endforeach; ?>                             
</td><td align="left" valign="top"><div class="heading-text-bold" align="left">
  <div align="center"><a href="exhibitionsubmissiondetail.php?<?PHP echo $record['num'] ?>"><span class="heading-text">
    <?php $event_title = htmlspecialchars($record['event_title']); ?>
    <?php echo strtoupper($event_title); ?></span><br>
    <span class="heading-text-italic">
      <?php $event_sub_title = htmlspecialchars($record['event_sub_title']); ?>
      <?php echo ucwords(strtolower($event_sub_title)); ?></span></a></div>
</div>
         <div align="center"><span class="body-text-bold"><?php echo date("l F jS, Y", strtotime($record['event_start_date'])) ?></span>
             <?php if ($record['event_end_date']): ?> 
           <span class="body-text-bold"> Through </span><span class="body-text-bold"><?php echo date("l F jS, Y", strtotime($record['event_end_date'])) ?></span>
           <?php endif; ?>
           
           <br />
             <span class="body-text">
            
            
         	Code	

<?php foreach ($e_blast_events_noticeRecords as $record): ?>  
  
  
<?php $venue = $record['venue']; ?>  
         
Location:</span><br />  
<?php echo $venue['venue_name']; ?><br />  
 <?php echo $venue['venue_address'] ?><br />  
<?php endforeach; ?>
            
            
            
            
            </span><br />
             <?php if ($record['submission_deadline_date'] && $record['submission_deadline_date'] != '0000-00-00 00:00:00'&& $record['call_to_artists_publishing_date'] && $record['call_to_artists_publishing_date'] != '0000-00-00 00:00:00'): ?>
         </div>
         <div align="center">
                 <span class="heading-text-yellow">SUBMISSION DEADLINE</span><br />
               
           
    
            
           <span class="body-text-yellow">Midnight, <?php echo date("l F jS, Y", strtotime($record['submission_deadline_date'])) ?></span><br />
           <span class="body-text-yellow">OPEN TO <?php echo $record['who_can_apply'] ?></span><br />
            </div> 
            
            <?PHP else: ?>
            <span class="heading-text-yellow">SUBMISSION DEADLINE WILL BE ANNOUNCED SOON</span><br />
         <?php endif ?>
        
      <?php if ($record['entry_type'] == 0): ?>
	  <?php if ($record['entry_fee'] && $record['quantity']): ?>
                              <span class="body-text-bold">There is a $<?php echo $record['entry_fee'] ?> entry fee for up to</span><?php endif ?>
                               <?php if ($record['entry_fee'] && !$record['quantity']): ?>
                              <span class="body-text-bold">There is a $<?php echo $record['entry_fee'] ?> entry fee and you can submit an unlimited amount of works of art.</span><?php endif ?>
                              <?php if (!$record['entry_fee'] && $record['quantity']): ?> <span class="body-text-bold">There is no entry fee and you can submit up to</span>
                              <?php endif ?>
                               <?php if ($record['quantity']): ?><span class="body-text-bold"><?php echo $record['quantity'] ?> works of art.</span><br />  <?php endif ?><?php endif ?>
    
	<?php if ($record['event_description']): ?><div class="body-text"><br /><?php echo $record['event_description'] ?></div><?php else: ?><div class="body-text"><br /><?php echo $record['evente_description'] ?></div><?php endif ?>       
   
   
              <?PHP if ($record['opening_reception_date_and_start_time'] && $record['opening_reception_date_and_start_time'] != '0000-00-00 00:00:00'): ?> 
   <div class="body-text-bold"><br />
   <?PHP if ($record['opening_reception_type']): ?><?php echo $record['opening_reception_type'] ?><?php else: ?>Opening Reception: <?php endif; ?></div><div class="body-text"><?php echo date("l F jS, Y - g:i a", strtotime($record['opening_reception_date_and_start_time'])) ?> <?PHP if ($record['opening_reception_end_time']): ?>through <?php echo $record['opening_reception_end_time'] ?><br /></div><?php endif; ?>
			   <?php if ($record['opening_reception_location']): ?><div class="body-text-bold"><br />The <?php echo $record['opening_reception_type'] ?> will be held at:</div><div class="body-text"><?php echo $record['opening_reception_location'] ?></div><?php endif; ?><?php endif; ?>
               
           <?PHP if ($record['closing_reception_date_and_start_time'] && $record['closing_reception_date_and_start_time'] != '0000-00-00 00:00:00'): ?>
   <div class="body-text-bold"><br />
   <?PHP if ($record['closing_reception_type']): ?><?php echo $record['closing_reception_type'] ?><?php else: ?>Closing Reception: <?php endif; ?></div><div class="body-text"><?php echo date("l F jS, Y - g:i a", strtotime($record['closing_reception_date_and_start_time'])) ?> <?PHP if ($record['closing_reception_end_time']): ?>through <?php echo $record['closing_reception_end_time'] ?><br /></div><?php endif; ?>
			   <?php if ($record['closing_reception_location']): ?><div class="body-text-bold"><br />The <?php echo $record['closing_reception_type'] ?> will be held at:</div><div class="body-text"><?php echo $record['closing_reception_location'] ?></div><?php endif; ?> </td>
  </tr><?php endif; ?>
                  
        
	  
     <?php endif ?> <?php endforeach; ?>
</table>
	
	
    <?php if (!$e_blast_events_noticeRecords): ?>
                      <span class="body-text-bold">Submission information for new exhibitions will be listed soon!</span>
                      <?php endif ?>
  
  
  
  
  
  
  

                      </div>
					  
					  <p align="left"><span class="body-text">Please </span> <?php echo $emailcode->emailgetencode('exhibition-submissions@artistsofpalmbeachcounty.org','E-MAIL US','','special','xhtml');
?> <span class="body-text">with any questions.</span></p>
				    </div>
			            
		              	
</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>