Ignore:
Timestamp:
May 16, 2019, 9:12:06 AM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

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

    r307 r309  
    524524$result->execute();
    525525}
    526 #######    controlli
    527         $sql="select * from ".$prefix."_ele_controlli where id_cons='$id_cons' and id_sez='$id_sez' ";
    528         $resc = $dbi->prepare("$sql");
    529         $resc->execute();
    530 if($resc->rowCount()){
     526
    531527// aggiunte le variabili $sgpl e $vnulli2 per la gestione dei voti 1) al solo presidente per singola lista - 2) al solo presidente per singola lista perché nullo o contestato quello di lista         
    532528                $isscr= $result->rowCount();
     
    549545
    550546                        list($tot) = $res2->fetch(PDO::FETCH_NUM);
    551                         if ($validi2+$vnulli2+$cont2+$sg+$bia2+$nul2+$con2+$vnul2!=$tot and $validi+$sg>0){
     547#######    controlli
     548        $sql="select * from ".$prefix."_ele_controlli where id_cons='$id_cons' and id_sez='$id_sez' ";
     549        $resc = $dbi->prepare("$sql");
     550        $resc->execute();
     551if($resc->rowCount()){                  if ($validi2+$vnulli2+$cont2+$sg+$bia2+$nul2+$con2+$vnul2!=$tot and $validi+$sg>0){
    552552                                echo "<table class=\"table-menu\" style=\"width: 50%;\"><tr><td style=\"background-color: rgb(255, 0, 0); color: black; text-align: center\"><img src=\"modules/Elezioni/images/alert.gif\" align=\"middle\" alt=\"\"><br><b> "._ATT_VOTANTI." ".$tot." "._NO_TOT_VOTI." ".($validi2+$vnulli2+$cont2+$sg+$bia2+$nul2+$con2+$vnul2)."</b><br></td></table>";
    553553                        }
Note: See TracChangeset for help on using the changeset viewer.