|
@@ -30,6 +30,16 @@ $message[6]=' |
|
|
<button type="button" class="close" data-dismiss="alert">X</button> |
|
|
<button type="button" class="close" data-dismiss="alert">X</button> |
|
|
<h4>ERREUR !</h4> |
|
|
<h4>ERREUR !</h4> |
|
|
<p>Echec de mise à jour de votre carte. Seul les fichiers <strong>.jpg</strong> (10 Mo max) sont autorisés.</p>'; |
|
|
<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>'; |
|
|
?> |
|
|
?> |
|
|
<!DOCTYPE html> |
|
|
<!DOCTYPE html> |
|
|
<html lang="fr"> |
|
|
<html lang="fr"> |
|
@@ -106,7 +116,7 @@ $message[6]=' |
|
|
</p> |
|
|
</p> |
|
|
<hr /> |
|
|
<hr /> |
|
|
<p> |
|
|
<p> |
|
|
<a href="#" class="btn btn-default btn-lg disabled"><i class="glyphicon glyphicon-import"></i> Importer un joueur (.XML)</a> |
|
|
|
|
|
|
|
|
<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> |
|
|
</p> |
|
|
<hr /> |
|
|
<hr /> |
|
|
<p> |
|
|
<p> |
|
@@ -271,6 +281,27 @@ $message[6]=' |
|
|
</div> |
|
|
</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="ionicons ion-map"></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> |
|
|
|
|
|
|
|
|
<?php elseif($status == 0): ?> |
|
|
<?php elseif($status == 0): ?> |
|
|
|
|
|
|
|
|
<div class="container-fluid"> |
|
|
<div class="container-fluid"> |
|
|