|
|
@ -59,7 +59,7 @@
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="d-flex justify-content-center ltext-center" style="cursor: pointer; height: 20%">
|
|
|
|
<div class="d-flex justify-content-center ltext-center" style="cursor: pointer; height: 20%">
|
|
|
|
<div class="m-3">
|
|
|
|
<div class="m-3">
|
|
|
|
<a class="btn" href="#" onclick="waiting()">
|
|
|
|
<a class="btn" href="index.php?action=addToQueue" onclick="waiting()">
|
|
|
|
<span>LANCER</span>
|
|
|
|
<span>LANCER</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -69,13 +69,6 @@
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <div class="row pt-5 text-center" style="cursor: pointer; height: 20%">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<a class="btn" href="index.php?action=goToHome" onclick="displayWaiting()">
|
|
|
|
|
|
|
|
<span>RETOUR</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -95,7 +88,7 @@
|
|
|
|
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
|
|
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
|
|
xhr.onload = function () {
|
|
|
|
xhr.onload = function () {
|
|
|
|
if (xhr.responseText == "1") {
|
|
|
|
if (xhr.responseText == "1") {
|
|
|
|
window.location.href = 'http://82.165.180.114/Scripted/WEB/index.php?action=goToGame&idPartie="' + <?php echo $idPartie ?> + '"&index=1"'
|
|
|
|
window.location.href = 'http://82.165.180.114/Scripted/WEB/index.php?action=goToGame&idPartie="' + <?php echo $_SESSION['idPartie'] ?> + '"&index=1"'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
xhr.send(null);
|
|
|
|
xhr.send(null);
|
|
|
|