
<?php
session_start();
include ("pages/top_header.php");
?>
<!DOCTYPE html>
<html lang="fr">

<head>
    <meta charset="UTF-8" />
    <title>Site WEB PROJECT CERT</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 DRAKAH, 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="imgs/cover.png" />
    <meta property="og:description" content="★ Découvrez DRAKAH, 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://localhost/azoteMe" />
    <meta property="og:site_name" content="DRAKAH - Le meilleur serveur privé Dofus" />
    <link rel="alternate" type="application/rss+xml" title="News RSS" href="news.rss" />
    <link rel="shortcut icon" type="image/png" href="imgs/azote_simple.png"/>
    <link rel="canonical" href="http://localhost/azoteMe" />
    <link media="all" type="text/css" rel="stylesheet" href="css/common.css">

    <link media="all" type="text/css" rel="stylesheet" href="css/toastr.min.css">

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <link media="all" type="text/css" rel="stylesheet" href="css/homepage.css">
    <script >

    </script>
    <script src="js/script.js"></script>

    <script src="js/admin/toastr.min.js"></script>

    <script type="text/javascript" src="js/common.js"></script>

    <script src="js/common.js"></script>


    <script src="js/common2.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>
    <style>
        .ak-pagetop {
            margin-top: -85px;
        }
    </style>
    <link media="all" type="text/css" rel="stylesheet" href="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=" ak-background-type-homepage ">
<div class="ak-container ak-carrousel-bg">
    <div class="ak-video-home">
        <video class="ak-widget-video" autoplay loop="loop" poster="imgs/carousel/rodeurs/preview.png">
            <source type="video/mp4"  src="imgs/carousel/rodeurs/video.mp4" />
            <source type="video/webm" src="imgs/carousel/rodeurs/video.webm" />
            <source type="video/ogv"  src="imgs/carousel/rodeurs/video.ogv" />
        </video>
    </div>
    <a href="">
        <div class="img_sm"></div>
    </a>
    <div class="ak-carrousel-bg-title ak-carrousel-bg-title-left hidden-xs">
        <div class="ak-block-title">
            <a href="#" class="ak-title-link">
                <div class="ak-layer">
                    <span class="ak-title">BÊTA 2.45</span>
                    <br> <span class="ak-subtitle">DISPONIBLE MAINTENANT !</span> <span class="ak-banner-more">+</span>
                    <br>
                </div>
            </a>
        </div>
    </div>
</div>

<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://localhost/azoteMe">Accueil</a></li>
                                    <li class="active">Actualités</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="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-list-paginated">
                            <div class="ak-item-list ak-grid-padding">
                                <div class="row">


<?php

