


<?php $__env->startSection('page_title'); ?>

    OSAA Championship Programs

<?php $__env->stopSection(); ?>





<?php $__env->startSection('page_sub_title'); ?>

    OSAA Championship Programs	

<?php $__env->stopSection(); ?>



<?php $__env->startSection('head'); ?>

    

    <link rel="stylesheet" href="<?php echo asset('css/fontello.css'); ?>">



<?php $__env->stopSection(); ?>





<?php $__env->startSection('jquery_init'); ?>

    
    /*
     * Log program click event as a digital program download
     */
    $('[data-event-category]').click(function(event)
    {
        var element = $(this);
        logGoogleEvent(element);

        return true;
    });

    function logGoogleEvent(element)
    {
        var category = element.attr('data-event-category');
        var action = element.attr('data-event-action');
        var label = element.attr('data-event-label');

        ga('send', 'event', category, action, label);        
    }


<?php $__env->stopSection(); ?>





<?php $__env->startSection('header_button_left'); ?>

    <a href="#" class="jqm-navmenu-link ui-nodisc-icon ui-alt-icon ui-btn-left ui-btn ui-icon-arrow-l ui-btn-icon-notext ui-corner-all" onClick="window.history.back(); return false;">Back</a>

<?php $__env->stopSection(); ?>



<?php $__env->startSection('left_nav_panel'); ?>

    @parent    

<?php $__env->stopSection(); ?>



<?php $__env->startSection('main_content'); ?>
    
    <ul data-role="listview">        

        <?php foreach ($info['programs'] as $program): ?>

        <li class="ranking-row">

            <?php if (!is_null($program->link)): ?>
            <a href="<?php echo $program->link; ?>" class="ui-grid-d" target="_blank" data-event-category="<?php echo $program->category; ?>" data-event-action="<?php echo $program->action; ?>" data-event-label="<?php echo $program->label; ?>">
        <?php else: ?>
            <a href="#" class="ui-grid-d" target="_blank">
        <?php endif; ?>            
                <div class="ui-block-a ellipses" style="width: 95%; white-space: nowrap;">
                    <?php echo str_replace('<br />', ' ', $program->title); ?>
                </div>                   
            </a>
        </li>

        <?php endforeach; ?>

        <?php if (count($info['programs']) < 1): ?>

            <li class="ranking-row">
                Digital programs are not available at this time.
            </li>

        <?php endif; ?>
        

    </ul>  

    <div class="ui-grid-b" style="text-align: center;">

        <a href="<?php echo url('/programs/archive'); ?>" class="ui-btn-up-a" data-role="button">
            Program Archive
        </a>

    </div> 

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.mobile', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>