<?php
 if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
 global $config;

 require 'config/class/class.database.php';
 $db = new database();

 require_once 'config/class/class.memberspace.php';
 $member = new member_space();
?>


<?php $_shouldextend[1]=1; ?>


<?php $this->startSection('wisra_basic_content'); ?>
 @parentXYZABC



<div class="content-wrapper">
 <section id="sidebar-promo" class="sidebar-promo sidebar-promo--narrow">
 <picture class="sidebar-promo__picture">
 <img src="<?php echo $config['app_url'] ?>sources/image/basic/semi-marathon.jpg" alt="<?php echo $config['app_name'] ?> hero image" class="sidebar-promo__background">
 </picture>
 <div class="sidebar-promo__header-logo sidebar-promo__header-logo--center" tabindex="0">
 <h1 class="accessible-text">SemiMarathon Béjaia</h1>
 <span>
 <img src="<?php echo $config['app_url'] ?>sources/image/basic/semi-marathon-bejaia.png" alt="<?php echo $config['app_name'] ?> logo">
 </span>
 </div>
 </section>
 <div class="content-section">

 <div class="content-section__header" tabindex="0">
 <a href="<?php echo $config['app_url'] ?>" class="content-section__header-button content-section__header-button--narrow content-section__header-button--home button button--transparent button--italic">
 <img type="image/svg+xml" src="<?php echo $config['app_url'] ?>sources/image/svg/left-arrow.svg" width="13" height="16"/>
 <span class="u-hide-phablet">Retour sur le site</span>
 </a>
<?php if ($member->ismembre()) {?>
 <span class="content-section__header-text">
 Vous avez votre mot de passe ?
 </span>
 <a id="member-login-link" href="<?php echo $config['app_url'] ?>modifier-mot-de-passe" class="content-section__header-button button button--primary">
 Modifier 
 </a>
<?php } else {?>
 <span class="content-section__header-text">
 Vous avez votre mot de passe ?
 </span>
 <a id="member-login-link" href="<?php echo $config['app_url'] ?>login-connexion" class="content-section__header-button button button--primary">
 Se connecter
 </a>
<?php }?>
 </div>

 <section class="content-section__form-container">

 <h1 class="content-section__heading" tabindex="0">
 <span class="content-section__bold">Mot de passe oublié</span>
 </h1>

 <p class="content-section__subheading" tabindex="0">
 Récupérez votre compte au Semi Marathon International de la ville de Béjaia
 </p>

 <section class="info-notice">
 <h2 class="info-notice__sub-text">
 Pour récupérer votre mot de passe, vous devez avoir accès à votre téléphone ou à votre boite e-mail liés à votre compte
 </h2>
 </section>

<?php if (!$member->ismembre()) {?>
 <label class="user-form__label" for="reminder-email">
 Adresse mail
 </label>
 <input class="user-form__input" id="reminder-email" type="email" placeholder="Exemple : contact@smib-dz.com" name="reminder-email" />
 <span id="reminderemailError" class="user-form__error-label">
 Veuillez entrer une adresse email
 </span>
<?php }?>


 <br/><hr/>


 <button id="reminder" class="button button--primary user-form__submit-button user-form__submit-button--margin-top" type="submit" name="complete registration button">
 <span class="user-form__submit-button-text">
 Récupérer
 </span>
 </button>

 </section>

 <?php include_once("sources/include/sponsorx.php");?>
 </div>
</div>

<?php $this->stopSection(); ?>

<?php /*-------------------------------------- Put here your additional CSS files for this page --------------------------------------*/ ?>
<?php $this->startSection('wisra_css_content'); ?>
<link href="<?php echo $config['app_url'];?>sources/plugin/toastr/toastr.min.css" rel="stylesheet" type="text/css">
<?php $this->stopSection(); ?>

<?php /*-------------------------------------- Put here your additional JS files  for this page --------------------------------------*/ ?>
<?php $this->startSection('wisra_js_content'); ?>
<script src="<?php echo $config['app_url'];?>sources/plugin/toastr/toastr.min.js"></script>
<script src="<?php echo $config['app_url'];?>sources/script/member.js"></script>
<?php $this->stopSection(); ?>
<?php if (@$_shouldextend[1]) { echo $this->runChild('layoutform', ['page_data' => array(
 'plugins' => array(), 
 'title' => "Connexion | Semi Marathon International de Béjaia", 
 'description' => "Se connecter au Semi Marathon International de la ville de Béjaia", 
 'keywords' => array("SMIB", "Semi Marathon", "Semi Marathon de Béjaia", "Semi Marathon International de Béjaia", "Semi Marathon International de la ville de Béjaia", "Se connecter", "Connexion au Semi Marathon", "Connexion au Semi Marathon de Béjaia", "Connexion au Semi Marathon International de Béjaia", "Connexion au Semi Marathon International de la ville de Béjaia", "Course a pied", "Course a pieds", "Course à pied", "Course à pieds", "Course a pieds 21 km", "Course a pieds 7km", "Course a pieds hommes femmes", "Course a pieds algérie"), 
 'facebook_integration' => false, 
 'google_maps_callback' => ''
)]); } ?>