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

<?php $__env->startSection('page_sub_title'); ?>    
   Oregon Wrestling Weight Monitoring Program
<?php $__env->stopSection(); ?>

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


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

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

	$('.button').button();
	$('.nav_button').button({ icons : {primary : 'ui-icon-arrowthick-1-w'}});
	$('.button.download').button({ icons : {secondary : 'ui-icon-document'}});  

	$('input[type="submit"].button').button('disable')
									.click(function ()
										{
											var value = $('#school').val();

											if (value != '')
											{
												var form = $(this).parents('form');
												$(form).append('<input type="hidden" name="os0" value="' + value + '" />');
												$(form).submit();
											}
											else
											{
												return false;
											}
										});

	$('#school').change(function ()
	{
		var value = $(this).val();

		if (value != '')
		{
			$('input[type="submit"].button').button('enable');
		}
		else
		{
			$('input[type="submit"].button').button('disable');
		}
	});
<?php $__env->stopSection(); ?>

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

    <a class="nav_button" href="<?php echo url('/activities/wre'); ?>" style="font-size:9pt;">Back</a>
    
<?php $__env->stopSection(); ?>


<?php $__env->startSection('main_content'); ?>    	
    <div class="tabs owwmp" style="min-height:2300px;">
        <ul style="padding-left:5px;">            
            <li><a href="#tabs-1">TrackWrestling</a></li>
            <li><a href="#tabs-2">Memos/Reminders</a></li>
            <li><a href="#tabs-3">OWWMP Info</a></li>           
            <li><a href="#tabs-4">Resources</a></li>           
            <li><a href="#tabs-5">Statistics</a></li>
			<li><a href="#tabs-6">Training</a></li>
			<li><a href="#tabs-7">Supplies</a></li>
        </ul>
        
        <div id="tabs-1">
		<?php /* 
		<a href="https://docs.google.com/forms/d/1dJzs_5VzwEn5E-FrCX57glIkiPWKOM6r1tK3FDtmL20/viewform"><img src="<?php echo asset('images/icons/trackreg.jpg'); ?>" alt="" title="" style="" /> <p> */ ?>
		
        	<div class="ui-widget-content ui-corner-all" style="float: right; padding: 0.5em 1em; width: 425px; /*height: 120px;*/">
        		<h2 style="margin-top: 0;">
        			<img src="<?php echo asset('images/icons/track_wrestling_logo_24px.png'); ?>" alt="" title="" style="vertical-align: middle;" />
        			TrackWrestling Team Admin Login
        		</h2>

        		<?php /*  Is the website user logged in?  */ ?>
        		<?php if (!Auth::check()): ?>

        			<?php /*  No, the user is not logged in  */ ?>
        			<img src="<?php echo asset('images/icons/locked_24px.png'); ?>" alt="" title="" style="vertical-align: middle; float: right;" />

        			You must be logged in to your OSAA user account to see your school's TrackWrestling login information.<br /><br />
        			<a href="<?php echo url('/account/login'); ?>">Log in to the OSAA</a>

        		<?php else: ?>

        			<?php /*  Yes, the user is logged in  */ ?>
        			<?php        				
        				// Get a list of school IDs that this user can see
        				$school_ids = array();

        				// Get all schools this user is associated with
        				$users_schools = school::whereIn('id', function($query)
						        				 {
						        				     $query->select('school')
						        				     	   ->from('school_users')	
						        				     	   ->where('user', '=', Auth::user()->id);
						        				 })
        									   ->get();

        				// Process each school, if any
        				$users_schools->each(function($school) use(&$school_ids)
        				{
        					// Get the school's wrestling activity program, if any
        					$ap = activityprogram::where('host_school', '=', $school->id)
                              					 ->where('school_year', '=', Session::get('year'))
                              					 ->where('activity', '=', 'WRE')
                              					 ->first();                            
                            
                            if (is_null($ap))
                            {
                            	return;
                            }

                            // Can the user access this activity program?
                            if (Auth::user()->canAccessTeamTask($ap->id, 'SCHD', true))
                            {
                            	// Yes, add this school ID to the list of viewable school ids
                            	$school_ids[$school->id] = $school->id;
                            }
        				});
        			?>

        			<?php /*  The user has no schools to view  */ ?>
        			<?php if (count($school_ids) < 1): ?>

        				Either your user account is not linked to any schools offering wrestling or you do not have sufficient access to view any team login information.  If you know your school offers wrestling, contact your Athletic Director to lookup your team's TrackWrestling login information.

        			<?php else: ?>

        				<?php /*  Ensure the TrackWrestling login file exists  */ ?>
        				<?php /*  This file lives at: app/storage/data/wrestling_logins.csv  */ ?>        				
        				<?php
        					// Make sure the file exists
			                if (file_exists(storage_path() . '/data/wrestling_logins.csv'))
			                {
			                    // Open the csv file                    
			                    $fp = @fopen(storage_path() . '/data/wrestling_logins.csv', 'r');
			                    if (!is_null($fp) and $fp !== false)
			                    {
			                        // Create a list of entires indexed by school ID
			                        $entries = array();

			                        $line_count = 0;

			                        // Process each line of the file        
			                        while (($fields = fgetcsv($fp)) !== false)
			                        {   
			                            $line_count++;

			                            // Skip the first line, which should be the headers
			                            if ($line_count == 1)
			                            {
			                                continue;
			                            }

			                            // Ensure the number of fields is equal to four
			                            if (count($fields) != 7)
			                            {
			                            	throw new Exception("The TrackWrestling logins file was corrupt at line $line_count.");
			                            }

			                            // Trim whitespace from each field
			                            foreach ($fields as &$field)
			                            {
			                                $field = trim($field);			                                
			                            }

			                            // Create a new entry
			                            $entry = new stdClass();

			                            // Save the relevant data
			                            $entry->school_id = $fields[0];
			                            $entry->ap_id = $fields[1];
                                        $entry->team_name = $fields[2];
			                            $entry->ad_user_name = $fields[3];
			                            $entry->ad_password = $fields[4];
                                        $entry->coach_user_name = $fields[5];
                                        $entry->coach_password = $fields[6];

			                            // Save this entry to the list of entries indexed by school ID
			                            $entries[$entry->school_id] = $entry;
			                        }

			                        // Close the file
			                        fclose($fp);   
			                    }
			                    else
			                    {
			                        // Unable to open the file                        
			                        throw new Exception("Unable to successfully open the TrackWrestling logins file.");
			                    }			                    

			                    echo '<table style="border-collapse: collapse; width: 100%;">';
			                    echo '<thead>';
			                    echo '<tr>';
			                    echo '<th style="text-align: left;">Team</th>';
			                    echo '<th style="text-align: left;">User Name</th>';
			                    echo '<th style="text-align: left;">Password</th>';
			                    echo '</tr>';
			                    echo '</thead>';
			                    echo '<tbody>';

			                    $count = 0;

			                    foreach ($school_ids as $id)
			                    {
			                    	echo '<tr';
			                    	if ($count++ % 2 == 1)
			                    	{
			                    		echo ' style="background-color: #d9e1e0;"';
			                    	}
			                    	echo '>';
			                    	echo '<td>' . $entries[$id]->team_name . ' - AD<br />' . $entries[$id]->team_name . ' - Coach</td>';
			                    	echo '<td style="font-family: monospace; letter-spacing: 1px; font-size: 12pt;">' . $entries[$id]->ad_user_name . '<br />' . $entries[$id]->coach_user_name . '</td>';
			                    	echo '<td style="font-family: monospace; letter-spacing: 1px; font-size: 12pt;">'. $entries[$id]->ad_password . '<br />' . $entries[$id]->coach_password . '</td>';
			                    	echo '</tr>';
			                    }

			                    echo '</tbody>';
			                    echo '</table>';
			                }
			                else
			                {
			                    // The file was not found on the server                    
			                    echo "There are no wrestling logins to display at this time.  The file with the TrackWrestling logins was not found on the server.";
			                }
        				?>

        			<?php endif; ?>

        		<?php endif; ?>
        	</div>

			<h4>TrackWrestling Video Tutorials</h4>
			<p></p>
			
			<h5>TrackWrestling Video Tutorials</h5>
			
			&raquo; <a href="https://www.youtube.com/channel/UCAHHEP7u6dnKp65rPKw3nJg?rel=0&vq=hd1080">Track Wrestling on YouTube (70 video tutorials on all subjects)</a>

			<br /><p>
			
			<h5>Entering Schedules and Match Results:</h5>
			
			&raquo; <a href="https://www.youtube.com/watch?v=c4XNCHG28bU&list=TLepITU8YPWyUzQL_E7SA3Xgcpqlw3Q0lP?rel=0&vq=hd1080">How to use the TrackWrestling Stat Program</a><br>
			
			&raquo; <a href="https://www.youtube.com/watch?v=Z6mNmHM6VLo&list=PL_LhWThQ_dObzFQKhdsQ7Ef5qclP9g3nE?rel=0&vq=hd1080">Entering offline mobile results and syncing</a><br></p>
			
			<center><h2>TrackWrestling Help Video - Step by Step Screen Capture</h2></center>
			<p>
			</p>
			
			<div class="columns">
			<div class="half">
			  
			<h5>Step 1 - Updating your TrackWrestling Account and Importing Wrestlers
			<p><p>
			<i>Steps to update your account and import wrestlers from the previous season</i></h5>
			</p>
			<iframe width="448" height="252" src="https://www.youtube.com/embed/y6joT2IBhz4?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
			</p>
			<h5>Raising a Wrestlers Minimum Weight Class
			<p><p>
			<i>Instructions on how to Raise a Minimum Weight Class when required or by choice</i></h5>
			</p>
			<iframe width="448" height="252" src="https://www.youtube.com/embed/K8xb2Qz4Mhw?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
			</p>
			
			<h5>Setting up your first tournament using TrackWrestling
			<p><p>
			<i>Jeff Drumm webinar on how to setup your first tournament in TrackWrestling</i></h5>
			</p>
			<iframe width="448" height="252" src="https://www.youtube.com/embed/_JbbJdT-DH8?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
			</p>
			
			</div>
			  
			  <div class="half">
			  
			 <h5>Step 2 - How to enter your Varsity Schedule
			<p><p>
			<i>A short instructional video to help Athletic Directors and Coaches correctly enter a Varsity schedule into TrackWrestling</i></h5>
			</p>
			<iframe width="448" height="252" src="https://www.youtube.com/embed/2WdKAGZxMiI?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
			  </p>
			  
			  <h5>How to Print Required OSAA Weigh-in Report
			  <p><p>
			  <i>A short instruction video that provides the steps necessary to print the required OSAA Weigh-in Report</i>
			  </p>
			  <p>
			  <iframe width="448" height="252" src="https://www.youtube.com/embed/C9JfMuDBqJA?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
			  </p>
			  
			 <h5>TrackWrestling/NWCA OPC Season Program Overview
			<p><p>
				<i>10 minute video will demonstrate how the NWCA Optimal Performance Calculator has been integrated into the TrackWrestling platform.</i></h5>
			</p>
			<p>
			<iframe width="448" height="252" src="http://www.youtube.com/embed/pBLD7sUcH0E?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
			</p>
			  
			</div>
        </div>
		</div>
        
        <div id="tabs-2">
		
		
        <h4>Reminders</h4>
            <p>				
		&raquo; Nov 1: <a href="<?php echo asset ('docs/wre/twsetupmemo.pdf'); ?>" target="_blank">Setting up your TrackWrestling Account</a><br>
			<i>How to access your user name and password to verify and activate your required TrackWrestling account</i><p>
		&raquo; Nov 30: <a href="<?php echo asset ('docs/wre/15remindersmemo.pdf'); ?>" target="_blank">First Contest Date Reminders</a><br>
			<i>Various requirements including entering schedules, weigh-in report, recording match data, and mat configuration reminders are covered</i><p>
		   
		<h4>Memos</h4>

	&raquo; Nov 1: <a href="<?php echo asset ('docs/wre/initial.pdf'); ?>" target="_blank">2015-16 Program Reminders</a><br>
	&raquo; Nov 1: <a href="<?php echo asset ('docs/wre/scaleallow.pdf'); ?>" target="_blank">Scale Error Allowance Memo</a><br>
	&raquo; Nov 1: <a href="<?php echo asset ('docs/wre/growth.pdf'); ?>" target="_blank">Growth Allowance Memo</a><br>
	<p><p>
	

        </div>
        
        <div id="tabs-3">
		
		
		  
	      <p>
		  	
							<h4>Program Information</h4>
							  <p><p>
							&raquo; <a href=" <?php echo asset ('docs/wre/finalreg.pdf'); ?>" target="_blank">OWWMP Regulations</a> <br>
							<i>Outlines the purpose, process, and requirements within the Oregon Wrestling Weight Monitoring Program </i><br/> 
											  <br>
							&raquo; <a href=" <?php echo asset ('docs/wre/calendar.pdf'); ?>" target="_blank">2015-16 Program Calendar</a> <br>
							<i>Outlines key dates within the Oregon Wrestling Weight Monitoring Program </i><br/> 
											  <br>
							&raquo; <a href=" <?php echo asset ('docs/wre/waiver.pdf'); ?>" target="_blank">Assessment Waiver Request</a> <br>
							<i>Form used to request excemption from OWWMP assessment requirements</i><br/> 
											  <br>
							&raquo; <a href=" <?php echo asset ('docs/wre/release.pdf'); ?>" target="_blank">Physicians Clearance Form</a> <br>
							<i>Required form for wrestlers assessed under 7% body fat</i><br/> 
											  <br>
							&raquo; <a href=" <?php echo asset ('docs/wre/scale.pdf'); ?>" target="_blank">Scale Certification</a><br>
							<i>Listing of all liscensed Oregon scale certification outlets</i><br/> 
											  <br>
											  
							<h4>Assessment Information</h4>
	      <p><p>   
			&raquo; <a href=" <?php echo asset ('docs/wre/protocol.pdf'); ?>" target="_blank">School Responsibilities</a><br> 
	        &raquo; <a href=" <?php echo asset ('docs/wre/biadata.pdf'); ?>" target="_blank">BIA Data Form</a><br>
			&raquo; <a href=" <?php echo asset ('docs/wre/contactlist.pdf'); ?>" target="_blank">Assessor Contact List as of 11/1/15</a><br>
	      </p>
		  
		  <h4>Assessment Appeal Resources</h4>
		  
		  <p><p>
		    &raquo; <a href=" <?php echo asset ('docs/wre/appappeal.pdf'); ?>" target="_blank">Approved Appeal Facilities</a><br> 
	        &raquo; <a href=" <?php echo asset ('docs/wre/hydro.pdf'); ?>" target="_blank">Hydrostatic Weighing Appeal</a><br>
			&raquo; <a href=" <?php echo asset ('docs/wre/pod.pdf'); ?>" target="_blank">BOD POD Appeal</a><br>
            
			
		  
		  <h4>Additional Info</h4>
		  <p><p>
		   
		   &raquo;  <a href="<?php echo asset ('docs/wre/understanding.pdf'); ?>" target="_blank">Understanding the Weight Loss Plan</a> <br>
		   <i>Detailed description of how to read and interpret a weight loss plan</i><br><br>
		   
		  &raquo;  <a href="<?php echo asset ('docs/wre/example.pdf'); ?>" target="_blank">Weight Loss Plan Examples</a><br>
		   <i>Three different examples of different weight loss plans and how OWWMP rules apply in each case</i><br><br>
		   
		    &raquo;  <a href="<?php echo asset ('docs/wre/petitionexplain.pdf'); ?>" target="_blank">Understanding the Petition to Raise Minimum Weight Class</a> <br>
		   <i>Two situations help coaches understand the difference between a required re-certification and one made by choice</i><br><br>
		   
		    &raquo;  <a href="<?php echo asset ('docs/wre/assesstips.pdf'); ?>" target="_blank">BIA Assessment Tip Sheet</a> <br>
		   <i>Tips to help coaches and wrestlers through the assessment process</i>
		   
        </div>

         <div id="tabs-4">
		 
		 <h4>OWWMP Resources</h4>
		 <p><p>
		 
		 &raquo; <a href="http://nfhslearn.com/electiveDetail.aspx?courseID=55000">A Guide to Sports Nutrition - Free NFHS course</a></p>
            
			<h4>PowerPoint</h4>
	      <p><p>
	        &raquo; <a href=" <?php echo asset ('docs/wre/eatwrestlewin.ppt'); ?>" target="_blank">Eat, Wrestle and Win</a><br> 
	        &raquo; <a href="<?php echo asset ('docs/wre/PWC Nutrition.ppt'); ?>" target="_blank">Sport Nutrition for Wrestling</a><br>
	        &raquo; <a href="<?php echo asset ('docs/wre/NWCAnutrition2006.ppt'); ?>" target="_blank">Nutrition and Performance for Wrestling</a><br>
	      </p>
		  
		  	        <h4>Documents</h4>
	      <p><p>
	        &raquo; <a href="<?php echo asset ('docs/wre/Mat.pdf'); ?>" target="_blank">Taking it to the Mat</a><br> 
	        &raquo; <a href=" <?php echo asset ('docs/wre/eattofuel.pdf'); ?>" target="_blank">Eat to Fuel Performance</a><br>
	        &raquo; <a href="<?php echo asset ('docs/wre/hydraneeds.pdf'); ?>" target="_blank">Hydration for Exercise</a><br>
			&raquo; <a href="<?php echo asset ('docs/wre/acsmfluid.pdf'); ?>" target="_blank">ACSM-Hydration</a><br>
			&raquo; <a href="<?php echo asset ('docs/wre/h20.pdf'); ?>" target="_blank">Water vs. Sports Drinks</a><br>
			&raquo; <a href="<?php echo asset ('docs/wre/eat.pdf'); ?>" target="_blank">Eating for Power</a><br>
			&raquo; <a href="http://www.ncaa.org/wps/portal/ncaahome?WCM_GLOBAL_CONTEXT=/ncaa/NCAA/Academics%20and%20Athletes/Personal%20Welfare/Nutrition-performance/">NCAA - Nutrition Info</a><br>
			&raquo; <a href="http://web1.ncaa.org/web_video/wrestlingVideo/2009-10/weight_mgt0910.wmv">NCAA-Weight Management Video</a><br>
			&raquo; <a href="<?php echo asset ('docs/wre/percentage_part1.pdf'); ?>" target="_blank">1.5%/week(FAT)</a><br>
			&raquo; <a href="<?php echo asset ('docs/wre/percentage_part2.pdf'); ?>" target"_blank">1.5%/week(WATER)</a><br>
	      </p>
			
        </div>

         <div id="tabs-5">
		 
		 <table class="image">
