<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="A_BUTTA (Buzz)" />
<title>Tris</title>
<link type="text/css" rel="stylesheet" href="stile.css"/>
</head>
<body>
<div id="pagina">
<div id="banner"><span class="text">Buzz Tris</span></div>
<div id="start">
<label style="font-size: 12px;">Giocatore 1: </label>
<input style="height: 12px; width: 93px; margin-bottom: 5px;" type="text" value="" id="Giocatore1"/><br />
<label style="font-size: 12px;">Giocatore 2: </label>
<input style="height: 12px; width: 93px;" type="text" value="" id="Giocatore2"/><br />
<input onclick="javascript: Giocatori(document.getElementById('Giocatore1').value, document.getElementById('Giocatore2').value)"
type="submit" value="Gioca!" id="gioca" style="height: 20px; width: 162px; margin-left: -1px; margin-top:5px; cursor: pointer;" />
</div>
<table id="quadro">
<tr>
<?php
for ($i=1;$i<=9;$i++)
{
echo "\n";
echo ' <td id="q'.$i.'" class="q" onclick="mossa(\'q'.$i.'\')"></td>';
if ($i%3 == 0 && $i!=9) {echo ' </tr>'."\n".' <tr>';}
elseif ($i==9) {echo ' </tr>';}
}
?>
</table>
<div id="statusbar">
<span class="text" id="turno">
Turno: Giocatore
</span><br />
<span class="text" id="punteggio">
</span>
</div>
</div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>