<!DOCTYPE html>
<html lang="en-US">
	<head>
		<meta charset="utf-8">
		<style type="text/css">
			* {margin:0; padding:0;}
			body {font-family:Lucida Grande,Lucida Sans,Arial,sans-serif; font-size: 9pt; line-height:120%; color:#151515; background:#ffffff; width:800px;}

			h1 {font-size: 18pt; width: 800px; padding-bottom: 4px; border-bottom: 2px solid #1c43a6; color: #1c43a6;}
			h2 {font-weight: bold; font-size: 14pt; color: #990000;}
			h3 {font-weight: bold; font-size: 12pt; color: #151515; margin: 0 0 0.5em 0;}
			h4 {font-weight: bold; font-size: 11pt; color: #990000; margin: 0;}

			table {border-collapse: collapse;}

			.line  {border-bottom: 1px solid #7d7b7d;}

			a {text-decoration: underline; color: #005fa9;}
			a:hover {text-decoration: none; color: #990000;}
			a:visited {color: #005fa9;}
		</style>
	</head>
	<body>
		
		<h1>OSAA State Solo Music Championships</h1>	

		<h2>
			Registration for <?php echo $information['activity_program']->name; ?>
		</h2>				

		<p>
			Your school's registration information for the OSAA State Solo Music Championships has been updated.  The participants listed in this e-mail were reported as potential qualifiers from the district event.  Please register your students for state consideration.  Their registration status for the state competition is also provided below.
			<ul>
				<li><b>The deadline to register for the OSAA Solo Music State Championships is <?php echo date('g:ia, l, n/j/Y', strtotime($information['activity_form']->due_at)); ?>.</b></li>
			</ul>
		</p>
		
		<table style="width: 100%;">
			<tr>
				<td style="font-weight: bold; background: #ffefb0; border: 1px solid #e1c146; padding: 8px 16px;">
					Qualifier Registration: <a href="<?php echo url('/forms/registration/sol'); ?>" style="font-weight: normal;">&raquo; Register Your Qualifiers for State &laquo;</a>
				</td>
			</tr>
		</table>

		<br />

		<h3>Qualifiers</h3>

		<table style="width: 800px;">			
			<tbody>
				<?php foreach ($information['data']['participants'] as $participant): ?>
					<tr>
						<td><?php echo $participant->first_name; ?> <?php echo $participant->last_name; ?>, <?php echo (!Helpers::strIsEmpty($participant->grade)) ? $participant->grade : 'No Grade'; ?></td>
						<td><?php echo $participant->placement; ?> - <?php echo $participant->category; ?></td>
						<td><?php echo ($participant->registered) ? '<span style="color: #0d581b; font-weight: bold;">Registered</span>' : '<span style="color: #990000; font-weight: bold;">Not Registered</span>'; ?></td>
					</tr>
				<?php endforeach; ?>
			</tbody>
		</table>
		
		<br />
		
		Regards,<br /><br />
		Oregon School Activities Association<br />
		<a href="<?php echo url('/'); ?>">www.osaa.org</a>

		<br /><br />	

		<p style="font-size: 8pt; line-height: 110%;">
			This is an automatically generated message and was sent to <?php echo Helpers::arrayToList ($information['to']); ?>			
			<?php if (count($information['cc']) > 0): ?>
				and copied to <?php echo Helpers::arrayToList ($information['cc']); ?>
			<?php endif; ?>
		</p>
		
	</body>
</html>