if ($ _COOKIE [ "voted_for_ ($ row [" id "]}"]){
?> <form action="index.php" method="POST">
<table align="center" border="0" cellpadding="2" cellspacing="0"> <tr> <td>
Hai già votato per questa immagine.
<input type="submit" name="submit" value="next image">
</ td>
</ tr>
</ table> <input name = "show" type = "hidden" value = "<? php echo $ next;?>"> </ form> <? php
else ()
?> <form action="index.php" method="POST"> align="center" <table border="0" cellpadding="2" cellspacing="0"> <tr> <td rowspan = "2" > terribile </ td> <td rowspan="2" width="10"> </ td> <? php / / voto forma for ($ i = 1; $ i <= $ max_points; $ i + +) ( ?> <td align="center"> <? php echo $ i;?> </ td> <? php)?> rowspan="2" <td width="10"> </ td> <td rowspan = "2"> awesome </ td> </ tr> <tr> <? php for ($ i = 1; $ i <= $ max_points; $ i + +) (?> <td align="center"> < input type = "radio" name = "voto" value = "<? php echo $ i;?>" onclick = "submit ();"></ td> <? php)?> </ tr> </ table > <input name = "show" type = "hidden" value = "<? php echo $ next;?>"> <input name = "id" type = "hidden" value = "<? php echo $ row [" id "];?>"> </ form>
<? php)?>