
<?php $__env->startSection('subtitle'); ?>
Games
<?php $__env->stopSection(); ?>

<?php $__env->startSection('description'); ?>
Find the best weapon loadouts for <?php echo HelperController::listToString($games, 'id'); ?>.
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<?php if(HelperController::adsEnabled()): ?>
<div class="col-md-8">
	<?php else: ?>
	<div class="col-md-12">
		<?php endif; ?>
		<h2>Games</h2>
		<span class="line"> <span class="sub-line"></span></span>
		<?php for($i = 0; $i < 2; $i++): ?>
							<?php $counter = 0 + $i; ?>	
							<div class="col-md-6">
		<?php foreach($games as $game): ?>
		<?php if($counter++ % 2 == 0): ?>
		<article class="post">
			<a href="<?php echo route('showGame', urlencode($game -> id)); ?>"> <img src="<?php echo asset($game -> thumb_url); ?>" alt="<?php echo $game -> id; ?>" />
				<header>
					<h3><?php echo $game -> id; ?></h3>
				</header></a>
		</article>
		<?php endif; ?>
		<?php endforeach; ?>
	</div>
	<?php endfor; ?>


</div>
<?php if(HelperController::adsEnabled()): ?>
<div class="col-md-4">
	<h2>Advertisement</h2>
	<span class="line"> <span class="sub-line"></span> </span>
	<style>
		.game-loadouts-responsive-sidebar {
			width: 300px;
			height: 250px;
		}
		@media (min-width: 800px) {
			.game-loadouts-responsive-sidebar {
				width: 300px;
				height: 600px;
			}
		}
	</style>
	<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
	<!-- Game Loadouts Responsive Sidebar -->
	<ins class="adsbygoogle game-loadouts-responsive-sidebar"
		 style="display:inline-block"
		 data-ad-client="ca-pub-9067954073014278"
		 data-ad-slot="2846988777"></ins>
	<script>
		( adsbygoogle = window.adsbygoogle || []).push({});
	</script>
</div>
<?php endif; ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>