
<?php \Laravel\Section::start('content'); ?>
	<b>select season :</b>
	<?php foreach($seasons as $season): ?>
		<?php if (	$season->id == Session::get('season')['id'] ): ?>
			<span class="season_sel"> <?php echo  $season->season_label ; ?> </span>
		<?php else: ?>
			<?php echo  HTML::link_to_route('changeseason' , $season->season_label , array( $season->id), array('class'=>'season' )) ; ?>
		<?php endif; ?>
	<?php endforeach; ?>
	<hr/>
	<script src="js/vertical.news.slider.min.js"></script>
	<div class="news-holder cf">
		<ul class="news-headlines">
		<?php $sel = ' class="selected"' ?> 
		<?php foreach($articles as $article): ?>
		<li<?php echo $sel; ?>><?php echo  $article->art_title . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[' . $article->art_date . ']' ; ?></li>
			<?php $sel = '' ?> 
		<?php endforeach; ?>
		</ul>
		<div class="news-preview">
			<?php foreach($articles as $article): ?>
			<div class="news-content top-content">
				<h1><?php echo  HTML::link_to_route('article' , $article->art_title . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[' . $article->art_date . ']', array( $article->id)) ; ?> </h1>
				<p><?php echo  $article->art_text ; ?></p>
				<br/>
				<span class="notes">last updated:<?php echo  $article->updated_at ; ?> by <?php echo  $article->updated_by ; ?></span>
			</div>
			<?php endforeach; ?>
		</div>
	</div>
<?php \Laravel\Section::stop(); ?>

<?php echo view('layouts.firstpage')->with(get_defined_vars())->render(); ?>