Changeset 150


Ignore:
Timestamp:
May 10, 2012, 12:14:59 PM (12 years ago)
Author:
roby
Message:

segue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/grafici.php

    r149 r150  
    374374        if ($circo){
    375375                $res = mysql_query("select t1.*  from ".$prefix."_ele_voti_gruppo as t1, ".$prefix."_ele_gruppo as t2 where t1.id_gruppo=t2.id_gruppo and t1.id_cons='$id_cons' and t2.id_circ=$id_circ group by t1.id_sez ",$dbi);
    376                 $ressez = mysql_query("select t1.*  from ".$prefix."_ele_voti_lista as t1, ".$prefix."_ele_lista as t2 where t1.id_lista=t2.id_lista and t1.id_cons='$id_cons' and t2.id_circ=$id_circ group by t1.id_sez ",$dbi);
    377376                $restotv = mysql_query("select sum(t1.voti)  from ".$prefix."_ele_voti_gruppo as t1, ".$prefix."_ele_gruppo as t2 where t1.id_gruppo=t2.id_gruppo and t1.id_cons='$id_cons' and t2.id_circ=$id_circ",$dbi);
    378377                $circond="and id_circ=$id_circ";$circondt1="and t1.id_circ=$id_circ";
     
    402401                if ($genere!=4 and !$visgralista){
    403402                        echo "<b>"._PREFERENZE." "._GRUPPO." $descr_cons </b>";
    404                         echo "<i>- "._SEZSCRU." $numero "._SU." $sezioni </i>";
    405403                }else{
    406                         if ($ressez) $numero=mysql_num_rows($ressez);else $numero=0;
    407404                        echo "<b>"._PREFERENZE." "._LISTA." $descr_cons </b>";
    408                         echo "<i>- "._SEZSCRU." $numero "._SU." $sezioni </i>";
    409405                }
     406                echo "<i>- "._SEZSCRU." $numero "._SU." $sezioni </i>";
    410407                echo "</h2></center>";
    411408
Note: See TracChangeset for help on using the changeset viewer.