for ($i = 1; $i <= 10; $i++)
{
    $message = "Du <strong>$i</strong>, l\'XP est augment&eacute;e de ~45% (x1,33) sur <strong>Sigma </strong>et doubl&eacute;e&nbsp;sur<strong>&nbsp;</strong><strong>Epsilon</strong>&nbsp;! De plus, profitez d\'une offre exceptionnelle sur l\'achat d\'Ogrines. En effet, lors&nbsp;de tout achat sur notre boutique, vous obtiendrez <strong>2 fois plus d\'ogrines</strong> (100 achet&eacute;es, 200 re&ccedil;ues";
    $img  = "http://172.30.104.146/azoteMe/filemanager/userfiles/image-ng-defie-ton-cm.jpg";
    $type = "Information";
    $date = " 16 octobre 2017";

    echo '<div class="col-sm-6">
                                        <div class="ak-item-elt ak-universe-key-mmorpg">
                                            <div class="ak-item-elt-content">
                                                <a class="ak-link-img" href="article/64-xp-augmentee-et-ogrines-doublees">
                                                    <img class="img-responsive" alt="XP augmentée et ogrines doublées !" src="'.$img.'">
                                                </a>

                                                <div class="ak-item-elt-inner">
                                                    <div class="ak-item-elt-title">
                                                        <a href="article/64-xp-augmentee-et-ogrines-doublees">
                                                            <img src="uploads/users/4/1507055555-10661-epsilon.png" alt="Auteur" title="Auteur">
                                                        </a>

                                                        <span class="ak-text">
                                    <a href="article/64-xp-augmentee-et-ogrines-doublees">XP augmentée et ogrines doublées !</a>
                                    <span class="ak-publication"><span><a href="actualites/infos">'.$type.'</a> -</span> '.$date.'</span>
                                </span>
                                                    </div>
                                                    <div class="ak-item-elt-desc">
                                                      <p>'.$message.'</p>
                                                    </div>
                                                </div>
                                                <div class="ak-ellipsis-text"></div>
                                                <div class="ak-bottom">
                                                    <div class="ak-comments pull-left">
                                                        <a class="comment" href="article/64-xp-augmentee-et-ogrines-doublees#ak-block-posts">
                                                            <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="866.001px" height="866.013px" viewBox="930.736 591.271 866.001 866.013" enable-background="new 930.736 591.271 866.001 866.013" xml:space="preserve">
                                        <path fill="#010202" d="M930.736,1186.67v54.084c0,29.905,24.229,54.148,54.124,54.148h54.115l0,0h54.134v162.382l243.555-162.382h351.804c0.021,0,0.03,0,0.04,0h54.104c29.885,0,54.125-24.243,54.125-54.148v-595.37c0-29.897-24.24-54.112-54.125-54.112h-108.26h-108.248l0,0h-432.976c-0.01,0-0.01,0-0.01,0H984.86c-29.895,0-54.124,24.214-54.124,54.112v54.127l0,0V1186.67L930.736,1186.67zM1038.975,699.511h108.27l0,0h432.985l0,0h108.238v378.861v108.298h-108.238l0,0h-243.565l-135.306,81.165v-81.165h-54.114l0,0h-108.27V699.511z M1526.104,1078.372h54.114V970.125h-432.975v108.298h378.86V1078.372z M1580.219,807.766h-432.975v108.24h432.975V807.766z"></path>
                                    </svg>
                                                            <span>8</span>
                                                        </a>
                                                    </div>
                                                    <div class="pull-right">
                                                        <a class="ak-more" href="article/64-xp-augmentee-et-ogrines-doublees">En savoir<span>+</span>        </a>
                                                    </div>
                                                    <div class="ak-bottom-infos pull-left">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
    
    
    ';
}
?>
                                </div>
                            </div>
                        </div>

                        <div class="row ak-container">
                            <div class="ak-column ak-container col-sm-4"><a class="ak-link-news" href="actualites/news"> Toutes les news </a></div>
                            <div class="ak-column ak-container col-sm-4"><a class="ak-link-calandar" href="actualites/infos"> Toutes les infos </a></div>
                            <div class="ak-column ak-container col-sm-4"><a class="ak-link-patch" href="actualites/patchs"> Tous les patchs </a></div>
                        </div>
                    </div>
                </div>
                <aside class="col-md-3 col-md-pull-9">

                    <?php


                    if (!isset($_SESSION['accountInformation']))
                    {
                      echo '<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> Connexion
                            </div>
                            <div class="ak-panel-content ak-login-panel">
                                <div class="ak-form">
                                    <form method="POST" accept-charset="UTF-8">
                                        <input name="_token" type="hidden" value="ALucOSOaZnnWfdmdpKZVflRPTodTL0V2qa4YO1fO">
                                        <div class="form-group ">
                                            <label class="control-label" for="email">Email</label>
                                            <input type="text" class="form-control" placeholder="Email" name="email" value="" id="email">
                                        </div>

                                        <div class="form-group ">
                                            <label class="control-label" for="userpass">Mot de passe</label>
                                            <input type="password" class="form-control" placeholder="Mot de passe" name="password" value="" id="userpass" data-hasqtip="0">
                                        </div>

                                        <div class="form-group">
                                            <div class="checkbox">
                                                <label><input type="checkbox" value="1" name="remember" checked="checked">Rester connecté</label>
                                                <a href="pages/inscription" style="color:white;float:right">S\'inscrire</a>
                                            </div>
                                        </div>
                                        <input type="submit" role="button" class="btn btn-primary btn-lg btn-block" id="login_sub" value="Se connecter">
                                    </form>
                                </div>
                            </div>
                        </div>';
                    }else
                    {
                        list($pseudo, $identite, $dateBirthday, $email) = split('[;]', $_SESSION['accountInformation']);
echo '
   <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">
                                    '.$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" 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="azoteMe/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="boutique/marche/2185">
                                                            <img src="forge/image/dofus/renderer/look/7b317c37312c323132337c313d31343738353333372c323d31363737373231352c333d302c343d302c353d307c3131357d/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="boutique/marche/2185">Kayya-Eni</a></span>
                                                        <span class="ak-shop-article-server">Epsilon</span>
                                                        <span class="ak-shop-article-price"><a href="boutique/marche/2185"><span class="ak-nobreak">1 200 <span class="ak-icon-ogrines"></span></span></a></span>
                                                    </div>
                                                    <div class="ak-shop-article-action">
                                                        <a href="boutique/marche/2185" 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="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="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="boutique" class="ak-shop-link"> Aller sur la boutique </a>
                                </div>
                            </div>

                            <a class="ak-btn-code" href="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>
                        </div>
                    </div>
                </aside>
            </div>
        </div>
    </div>
</div>
<?php
include ("pages/footer.php")
?>
</body>
</html>