|
|
@@ -1,5 +1,9 @@ |
|
|
|
<?php include "header.php"; |
|
|
|
$message[0]=''; |
|
|
|
$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> |
|
|
@@ -40,6 +44,16 @@ $message[8]=' |
|
|
|
<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> (10 M max) sont autorisés.</p>'; |
|
|
|
?> |
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang="fr"> |
|
|
@@ -121,12 +135,12 @@ $message[8]=' |
|
|
|
<hr /> |
|
|
|
<p> |
|
|
|
<div class="btn-group"> |
|
|
|
<a href="#" class="btn btn-default btn-lg dropdown-toggle disabled" data-toggle="dropdown"> |
|
|
|
<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 href="#" style="color:#CCC;"><i class="ionicons ion-music-note"></i> SOFT</a></li> |
|
|
|
<li><a data-toggle="modal" data-target="#modal_change_music_soft" style="color:#CCC;"><i class="ionicons ion-music-note"></i> SOFT</a></li> |
|
|
|
<li class="divider"></li> |
|
|
|
<li><a href="#" style="color:#AAA;"><i class="ionicons ion-music-note"></i> TONIC</a></li> |
|
|
|
<li class="divider"></li> |
|
|
@@ -302,6 +316,27 @@ $message[8]=' |
|
|
|
</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-map"></i> Changer la musique SOFT</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>.mp3</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">Changer la musique SOFT</button> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<?php elseif($status == 0): ?> |
|
|
|
|
|
|
|
<div class="container-fluid"> |
|
|
|