Changeset 288 for trunk/admin/modules/Elezioni/ele_voti.php
- Timestamp:
- Apr 24, 2019, 10:44:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_voti.php
r286 r288 745 745 from ".$prefix."_ele_lista where id_cons='$id_cons' $circo 746 746 order by num_lista"; 747 $result1 = $dbi->prepare("$sql"); 748 $result1->execute(); 749 750 747 $result1 = $dbi->prepare("$sql"); 748 $result1->execute(); 751 749 } 750 $tvnpl=0; 751 $tslpl=0; 752 752 while (list($voti,$id_lista3,$descr_lista,$simb_lista,$num_lista,$vnpl,$slpl,$rifgruppo)=$result1->fetch(PDO::FETCH_NUM)){ 753 753 echo "<tr bgcolor=\"$bgcolor2\">"; … … 760 760 $cond_sele="and id_lista=$id_lista3"; 761 761 echo "<td align=\"right\" $errcolor><input name=\"voti$i\" value=\"".$voti."\" size=\"7\" style=\"text-align:right\">"; 762 if($dettnulli && !$disgiunto && $tipo_cons!=18 && $tipo_cons!=19) echo "</td><td align=\"right\"><input name=\"vnpl$i\" value=\"".$vnpl."\" size=\"7\" style=\"text-align:right\">";763 if($disgiunto) echo "</td><td align=\"right\"><input name=\"slpl$i\" value=\"".$slpl."\" size=\"7\" style=\"text-align:right\">";762 if($dettnulli && !$disgiunto && $tipo_cons!=18 && $tipo_cons!=19) { echo "</td><td align=\"right\"><input name=\"vnpl$i\" value=\"".$vnpl."\" size=\"7\" style=\"text-align:right\">"; $tvnpl+=$vnpl;} 763 if($disgiunto) {echo "</td><td align=\"right\"><input name=\"slpl$i\" value=\"".$slpl."\" size=\"7\" style=\"text-align:right\">"; $tslpl+=$slpl;} 764 764 echo "<input type=\"hidden\" name=\"id_lista$i\" value=\"$id_lista3\"></td>"; 765 765 // echo "<td align=\"right\">$sgpl"; … … 769 769 } 770 770 } 771 if(!$id_lista) echo "<tr bgcolor=\"$bgcolor1\"><td></td><td>"._TOT._VOTI_LISTA."</td><td align=\"center\">$tot_pref</td></tr>"; 771 if(!$id_lista) { 772 echo "<tr bgcolor=\"$bgcolor1\"><td></td><td><font size=\"3\">"._TOT._VOTI_LISTA."</font></td><td align=\"center\"><font size=\"3\">$tot_pref</font></td>"; 773 if($dettnulli && !$disgiunto && $tipo_cons!=18 && $tipo_cons!=19) 774 echo "<td bgcolor=\"$bgcolor1\" align=\"center\"><font size=\"3\">".$tvnpl."</font></td>"; 775 if($disgiunto) 776 echo "<td bgcolor=\"$bgcolor1\" align=\"center\"><font size=\"3\">".$tslpl."</font></td>"; 777 echo "</tr>"; 778 } 772 779 else echo "<tr bgcolor=\"$bgcolor1\"><td></td><td>"._TOTPREF."</td><td align=\"center\">$tot_pref</td></tr>"; 773 780 // toglie ai candidati la visual... del solo_gruppo
Note:
See TracChangeset
for help on using the changeset viewer.