<?php $__env->startSection('page_title'); ?>
    OSAA - Activities
<?php $__env->stopSection(); ?>

<?php $__env->startSection('live_alert'); ?>
    
    <?php
        GeneralController::getLiveAlert();
    ?>
    
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_sub_title'); ?>    
    <?php echo $info['page_sub_title']; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    @parent

    <style type="text/css">

        #wre_sub_menu {
            <?php
                $a = '#e9f0f8';
                $b = '#bdbbbd';
            ?>

            border-top: 1px solid #7d7b7d;
            margin-top: -9px;
            width: 100%;   
            height: 31px;                     
            background: #39b1cc;
            background: -moz-linear-gradient(top, <?php echo $a; ?> 0%, <?php echo $b; ?> 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, <?php echo $a; ?>), color-stop(100%, <?php echo $b; ?>));
            background: -webkit-linear-gradient(top, <?php echo $a; ?> 0%, <?php echo $b; ?> 100%);
            background: -o-linear-gradient(top, <?php echo $a; ?> 0%, <?php echo $b; ?> 100%);
            background: -ms-linear-gradient(top, <?php echo $a; ?> 0%, <?php echo $b; ?> 100%);
            background: linear-gradient(to bottom, <?php echo $a; ?> 0%, <?php echo $b; ?> 100%);
        }

        #wre_sub_menu ul,
        #wre_sub_menu ul li,
        #wre_sub_menu ul li a {
            margin: 0;
            padding: 0;
            border: 0;
            list-style: none;
            line-height: 1;
            display: block;
            position: relative;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;  
        }
        
        #wre_sub_menu ul {            
            box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05);
            padding-left: 0 !important;
            display: block;
            clear: both;
        }

        #wre_sub_menu ul li {
            float: left;
            display: inline-block;
        }

        #wre_sub_menu ul li a {
            padding: 8px 15px 10px 15px;
            border-right: 1px solid rgba(80, 80, 80, 0.12);
            text-decoration: none;
            font-size: 13px;
            font-weight: 700;
            color: #005fa9;
            /*text-transform: uppercase;*/
            letter-spacing: 1px;
        }

        #wre_sub_menu ul li:hover a,
        #wre_sub_menu ul li a:hover,
        #wre_sub_menu ul li.active a {
            color: #ffffff;
            background: #32a9c3;              
            background: rgba(0, 0, 0, 0.1);
        }

        #trackWrestlingFrame {
            width: 1200px;
            height: 1500px;
            border: none;
            margin: 0;
            padding: 0;            
        }

        #full_page_content {
            margin-bottom: -3px;
        }

    </style>

<?php $__env->stopSection(); ?>


<?php $__env->startSection('jquery_init'); ?>
  
    $('.page_functions').remove();

<?php $__env->stopSection(); ?>


<?php $__env->startSection('main_content'); ?>   

    <div id='wre_sub_menu'>
        <ul>
            <?php foreach ($info['links'] as $path => $text): ?>

                <li <?php if (Helpers::strEqual($path, 'brackets')): ?> class="active" <?php endif; ?>>
                    <a href="<?php echo url('/activities/wre/' . $path); ?>"><?php echo $text; ?></a>
                </li>

            <?php endforeach; ?>           
        </ul>
    </div>
        
    <iframe id="trackWrestlingFrame" data-gibby="true" src="<?php echo $info['source']; ?>"></iframe>

<?php $__env->stopSection(); ?>