|
|
@@ -54,6 +54,12 @@ $message[10]=' |
|
|
|
<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"> |
|
|
@@ -90,6 +96,9 @@ $message[10]=' |
|
|
|
</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> |
|
|
@@ -122,43 +131,44 @@ $message[10]=' |
|
|
|
<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 /> |
|
|
|
<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" /> |
|
|
|
<a href="https://play.google.com/store/apps/details?id=com.google.zxing.client.android&hl=fr_FR" target="_blank"> |
|
|
|
<img alt="Barcode Scanner" src="https://lh6.ggpht.com/os72icmFlDtbxpYbZCP-v6kOereSLGDmlKsBl1ISTPdgbcpoc4rSIuXDuoDECvgcvoFJ=w300-rw" height="60px" /><img alt="Android app on Google Play" src="https://developer.android.com/images/brand/fr_app_rgb_wo_45.png" /> |
|
|
|
</a> |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -304,18 +314,40 @@ $message[10]=' |
|
|
|
<input type="hidden" name="id" value="<?php echo $id; ?>"> |
|
|
|
</div> |
|
|
|
<div class="modal-footer"> |
|
|
|
<button type="submit" class="btn btn-info">Mise à jour du compte</button> |
|
|
|
<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 ainsi que de tous vos médias, pensez à exporter vos fiches personnages avant d'appliquer cette sentence irrévocable de la mort qui tue !</strong><br /> |
|
|
|
<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"> |
|
|
|