Changeset 30 for trunk/client
- Timestamp:
- Mar 17, 2010, 8:11:46 PM (15 years ago)
- Location:
- trunk/client/modules/Elezioni
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici.php
r21 r30 67 67 // numero sezioni scrutinate 68 68 //if ($circo)$circos="and id_circ='$id_circ'"; 69 if (!isset($data1)) $data1=''; 70 if (!isset($ora_ril)) $ora_ril=''; 69 71 $res1 = mysql_query("SELECT count(data) FROM ".$prefix."_ele_voti_parziale as t3 left join ".$prefix."_ele_sezioni as t1 on t3.id_sez=t1.id_sez left join ".$prefix."_ele_sede as t2 on t1.id_sede=t2.id_sede where t1.id_cons='$id_cons' and data='$data1' and orario='$ora_ril' $circos group by t3.id_gruppo", $dbi); 70 72 # mysql_query("select * from ".$prefix."_ele_voti_parziale where id_cons='$id_cons' $circos group by id_sez ",$dbi); … … 217 219 */ 218 220 $res = mysql_query("select t1.* from ".$prefix."_ele_voti_".$tab." as t1 left join ".$prefix."_ele_$tab as t2 on t1.id_gruppo=t2.id_gruppo where t1.id_cons='$id_cons' $circos group by t1.id_sez ",$dbi); 219 $numero=mysql_num_rows($res); 221 if($res) 222 $numero=mysql_num_rows($res); 223 else 224 $numero=0; 220 225 $res = mysql_query("select t1.* from ".$prefix."_ele_sezioni as t1 left join ".$prefix."_ele_sede as t2 on t1.id_sede=t2.id_sede where t1.id_cons='$id_cons' $circos",$dbi); 221 226 $sezioni=mysql_num_rows($res); -
trunk/client/modules/Elezioni/gruppo.php
r20 r30 365 365 366 366 # nome della lista 367 if (!isset($list2)) $list2=''; 367 368 if (strstr( $op,'candidato')) { 368 369 $res_lis2 = mysql_query("SELECT num_lista, descrizione from ".$prefix."_ele_lista where id_lista=$id_lista",$dbi); … … 426 427 $pos[$z]=$res[0]; 427 428 } 429 if (!isset($pos)) $pos[0]=0; 428 430 $minpos=min($pos); 429 431 $maxpos=max($pos); -
trunk/client/modules/Elezioni/language/lang-en.php
r2 r30 153 153 define("_LISTE","Lists"); 154 154 define("_TEST","If you wont to test Eleonline start inserting username \"suser\" and password \"test\""); 155 define("_GESTIONE","managing vote counting and publishing results");155 #define("_GESTIONE","managing vote counting and publishing results"); 156 156 define("_TUTTESEDI","All electoral centers"); 157 157 define("_ATT_VOTI","Warning! ballots"); … … 265 265 define("_SEZNOS","Sections to be counted"); 266 266 define("_SEZSCR","Counted Sections"); 267 define("_LISTA","List");267 #define("_LISTA","List"); 268 268 define("_PREFLISTA","Ballots to the list"); 269 269 define("_CANDIDATO","Candidate"); … … 402 402 define("_EDIFICIO","Building"); 403 403 define("_MAPPA","Map"); 404 define("_LINK","Link");404 #define("_LINK","Link"); 405 405 define("_NUMERITEL","Telephon"); 406 406 define("_DESCRAPP","Deep Description"); … … 410 410 define("_ADMIN","A<br/>D<br/>M<br/>I<br/>N<br/>I<br/>S<br/>T<br/>R<br/>A<br/>T<br/>O<br/>R"); 411 411 define("_OPER","O<br/>P<br/>E<br/>R<br/>A<br/>T<br/>O<br/>R"); 412 define("_SCELTA_CONS","Choose an Election");412 #define("_SCELTA_CONS","Choose an Election"); 413 413 define("_GESRIS","managing elections"); 414 414 define("_INVIOSEGN","To contact us for signallings, demands or suggestions"); -
trunk/client/modules/Elezioni/votanti.php
r11 r30 224 224 } 225 225 } 226 $righet=''; 226 227 if($num_scr){ 227 228 $righet = "<tr class=\"bggray\">
Note:
See TracChangeset
for help on using the changeset viewer.