Add initial implementation of Fantacalcio application
This commit is contained in:
Executable
+39
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
define('OGGI', date('d/m/Y'));
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Statistiche partita</title>
|
||||
<link rel="stylesheet" href="partita.css">
|
||||
<script src="partita.js" defer></script>
|
||||
<?php require 'dati.php'; ?>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Partite del giorno: <?php echo OGGI; ?></h1>
|
||||
<button onclick="home();">Home</button>
|
||||
</header>
|
||||
<div class="partite">
|
||||
<button onclick="setPartita(1);">Partita 1</button>
|
||||
<button onclick="setPartita(2);">Partita 2</button>
|
||||
<button onclick="setPartita(3);">Partita 3</button>
|
||||
</div>
|
||||
<hr>
|
||||
<main>
|
||||
<button onclick="salvaVoti();" class="salvaVoti">Salva voti partita</button>
|
||||
<div class="container">
|
||||
<div class="sinistra">
|
||||
<h2 id="sq1"></h2>
|
||||
<ul id="elenco-sq1"></ul>
|
||||
</div>
|
||||
<div class="destra">
|
||||
<h2 id="sq2"></h2>
|
||||
<ul id="elenco-sq2"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user