You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
748 B

2 years ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Roulette à eau</title>
2 years ago
<script type="text/javascript" src="script.js"></script>
2 years ago
</head>
<body>
<code>
<?php
2 years ago
$bdd = new SQlite3('bdd.db');
$query = $bdd -> query('SELECT * FROM Info');
2 years ago
$res = $query -> fetchArray();
2 years ago
var_dump($res);
2 years ago
?>
</code>
<svg id="roulette" width="800" height="800">
<g stroke="black" stroke-width=2></g>
</svg>
2 years ago
<script type="text/javascript">
draw_roulette(3, 200, 200, 200, ["arthur", "jimmy", "Jamel"]);
2 years ago
</script>
<button onclick="document.getElementById('roulette').setAttribute('transform', 'rotate(90)')" style="transition: 3s ease-out;">Tourner</button>
2 years ago
</body>
</html>
2 years ago