<?php
session_start();
include("../../top_header.php");
?>

<?php
if (!isset($_SESSION['accountInformation'])) {
    echo "<script type='text/javascript'>document.location.replace('../../../../azoteMe');</script>";
}
?>

    <!DOCTYPE html>
    <html lang="fr">

    <head>
        <meta charset="UTF-8"/>
        <title>Azote - Mon Compte</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
        <meta name="description"
              content="★ Découvrez Azote, le leader des serveurs privés Dofus et profitez d'une expérience de jeu incroyable. Jouez à Dofus gratuitement et sans abonnement !"/>
        <meta property="og:type" content="website"/>
        <meta property="og:image" content="http://www.azote.us/imgs/cover.png"/>
        <meta property="og:description"
              content="★ Découvrez Azote, le leader des serveurs privés Dofus et profitez d'une expérience de jeu incroyable. Jouez à Dofus gratuitement et sans abonnement !"/>
        <meta property="og:url" content="http://www.azote.us/compte/profil"/>
        <meta property="og:site_name" content="Azote - Mon Compte"/>
        <link rel="alternate" type="application/rss+xml" title="News RSS" href="http://www.azote.us/news.rss"/>
        <link rel="shortcut icon" type="image/png" href="http://www.azote.us/imgs/azote_simple.png"/>
        <link rel="canonical" href="http://www.azote.us/compte/profil"/>
        <link media="all" type="text/css" rel="stylesheet" href="http://www.azote.us/css/common.css">

        <link media="all" type="text/css" rel="stylesheet" href="http://www.azote.us/css/toastr.min.css">

        <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
        <script src="http://www.azote.us/js/admin/toastr.min.js"></script>

        <script src="http://www.azote.us/js/common.js"></script>

        <link media="all" type="text/css" rel="stylesheet" href="http://www.azote.us/imgs/carousel/rodeurs/style.css">

        <script>
            (function (i, s, o, g, r, a, m) {
                i['GoogleAnalyticsObject'] = r;
                i[r] = i[r] || function () {
                        (i[r].q = i[r].q || []).push(arguments)
                    }, i[r].l = 1 * new Date();
                a = s.createElement(o),
                    m = s.getElementsByTagName(o)[0];
                a.async = 1;
                a.src = g;
                m.parentNode.insertBefore(a, m)
            })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
            ga('create', 'UA-82860248-1', 'auto');
            ga('send', 'pageview');
        </script>
    </head>
    <body class="">

    <div class="ak-pagetop ak-container">
        <div class="ak-pagetop-child ">
            <div class="ak-container container">
                <div>
                    <div class="row">
                        <div class="col-sm-9">
                            <nav>
                                <div class="ak-breadcrumb-spacer"></div>
                                <div class="breadcrumb">
                                    <ol class="breadcrumb">
                                        <li><a href="http://www.azote.us">Accueil</a></li>
                                        <li class="active">Mon Compte</li>
                                    </ol>

                                </div>
                            </nav>
                        </div>
                        <div class="col-sm-3 text-center">
                            <span><a class="btn btn-info ak-btn-big ak-btn-play" href="http://www.azote.us/inscription">Jouer !</a></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="container ak-main-container">
        <div class="ak-main-content">
            <div class="ak-main-page">
                <div class="row">
                    <div class="main col-md-9 col-md-push-3">
                        <div class="ak-container ak-main-center">
                            <div class="ak-container ak-main-center">
                                <div class="ak-title-container">
                                    <h1><span class="ak-icon-big ak-bank"></span></a> Mon compte</h1>
                                </div>
                                <div class="ak-page-menu ak-glue">
                                    <nav class="ak-nav-expand ak-expanded">
                                        <div class="ak-nav-expand-container">
                                            <ul class="ak-nav-links ak-nav-expand-links">
                                                <li class="on">
                                                    <a href="http://www.azote.us/compte/profil">
                                                        Accueil </a>
                                                </li>
                                                <li class="">
                                                    <a href="http://www.azote.us/compte/achats">
                                                        Mes Achats </a>
                                                </li>
                                                <li class="">
                                                    <a href="http://www.azote.us/compte/votes">
                                                        Mes Votes </a>
                                                </li>
                                                <li class="">
                                                    <a href="http://www.azote.us/compte/marche">
                                                        Marché </a>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="ak-nav-expand-more">
                                            <span class="ak-nav-expand-icon ak-picto-common ak-picto-open"
                                                  style="display: none;">+</span>
                                        </div>
                                    </nav>
                                </div>
                                <div class="ak-container ak-panel-stack">
                                    <div class="ak-container ak-panel ak-glue">
                                        <div class="ak-panel-content">
                                            <div class="panel-main profile">
                                                <div class="certified">
                                                    <span>Compte certifié</span>
                                                    <!--<button class="btn btn-info btn-lg" href="#">Voir les promotions</button>-->
                                                </div>

                                                <div class="row">
                                                    <!--<div class="col-xs-2">
                                                        <img src="http://www.azote.us/imgs/avatar/default.jpg" />
                                                    </div>-->
                                                    <?php
                                                    list($pseudo, $email, $password, $ogrines, $cadeaux, $jetons, $votes) = split('[;]', $_SESSION['accountInformation']);

                                                    echo '
                                                
                                                 <div class="col-xs-5">
                                                    <b>Pseudo</b>: ' . $pseudo . '<br>                                                              
                                                    <b>Email</b>: ' . $email . '
                                                </div>
                                                <div class="col-xs-4">
                                                    <b>Ogrines</b>:' . $ogrines . '<span class="ak-icon-small ak-ogrines-icon"></span><br>
                                                    <b>Cadeaux</b>' . $cadeaux . '<span class="ak-icon-small ak-gifts-icon"></span><br>
                                                    <b>Jetons</b>' . $jetons . ' <span class="ak-icon-small ak-votes-icon"></span><br>
                                                    <b>Votes</b>:' . $votes . '
                                                </div>
                                            </div>';
                                                    ?>


                                                    <br>
                                                    <a href="http://www.azote.us/compte/editer-profil"
                                                       class="btn btn-default btn-sm">Éditer le profil</a>
                                                    <a href="http://www.azote.us/compte/changement-email"
                                                       class="btn btn-default btn-sm">Changer d'email</a>
                                                    <a href="http://www.azote.us/compte/changement-mot-de-passe"
                                                       class="btn btn-default btn-sm">Changer de mot de passe</a>
                                                    <div class="clearfix"></div>
                                                </div>
                                            </div>
                                            <div class="ak-panel-title">
                                                <span class="ak-panel-title-icon"></span> Mes comptes de jeu
                                            </div>
                                        </div>
                                    </div>

                                    <table class="ak-container ak-table">
                                        <tr>
                                            <th class="ak-center"></th>
                                            <th>Identifiant</th>
                                            <th>Pseudo</th>
                                            <th>Serveur</th>
                                            <th class="ak-center" style="width: 100px;">Personnages</th>
                                            <th class="ak-center" style="width: 200px;">Actions</th>
                                        </tr>

                                        <?php
                                        echo ' <tr>
                                    <td class="ak-rank"></td>
                                    <td><a href="http://www.azote.us/compte/jeu/epsilon/7051">azot123</a></td>
                                    <td><a href="http://www.azote.us/compte/jeu/epsilon/7051">aboubou</a></td>
                                    <td>Epsilon</td>
                                    <td class="ak-center">0</td>
                                    <td class="ak-center">
                                        <a href="http://www.azote.us/compte/jeu/epsilon/7051"><span class="ak-icon-small ak-filter ak-tooltip" title="Détails du compte"></span></a>
                                        <a href="http://www.azote.us/compte/jeu/epsilon/7051/transfert"><span class="ak-icon-small ak-ogrines-icon ak-tooltip" title="Transférer des ogrines"></span></a>
                                        <a href="http://www.azote.us/compte/jeu/epsilon/7051/cadeaux"><span class="ak-icon-small ak-gifts-icon ak-tooltip" title="Transférer des cadeaux"></span></a>
                                        <a href="http://www.azote.us/compte/jeu/epsilon/7051/jetons"><span class="ak-icon-small ak-votes-icon ak-tooltip" title="Convertir des jetons"></span></a>
                                    </td>
                                </tr>';
                                        ?>
                                    </table>

                                    <div class="ak-container ak-panel-stack">
                                        <div class="ak-container ak-panel ak-glue">
                                            <div class="ak-panel-content">
                                                <div class="text-center">
                                                    <a href="http://www.azote.us/compte/jeu/creation">
                                                        <button class="btn btn-info btn-lg">Créer un nouveau compte
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <aside class="col-md-3 col-md-pull-9">
                            <div class="ak-container ak-main-aside" style="margin: 0 6px;">

                                <div class="row ak-container ak-panel ak-panel-blue">
                                    <div class="ak-panel-title">
                                        <span class="ak-panel-title-icon ak-icon-med ak-bank"></span> Mon compte
                                    </div>
                                    <div class="ak-panel-content ak-profile-panel">
                                        <div class="account-avatar"><a
                                                    href="http://www.azote.us/compte/editer-profil"><img
                                                        src="http://www.azote.us/imgs/avatar/default.jpg"/></a></div>
                                        <div class="account-details">
                                            <div class="account-name">
                                                <?php
                                                list($pseudo, $email, $password, $ogrines, $cadeaux, $jetons, $votes) = split('[;]', $_SESSION['accountInformation']);

                                                echo $pseudo;
                                                ?>
                                            </div>
                                            <div class="account-info">
                                                <a href="http://www.azote.us/compte/profil">
                                                    <button class="btn btn-primary btn-sm">Gestion de compte</button>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>
                                        <div class="ak-reserve-container">
                                            <div class="row">
                                                <div class="col-xs-4">
                                                    <div class="ak-ogrine-reserve-critical ak-ogrines-reserve">
                                                        <a href="http://www.azote.us/boutique/paiement/choix-pays">
                                                            <span class="ak-reserve">0</span>
                                                            <span class="ak-icon-small ak-ogrines-icon"></span>
                                                        </a>
                                                        <div class="ak-tooltip hidden" style="display: none;">Acheter
                                                            des Ogrines
                                                        </div>
                                                        <script type="application/json">{
                                                                "tooltip": {
                                                                    "style": {
                                                                        "classes": "ak-tooltip-blue"
                                                                    }
                                                                }
                                                            }</script>
                                                    </div>
                                                </div>
                                                <div class="col-xs-4">
                                                    <div class="ak-ogrine-reserve-critical ak-votes-reserve">
                                                        <a href="http://www.azote.us/vote">
                                                            <span class="ak-reserve">10</span>
                                                            <span class="ak-icon-small ak-votes-icon"></span>
                                                        </a>
                                                        <div class="ak-tooltip hidden" style="display: none;">Gagner des
                                                            Jetons
                                                        </div>
                                                        <script type="application/json">{
                                                                "tooltip": {
                                                                    "style": {
                                                                        "classes": "ak-tooltip-blue"
                                                                    }
                                                                }
                                                            }</script>
                                                    </div>
                                                </div>
                                                <div class="col-xs-4">
                                                    <div class="ak-ogrine-reserve-critical ak-gifts-reserve">
                                                        <a href="http://www.azote.us/loterie">
                                                            <span class="ak-reserve">0</span>
                                                            <span class="ak-icon-small ak-ticket-icon"></span>
                                                        </a>
                                                        <div class="ak-tooltip hidden" style="display: none;">Jouer à la
                                                            loterie
                                                        </div>
                                                        <script type="application/json">{
                                                                "tooltip": {
                                                                    "style": {
                                                                        "classes": "ak-tooltip-blue"
                                                                    }
                                                                }
                                                            }</script>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="logout">
                                            <a>
                                                <button class="btn btn-primary btn-lg btn-block profil"
                                                        id="btn_disconnect">Déconnexion
                                                </button>
                                            </a>
                                        </div>
                                    </div>
                                </div>

                                <div class="row ak-container">
                                    <div class="ak-block-shop">
                                        <div class="text-center ak-shop-top">
                                            <a href="http://www.azote.us/boutique" class="ak-shop-title"> La
                                                Boutique</a>
                                        </div>
                                        <div class="ak-shop-articles">
                                            <div class="row ak-container">
                                                <div class="ak-column ak-container col-xs-12 col-sm-4 col-md-12">
                                                    <div class="ak-shop-article">
                                                        <div class="ak-shop-article-container">
                                                            <div class="ak-shop-article-illustration">
                                                                <a href="http://www.azote.us/boutique/marche/2238">
                                                                    <img src="http://www.azote.us/forge/image/dofus/renderer/look/7b317c32312c323034302c323535382c3139372c313133367c313d36323230372c323d323638363736382c333d36323230372c343d323638363736382c353d36323230377c3132357d/full/1/80_171-0.png"
                                                                         class="img-maxresponsive">
                                                                </a>
                                                            </div>
                                                            <div class="ak-shop-article-infos">
                                                                <span class="ak-shop-article-title"><a
                                                                            href="http://www.azote.us/boutique/marche/2238">Vulika</a></span>
                                                                <span class="ak-shop-article-server">Epsilon</span>
                                                                <span class="ak-shop-article-price"><a
                                                                            href="http://www.azote.us/boutique/marche/2238"><span
                                                                                class="ak-nobreak">1 000 <span
                                                                                    class="ak-icon-ogrines"></span></span></a></span>
                                                            </div>
                                                            <div class="ak-shop-article-action">
                                                                <a href="http://www.azote.us/boutique/marche/2238"
                                                                   class="btn btn-primary btn-lg ak-btn-unlock"><span
                                                                            class="ak-icon-med ak-unlock"></span>
                                                                    Acheter </a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row ak-container" style="margin-top:10px;">
                                                <div class="ak-column ak-container col-xs-12 col-sm-4 col-md-12">
                                                    <div class="ak-shop-article">
                                                        <div class="ak-shop-article-container">
                                                            <div class="ak-shop-article-action">
                                                                <a href="http://www.azote.us/boutique/paiement/choix-pays"
                                                                   class="btn btn-primary btn-lg ak-btn-unlock"><span
                                                                            class="ak-icon-med ak-unlock"></span>
                                                                    Acheter des <span
                                                                            class="ak-icon-ogrines"></span></a>
                                                                <a href="http://www.azote.us/boutique/marche"
                                                                   class="btn btn-primary btn-lg ak-btn-unlock-character"><span
                                                                            class="ak-icon-med ak-unlock"></span>
                                                                    Acheter un <span
                                                                            class="ak-icon-character"></span></a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="text-center">
                                            <a href="http://www.azote.us/boutique" class="ak-shop-link"> Aller sur la
                                                boutique </a>
                                        </div>
                                    </div>

                                    <a class="ak-btn-code" href="http://www.azote.us/vote"
                                       style="padding-left:70px;font-size:22px;">Vote et gagne des cadeaux</a>

                                    <a class="ak-home-facebook" href="https://www.facebook.com/PlayAzote/"
                                       target="_blank">Nous suivre<br>sur <span>Facebook</span></a>
                                    <a class="ak-home-youtube" href="https://www.youtube.com/AzoteGame" target="_blank">visiter
                                        la chaine<br>youtube <span>Azote</span></a>
                                    <a class="ak-home-discord" href="http://voice.azote.us" target="_blank">Nous
                                        rejoindre <br>sur <span>Discord</span></a>
                                    <!--<a class="ak-home-twitter" href="https://twitter.com/PlayAzote" target="_blank">Nous suivre<br>sur <span>Twitter</span></a>-->
                                    <div class="ak-twitter-timeline">
                                        <a class="twitter-timeline" height="350" href="https://twitter.com/PlayAzote">Nous
                                            suivre<br>sur <span>Twitter</span></a>
                                        <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
                                    </div>

                                </div>
                            </div>
                        </aside>
                    </div>
                </div>
            </div>
        </div>


        <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

        <script type="text/javascript">
            toastr.options = {"progressBar": true, "escapeHtml": true};
            toastr.info('Bienvenue tifoux !')
            ;</script>
        <script src="http://www.azote.us/js/common2.js"></script>
        <script src="../../../js/script.js"></script>
        <script type="text/javascript">
            var $ = require('jquery');

            $('.ui-dialog-titlebar-close').hide();

            setTimeout(function () {
                $('.ui-dialog-titlebar-close').fadeIn();
            }, 3000);

            $('.ui-dialog-titlebar-close').on('click', function () {
                $('.ui-dialog').fadeOut();
            });
        </script>
    </body>
    </html>
<?php
include("../../footer.php");
?>