<?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'); ?>    
    OSAA Tournament of the Week
<?php $__env->stopSection(); ?>

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

    <style type="text/css">
      #trackWrestlingFrame {
          width: 1200px;
          height: 900px;
          border: none;
      }
    </style>

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


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

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



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


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


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

    <?php
        $src = 'http://www.trackwrestling.com/predefinedtournaments/VerifyPassword.jsp?tournamentId=169571009';

        if (Input::has('id'))
        {
            if (Helpers::strEqual(Input::get('id', null), 'OSAA'))
            {
                $src = 'http://www.trackwrestling.com/predefinedtournaments/VerifyPassword.jsp?tournamentId=119549009';
            }

            if (Helpers::strEqual(Input::get('id', null), 'SWIM'))
            {
                $src = 'http://www.osaa.org/stats/sw/2013-14/6A/index.htm';
            }

            if (Helpers::strEqual(Input::get('id', null), 'TRACK'))
            {
                $src = 'http://www.osaa.org/stats/tf/2013-14/index.htm';
            }
        }
    ?>

        
    <iframe id="trackWrestlingFrame" src="<?php echo $src; ?>"></iframe>    

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

