<?php
 if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
 global $config;

 require_once 'config/class/class.memberspace.php';
 $member = new member_space();
 if (!$member->ismembre()) header("Location: ".$config['app_url']."login-connexion");
?>


<?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'] ?>profil" 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 au profil</span>
 </a>
 </div>

 <section class="content-section__form-container">

 <h1 class="content-section__heading" tabindex="0">
 <span class="content-section__bold">Modifier votre mot de passe</span>
 </h1>

 <p class="content-section__subheading" tabindex="0">
 Semi Marathon International de la ville de Béjaia
 </p>



 <label class="user-form__label" for="old-pass">
 Ancien mot de passe <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="old-pass" type="password" placeholder="Ancien mot de passe" name="old-pass">
 <span id="oldpassError" class="user-form__error-label">
 Veuillez entrer votre mot de passe
 </span>
 <br/>
 <a href="<?php echo $config['app_url'] ?>mot-de-passe-oublie" id="new-password-link" class="button--light user-form__button">
 Mot de passe oublié?
 </a>



 <label class="user-form__label" for="new-pass-1">
 Nouveau mot de passe <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="new-pass-1" type="password" placeholder="Nouveau mot de passe" name="new-pass-1">
 <span id="newpass1Error" class="user-form__error-label">
 Veuillez entrer un mot de passe valide
 </span>



 <label class="user-form__label" for="new-pass-2">
 Confirmer le mot de passe <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="new-pass-2" type="password" placeholder="Confirmer le mot de passe" name="new-pass-2">
 <span id="newpass2Error" class="user-form__error-label">
 Les 2 mots de passes doivent être identiques
 </span>

 <br/><br/><hr/>

 <button id="passedit" 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">
 Modifier
 </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' => ''
)]); } ?>