|
|
@ -42,46 +42,56 @@
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div style="background-color: red; height: 75px; width: 75px;"></div>
|
|
|
|
<div style="background-color: red; height: 75px; width: 75px;"></div>
|
|
|
|
<!-- <p class="pt-3">Player 1</p> -->
|
|
|
|
<!-- <p class="pt-3">Player 1</p> -->
|
|
|
|
<?php echo ' <p class="pt-3">' . $_SESSION['utilisateur']->getPseudo().'</p>'; ?>
|
|
|
|
<?php
|
|
|
|
|
|
|
|
if (isset($lesJoeurs[0])){
|
|
|
|
|
|
|
|
echo "<p class='pt-3'>".$lesJoeurs[0]->getPseudo()."</p>";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
echo "<p class='pt-3'>Player 1</p>";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div style="background-color: blue; height: 75px; width: 75px;"></div>
|
|
|
|
<div style="background-color: blue; height: 75px; width: 75px;"></div>
|
|
|
|
|
|
|
|
<!-- <p class="pt-3">Player 2</p> -->
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if (isset($lesJoeurs[1])){
|
|
|
|
if (isset($lesJoueurs[1])){
|
|
|
|
echo ' <p class="pt-3">' . $lesJoeurs[1]->getPseudo().'</p>';
|
|
|
|
echo "<p class='pt-3'>".$lesJoueurs[1]->getPseudo()."</p>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
echo ' <p class="pt-3">Player 2</p>';
|
|
|
|
echo "<p class='pt-3'>Player 2</p>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div style="background-color: yellow; height: 75px; width: 75px;"></div>
|
|
|
|
<div style="background-color: yellow; height: 75px; width: 75px;"></div>
|
|
|
|
|
|
|
|
<!-- <p class="pt-3">Player 3</p> -->
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if (isset($lesJoeurs[2])){
|
|
|
|
if (isset($lesJoueurs[2])){
|
|
|
|
echo ' <p class="pt-3">' . $lesJoeurs[2]->getPseudo().'</p>';
|
|
|
|
echo "<p class='pt-3'>".$lesJoueurs[2]->getPseudo()."</p>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
echo ' <p class="pt-3">Player 2</p>';
|
|
|
|
echo "<p class='pt-3'>Player 3</p>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div class="col d-flex flex-column align-items-center">
|
|
|
|
<div style="background-color: green; height: 75px; width: 75px;"></div>
|
|
|
|
<div style="background-color: green; height: 75px; width: 75px;"></div>
|
|
|
|
|
|
|
|
<!-- <p class="pt-3">Player 4</p> -->
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if (isset($lesJoeurs[3])){
|
|
|
|
if (isset($lesJoueurs[3])){
|
|
|
|
echo ' <p class="pt-3">' . $lesJoeurs[3]->getPseudo().'</p>';
|
|
|
|
echo "<p class='pt-3'>".$lesJoueurs[3]->getPseudo()."</p>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
echo ' <p class="pt-3">Player 2</p>';
|
|
|
|
echo "<p class='pt-3'>Player 3</p>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row pt-5 text-center" style="cursor: pointer; height: 20%">
|
|
|
|
<div class="row pt-5 text-center" style="cursor: pointer; height: 20%">
|
|
|
|
<div class="col">
|
|
|
|
<div class="col">
|
|
|
|
<a class="btn" href="index.php?action=queuing">
|
|
|
|
<a class="btn" href="index.php?action=queuing&etat=$etat&idPartie=$idPartie">
|
|
|
|
<span>LANCER</span>
|
|
|
|
<span>LANCER</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|