Changeset 361 for trunk/admin/modules
- Timestamp:
- Mar 17, 2022, 4:12:48 PM (3 years ago)
- Location:
- trunk/admin/modules/Elezioni
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_spoglio.php
r360 r361 592 592 }elseif(!$errcolor && $numrec) $errcolor="style=\"background-color: #99CC33;\""; 593 593 echo "<td align=\"center\" $errcolor><b> $num_lista </b></td>" 594 ."<td align=\"left\" onClick=\"vai_lista('id_rif$i');\"><b>$descr_lista</b></td>";594 ."<td align=\"left\" style=\"cursor: pointer;\" onClick=\"vai_lista('id_rif$i');\"><b>$descr_lista</b></td>"; 595 595 ## $cond_sele="and id_lista=$id_lista3"; 596 596 echo "<td align=\"right\"><input name=\"voti$i\" value=\"".$voti."\" size=\"7\" onfocus=\"select();\" style=\"text-align:right; $bordcolor;\"><input id=\"id_rif$i\" type=\"hidden\" name=\"id_lista$i\" value=\"$id_lista3\">"; -
trunk/admin/modules/Elezioni/ele_voti.php
r360 r361 91 91 92 92 93 if (!$res->rowCount()) die("Errore, non trovo circoscrizioni inserite! Consultare l'amministratore"); 93 if (!$res->rowCount()) die("Errore, non trovo circoscrizioni inserite! Consultare l'amministratore"); 94 94 list($id_circ)=$res->fetch(PDO::FETCH_NUM); 95 95 $_SESSION['id_circ']=$id_circ; 96 96 } 97 $sql="select id_sede from ".$prefix."_ele_sede where id_circ='$id_circ'"; 97 $sql="select id_sede from ".$prefix."_ele_sede where id_circ='$id_circ'"; 98 98 $result = $dbi->prepare("$sql"); 99 99 $result->execute(); … … 307 307 $rese->execute(); 308 308 $id_comune=$_SESSION['id_comune']; 309 $bordoa=''; 310 $bordog=''; 311 $bordol=''; 309 $bordoini="style='cursor: pointer;"; 310 $errbordoa=''; 311 $errbordog=''; 312 $errbordol=''; 312 313 while (list($tipo)=$rese->fetch(PDO::FETCH_NUM)) { 313 if ($tipo=='affluenze') $bordoa="style=\"border: 6px solid; border-color: rgb(255, 0, 0);\""; 314 if ($tipo=='gruppo' or $tipo=='referendum') $bordog="style=\"border: 6px solid; border-color: rgb(255, 0, 0);\""; 315 if ($tipo=='lista') $bordol="style=\"border: 6px solid; border-color: rgb(255, 0, 0);\""; 316 } 314 if ($tipo=='affluenze') $errbordoa="border: 6px solid; border-color: rgb(255, 0, 0);"; 315 if ($tipo=='gruppo' or $tipo=='referendum') $errbordog="border: 6px solid; border-color: rgb(255, 0, 0);"; 316 if ($tipo=='lista') $errbordol="border: 6px solid; border-color: rgb(255, 0, 0);"; 317 } 318 $bordoa=$bordoini.$errbordoa."'"; 319 $bordog=$bordoini.$errbordog."'"; 320 $bordol=$bordoini.$errbordol."'"; 317 321 echo "<SCRIPT type=\"text/javascript\">\n"; 318 322 echo "function vai_scelta(idrif){\n";
Note:
See TracChangeset
for help on using the changeset viewer.