second commit
This commit is contained in:
parent
d975e212f9
commit
12d8e33009
9 changed files with 266 additions and 0 deletions
45
similverifica_votazioni_atleti/index.php
Normal file
45
similverifica_votazioni_atleti/index.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
include "includes/security.php";
|
||||
|
||||
checkPost();
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="it">
|
||||
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<?php require "includes/head.php" ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Vota Atleti</h1>
|
||||
<h2>Ciao <?php echo $_SESSION["nome"] ?></h2>
|
||||
<form action="thanks.php" method="post">
|
||||
<div class="mb-3">
|
||||
<label for="atleta" class="form-label">Atleta</label>
|
||||
<select class="form-select" name="atleta" id="atleta">
|
||||
<option value="1">Usain Bolt</option>
|
||||
<option value="2">Michael Phelps</option>
|
||||
<option value="3">Simone Biles</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="voto" class="form-label">Voto</label>
|
||||
<select class="form-select" name="voto" id="voto">
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Invia voto</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php require "includes/footer.php" ?>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue