Changeset 335 for trunk/client/temi


Ignore:
Timestamp:
Sep 22, 2020, 11:48:05 AM (4 years ago)
Author:
roby
Message:

client: corretta la visualizzazione dei voti ai candidati per il tema futura2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/temi/Futura2/function_theme.php

    r283 r335  
    562562
    563563function 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;
     564global $dbi,$bgcolor1, $bgcolor5,$bgcolor5, $prefix, $offset, $min,$descr_cons, $id_cons,$tipo_cons,$copy,$id_comune,$id_istat,$genere,$votog,$votol,$votoc,$circo,$siteistat;
    565565if ($siteistat==$id_comune) $logo='1'; else $logo=''; // logo per il  comune
    566566$bgcolor1="";   
     
    568568                $tab="ele_voti_candidati";
    569569
    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 ";
    571571                $res = $dbi->prepare("$sql");
    572572                $res->execute();
Note: See TracChangeset for help on using the changeset viewer.