Changeset 36 for trunk/admin/modules/Elezioni/funzionidata.php
- Timestamp:
- Mar 19, 2010, 11:37:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/funzionidata.php
r2 r36 5 5 6 6 7 function giorno( )7 function giorno($min,$max) 8 8 { 9 9 $giorno=''; 10 $giorni= array('01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31'); 10 if(!$min) $min='01'; 11 if(!$max) $max='31'; 12 $giorni=array(); 13 for($x=$min;$x<=$max;$x++) $giorni[]=$x; 14 #$giorni= array('01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31'); 11 15 foreach($giorni as $gi) 12 16 $giorno .= "<option value=$gi>$gi</option>"; … … 38 42 } 39 43 40 function ore( )44 function ore($min,$max) 41 45 { 42 46 $ora='';
Note:
See TracChangeset
for help on using the changeset viewer.