<?php
 if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
 global $config;

 $all_galery = array(
//        2022 => 'Prochainement', 
 2021 => 820, 
//        2019 => 'Prochainement', 
 2018 => 1833, 
 2017 => 1232, 
 2016 => 2128, 
 2015 => 24, 
 2014 => 2091, 
 2013 => 1833, 
 2012 => 1251, 
 2011 => 918, 
 2010 => 512, 
 2009 => 361, 
 2008 => 229, 
 2007 => 73
 );
?>

<?php $_shouldextend[1]=1; ?>


<?php $this->startSection('wisra_basic_content'); ?>
 @parentXYZABC



<div class="video-page blue-body padding-80">
 <div class="video-page__main-content-container">
 <div class="video-widget collections ">
 <div class="widget__header">
 <h3 class="widget__title">Gallerie photos</h3>
 </div>
 <div class="collections__list">

<?php
 foreach ($all_galery as $annee => $nbrx) {
 $edition = $annee-2005;
 if ($annee>2019) $edition--;
?>

 <li class="collections__list-item">
 <a href="<?php echo ($nbrx=='Prochainement') ? 'javascript:;' : 'gallerie-photos/'.$annee;?>" class="collection">
 <div class="collection__photo-container">
 <picture class="collection__photo js-lazy-picture loaded">
 <img src="<?php echo $config['app_url']?>sources/image/gallery/gallerie-<?php echo $annee;?>.jpg" data-image-src="<?php echo $config['app_url']?>sources/image/gallery/gallerie-<?php echo $annee;?>.jpg" alt="gallerie-<?php echo $annee;?>.jpg">
 </picture>
 </div>
 <div class="collection__details">
 <div class="playlist-tag">
 <span class="playlist-tag__barca">SMIB</span>
 <span class="playlist-tag__label"><?php echo $edition;?>ème Edition</span>
 </div>
 <div class="collection__title"><?php echo $annee;?></div>
 <div class="collection__videos">
 <img type="image/svg+xml" src="<?php echo $config['app_url']?>sources/image/svg/video.svg" class="collection__videos-icon" width="16" height="20"/>
 <?php echo ($nbrx=='Prochainement') ? 'Prochainement' : '<span class="collection__videos-counter">'.$nbrx.'</span> Photos';?>
 </div>
 </div>
 </a>
 </li>

<?php } ?>

 </div>
 </div>
 </a>
 </li>


 </div>
 </div>
 </div>
</div>

<?php include_once("sources/include/sponsors.php");?>   

<?php $this->stopSection(); ?>

<?php /*-------------------------------------- Put here your additional CSS files for this page --------------------------------------*/ ?>
<?php $this->startSection('wisra_css_content'); ?>
 
<?php $this->stopSection(); ?>

<?php /*-------------------------------------- Put here your additional JS files  for this page --------------------------------------*/ ?>
<?php $this->startSection('wisra_js_content'); ?>
 
<?php $this->stopSection(); ?>
<?php if (@$_shouldextend[1]) { echo $this->runChild('layout', ['page_data' => array(
 'plugins' => array(), 
 'title' => "Gallerie photos | Semi Marathon International de Béjaia", 
 'description' => "Gallerie photos, Semi Marathon International de la ville de Béjaia: course 21km, 7km et 3km pour enfants, handisports. organisé par l'Athlétic Méditerranéen Club Béjaia AMCB chaque année, a la vile de Béjaia - Algérie", 
 'keywords' => array("Gallerie photos", "photos Semi Marathon Bejaia", "Semi Marathon International de la ville de Béjaia", "Semi Marathon International de Béjaia", "Semi Marathon Béjaia", "SemiMarathon Béjaia", "Demi Marathon Béjaia", "Semi Marathon International Bejaia", "Semi", "Marathon", "Semi-Marathon", "International", "Semi-Marathon International", "Béjaia", "Semi-Marathon International Béjaia", "course 21km", "course 7km", "course 3km", "course enfants", "course handisports", "Athlétic Méditerranéen Club Béjaia", "Athlétic Club", "Athlétic Club Béjaia",  "Athlétic Méditerranéen Club Béjaia", "AMCB", "la vile de Béjaia", "Algérie", "Béjaia Algérie"), 
 'facebook_integration' => false, 
 'google_maps_callback' => ''
)]); } ?>