Changeset 36 for trunk/admin/modules/Elezioni/ele_affluenze.php
- Timestamp:
- Mar 19, 2010, 11:37:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_affluenze.php
r2 r36 67 67 echo "<select name= \"mv\" ><option value=\"00\" selected>00</option>"; minuti(); 68 68 echo "</td><td>"; 69 $aff = mysql_query("SELECT data_inizio FROM ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen'", $dbi);70 list($data ) = mysql_fetch_row($aff);69 $aff = mysql_query("SELECT data_inizio,data_fine FROM ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen'", $dbi); 70 list($data,$fine) = mysql_fetch_row($aff); 71 71 list ($anno,$mese,$giorno)=explode('-',$data); 72 echo "<select name= \"gv\" ><option value=\"$giorno\" selected>$giorno</option>"; giorno(); 72 list ($annof,$mesef,$giornof)=explode('-',$fine); 73 echo "<select name= \"gv\" ><option value=\"$giorno\" selected>$giorno</option>"; giorno($giorno,$giornof); 73 74 echo "<select name= \"msv\" ><option value=\"$mese\" selected>$mese</option>"; mese(); 74 75 echo "<select name= \"av\" ><option value=\"$anno\" selected>$anno</option>"; anno() ;
Note:
See TracChangeset
for help on using the changeset viewer.