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

<?php $__env->startSection('page_sub_title'); ?>    
   OSAA Media
<?php $__env->stopSection(); ?>

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

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

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

	$('.button').button();

	$('.tabs').tabs();

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

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


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

<div class="tabs media">
        <ul style="padding-left:5px; font-size:9pt;">            
            <li><a href="#tabs-1">Broadcast Schedule</a></li>
            <li><a href="#tabs-2">Broadcasting Events</a></li>
            <li><a href="#tabs-3">Media Outlets</a></li>            
            <li><a href="#tabs-4">OSAA Logos</a></li>
            <li><a href="#tabs-5">Photo Guidelines</a></li>
        </ul>
        
        <div id="tabs-1" style="min-height: 590px;">   
        
            <!-- Broadcast Schedule Heading -->
            <h2>OSAA State Championships Broadcast Schedule powered by Pacific Office Automation</h2>                       

            <?php
                // Get a display order of activities
                $activity_order = array('FBL' => 30,
                                        'VBL' => 0,
                                        'BSC' => 10,
                                        'GSC' => 20,
                                        'BBX' => 40,
                                        'GBX' => 50,
                                        'BBL' => 60,
                                        'SBL' => 70);

                // Get the statuses to show
                $statuses = array('SCHD', 'LIVE');

                if (Input::get('all') and Auth::check() and Auth::user()->isOsaaUser())
                {
                     $statuses = array('SCHD', 'LIVE', 'DONE');
                }

                // Get matchups with broadcasters to display
                $matchups = matchup::where(function ($query)
                                     {
                                        $query->whereNotNull('broadcasters');
                                        $query->orWhereNotNull('audio_url');
                                        $query->orWhereNotNull('video_url');
                                     })
                                   ->whereIn('contest', function($query) use($statuses)
                                     {
                                         $query->select('id')
                                               ->from('contests')
                                               ->where('contest_type', '=', 'PO')
                                               ->where('school_year', '=', Session::get('year'))
                                               ->whereIn('event', function($query2) use($statuses)
                                                 {
                                                     $query2->select('id')
                                                            ->from('events')
                                                            ->whereIn('event_status', $statuses);
                                                 });
                                     })
                                   ->get();

                // Load other parameter objects
                $matchups = $matchups->each(function($matchup)
                {
                    $matchup->contest = contest::findOrFail($matchup->contest);
                    $matchup->event = event::findOrFail($matchup->contest->event);

                    $matchup->location = null;
                    if (!is_null($matchup->event->location))
                    {
                        $location = location::findOrFail($matchup->event->location);

                        $matchup->location = $location->name;
                    }
                });                

                // Sort the order of matchups
                $matchups = $matchups->sort(function($a, $b) use($activity_order)
                {
                    // Sort by date/time
                    $a_time = strtotime($a->event->start_at);
                    $b_time = strtotime($b->event->start_at);

                    if ($a_time < $b_time) return -1;
                    if ($a_time > $b_time) return 1;                   

                    return 0;
                });                              

                $activity_order = array();
                $order = 0;
                $matchups->each(function ($matchup) use(&$activity_order, &$order)
                {
                    if (!isset($activity_order[$matchup->contest->activity]))
                    {
                        $activity_order[$matchup->contest->activity] = $order += 10;
                    }
                });

                // Sort the order of matchups
                $matchups = $matchups->sort(function($a, $b) use($activity_order)
                {
                    // Sort by activity
                    $a_act_num = $activity_order[$a->contest->activity];
                    $b_act_num = $activity_order[$b->contest->activity];

                    if ($a_act_num < $b_act_num) return -1;
                    if ($a_act_num > $b_act_num) return 1;

                    // Sort by date/time
                    $a_time = strtotime($a->event->start_at);
                    $b_time = strtotime($b->event->start_at);

                    if ($a_time < $b_time) return -1;
                    if ($a_time > $b_time) return 1;

                    // Sort by classification
                    $a_cls = substr($a->contest->division, 0, 1);
                    $b_cls = substr($b->contest->division, 0, 1);

                    if ($a_cls > $b_cls) return -1;
                    if ($a_cls < $b_cls) return 1;

                    return 0;
                }); 
            ?>

            <table style="border-collapse: collapse; border-color: black; width: 100%; font-size: 10pt;">
            
                <tr style="font-weight: bold; line-height: 2em; border-bottom: 4px solid #1c43a6;">
                    <td style="width: 150px;">Activity</td>
                    <td style="width: 90px;">Date</td>                  
                    <td style="width: 75px;">Time</td>                  
                    <td>Event</td>
                    <td>Broadcasters</td>
                </tr>

                <?php if (count($matchups) > 0): ?>
                
                    <?php                    
                        $i = 0;

                        $activity = $matchups[0]->contest->activity;
                    ?>
                    
                    <?php foreach ($matchups as $matchup): ?>

                        <?php
                            if ($activity != $matchup->contest->activity)
                            {
                                echo "<tr style=\"height: 2em; border-bottom: 2px solid #7d7b7d;\"><td colspan=\"5\"></td></tr>";
                                $activity = $matchup->contest->activity;                        
                            }
                        ?>
                        
                        <tr style="line-height: 2em; <?php if ($i++ % 2 == 1): ?> background-color: #eeeeee; <?php endif; ?>">

                            <td><?php echo Helpers::getActivityName($matchup->contest->activity) . " - " . $matchup->contest->division; ?></td>
                            
                            <td><?php echo date('D M. j', strtotime($matchup->event->start_at)); ?></td>
                            
                            <td>
                                <?php if (substr($matchup->event->start_at, 11, 8) == '00:00:00'): ?>
                                    TBD
                                <?php else: ?>
                                    <?php echo date('g:i a', strtotime($matchup->event->start_at)); ?>
                                <?php endif; ?>
                            </td>
                            
                            <td style="line-height: 1.25em;">
                                <?php echo $matchup->contest->away_team_name . " @ " . $matchup->contest->home_team_name; ?>

                                <?php if (!Helpers::strIsEmpty($matchup->location)): ?>                                    
                                    (<?php echo $matchup->location; ?>)
                                <?php endif; ?>

                            </td>

                            <td style="line-height: 1.25em;">
                                <?php if (!Helpers::strIsEmpty($matchup->audio_url)): ?>
                                    <a href="<?php echo url('/radio-network'); ?>">OSAA Radio Network</a>
                                    <?php if (!Helpers::strIsEmpty($matchup->video_url) || (!is_null($matchup->broadcasters) and !Helpers::strIsEmpty($matchup->broadcasters))): ?>
                                        <br />
                                    <?php endif; ?>
                                <?php endif; ?>

                                <?php if (!is_null($matchup->video_url)): ?>
                                    <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network</a>
                                    <small>[Video LIVE]</small>
                                    <?php if (!is_null($matchup->broadcasters) and !Helpers::strIsEmpty($matchup->broadcasters)): ?>
                                        <br />
                                    <?php endif; ?>
                                <?php endif; ?>
                                
                                <?php if (!is_null($matchup->broadcasters) and !Helpers::strIsEmpty($matchup->broadcasters)): ?>
                                    <?php foreach (explode(";", $matchup->broadcasters) as $info): ?>
                                        <?php
                                            $matches = array();
                                            preg_match('/.*{(.*)}.*/i', $info, $matches);                    
                                            $link = (isset($matches[1])) ? $matches[1] : null;

                                            $matches = array();
                                            preg_match('/.*%(.*)%.*/i', $info, $matches);
                                            $note = (isset($matches[1])) ? $matches[1] : null;
                                   
                                            $info = preg_replace('/({.*})|(%.*%)/i', '', $info);                    
                                        ?>
                                    
                                        <?php if (Helpers::strIsEmpty($link)): ?>
                                            <?php echo $info; ?>
                                        <?php else: ?>
                                            <?php if (!Helpers::strContains('http://', $link) and !Helpers::strContains('https://', $link)): ?>
                                                <?php $link = 'http://' . $link; ?>
                                            <?php endif; ?>                            
                                        
                                            <a href="<?php echo $link; ?>" target="_blank"><?php echo $info; ?></a>
                                        <?php endif; ?>
                                                            
                                        <?php if (!Helpers::strIsEmpty($note)): ?>
                                            <small>[<?php echo $note; ?>]</small>
                                        <?php endif; ?>
                                    
                                        <br />
                                    <?php endforeach; ?>
                                <?php endif; ?>
                            </td>


                        </tr>           

                    <?php endforeach; ?>                

                <?php endif; ?>

            </table>

            <br />

            <?php echo $__env->make ('general.media_slice', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>


       
            <?php /*
            <?php if (Input::get('all') and Auth::check() and Auth::user()->isOsaaUser()): ?>            

            <!-- Broadcast Schedule Table -->
            <table style="border:5px solid grey; text-align:center;" border="1">

                <!-- Header Row -->
                <tr class="districttableheading" style="height:30px; text-align:center;">
                    <td style="width:10%;">DATE</td>
                    <td style="width:10%;">TIME</td>
                    <td style="width:35%;">EVENT</td>
                    <td style="width:45%;">BROADCAST</td>
                </tr>
                
                <!-- Table Rows -->
                 <tr style="height:2em;">
                    <td>Nov. 9</td>
                    <td>6 and 8:30 p.m.</td>
                    <td>Volleyball State Championship Matches</td>
                    <td>
                        <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network LIVE Video Streaming</a><br />
                    </td>
                </tr>

                <tr style="height:2em;">
                    <td>Nov. 16</td>
                    <td>See Brackets</td>
                    <td>Soccer State Championship Games</td>
                    <td>
                        <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network LIVE Video Streaming</a><br />
                    </td>
                </tr>
                
                <tr style="height:2em;">
                    <td>Nov. 22-23</td>
                    <td>See Brackets</td>
                    <td>5A-1A Football State Semifinal Games</td>
                    <td>
                        <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network LIVE Video Streaming</a><br>
                        <a href="http://www.nfhsnetwork.com/channels/osaa-radio-network" target="_blank">OSAA Radio Network</a>
                    </td>
                </tr>
                
                <tr style="height:2em;">
                    <td>Nov. 30</td>
                    <td>See Brackets</td>
                    <td>5A-1A Football State Championship Games</td>
                    <td>
                        <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network LIVE Video Streaming</a><br>
                        <a href="http://www.nfhsnetwork.com/channels/osaa-radio-network" target="_blank">OSAA Radio Network</a>
                    </td>
                </tr>
                
                <tr style="height:2em;">
                    <td>Nov. 30</td>
                    <td>TBD</td>
                    <td>6A Football State Semifinal Games</td>
                    <td>
                        <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network LIVE Video Streaming</a><br>
                        <a href="http://www.nfhsnetwork.com/channels/osaa-radio-network" target="_blank">OSAA Radio Network</a>
                    </td>
                </tr>
                
                <tr style="height:2em;">
                    <td>Dec. 7</td>
                    <td>1 p.m.</td>
                    <td>6A Football State Championship Game</td>
                    <td>
                        <a href="http://www.nfhsnetwork.com/channels/oregon" target="_blank">NFHS Network LIVE Video Streaming</a><br />
                        <a href="http://www.nfhsnetwork.com/channels/osaa-radio-network" target="_blank">OSAA Radio Network</a>
                    </td>
                </tr>

            </table>
            <!-- End of Broadcast Table -->

            
           
            <!-- Approved Broadcasters Heading -->
            <h2>Media Outlets Registered to Broadcast OSAA Playoff Games (Fall 2013) </h2>    
            
            <br/>
            <!-- Approved Broadcasters Table -->
            <table style="width:998px; border:5px solid grey; text-align:center;" border="1">

                <!-- Header Row -->
                <tr class="districttableheading" style="height:40px; text-align:center;">
                    <td style="width:45%;">OUTLET</td>
                    <td style="width:35%;">SCHOOL(s) COVERING</td>
                    <td style="width:20%;">SPORT</td>    
                </tr>
                
                <!-- Example Table Row 

                <tr style="height:4em;">
                    <td>Outlet</td>
                    <td>Schools</td>
                    <td>Sport</td>
                </tr>
                
                End of Example Table Row -->
                
                <!-- Table Rows -->
                
                    <tr style="height:4em;">
                    <td>1080 The Fan (Portland)<br>
                    <a href="http://player.tritonmedia.com/entercom/KFXXAM">1080thefan.com</a></td>
                    <td>Portland metro area schools</td>
                    <td>Football</td>
                </tr>       

    <tr style="height:4em;">
                    <td>1240 Joe Radio (Corvallis/Albany)</td>
                    <td>Crescent Valley, Philomath<br><a href="http://www.kejoam.com/" target="_blank">kejoam.com</a></td>
                    <td>5A, 4A Football</td>
                </tr>
                                
                    <tr style="height:4em;">
                    <td><a href="http://www.ashlandfootballclub.com/" target="_blank">Ashland Football Club</a></td>
                    <td>Ashland</td>
                    <td>5A Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td><a href="http://www.backroadsbroadcasting.com/" target="_blank">Backroads Broadcasting</a></td>
                    <td>Nyssa</td>
                    <td>3A Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>CBS Sports Radio 1490 The Score (Roseburg)<br>
                    <a href="http://v5.player.abacast.com/v5.1/player/index.php?uid=6420">541radio.com</a><br>
                    Jelli 101 FM (Roseburg)<br>
                    <a href="http://v5.player.abacast.com/v5.1/player/index.php?uid=6419">541radio.com</a></td>
                    <td>Roseburg, Oakland</td>
                    <td>6A, 2A Football</td>
                </tr>
                
                     <tr style="height:4em;">
                    <td>CCTV Channel 22 Comcast (Salem)</td>
                    <td>6A Salem Schools</td>
                    <td>6A Football, Volleyball, Soccer</td>
                </tr>
                
                   <tr style="height:4em;">
                    <td>COTV Channel 11 & 611 HD (Bend)</td>
                    <td>Central Oregon schools</td>
                    <td>Football</td>
                </tr>
                
                 <tr style="height:4em;">
                    <td>CTV Channel 5 (Canby)</td>
                    <td>Canby</td>
                    <td>6A Football</td>
                </tr>
                            
                <tr style="height:4em;">
                     <td><a href="http://www.douglascountysportsonline.com/" target="_blank">DouglasCountySportsOnline.com</a></td>
                    <td>Camas Valley</td>
                    <td>1A Football</td>               
                </tr>
                        
                   <tr style="height:4em;">
                    <td><a href="http://03626e8.netsolhost.com/joomla1/" target="_blank">Full Access Sports</a></td>
                    <td>McKay, McNary, North Salem, West Salem</td>
                    <td>Football</td>
                </tr>
                
                 <tr style="height:4em;">
                    <td><a href="http://www.ihigh.com/school19466/" target="_blank">iHigh.com / Philomath HS</a></td>
                    <td>Philomath</td>
                    <td>4A Football, Volleyball</td>
                    </tr>
                
                <tr style="height:4em;">
                    <td><a href="http://www.nfhsnetwork.com/channels/jesuit-portland-oregon" target="_blank">JC TV / Jesuit High School</a></td>
                    <td>Jesuit</td>
                    <td>6A Football, Soccer</td>
                    </tr>
                    
                     <tr style="height:4em;">
                    <td>KAJC 90.1 FM (Independence)<br>
                    <a href="http://kajcfm.com/">kajcfm.com</a></td></td></td>
                    <td>Central</td>
                    <td>4A Football</td>
                </tr>
                    
                    <tr style="height:4em;">
                    <td>KAJO 1270 AM (Grants Pass)<br>
                    <a href="http://live.kajo.com/" target="_blank">kajo.com</a><br>
                    KLDR 98.3 FM (Grants Pass)</a><br>
                    <a href="http://live.kldr.com/" target="_blank">kldr.com</a>
                    </td>
                    <td>Grants Pass</td>
                    <td>6A Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KBND 1110 AM (Bend)<br>
                    <a href="http://jayreesesports.com/" target="_blank">jayreesesports.com</a></td>
                    <td>Mountain View, Ridgeview</td>
                    <td>Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KBNH 1230 AM (Burns)<br>
                    KORC 92.7 FM (Burns)</td>
                    <td>Crane, Burns</td>
                    <td>Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KBZY 1490 AM (Salem)<br>
    <a href="http://kbzy.com/" target="_blank">kbzy.com</a></td>
                    <td>Sprague, West Salem</td>
                    <td>Football</td>
                </tr>
                    
                     <tr style="height:4em;">
                    <td>KCST 106.9 FM (Florence)</td>
                    <td>Siuslaw</td>
                    <td>4A Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KDOV 91.7 FM (Medford)<br>
    <a href="http://thedove.us/" target="_blank">thedove.us</a></td>
    <td>Cascade Christian</td>
                <td>3A Football</td>
                </tr>
                
                <tr style="height:4em;">
                <td>KFLS 96.5 FM (Klamath Falls)<br>
                <a href="http://klamathradio.com/" target="_blank">klamathradio.com</a></td>               
                   <td>Henley, Lost River</td>
                    <td>4A, 2A Football, Soccer</td>             
                </tr>
                
                <tr style="height:4em;">               
                    <td>KGAL 1580 AM (Lebanon/Albany)<br>
                    <a href="http://kgal.com/" target="_blank">kgal.com</a><br>
                    KSHO 920 AM (Lebanon/Albany)<br>
                    <a href="http://ksho.net/" target="_blank">ksho.net</a></td>
                    <td>West Albany</td>
                    <td>5A Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KHRB 92.3 FM (Harrisburg)</td>
                    <td>Harrisburg</td>
                    <td>Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KJDY 1400 AM / 94.5 FM (John Day)</td>
                    <td>Grant Union, Monument-Dayville, Prairie City</td>
                    <td>2A, 1A Football</td>
                </tr>
                
                 <tr style="height:4em;">
                    <td>KLCR 95.3 FM (Lakeview)</td>
                    <td>Lakeview</td>
                    <td>2A Football, Volleyball</td>
                </tr>
                    
                <tr style="height:4em;">
                    <td>KLYC 1260 AM (McMinnville)<br>
    <a href="http://www.klyc.us/" target="_blank">klyc.us</a></td>
                <td>Yamhill County schools</td>
                    <td>Football</td>
                    </tr>
                    
                    <tr style="height:4em;">
                    <td>KMHS 1420 AM / 91.3 FM (Coos Bay)<br>
                    <a href="http://kmhsradio.cbd9.net/" target="_blank">KMHS Pirate Radio</a></td>
                    <td>Marshfield</td>
                    <td>4A Volleyball</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KOHI 1600 AM (Scappoose/St. Helens)<br><a href="http://am1600kohi.com/" target="_blank">am1600kohi.com</a></td>
                    <td>Scappoose</td>
                    <td>Football</td>
                </tr>
                    
                     <tr style="height:4em;">
                    <td>KOHU 1360 AM (Hermiston)<br>
    <a href="http://gohermiston.com/" target="_blank">gohermiston.com</a></td>
                    <td>Hermiston</td>
                    <td>5A Football</td>
                </tr>
                
                   <tr style="height:4em;">
                    <td>KSRV 1380 AM (Ontario)</a><br>
    <a href="http://www.oldies1380am.com/">oldies1380am.com</a></td>
                    <td>Ontario, Vale</td>
                    <td>Football</td>
                </tr>
                
                  <tr style="height:4em;">
                    <td>KSWB 840 AM (Seaside)</td>
                    <td>Seaside</td>
                    <td>4A Football</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>KUGN NewsTalk 590 (Eugene/Springfield)<br>
                    <a href="http://www.kugn.com/" target="_blank">kugn.com</a><br>
                    KUJZ 95.3 The Score (Eugene/Springfield)<br>
                    <a href="http://www.953thescore.com/" target="_blank">953thescore.com</a><br>
                    KSCR 1320 Info Radio (Eugene/Springfield)<br>
                    <a href="http://www.1320inforadio.com/" target="_blank">1320inforadio.com</a></td>
                    <td>Eugene/Springfield schools</td>
                    <td>Football</td>
                </tr>
                
                     <tr style="height:4em;">
                    <td>KUIK 1360 AM (Portland Westside)<br>
    <a href="http://kuik.com/" target="_blank">kuik.com</a></td>
                <td>Washington County schools</td>
                    <td>Football</td>
                    </tr>
                    
                    <tr style="height:4em;">
                    <td>KYTT 98.7 FM (North Bend/Coos Bay)</a><br>
    <a href="http://www.lighthouseradio.com/" target="_blank">lighthouseradio.com</a></td>
                    <td>North Bend</td>
                    <td>4A Football</td>
                </tr>
                    
                    <tr style="height:4em;">
                    <td>KYYT 102.3 FM (The Dalles)<br>
    <a href="http://gorgecountry.com/" target="_blank">kuik.com</a></td>
                <td>Dufur</td>
                    <td>1A Football</td>
                    </tr>
                    
                    <tr style="height:4em;">
                    <td><a href="http://www.nfhsnetwork.com/channels/lake-oswego-lake-oswego-oregon" target="_blank">Laker Broadcasting</a></td>
                    <td>Lake Oswego</td>
                    <td>6A Football</td>
                </tr> 
                    
                    <tr style="height:4em;">
                    <td><a href="http://portlandsportsbeat.com/" target="_blank">Portland SportsBeat</a></td>
                    <td>Roosevelt</td>
                    <td>4A Football</td>
                                    
                    <tr style="height:4em;">
                    <td><a href="http://www.nfhsnetwork.com/channels/centralcatholic-portland-oregon" target="_blank">RAM TV</a></td>
                    <td>Central Catholic</td>
                    <td>Football, Volleyball Soccer</td>
                </tr>
                             
                <tr style="height:4em;">
                    <td><a href="http://rivalblitz.com/" target="_blank">RivalBlitz.com</a></td>
                    <td>Lost River, Hosanna Christian</td>
                    <td>2A, 1A Football, Volleyball</td>
                    </tr>
                    
                    <tr style="height:4em;">
                    <td><a href="http://www.nfhsnetwork.com/channels/seaside-seaside-oregon" target="_blank">Seaside High School</a></td>
                    <td>Seaside</td>
                    <td>4A Football, Soccer</td>
                    </tr>
                    
                    <tr style="height:4em;">
                    <td>The Sports Legend ESPN 960 (Klamath Falls)<br>
    <a href="http://www.mybasin.com/listen-live/" target="_blank">mybasin.com</a></td>
                    <td>Klamath Basin schools</td>
                    <td>Football</td>           
                </tr>
                
                <tr style="height:4em;">
                    <td><a href="http://www.ihigh.com/tablerocksports/" target="_blank">Table Rock Sports</a></td>
                    <td>Crater, North Medford, South Medford</td>
                    <td>6A Football, Soccer</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>The Ticket 1240 KTIX (Pendleton)<br>
                    <a href="http://mycolumbiabasin.com/" target="_blank">mycolumbiabasin.com</a></td>
                    <td>Pendleton</td>
                    <td>5A Football</td>
                
                    <tr style="height:4em;">
                          <td><a href="http://tigardhighboosters.org/tigard-broadcast-network/" target="_blank">Tigard Broadcast Network</a></td>
                    <td>Tigard</td>
                    <td>6A Football, Volleyball, Soccer</td>
                </tr>
                    
                    
                    
                    

                <tr style="height:4em;">
                    <td>4A Baseball and Softball</td>
                    <td>Madras</td>
                    <td>KWSO 91.9 FM (Warm Springs)<br>
    <a href="http://www.wstribes.org/kwsolive" target="_blank">kwso.org</a></td>
                </tr>
                
                 <tr style="height:4em;">
                    <td>4A Baseball and Softball</td>
                    <td>Newport</td>
                    <td>KNPT 1310 AM / 98.3 FM (Newport)<br>
    <a href="http://knptam.com/" target="_blank">knptam.com</a></td>
                </tr>
                
                <tr style="height:4em;">
                    <td>5A Baseball</td>
                    <td>Ashland</td>
                    <td><a href="http://client.stretchinternet.com/client/ashlandhs.portal#" target="_blank">Ashland Grizz Radio</a></td>
                </tr>
                
                <tr style="height:4em;">
                    <td>5A Baseball and Softball</td>
                    <td>The Dalles Wahtonka</td>
                    <td>KODL 1440 AM (The Dalles)<br>
    <a href="http://kodl.com/" target="_blank">kodl.com</a></td>
                </tr>
                    
                <tr style="height:4em;">
                    <td>2A/1A Softball</td>
                    <td>Union/Cove</td>
                    <td>Boomer Radio 105.9 FM / 95.3 FM (La Grande / Baker City)</td>
                </tr>
                
                <tr style="height:4em;">
                    <td>3A Softball</td>
                    <td>Toledo</td>
                    <td>KNCU 92.7 FM (Newport)</td>
                </tr>
                
                 <tr style="height:4em;">
                    <td>5A Softball</td>
                    <td>Pendleton</td>
                    <td>KTIX 1240 AM (Pendleton)<br>
    <a href="http://mycolumbiabasin.com/" target="_blank">mycolumbiabasin.com</a></td>
                </tr>
                
                <tr style="height:4em;">
                    <td>5A Softball</td>
                    <td>Hood River Valley</td>
                    <td>KIHR 1340 AM / 98.3 FM (Hood River)<br>
    <a href="http://www.kihramfm.com/page/Eagle_Sports/74" target="_blank">kihramfm.com</a></td>
                </tr>

                
            </table>
            <!-- End of Approved Broadcasters Table -->
     
            <?php endif; ?>
            */ ?>

            <br /><br />

            

        </div>

        <div id="tabs-2" style="min-height: 590px;">   
            
            <div class="float_right ui-corner-all" style="width: 230px; margin: 1em 0 1em 0; padding: 0 1em 0.5em 1em; 0.75em 1em; border: 1px solid #dedede; font-size: 10pt;">
                
                <h3 style="color: #990000;">Media Forms &amp; Links</h3>
                
                &raquo; <a href="<?php echo url('forms/media/registration'); ?>">Broadcast Request Form</a><br />
                &raquo; <a href="<?php echo asset ('docs/media/affidavitofperformance.pdf'); ?>" target="_blank">Affidavit of Performance</a><br />

                <h3 style="color: #990000;">Spots for Download</h3>

                <h4>Adjacency Spots</h4>
                <a href="<?php echo asset ('docs/media/OSAAOpen.mp3'); ?>" target="_blank">OSAA Open Adjacency</a>
                <img src="<?php echo asset('images/icons/audio_file_icon_16px.png'); ?>" alt="" title="" style="position: relative; top: 2px;" /><br />

                <a href="<?php echo asset ('docs/media/OSAAClose.mp3'); ?>" target="_blank">OSAA Close Adjacency</a>
                <img src="<?php echo asset('images/icons/audio_file_icon_16px.png'); ?>" alt="" title="" style="position: relative; top: 2px;" /><br />

                <br />

                <h4>U.S. Bank Spots</h4>
                <a href="<?php echo asset ('docs/media/2015Bank1.mp3'); ?>" target="_blank">U.S. Bank Spring #1</a>
                <img src="<?php echo asset('images/icons/audio_file_icon_16px.png'); ?>" alt="" title="" style="position: relative; top: 2px;" /><br />

                <a href="<?php echo asset ('docs/media/2015Bank2.mp3'); ?>" target="_blank">U.S. Bank Spring #2</a>
                <img src="<?php echo asset('images/icons/audio_file_icon_16px.png'); ?>" alt="" title="" style="position: relative; top: 2px;" /><br />


                <br />

                <h4>Les Schwab Spots</h4>
                <a href="<?php echo asset ('docs/media/15LS1.mp3'); ?>" target="_blank">Les Schwab Spring #1</a>
                <img src="<?php echo asset('images/icons/audio_file_icon_16px.png'); ?>" alt="" title="" style="position: relative; top: 2px;" /><br />

                <a href="<?php echo asset ('docs/media/15LS2.mp3'); ?>" target="_blank">Les Schwab Spring #2</a>
                <img src="<?php echo asset('images/icons/audio_file_icon_16px.png'); ?>" alt="" title="" style="position: relative; top: 2px;" /><br />


                <h3 style="color: #990000;">OSAA Radio Network<br />Break Formats</h3>

                &raquo; <a href="<?php echo asset ('docs/media/fbbreakformat.pdf'); ?>" target="_blank">Football</a><br />
                &raquo; <a href="<?php echo asset ('docs/media/basketballbreakformat.pdf'); ?>" target="_blank">Basketball</a><br />
                &raquo; <a href="<?php echo asset ('docs/media/bbsbbreakformat.pdf'); ?>" target="_blank">Baseball/Softball</a>
            

            </div>

            <h2>Broadcasting Events</h2>

            <div class="small gray note">
                STAFF CONTACT: Steve Walker, Sports Information Director, 503.682.6722 x232, <?php echo Helpers::obfuscateEmailLink ("stevew@osaa.org"); ?>
            </div>            

            <br />

            <h4>Registration</h4>
            <p>
                Radio and television stations, cable companies and websites broadcasting games in any round of the 
		        OSAA playoffs must complete the <a href="<?php echo url('forms/media/registration'); ?>">Broadcast Request Form</a> form.
            </p>                            
	        PLEASE NOTE:
            <ul>
                <li>This form DOES NOT pertain to play-in games and league playoffs.</li>
                <li>DO NOT complete additional forms for subsequent broadcasts.</li>
                <li>For your next broadcasts, e-mail <?php echo Helpers::obfuscateEmailLink ("stevew@osaa.org"); ?> confirming game, call letters/website and frequency/channel/URL.</li>
            </ul>
            <br />

            <h4>Spots and Drop-Ins</h4>
            <p>
                Audio file downloads for spots and adjacencies are available for download to the right.  Seasonal drop-ins are available in the PDF files below.<br />
                <span style="display: inline-block; width: 1em;"></span>
                &raquo; <a href="<?php echo asset ('docs/media/dropins.pdf'); ?>" target="_blank">LIVE Drop-Ins</a>
            </p>

            <h4>OSAA Radio Network sponsored by Pacific Office Automation </h4>  
            <p>
                The OSAA Radio Network streams broadcasts of football semifinals and finals, basketball quarterfinals through finals, softball finals, and baseball finals.
            </p>
            <p>
                Break formats are available for download on the right and will be used by the OSAA Radio Network and any stations taking ORN feeds.
            </p>	 
	   
            <h4>NFHS High School Activities Promotional AUDIO PSA's</h4>
            <div style="width: 625px;">
                <div class="half">
                    &raquo; <a href="<?php echo asset ('docs/media/60Basketball.mp3'); ?>" target="_blank">:60 Who Do You Play For - Basketball</a><br />
                    &raquo; <a href="<?php echo asset ('docs/media/60Softball.mp3'); ?>" target="_blank">:60 Who Do You Play For - Softball</a><br />
					&raquo; <a href="<?php echo asset ('docs/media/60Swimming.mp3'); ?>" target="_blank">:60 Who Do You Swim For</a><br />
					&raquo; <a href="<?php echo asset ('docs/media/60Perform.mp3'); ?>" target="_blank">:60 Who Do You Perform For</a><br />	
					
                </div>
                
                    &raquo; <a href="<?php echo asset ('docs/media/30Basketball.mp3'); ?>" target="_blank">:30 Who Do You Play For - Basketball</a><br />
                    &raquo; <a href="<?php echo asset ('docs/media/30Softball.mp3'); ?>" target="_blank">:30 Who Do You Play For - Softball</a><br />
					&raquo; <a href="<?php echo asset ('docs/media/30Swimming.mp3'); ?>" target="_blank">:30 Who Do You Swim For</a><br />
					&raquo; <a href="<?php echo asset ('docs/media/30Perform.mp3'); ?>" target="_blank">:30 Who Do You Perform For</a><br />				
            </div>             

            <br />
			<br>

            <h4>OSAA / OSAA Foundation VIDEO PSA's</h4>
            <div style="width: 625px;">
                <div class="half">
                    &raquo; <a href="http://www.youtube.com/watch?v=e-uR9eVWVso">Jordan Kent</a><br />
                    &raquo; <a href="http://www.youtube.com/watch?v=YPTKaeUQ3ls">Anna Maria Lopez</a><br />
                    &raquo; <a href="http://www.youtube.com/watch?v=XObZJc8Yta8">Galen Rupp</a><br />
                    &raquo; <a href="http://www.youtube.com/watch?v=0lxO_KzfU9o">Rosemary St. Clair</a><br />
                    &raquo; <a href="http://www.youtube.com/watch?v=1j4TPtwobD0">Scott Brosius</a><br />
					&raquo; <a href="https://www.youtube.com/watch?v=I2BCatROaJU">Mike Riley</a><br />
					&raquo; <a href="http://www.youtube.com/watch?v=FvZF_wo64Bg">Sherri Murrell</a><br />
                </div>
                
                &raquo; <a href="http://www.youtube.com/watch?v=kSV9bxhhujA">Malia Wasson</a><br />
                &raquo; <a href="http://www.youtube.com/watch?v=ZM38WPnxeno">Joe Rector</a><br />
                &raquo; <a href="http://www.youtube.com/watch?v=kMx3WKSIjFQ">Chris Crawford</a><br />
                &raquo; <a href="http://www.youtube.com/watch?v=dyg6_aSqiGY&feature=youtu.be">Terrell Brandon</a><br />
                &raquo; <a href="http://www.youtube.com/watch?&v=Ejo5Y9Zcab4">Dave Metzger</a><br />
				&raquo; <a href="https://www.youtube.com/watch?v=narP7DS7j80">Teri Mariani</a><br />
				&raquo; <a href="https://www.youtube.com/watch?v=A4TS-fvzKnk">Dan O'Brien</a><br />
				&raquo; <a href="https://www.youtube.com/watch?v=GCse-e_7XWc">Ashton Eaton</a><br />
                <br />
            </div>          

            <h4>NFHS VIDEO PSA</h4>
            &raquo; <a href="<?php echo asset ('docs/media/Oregon.wmv'); ?>" target="_blank">:30 NFHS Lifelong Lessons (.wmv)</a>
	
    	
        	
        </div>

<div id="tabs-3">            
 <h2>Media Outlets</h2>
    Follow the links below for additional information regarding media outlets and organizations throughout the state.
	<span class="linkList"><br>
	    &raquo; <a href="<?php echo url('links'); ?>" target="_blank">Print, Radio, Television, Internet Links</a>  <br>
		&raquo; <a href="http://www.theoab.org/">Oregon Association of Broadcasters</a> <br>
		 
</span>
</p>
</div>

<div id="tabs-4">            
<h2>OSAA Logos</h2>
    Media outlets are encouraged to download OSAA logos for use in their coverage.  Request activity specific championship logos by contacting Kyle Stanfield, 503.682.6722 x239 / <?php echo Helpers::obfuscateEmailLink ("kyles@osaa.org"); ?>.<br>
	<span class="linkList"><br>
&raquo; <a href="http://www.osaa.org/images/logo?school=adrian">School Logos</a> (change name of school in URL to access other schools)<br />
&raquo; OSAA Circle Color Logo &raquo;<a href="<?php echo asset ('images/logos/OSAACircleColoreps.eps'); ?>" target="_blank">EPS</a> | &raquo; <a href="<?php echo asset ('images/logos/OSAACircleColortif.tif'); ?>" target="_blank">TIF</a> | &raquo; <a href="<?php echo asset ('images/logos/OSAACircleColorjpg.jpg'); ?>" target="_blank">JPG</a> <br>
&raquo; OSAA Circle B&amp;W Logo &raquo;<a href="<?php echo asset ('images/logos/OSAACircleBWeps.eps'); ?>" target="_blank">EPS</a> | &raquo; <a href="<?php echo asset ('images/logos/OSAACircleBWtif.tif'); ?>" target="_blank">TIF</a> | &raquo; <a href="<?php echo asset ('images/logos/OSAACircleBWjpg.jpg'); ?>" target="_blank">JPG</a> <br>
&raquo; OSAA State Championship Color Logo &raquo;<a href="<?php echo asset ('images/logos/StateChampColoreps.eps'); ?>" target="_blank">EPS</a> | &raquo; <a href="<?php echo asset ('images/logos/StateChampColortif.tif'); ?>" target="_blank">TIF</a> | &raquo; <a href="<?php echo asset ('images/logos/StateChampColorjpg.jpg'); ?>" target="_blank">JPG</a> <br>
&raquo; OSAA State Championship B&amp;W Logo &raquo;<a href="<?php echo asset ('images/logos/StateChampBWeps.eps'); ?>" target="_blank">EPS</a> | &raquo; <a href="<?php echo asset ('images/logos/StateChampBWtif.tif'); ?>" target="_blank">TIF</a> | &raquo; <a href="<?php echo asset ('images/logos/StateChampBWjpg.jpg'); ?>" target="_blank">JPG</a> <br>
  
    </span>
  </p>
			</div>


<div id="tabs-5">            
              <h2>Photo Guidelines</h2>
              <p><strong>FLASH PHOTOGRAPHY</strong><br>
  Flash photography, including on-and-off camera flash / strobe units, is permitted at all OSAA events. Remote flash / strobe units should be used wherever possible. Please avoid shooting directly into participants' eyes with flash-mounted units.  If the OSAA representative on site views a flash as a safety issue due to the layout of a particular venue, the photographer may be asked to disable the flash.</p>
              <p><strong>DESIGNATED PHOTOGRAPHY LOCATIONS</strong><br>
  Note: The OSAA or game officials may alter the following photography locations due to safety or to accommodate a specific facility.</p>
              <ul>
                <li><strong>BASEBALL / SOFTBALL</strong><br>
    Designated areas along the first and third baselines (must be designated dead ball areas).<br>
                </li>
                <li><strong>BASKETBALL</strong><br>
    Each end of the court. Set up at least 10 feet behind the end line.<br>
                </li>
                <li><strong>CHEERLEADING</strong><br>
    At least 10 feet off the competition mat and out of the direct line of the judges.<br>
                </li>
                <li><strong>CROSS COUNTRY</strong><br>
    When shooting the start, photographers must give the field a minimum of 50 yards to allow for time to shoot and move off the course. Photographers may shoot from either side at the finish line in designated areas, but are not allowed in the race path.<br>
                </li>
                <li><strong>FOOTBALL</strong><br>
    Sidelines except within the team boxes. Set up at least five yards behind the sideline.<br>
                </li>
                <li><strong>GOLF</strong><br>
    Observe golf etiquette. Be aware of camera noise; shoot only after the ball is struck. Remain off greens and tee boxes.<br>
                </li>
                <li><strong>SOCCER</strong><br>
    Sidelines except within the team boxes and endlines between the 18-yard box and the corners of the field. Set up at least five yards behind the sideline or endline.<br>
                </li>
                <li><strong>SWIMMING</strong><br>
    Corners of the bulkhead. Allow space for officials to walk both sides of the pool.  Due to use of sound and flash starting systems, avoid flash photography during the start of a race.<br>
                </li>
                <li><strong>TENNIS</strong><br>
    Either side of the net and the corners of the court. Do not change positions until the players have switched sides.<br>
                </li>
                <li><strong>TRACK &amp; FIELD</strong><br>
    In all events, consider the safety of yourself and the participants and provide a reasonable cushion. Provide a 40-meter cushion when shooting sprints and hurdles head on. Remain off the shot put, discus and javelin fields.<br>
                </li>
                <li><strong>VOLLEYBALL</strong><br>
    Set up to shoot at least 10 feet off the court. If shooting at the net, remain behind the officials and do not set up between adjacent courts.<br>
                </li>
                <li><strong>WRESTLING</strong><br>
    At least four feet off the mat. Shooting from the team corners and interfering with sight lines are prohibited.</li>
              </ul>
              <p class="smalltext">&nbsp;</p>
  </p>
			</div>

			
    </div>

<div class="headlines">


</div>  		

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