<?php echo $__env->make ('/activities/highlights', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<p class="staff_contact">
    STAFF CONTACT: K.T. Emerson, Assistant Executive Director, 503.682.6722 x227, <?php echo Helpers::obfuscateEmailLink ("kte@osaa.org"); ?>
</p>
   
<div class="columns" style="font-size: 10pt;">
	<div class="half">
		


		<h2>Resources</h2>
		<p>
		  	<div>&raquo; <a href="<?php echo asset ('docs/handbooks/dnchandbook.pdf'); ?>" target="_blank">OSAA Dance/Drill Handbook</a><div style="color: #990000; font-weight: bold; font-size: 9pt;">(Updated <?php echo date('n/j/Y', filemtime(public_path() . '/docs/handbooks/dnchandbook.pdf')); ?>)</div>
			&raquo; <a href="http://nfhs.org/activities-sports/spirit/" target="_blank">NFHS Rules Information</a><br>			
			&raquo; <a href="<?php echo url('/health-safety'); ?>">Health and Safety Information</a><br>
			&raquo; <a href="http://www.ddcaoregon.org" target="_blank">Dance Drill Coaches Association (DDCA)</a><br>
			&raquo; <a href="<?php echo asset ('docs/forms/ReimbursementFormula.pdf'); ?>" target="_blank">OSAA Playoff Reimbursement Formula</a><br>		
			&raquo; <a href="<?php echo asset ('docs/forms/MemberSchoolTicketPolicy.pdf'); ?>" target="_blank">OSAA Member School Ticket Policy</a><br>
		</div>
		</p>
		
	</div>

<div class="half">

		<h2>Important Season Dates - 2018-19</h2>
		<dl>

			<dt>First Practice Date</dt>
			<dd>August 13</dd>

			<dt>First Contest Date</dt>
			<dd>August 23</dd>

			<dt>Preliminary Registration Forms Open</dt>
			<dd>February 1</dd>

			<dt>Preliminary Registration Deadline</td>
			<dd>February 8</dd>

			<dt>Cutoff Date</td>
			<dd>February 8</dd>
			
			<dt>Final Registration Confirmation Due</dt>
			<dd>March 1</dd>	
			
			<dt>Music/Rosters/Team Photo Due</dt>
			<dd>March 7</dd>

			<dt>6A, 5A Finals</dt>
			<dd>March 15</dd>
			
			<dt>4A/3A/2A/1A, Show Finals</dt>
			<dd>March 16</dd>
		</dl>
		</div>

	<h2>Spirit Safety Certification</h2>
	<p>
		The OSAA is continuing its online Spirit Safety Certification course.  Spirit Safety certifications are offered exclusively online.  This online certification course must be completed annually in order to fulfill the Spirit Safety Certification requirement for all Cheerleading and Dance/Drill coaches.  This new online certification process is free.  
	</p>
	<p>
		&raquo; <a href="<?php echo url('http://www.osaa.org/spirit-safety'); ?>">OSAA Spirit Safety</a>
	</p>
		
	
	<?php /*  <h2>Spirit Safety Clinic Certifications</h2>
				
		<?php
			$spirit_attendance_file = '/docs/dnc/Dance&DrillSpiritSafetyClinicAttendance16-17.pdf';
		?>

		<?php if (file_exists(public_path() . $spirit_attendance_file)): ?>
			&raquo; <a href="<?php echo asset ($spirit_attendance_file); ?>" target="_blank">2016-17 Dance Safety Clinic Certifications</a>
		<?php else: ?>
			2016-17 attendance lists will be posted here.
		<?php endif; ?>		
		
		<br class="clear" />

		<img src="<?php echo asset('/images/icons/calendar_2_32px.png'); ?>" alt="" title="" style="float: right;" />
		
		<h3 style="color: #990000; margin-bottom: 9px;">2016-17 Dance Spirit Safety Clinic Dates</h3>
		<table style="font-size: 10pt; border-collapse: collapse; width: 100%;">
			<tr>
				<td style="width: 54px; font-weight: bold; border-bottom: 2px solid #1C43A6;">Date</td>
				<td style="width: 40px; font-weight: bold; border-bottom: 2px solid #1C43A6;">Day</td>				
				<td style="width: 54px; font-weight: bold; border-bottom: 2px solid #1C43A6;">Time</td>
				<td style="font-weight: bold; border-bottom: 2px solid #1C43A6;">Location</td>
			</tr>

			<?php
				$spirit_safety_file = storage_path() . '/data/spirit_safety_clinics.json';

				if (file_exists($spirit_safety_file))
				{
					$raw_data = file_get_contents($spirit_safety_file);
					
					if ($raw_data === false)
					{
						throw new Exception("There was an error opening the data file containing spirit safety clinic information.");						
					}

					$data = json_decode($raw_data);

					if (is_null($data) or !is_object($data) or !property_exists($data, strtoupper($activity_slug)))
					{
						throw new Exception("The data file containing spirit safety clinic information was invalid.");
					}

					$clinics = $data->{ strtoupper($activity_slug) };

					usort($clinics, function ($a, $b)
					{
						$a1 = strtotime($a->start_at);
						$b1 = strtotime($b->start_at);

						if ($a1 < $b1)
						{
							return -1;
						}
						elseif ($a1 > $b1)
						{
							return 1;
						}
						else
						{
							return 0;
						}
					});

				}
				else
				{
					$clinics = array();
				}

				$count = 0;

				foreach ($clinics as $i => $clinic)
				{
					$over = true;
					if (strtotime($clinic->start_at) >= time())
					{
						$count++;
						$over = false;
					}

					if (!$over)
					{
						echo (($i % 2) == 1) ? '<tr style="height: 2.25em; background-color: #efefef;">' : '<tr style="height: 2.25em;">';						
					}
					else
					{
						echo (($i % 2) == 1) ? '<tr style="height: 2.25em; background-color: #efefef; text-decoration: line-through;">' : '<tr style="height: 2.25em; text-decoration: line-through;">';	
					}					
					echo '<td>' . date('n/j', strtotime($clinic->start_at)) . '</td>';
					echo '<td>' . date('D', strtotime($clinic->start_at)) . '</td>';
					echo '<td>' . date('g:ia', strtotime($clinic->start_at)) . '&nbsp;&nbsp;</td>';
					echo '<td>' . $clinic->location . '</td>';
					echo '</tr>';
				}

				if ($count == 0)
				{
					echo '<tr style="line-height: 4em;"><td colspan="4" style="text-align: center;">All ' . Session::get('year') . '-' . substr(intval(Session::get('year')) + 1, 2, 2) . ' Spirit Safety Clinics have been completed.</td></tr>';
				}
			?>

		</table>

		<div style="font-size: 9pt; line-height: 1.15em; margin-top: 1em; font-weight: bold;">
			This required coach certification clinic is free - no registration required.
		</div>  */ ?>
		
	</div>
</div>