<?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']."profil");
?>


<?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>
 <div class="sidebar-promo__header-logo sidebar-promo__header-logo--bottom" tabindex="0">
 <span>
 <img src="<?php echo $config['app_url'] ?>sources/image/basic/sponsors-v.png" alt="<?php echo $config['app_name'] ?> sponsors">
 </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>
 <span class="content-section__header-text">
 Vous n'avez pas encore un compte ?
 </span>
 <a id="member-login-link" href="<?php echo $config['app_url'] ?>register-inscription" class="content-section__header-button button button--primary">
 S'inscrire
 </a>
 </div>

 <section class="content-section__form-container">

 <h1 class="content-section__heading" tabindex="0">
 <span class="content-section__bold">Login / Connexion</span>
 </h1>

 <p class="content-section__subheading" tabindex="0">
 Connectez-vous à votre compte au Semi Marathon International de la ville de Béjaia
 </p>

 <section class="info-notice">
 <h2 class="info-notice__sub-text">
 Ce compte vous permettra de participer chaque année avec le même compte, ainsi que rester en contact permanent avec nous.
 </h2>
 </section>



 <label class="user-form__label" for="login-user">
 E-mail / Phone number / Numéro de téléphone <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="login-user" type="text" placeholder="E-mail / Phone number / Numéro de téléphone" name="login-user">
 <span id="loginuserError" class="user-form__error-label">
 Veuillez entrer un numéro de téléphone valide
 </span>



 <label class="user-form__label" for="login-pass">
 Password / Mot de passe <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="login-pass" type="password" placeholder="Password / Mot de passe" name="login-pass">
 <span id="loginpassError" class="user-form__error-label">
 Veuillez entrer votre mot de passe
 </span>


 <!--
 <span class="user-form__label user-form__label--margin-top">Rester connecté contacté ?</span>
 <div class="user-form__checkbox user-form__checkbox--margin-bottom-small">
 <input class="user-form__checkbox-input" id="registration-messaging-checkbox-one" type="checkbox" name="nlSubscription" onclick="this.blur()">
 <label for="registration-messaging-checkbox-one" class="user-form__label user-form__label--checkbox">
 Je souhaite rester connecté sur ce site.
 </label>
 </div>
 -->
 <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>



 <button id="login" 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">
 Login / Se connecter
 </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' => ''
)]); } ?>