@section('page_title') OSAA - Programs @stop @section('page_sub_title') OSAA State Championship Programs Archive @stop @section('scripts') @parent @stop @section('jquery_init') $('.back_button') .button({'icons' : {'primary' : 'ui-icon-circle-arrow-w'}}) .css({'font-size' : '9pt'}); $('div.third').each(function(index, item) { if ($(item).children('a').length < 1) { $(item).remove(); } }); @stop @section('page_functions') Back @stop @section('main_content') @if (count($info['school_years']) > 0) @foreach ($info['school_years'] as $school_year)

{{ $school_year }}-{{ substr($school_year + 1, 2, 2) }}

@foreach (array('F' => 'Fall', 'W' => 'Winter', 'S' => 'Spring') as $season_slug => $season_name)

{{ $season_name }} Digital Programs

@foreach ($info['programs'] as $program) @if ($program->school_year == $school_year and $program->season == $season_slug and file_exists(public_path() . '/docs/programs/' . $program->archive_link)) {{ str_replace('
', ' ', $program->title) }}

@endif @endforeach
@endforeach


@endforeach @else There are no archived digital programs to display. @endif @stop