<caption align="bottom"><a href="(( asset ('dcos/wre/9yrweightclass.pdf')}}" target="_blank">8-Year Weight Class Comparison</a></caption>
<tr><td> <a href="(( asset ('dcos/wre/9yrweightclass.pdf')}}" target="_blank"><img src="<?php echo asset ('docs/wre/9yrweightclass.jpg'); ?>" align="left" border="0"/> </a></td></tr>
</table>
<p><p>
		  	
							<h4>Past Assessment and Weight Class Data</h4>
							  <p><p>
							&raquo; <a href="<?php echo asset ('docs/wre/threeyear.pdf'); ?>" target="_blank">2004-06 Weight Classes</a><br>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/05programdata.pdf'); ?>" target="_blank">2005-06 Data</a> 
											 
							&raquo; <a href="<?php echo asset ('docs/wre/minweight.pdf'); ?>" target="_blank">2005-06 Weight Classes</a><br> 
											 
							&raquo; <a href="<?php echo asset ('docs/wre/06programdata.pdf'); ?>" target="_blank">2006-07 Data</a>
											  
							&raquo; <a href="<?php echo asset ('docs/wre/06minweight.pdf'); ?>" target="_blank">2006-07 Weight Classes</a><br>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/07programdata.pdf'); ?>" target="_blank">2007-08 Data</a>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/07minweight.pdf'); ?>" target="_blank">2007-08 Weight Classes</a><br>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/08programdata.pdf'); ?>" target="_blank">2008-09 Data</a>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/08minweight.pdf'); ?>" target="_blank">2008-09 Weight Classes</a><br>
							
							&raquo; <a href="<?php echo asset ('docs/wre/09programdata.pdf'); ?>" target="_blank">2009-10 Data</a> 
											 
							&raquo; <a href="<?php echo asset ('docs/wre/09minweight.pdf'); ?>" target="_blank">2009-10 Weight Classes</a><br>
							
							&raquo; <a href="<?php echo asset ('docs/wre/10programdata.pdf'); ?>" target="_blank">2010-11 Data</a>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/10minweight.pdf'); ?>" target="_blank">2010-11 Weight Classes</a><br>
							
							&raquo; <a href="<?php echo asset ('docs/wre/11programdata.pdf'); ?>" target="_blank">2011-12 Data</a>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/11minweight.pdf'); ?>" target="_blank">2011-12 Weight Classes</a><br>
							
							&raquo; <a href="<?php echo asset ('docs/wre/12programdata.pdf'); ?>" target="_blank">2012-13 Data</a>
											 
							&raquo; <a href="<?php echo asset ('docs/wre/12minweight.pdf'); ?>" target="_blank">2012-13 Weight Classes</a><br>
			
        </div>
		
		<div id="tabs-6">
		<!-- Tab 6: Training -->
		
		<h4>TW Training Video of the Week</h4>
		<p></p>
		
		<p>Week 1:  Typical high school varisty tournaments use a predefined format and this course covers how to set up and run this type of event. </p>
		
		<iframe width="560" height="315" src="https://www.youtube.com/embed/QOgttDcB5ls?rel=0&vq=hd1080?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
		</p>
		
		<p> Week 2:  Instructional video on how to integrate electronic scoring using matside scoring to run your event. </p>
		
		<iframe width="560" height="315" src="https://www.youtube.com/embed/gR6pLtNFIhw?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
		</p>
		
		<p> Week 3:  Typical high school varsity dual meet tournament instructional course covers how to set up and run this type of event. </p>
		
		<iframe width="560" height="315" src="https://www.youtube.com/embed/2jSyWmbkAPM?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>
		</p>
		
        </div>
		
		<!-- Tab 7: Supplies -->
		
		<div id="tabs-7">
		<?php /* 

			<?php
				$quantities_list = array();
				for ($i = 1; $i <= 20; $i++)
				{
					$quantities_list[$i] = $i;
				}

				$temp_schools_list = DB::table('schools')                        
				                       ->select('schools.short_name')
				                       ->join('school_demographics', 'school_demographics.school', '=', 'schools.id')
				                       ->where('schools.is_retired', '=', 0)
				                       ->where('school_demographics.is_retired', '=', 0)
				                       ->where('school_demographics.is_associate_member', '=', 0)
				                       ->where('school_demographics.school_year', '=', Session::get('year'))
				                       ->orderBy('schools.short_name')
				                       ->remember(1440)
				                       ->lists('short_name');

			    $schools_list = array('' => '');
			    foreach ($temp_schools_list as $school)
			    {
			    	$schools_list[$school] = $school;
			    }
			?>
		
			<!-- PayPal Logo -->
			<table style="float: right; margin: 1em 0 1em 2em;">
				<tr>
					<td></td>
				</tr>
				<tr>
					<td>
						<a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="How PayPal Works" onclick="javascript:window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;">
							<img src="https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg" alt="PayPal Logo" title="" />
						</a>
					</td>
				</tr>
			</table>
			<!-- End PayPal Logo -->

			<!-- Ticket Introduction -->
			<h4>Purchase BIA Assessment Supplies Online</h4>
			
			<p>
				OSAA Certified BIA Assessors are required as a part of the regulation to provide the reagent strips for hydration assessments regardless of the location of the assessment.  The only approved reagent strip in the Oregon Wrestling Weight Monitoring Program is the Bayer 8SG or 10SG Multistix.  As a part of the standardized protocol of the program, Assessors are required to purchase the reagent strips and cups from the OSAA.
			</p>

			<h3 style="color: #990000;">Shipping</h3>
			<p>
				All online orders have a nonrefundable charge of $8.  All orders are shipped via UPS within 48 hours to the Athletic Director of your affiliated high school.
			</span>
			</p>

			<div class="float_right">
				<?php echo Form::label('school', 'You must select a school:', array('style' => 'font-weight: bold; ')); ?>
				<?php echo Form::select('school', $schools_list, null, array('style' => 'font-size: 9pt;', 'id' => 'school')); ?>
			</div>

			<br /><br />

			<table class="bia_supplies_table">	
				<thead>
					<tr>
						<th class="item">Item</th>
						<th class="description">Description</th>
						<th class="unit">Unit</th>
						<th class="price">Price</th>
						<th class="action">Quantity</th>
					</tr>
				</thead>

				<tbody>
					
					<!-- BIA-COMBO -->
					<tr>
						<td class="item">
							Cups &amp; Strips<br />
							<span class="small gray" style="font-weight: normal;">BIA-COMBO</span>
						</td>
						<td class="description">
							Bayer 8SG Multistix Reagent Strips, 100 strips per bottle and 100 Sample Cups with Temperature Strip.
						</td>
						<td class="unit">
							1 Box<br />
							<span class="small gray">100 strips &amp; 100 cups</span>
						</td>
						<td class="price">
							$82.00
						</td>
						<td class="action">
							<?php echo Form::open(array('url'    => 'https://www.paypal.com/cgi-bin/webscr',
												'method' => 'post')); ?>			

								<?php echo Form::hidden('cmd', '_cart'); ?>
								<?php echo Form::hidden('add', '1'); ?>
								<?php echo Form::hidden('business', 'paypalbia@osaa.org'); ?>
								<?php echo Form::hidden('bn', 'OSAA_AddToCart_WPS_US'); ?>
								<?php echo Form::hidden('currency_code', 'USD'); ?>
								<?php echo Form::hidden('handling_cart', '8.00'); ?>
								<?php echo Form::hidden('paymentaction', 'sale'); ?>
								<?php echo Form::hidden('lc', 'US'); ?>								
								<?php echo Form::hidden('shipping', '0.00'); ?>
								<?php echo Form::hidden('no_shipping', '1'); ?>
								<?php echo Form::hidden('no_notes', '1'); ?>
								<?php echo Form::hidden('on0', 'Ship to School'); ?>								
								<?php echo Form::hidden('shopping_url', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('return', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('rm', '1'); ?>
								<?php echo Form::hidden('cancel_return', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('cpp_cart_border_color', '005fa9'); ?>	


								<?php echo Form::hidden('amount', '82.00'); ?>								

								<?php echo Form::hidden('item_name', 'BIA Cups & Strips (100 strips & 100 cups)'); ?>
								<?php echo Form::hidden('item_number', 'BIA-COMBO'); ?>
								
								<?php echo Form::select('quantity', $quantities_list, null, array('style' => 'font-size: 9pt;')); ?>

								<?php echo Form::submit('Add to Cart', array('class' => 'button',
																	 'style' => 'margin-left: 1em; font-size: 8pt;')); ?>

							<?php echo Form::close(); ?>
						</td>
					</tr>


					<!-- BIA-STRIPS -->
					<tr>
						<td class="item">
							Strips Only<br />
							<span class="small gray" style="font-weight: normal;">BIA-STRIPS</span>
						</td>
						<td class="description">
							Bayer 8SG Multistix Reagent Strips, 100 strips per bottle.
						</td>
						<td class="unit">
							1 Bottle<br />
							<span class="small gray">100 strips</span>
						</td>
						<td class="price">
							$65.00
						</td>
						<td class="action">
							<?php echo Form::open(array('url'    => 'https://www.paypal.com/cgi-bin/webscr',
												'method' => 'post')); ?>			

								<?php echo Form::hidden('cmd', '_cart'); ?>
								<?php echo Form::hidden('add', '1'); ?>
								<?php echo Form::hidden('business', 'paypalbia@osaa.org'); ?>
								<?php echo Form::hidden('bn', 'OSAA_AddToCart_WPS_US'); ?>
								<?php echo Form::hidden('currency_code', 'USD'); ?>
								<?php echo Form::hidden('handling_cart', '8.00'); ?>
								<?php echo Form::hidden('paymentaction', 'sale'); ?>
								<?php echo Form::hidden('lc', 'US'); ?>								
								<?php echo Form::hidden('shipping', '0.00'); ?>
								<?php echo Form::hidden('no_shipping', '1'); ?>
								<?php echo Form::hidden('no_notes', '1'); ?>
								<?php echo Form::hidden('on0', 'Ship to School'); ?>								
								<?php echo Form::hidden('shopping_url', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('return', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('rm', '1'); ?>
								<?php echo Form::hidden('cancel_return', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('cpp_cart_border_color', '005fa9'); ?>	


								<?php echo Form::hidden('amount', '65.00'); ?>								

								<?php echo Form::hidden('item_name', 'BIA Strips Only (100 strips)'); ?>
								<?php echo Form::hidden('item_number', 'BIA-STRIPS'); ?>
								
								<?php echo Form::select('quantity', $quantities_list, null, array('style' => 'font-size: 9pt;')); ?>

								<?php echo Form::submit('Add to Cart', array('class' => 'button',
																	 'style' => 'margin-left: 1em; font-size: 8pt;')); ?>

							<?php echo Form::close(); ?>
						</td>
					</tr>


					<!-- BIA-CUPS -->
					<tr>
						<td class="item">
							Cups Only<br />
							<span class="small gray" style="font-weight: normal;">BIA-CUPS</span>
						</td>
						<td class="description">
							100 Sample Cups with Temperature Strip
						</td>
						<td class="unit">
							1 Box<br />
							<span class="small gray">100 cups</span>
						</td>
						<td class="price">
							$21.00
						</td>
						<td class="action">
							<?php echo Form::open(array('url'    => 'https://www.paypal.com/cgi-bin/webscr',
												'method' => 'post')); ?>			

								<?php echo Form::hidden('cmd', '_cart'); ?>
								<?php echo Form::hidden('add', '1'); ?>
								<?php echo Form::hidden('business', 'paypalbia@osaa.org'); ?>
								<?php echo Form::hidden('bn', 'OSAA_AddToCart_WPS_US'); ?>
								<?php echo Form::hidden('currency_code', 'USD'); ?>
								<?php echo Form::hidden('handling_cart', '8.00'); ?>
								<?php echo Form::hidden('paymentaction', 'sale'); ?>
								<?php echo Form::hidden('lc', 'US'); ?>								
								<?php echo Form::hidden('shipping', '0.00'); ?>
								<?php echo Form::hidden('no_shipping', '1'); ?>
								<?php echo Form::hidden('no_notes', '1'); ?>
								<?php echo Form::hidden('on0', 'Ship to School'); ?>								
								<?php echo Form::hidden('shopping_url', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('return', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('rm', '1'); ?>
								<?php echo Form::hidden('cancel_return', url('activities/wre/information/owwmpas#tabs-7')); ?>
								<?php echo Form::hidden('cpp_cart_border_color', '005fa9'); ?>	


								<?php echo Form::hidden('amount', '21.00'); ?>								

								<?php echo Form::hidden('item_name', 'BIA Cups Only (100 cups)'); ?>
								<?php echo Form::hidden('item_number', 'BIA-CUPS'); ?>
								
								<?php echo Form::select('quantity', $quantities_list, null, array('style' => 'font-size: 9pt;')); ?>

								<?php echo Form::submit('Add to Cart', array('class' => 'button',
																	 'style' => 'margin-left: 1em; font-size: 8pt;')); ?>

							<?php echo Form::close(); ?>
						</td>
					</tr>

				</tbody>

			</table>			
 */ ?>
			<br /><br />

			<h4>Purchase BIA Assessment Supplies via Fax</h4>
			<p>
				Schools have the option of ordering supplies with a purchase order.  Click the button below to download a hard copy of the supply order form.  Fax order form to the OSAA, ATTN: Kristie Patterson, 503.682.0960.
			</p>

			<a href="<?php echo asset ('docs/wre/BIASupplyOrderForm-VISA.pdf'); ?>" target="_blank" class="button download" style="font-size: 9pt;">Order Form</a>				
           		
        </div>
        <!-- End Tab 7: Supplies -->

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