<?php
 if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
 global $config;

 require_once 'config/class/class.memberspace.php';
 $member = new member_space();
 if ($member->isadmin()) header("Location: ".$config['app_url']."admin-list");
 if (!empty($_SESSION['aid']) && $_SESSION['aid']>90) header("Location: ".$config['app_url']."special-adm");

 if (time() > $config['smib_dapart_timestp']) header("Location: ".$config['app_url']);
?>


<?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>
 <span class="content-section__header-text">
 Êtes vous un simple participant ?
 </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>
 </div>

 <section class="content-section__form-container">

 <br/><br/>

 <h1 class="content-section__heading" tabindex="0">
 <span class="content-section__bold">Connexion à l'administration</span>
 </h1>

 <p class="content-section__subheading" tabindex="0">
 Connectez-vous à l'administration du Semi Marathon International de la ville de Béjaia
 </p>

 <section class="info-notice">
 <h2 class="info-notice__sub-text">
 Un espace réservé à l'administration du Semi Marathon International de Béjaia, Veuillez garder ce lien confidentiel SVP.
 </h2>
 </section>



 <label class="user-form__label" for="alogin-user">
 Votre numéro de téléphone <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="alogin-user" type="tel" placeholder="Exemple : 0770434566" name="alogin-user">
 <span id="aloginuserError" class="user-form__error-label">
 Veuillez entrer un numéro de téléphone valide
 </span>



 <label class="user-form__label" for="alogin-pass">
 Mot de passe <span class="required-field">*</span>
 </label>
 <input class="user-form__input" id="alogin-pass" type="password" placeholder="Votre mot de passe" name="alogin-pass">
 <span id="aloginpassError" class="user-form__error-label">
 Veuillez entrer votre mot de passe
 </span>


 <br/><hr/>


 <button id="adminlogin" 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">
 Se connecter
 </span>
 </button>
 <br/><br/><br/><br/><br/><br/>

 </section>

 </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/admin.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' => ''
)]); } ?>