fancy ass buttons and background

This commit is contained in:
Thijs Stobbelaar 2023-09-21 16:34:58 +02:00
parent 0a83412049
commit 3325c38b41
2 changed files with 48 additions and 11 deletions

View file

@ -29,15 +29,15 @@ error_reporting(E_ALL);
// Form to select game mode
echo "<form method='post' action=''>
<input type='submit' name='game_mode' value='solo'>
<input type='submit' name='game_mode' value='duo'>
<input type='submit' name='game_mode' value='squad'>
<input type='submit' name='game_mode' value='solo' class='btn'>
<input type='submit' name='game_mode' value='duo' class='btn'>
<input type='submit' name='game_mode' value='squad' class='btn'>
</form><br>";
// Buttons for each player
echo "<form method='post' action=''>";
foreach ($players_data[$selected_mode] as $player_name => $player_details) {
echo "<button type='submit' name='selected_player' value='$player_name'>$player_name</button>";
echo "<button type='submit' name='selected_player' value='$player_name' class='btn' >$player_name</button>";
}
echo "</form><br>";