|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591 |
- <?php include "header.php";
- $message[0]='
- <div class="col-lg-6 alert alert-dismissable alert-danger">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>Erreur !</h4>
- <p>Erreur !</p>';
- $message[1]='
- <div class="col-lg-6 alert alert-dismissable alert-success">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>C\'est bon !</h4>
- <p>Vous pouvez à présent vous connecter pour commencer à configurer votre partie.</p>';
- $message[2]='
- <div class="col-lg-6 alert alert-dismissable alert-warning">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>Hey !</h4>
- <p>Vous avez déjà un compte !</p>';
- $message[3]='
- <div class="col-lg-6 alert alert-dismissable alert-danger">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>Erreur !</h4>
- <p>Votre email/mot de passe est invalide !</p>';
- $message[4]='
- <div class="col-lg-6 alert alert-dismissable alert-info">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>Oups !</h4>
- <p>Vous devez vous connecter pour pouvoir jouer ;)</p>';
- $message[5]='
- <div class="col-lg-6 alert alert-dismissable alert-success">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>OK !</h4>
- <p>Votre carte est à jour !</p>';
- $message[6]='
- <div class="col-lg-6 alert alert-dismissable alert-danger">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>ERREUR !</h4>
- <p>Echec de mise à jour de votre carte. Seul les fichiers <strong>.jpg</strong> (10 Mo max) sont autorisés.</p>';
- $message[7]='
- <div class="col-lg-6 alert alert-dismissable alert-success">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>OK !</h4>
- <p>Joueur importé !</p>';
- $message[8]='
- <div class="col-lg-6 alert alert-dismissable alert-danger">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>ERREUR !</h4>
- <p>Echec à l\'importation du joueur. Seul les fichiers <strong>.xml</strong> (10 M max) sont autorisés.</p>';
- $message[9]='
- <div class="col-lg-6 alert alert-dismissable alert-success">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>OK !</h4>
- <p>Musique importé !</p>';
- $message[10]='
- <div class="col-lg-6 alert alert-dismissable alert-danger">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>ERREUR !</h4>
- <p>Echec à l\'importation de la musique. Seul les fichiers <strong>.mp3</strong> (100 M max) sont autorisés.</p>';
- $message[11]='
- <div class="col-lg-6 alert alert-dismissable alert-success">
- <button type="button" class="close" data-dismiss="alert">X</button>
- <h4>OK !</h4>
- <p>Mise à jour réussie !</p>
- <p><strong>Version : '.$version.'</strong></p>';
- ?>
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>EcoMonde</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="shortcut icon" href="./img/favicon.png" type="image/x-icon" />
- <link rel="stylesheet" href="./css/bootstrap.css" media="screen">
- <link rel="stylesheet" href="./css/bootswatch.min.css">
- <link rel="stylesheet" href="./css/ionicons.min.css">
- <link rel="stylesheet" href="./css/ecomonde.css">
- </head>
- <body>
- <div class="container-fluid">
- <div class="col-lg-1"></div>
- <div class="col-lg-3">
- <a href="index.php"><img class="img-responsive" src="./img/logo_0.png" alt="logo" /></a>
- </div>
- <div class="col-lg-6">
- <div class="navbar navbar-default">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- </div>
- <div class="navbar-collapse collapse navbar-responsive-collapse">
- <ul class="nav navbar-nav">
- <li><a href="http://wiki.ecomonde.land" target="_blank"><i class="ionicons ion-android-book"></i> WIKI</a></li>
- <li><a href="https://github.com/heuzef/ecomonde" target="_blank"><i class="ionicons ion-social-github"></i> GITHUB</a></li>
- <li><a href="http://wiki.ecomonde.land/doku.php?id=wiki:a_propos" target="_blank"><i class="ionicons ion-information-circled"></i> A PROPOS</a></li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <?php if($status != 0): ?>
- <?php if ($version != $latest_commit) {
- echo('<a data-toggle="modal" data-target="#modal_update" class="btn btn-success btn-sm"><i class="ionicons ion-loop"></i> Mise à jour disponible !</a> ');
- } ?>
- <?php echo '<img class="img-circle" src="http://gravatar.com/avatar/'.$hash.'?s=50" alt="gravatar" />'; ?> <strong><?php echo strtoupper($pseudo); ?></strong>
-
- <a data-toggle="modal" data-target="#modal_settings" class="btn btn-default btn-xs"><i class="ionicons ion-gear-b"></i> Paramètres</a>
- <a href="logout.php" class="btn btn-danger btn-xs"><i class="ionicons ion-power"></i></a>
- <?php elseif($status == 0): ?>
- <a class="btn btn-success btn-xs" data-toggle="modal" data-target="#register"><i class="ionicons ion-plus"></i> INSCRIPTION</a>
- <a class="btn btn-info btn-xs" data-toggle="modal" data-target="#modal_login"><i class="ionicons ion-power"></i> CONNEXION</a>
- <?php endif; ?>
- </ul>
- </div>
- </div>
- </div>
- <div class="col-lg-1"></div>
- </div>
- <hr />
-
- <?php if(isset($_GET["msg"])){?>
- <div class="container-fluid">
- <div class="col-lg-3"></div>
- <?php echo $message[$_GET["msg"]]; ?>
- </div>
- <div class="col-lg-3"></div>
- </div>
- <?php } else {} ?>
-
- <?php if($status != 0):?>
- <div class="container-fluid">
- <div class="col-lg-1"></div>
- <div class="col-lg-3">
- <div class="panel panel-default">
- <div class="panel-heading"><i class="ionicons ion-gear-a"></i> <strong>Configurer votre partie</strong></div>
- <div class="panel-body">
- <p>
- <a href="play" class="btn btn-info btn-lg" target="_blank"><i class="ionicons ion-play"></i> Lancer votre partie</a>
- <p>
- <hr />
- <p>
- <a data-toggle="modal" data-target="#modal_new_player" class="btn btn-default btn-lg"><i class="ionicons ion-person-add"></i> Créer un joueur</a>
- </p>
- <hr />
- <p>
- <a data-toggle="modal" data-target="#modal_import_player" class="btn btn-default btn-lg"><i class="glyphicon glyphicon-import"></i> Importer un joueur (.XML)</a>
- </p>
- <hr />
- <p>
- <div class="btn-group">
- <a href="#" class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown">
- <i class="ionicons ion-music-note"></i> Changer les musiques
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu">
- <li><a data-toggle="modal" data-target="#modal_change_music_soft" style="color:#CCC;" class="btn btn-default"><i class="ionicons ion-music-note"></i> SOFT</a></li>
- <li><a data-toggle="modal" data-target="#modal_change_music_tonic" style="color:#AAA;" class="btn btn-default"><i class="ionicons ion-music-note"></i> TONIC</a></li>
- <li><a data-toggle="modal" data-target="#modal_change_music_hard" style="color:#000;" class="btn btn-default"><i class="ionicons ion-music-note"></i> HARD</a></li>
- <li><a data-toggle="modal" data-target="#modal_change_music_light" style="color:#ADDFFF;" class="btn btn-default"><i class="ionicons ion-music-note"></i> LIGHT</a></li>
- <li><a data-toggle="modal" data-target="#modal_change_music_dark" style="color:#8128B5;" class="btn btn-default"><i class="ionicons ion-music-note"></i> DARK</a></li>
- </ul>
- </div>
- </p>
- <hr />
- <p>
- <a data-toggle="modal" data-target="#modal_change_map" class="btn btn-default btn-lg"><i class="ionicons ion-map"></i> Changer la carte</a>
- </p>
- <hr />
- <p>
- <a href="./export_data.php" class="btn btn-info btn-lg"><i class="glyphicon glyphicon-download"></i> Exporter vos médias</a>
- </p>
- <hr />
- <h1><i class="glyphicon glyphicon-phone"></i>Affichage téléphone</h1>
- <img class="img-responsive" src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=http%3A%2F%2Fwww.ecomonde.land%2Fmedias/<?php echo $hash; ?>&choe=UTF-8" />
- <div class="form-group">
- <input class="form-control input-sm" type="text" value="http://www.ecomonde.land/medias/<?php echo $hash; ?>">
- </div>
- </div>
- </div>
- </div>
- <div class="col-lg-7">
- <div class="panel panel-default">
- <div class="panel-heading"><i class="ionicons ion-person"></i> <strong>Joueurs présents dans votre partie :</strong></div>
- <div class="panel-body">
- <table class="table table-striped table-hover ">
- <thead>
- <tr>
- <th></th>
- <th>Nom</th>
- <th><i class="ionicons ion-heart" style="color:red;"></i></th>
- <th><i class="ionicons ion-flash" style="color:#FFD700;"></i></th>
- <th><i class="ionicons ion-egg" style="color:brown"></i></th>
- <th><i class="ionicons ion-fireball" style="color:grey"></i></th>
- <th><i class="ionicons ion-fireball" style="color:#ADDFFF"></i></th>
- <th><i class="ionicons ion-fireball" style="color:#8128B5"></i></th>
- <th><i class="ionicons ion-android-note" style="color:#000"></i></th>
- </tr>
- </thead>
- <tbody>
- <?php
- // nombre de gamers
- $f = 0;
- foreach(glob('*.xml') as $f) {$f+=1;}
- $nb_membres = count(glob('./medias/'.$hash.'/*.xml'));
-
- // liste des gamers
- $folder = "./medias/".$hash."/";
- $dossier = opendir($folder);
- while ($fichier = readdir($dossier))
- {
-
- if ($fichier != "." && $fichier != ".." && $fichier != "map.jpg" && $fichier != "soft.mp3" && $fichier != "tonic.mp3" && $fichier != "hard.mp3" && $fichier != "light.mp3" && $fichier != "dark.mp3" && $fichier != "enemy")
- {
- $gamers = explode(".xml", $fichier);
-
- $xml = simplexml_load_file('./medias/'.$hash.'/'.$fichier);
- if (!isset($itemnb)) {
- $itemnb=0;
- } else {
- $itemnb++;
- }
- foreach($xml->entry as $entry) {
- $somme_ecos=$entry->ecos->verte+$entry->ecos->bleue+$entry->ecos->jaune+$entry->ecos->rouge;
- echo '<tr class="active">
- <td><a href="del.php?player='.$fichier.'" class="btn btn-danger btn-xs"><i class="ionicons ion-trash-b"></i></a> <a href="./medias/'.$hash.'/'.$fichier.'" target="_blank" class="btn btn-success btn-xs"><i class="glyphicon glyphicon-export"></i></a></td>
- <td><strong>['.$entry->level.']</strong> '.$entry->nom.'</td>
- <td>'.$entry->hp.'</td>
- <td>'.$entry->xp.'</td>
- <td>'.$entry->money.'</td>
- <td>'.$somme_ecos.'</td>
- <td>'.$entry->ecos->blanche.'</td>
- <td>'.$entry->ecos->noire.'</td>
- <td>'.substr($entry->notes, 0, 40).'...</td>
- </tr>';
- }
- }
- }
- closedir($dossier);
- ?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="col-lg-1"></div>
- </div>
-
- <div class="modal fade" id="modal_new_player">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="new_player.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-person-add"></i> NOUVEAU JOUEUR</h4>
- </div>
- <div class="modal-body">
- <div class="form-group">
- <label class="control-label" for="focusedInput">Nom :</label>
- <input class="form-control" id="focusedInput" type="text" name="player_name" maxlength="12" value="derpy">
- </div>
- <div class="form-group">
- <label class="control-label" for="focusedInput">Nombre d'XP</label>
- <div class="input-group">
- <span class="input-group-addon"><i class="ionicons ion-flash" style="color:#FFD700;";></i></span>
- <select class="form-control" id="focusedInput" name="player_xp">
- <option>0</option>
- <option>10</option>
- <option>50</option>
- <option>100</option>
- <option>999</option>
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label" for="focusedInput">Nombre d'Orbes</label>
- <div class="input-group">
- <span class="input-group-addon"><i class="ionicons ion-egg" style="color:brown;";></i></span>
- <select class="form-control" id="focusedInput" name="player_money">
- <option>0</option>
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- <option>6</option>
- <option>7</option>
- <option>8</option>
- <option>9</option>
- <option>10</option>
- </select>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Création du joueur</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_settings">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_settings.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-gear-b"></i> PARAMÈTRES DU COMPTE</h4>
- </div>
- <div class="modal-body">
- <img class="img-circle" src="http://gravatar.com/avatar/<?php echo $hash; ?>?s=50" alt="gravatar" /> <i class="ionicons ion-arrow-right-a"></i> <strong>Votre avatar est automatiquement synchronisé avec le service <a href="http://fr.gravatar.com/" target="_blank">Gravatar</a>.</strong>
- <hr />
- <label class="control-label" for="email">Email</label>
- <input class="form-control" id="email" type="text" placeholder="<?php echo $email; ?>" disabled="">
- <label class="control-label" for="focusedInput">Nouveau pseudo :</label>
- <input class="form-control" id="focusedInput" type="texte" name="pseudo" value="<?php echo $pseudo; ?>">
- <label class="control-label" for="focusedInput">Nouveau mot de passe :</label>
- <input class="form-control" id="focusedInput" type="password" name="password">
- <input type="hidden" name="email" value="<?php echo $email; ?>">
- <input type="hidden" name="id" value="<?php echo $id; ?>">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Modifier le compte</button>
- </div>
- </form>
- <hr />
- <p align="center">
- <strong>Attention, en cliquant sur ce bouton, vous entraînez la suppression complète de votre compte, pensez à <a href="export_data.php">exporter vos médias</a> avant d'appliquer cette sentence irrévocable de la mort qui tue !</strong><br />
- <a href="delete_account.php" class="btn btn-danger btn-xs"><i class="ionicons ion-alert-circled"></i> SUPPRIMER VOTRE COMPTE <i class="ionicons ion-alert-circled"></i></a>
- </p>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_update">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="update.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-loop"></i> MISE A JOUR DU COMPTE</h4>
- </div>
- <div class="modal-body">
- <h3>De nouvelles mises à jour sont disponibles !</h3>
- <p>Attention, la mise à jour de votre compte provoque sa réinitialisation, pensez à <a href="export_data.php">exporter vos médias</a> avant d'appliquer cette sentence irrévocable de la mort qui tue !</p>
- <p align="center"><a href="update.php" class="btn btn-success"><i class="ionicons ion-loop"></i> MISE A JOUR DU COMPTE <i class="ionicons ion-loop"></i></a></p>
- <hr />
- <p><strong>Version actuel :</strong> <?php echo $version; ?></p>
- <p><strong>Dernière version :</strong> <?php echo $latest_commit; ?></p>
- <p><a href="https://github.com/heuzef/ecomonde/commits/master" target="_blank"><i class="ionicons ion-social-github"></i> Détails des dernières mises à jours<a></p>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_change_map">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_map.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-map"></i> CHANGER LA CARTE</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="10048576" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.jpg</strong> (10 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Mise à jour de la carte</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_import_player">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="import_player.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="glyphicon glyphicon-import"></i> IMPORTER UN JOUEUR</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="1004857" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.xml</strong> (1 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Importer le joueur</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_change_music_soft">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_music_soft.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-music-note"></i> Changer la musique SOFT</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Changer la musique SOFT</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_change_music_tonic">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_music_tonic.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-music-note"></i> Changer la musique TONIC</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Changer la musique TONIC</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_change_music_hard">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_music_hard.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-music-note"></i> Changer la musique HARD</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Changer la musique HARD</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_change_music_light">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_music_light.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-music-note"></i> Changer la musique LIGHT</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Changer la musique LIGHT</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_change_music_dark">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="change_music_dark.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-music-note"></i> Changer la musique DARK</h4>
- </div>
- <div class="modal-body">
- <input type="hidden" name="MAX_FILE_SIZE" value="100485766" />
- <label class="control-label" for="focusedInput">Seul les fichiers <strong>.mp3</strong> (100 Mo max) sont autorisés.</label>
- <input class="form-control" id="focusedInput" type="file" name="userfile">
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-info">Changer la musique DARK</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <?php elseif($status == 0): ?>
-
- <div class="container-fluid">
- <div class="col-lg-1"></div>
- <div class="col-lg-5">
- <h2>Présentation</h2>
- <p><strong>EcoMonde est un Jeu de Rôle d'aventure interactif.</strong></p>
- <p class="text-success">Celui-ci dispose d'une interface de jeu permettant au Maître du Jeu de contrôler la partie directement sans avoir besoin de matériel.</p>
- <p class="text-primary">Le jeu ne requiert qu'un PC relié à internet et de quelques dés. Tout est automatisé.</p>
- <p class="text-warning">Le Maître du Jeu peut ensuite créer sa partie en s'appuyant sur tous les outils existants.</p>
- <p class="text-danger">Un <a href="http://wiki.ecomonde.land" target="_blank"><i class="ionicons ion-android-book"></i> WIKI</a> est à disposition pour un plus grand partage des ressources.</p>
- </div>
- <div class="col-lg-5">
- <iframe width="640" height="360" src="//www.youtube-nocookie.com/embed/sxPweEzjDaY?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
- </div>
- <div class="col-lg-1"></div>
- </div>
-
- <div class="modal fade" id="modal_login">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="session.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-power"></i> CONNEXION</h4>
- </div>
- <div class="modal-body">
- <div class="form-group">
- <label class="control-label" for="focusedInput">Email :</label>
- <input class="form-control" id="focusedInput" type="text" name="email">
- </div>
- <div class="form-group">
- <label class="control-label" for="focusedInput">Mot de passe :</label>
- <input class="form-control" id="focusedInput" type="password" name="password">
- </div>
- </div>
- <div class="modal-footer">
- <a href="mailto:contact@heuzef.com?subject=Contact%20depuis%20heuzef.com" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=contact@heuzef.com&cc=&bcc=&su=[EcoMonde]%20Probleme%20avec%20mon%20compte&body=Bonjour,','_blank');return false;">Un problème avec votre compte ?</a>
- <button type="submit" class="btn btn-info">Connexion</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="register">
- <div class="modal-dialog">
- <div class="modal-content">
- <form class="form-horizontal well" role="form" method="post" action="register.php" enctype="multipart/form-data">
- <div class="modal-header">
- <a type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">X</a>
- <h4 class="modal-title"><i class="ionicons ion-plus"></i> INSCRIPTION</h4>
- </div>
- <div class="modal-body">
- <div class="form-group">
- <label class="control-label" for="focusedInput">Pseudo :</label>
- <input class="form-control" id="focusedInput" type="text" name="pseudo">
- </div>
- <div class="form-group">
- <label class="control-label" for="focusedInput">E-mail :</label>
- <input class="form-control" id="focusedInput" type="text" name="email">
- </div>
- <div class="form-group">
- <label class="control-label" for="focusedInput">Mot de passe :</label>
- <input class="form-control" id="focusedInput" type="password" name="password">
- </div>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-primary"><i class="ionicons ion-checkmark"></i> OK</button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <?php endif; ?>
-
- <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','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-57585229-1', 'auto');
- ga('send', 'pageview');
- </script>
- <script src="./js/jquery-1.10.2.min.js"></script>
- <script src="./js/bootstrap.min.js"></script>
- <script src="./js/bootswatch.js"></script>
- </body>
- </html>
|