Changeset 335 for trunk/client/temi
- Timestamp:
- Sep 22, 2020, 11:48:05 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/temi/Futura2/function_theme.php
r283 r335 562 562 563 563 function graf_candidato_mob(){ 564 global $db ,$bgcolor1, $bgcolor5,$bgcolor5, $prefix, $offset, $min,$descr_cons, $id_cons,$tipo_cons,$copy,$id_comune,$id_istat,$genere,$votog,$votol,$votoc,$circo,$siteistat;564 global $dbi,$bgcolor1, $bgcolor5,$bgcolor5, $prefix, $offset, $min,$descr_cons, $id_cons,$tipo_cons,$copy,$id_comune,$id_istat,$genere,$votog,$votol,$votoc,$circo,$siteistat; 565 565 if ($siteistat==$id_comune) $logo='1'; else $logo=''; // logo per il comune 566 566 $bgcolor1=""; … … 568 568 $tab="ele_voti_candidati"; 569 569 570 $sql="select *from ".$prefix."_ele_voti_candidati where id_cons='$id_cons' group by id_sez ";570 $sql="select id_sez from ".$prefix."_ele_voti_candidati where id_cons='$id_cons' group by id_sez "; 571 571 $res = $dbi->prepare("$sql"); 572 572 $res->execute();
Note:
See TracChangeset
for help on using the changeset viewer.