<div class="row">
	<div class="col-md-12">
	<div class="content-header">
    	<div class="header-section">
        	<h2>The <?php echo SITE_NAME; ?> <Strong>Leaderboard</Strong><br><small>"Winning isn't everything, but wanting to, is."</small></h2> 
    	</div>
	</div> 

	<div class="row">
		<div class="col-sm-6 col-lg-3">
			<a href="#" class="widget widget-hover-effect1">
				<div class="widget-simple">
					<div class="widget-icon pull-left themed-background-autumn animation-fadeIn">
						<?php echo Config::Get('MONEY_UNIT'); ?>
					</div>
					<h3 class="widget-content text-right animation-pullDown">
						 <strong>Revenue</strong><br>
						<small>Leaderboard</small>
					</h3>
				</div>
			</a>
		</div>
		
		<div class="col-sm-6 col-lg-3">
			<a href="#" class="widget widget-hover-effect1">
				<div class="widget-simple">
					<div class="widget-icon pull-left themed-background-spring animation-fadeIn">
						<i class="gi gi-road"></i>
					</div>
					<h3 class="widget-content text-right animation-pullDown">
						<strong>Distance</strong><br>
						<small>Leaderboard</small>
					</h3>
				</div>
			</a>
		</div>
		
		<div class="col-sm-6 col-lg-3">
			<a href="#" class="widget widget-hover-effect1">
				<div class="widget-simple">
					<div class="widget-icon pull-left themed-background-fire animation-fadeIn">
						<i class="gi gi-history"></i>
					</div>
					<h3 class="widget-content text-right animation-pullDown">
						<strong>Flight Time</strong>
						<small>Leaderboard </small>
					</h3>
				</div>
			</a>
		</div>
		
		<div class="col-sm-6 col-lg-3">
			<a href="#" class="widget widget-hover-effect1">
				<div class="widget-simple">
					<div class="widget-icon pull-left themed-background-modern animation-fadeIn">
						<i class="gi gi-sort-by-attributes-alt"></i>
					</div>
					<h3 class="widget-content text-right animation-pullDown">
						 <strong>Landing Rate</strong>
						<small>Leaderboard</small>
					</h3>
				</div>
			</a>
		</div>
	</div>
	
	
	
		<div class="block">
			<div class="block-title">
				<h3><strong>Top</strong> Pilots </h3>
				<ul class="nav nav-tabs">
				    <li class="active"><a data-toggle="tab" href="#home">Today</a></li>
				    <li><a data-toggle="tab" href="#menu1">This Week</a></li>
				    <li><a data-toggle="tab" href="#menu2">This Month</a></li>
				    <li><a data-toggle="tab" href="#menu3">All Time</a></li>
				  </ul>   
			</div>
			
		  <div class="container">
  			<div class="tab-content">
    			<div id="home" class="tab-pane fade in active">
					<h3>Today</h3>
					<h3><span class="label label-warning">Revenue</span></h3>
					<p><?php Template::show('toppilot/toppilotday.php'); ?></p>
					<hr>
					<h3><span class="label label-success">Distance</span></h3>
					<p><?php Template::show('toppilot/toppilotdaybd.php'); ?></p><br>
					<hr>
					<h3><span class="label label-danger">Flight Time</span></h3>
					<p><?php Template::show('toppilot/toppilotdaybft.php'); ?></p><br>
					<hr>
					<h3><span class="label label-primary">Landing Rate</span></h3>
					<p><?php Template::show('toppilot/toppilotlandingday.php'); ?></p><br>
					<hr>
				</div>
				<div id="menu1" class="tab-pane fade">
					<h3>This Week</h3>
					<h3><span class="label label-warning">Revenue</span></h3>
					<p><?php Template::show('toppilot/toppilotweek.php'); ?></p><br>
					<hr>
					<h3><span class="label label-success">Distance</span></h3>
					<p><?php Template::show('toppilot/toppilotweekbd.php'); ?></p><br>
					<hr>
					<h3><span class="label label-danger">Flight Time</span></h3>
					<p><?php Template::show('toppilot/toppilotweekbft.php'); ?></p><br>
					<hr>
					<h3><span class="label label-primary">Landing Rate</span></h3>
					<p><?php Template::show('toppilot/toppilotlandingweek.php'); ?></p><br>
					<hr>
				</div>
				    
				<div id="menu2" class="tab-pane fade">
					<h3>This Month</h3>
					<h3><span class="label label-warning">Revenue</span></h3>
					<p><?php Template::show('toppilot/toppilotmonth.php'); ?></p><br>
					<hr>
					<h3><span class="label label-success">Distance</span></h3>
					<p><?php Template::show('toppilot/toppilotmonthbd.php'); ?></p><br>
					<hr>
					<h3><span class="label label-danger">Flight Time</span></h3>
					<p><?php Template::show('toppilot/toppilotmonthbft.php'); ?></p><br>
					<hr>
					<h3><span class="label label-primary">Landing Rate</span></h3>
					<p><?php Template::show('toppilot/toppilotlandingmonth.php'); ?></p><br>
					<hr>
				</div>
				<div id="menu3" class="tab-pane fade">
					<h3>All Time</h3>
					 <h3><span class="label label-warning">Revenue</span></h3>
					<p><?php Template::show('toppilot/toppilotalltime.php'); ?></p><br>
					<hr>
					<h3><span class="label label-success">Distance</span></h3>
					<p><?php Template::show('toppilot/toppilotalltimebd.php'); ?></p><br>
					<hr>
					<h3><span class="label label-danger">Flight Time</span></h3>
					<p><?php Template::show('toppilot/toppilotalltimebft.php'); ?></p><br>
					<hr>
					<h3><span class="label label-primary">Landing Rate</span></h3>
					<p><?php Template::show('toppilot/toppilotalltimebl.php'); ?></p><br>
					<hr>
				</div>
				</div>
			</div>
			
				<!--<div id="br" class="toppilotcon"><?php Template::show('toppilot/toppilotdetailbr.php');?></div>
				<div id="bd" class="toppilotcon"><?php Template::show('toppilot/toppilotdetailbd.php');?></div>
				<div id="bft" class="toppilotcon"><?php Template::show('toppilot/toppilotdetailbft.php');?></div>
				<div id="bl" class="toppilotcon"><?php Template::show('toppilot/toppilotdetailbl.php');?></div>--> 
				
				
			<script>
				document.getElementById("defaultOpen").click();
			</script>
			
			
		</div>
	</div>
</div>

