Ignore:
Timestamp:
May 23, 2014, 10:52:19 AM (11 years ago)
Author:
roby
Message:

admin: perfezionamento della rev 216

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_voti.php

    r217 r218  
    211211
    212212                                if(($testvotit*$testpref)<$testvotic) {$testcand=1;break;}
     213                                $res4= mysql_query("SELECT t1.voti FROM ".$prefix."_ele_voti_candidati as t1 left join ".$prefix."_ele_candidati as t2 on t1.id_cand=t2.id_cand where t1.id_cons='$id_cons' and  t1.id_sez='$id_sez' and t2.id_lista='$testlista'", $dbi);
     214                                while( list($testvotic)=mysql_fetch_row($res4))
     215                                        if(($testvotit)<$testvotic) {$testcand=1;break;}
    213216                                }
    214217                                if($testcand==0)
Note: See TracChangeset for help on using the changeset viewer.