javais zapper beaucoup de truc...
This commit is contained in:
26
WEBBE/tp4/ex2/index.php
Normal file
26
WEBBE/tp4/ex2/index.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
include 'include/tictactoe.php';
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.min.css">
|
||||
<link rel="stylesheet" href="./css/style.css">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<main class="container center">
|
||||
<h3>Tic Tac Toe : <?php echo "player $playerTurn turn";?></h3>
|
||||
|
||||
<?php
|
||||
if ($message != ""){
|
||||
echo "<h1>$message";
|
||||
echo " <a href='?'>new game</a></h1>";
|
||||
}
|
||||
displayGrid($grid);
|
||||
?>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user