Changeset 332 for trunk/admin
- Timestamp:
- Sep 8, 2020, 3:34:34 PM (4 years ago)
- Location:
- trunk/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r291 r332 17 17 #$LIMITE=3; //fascia di separazione del maggioritario (15.000 abitanti) 18 18 # tempo di sessione: ini_set('session.gc_maxlifetime','3600'); 19 global $multicomune; 19 20 20 21 // Adattamento variabili superglobal … … 181 182 $_SESSION['tema_on']=$row['tema_on']; 182 183 $_SESSION['ed_user']=$row['ed_user']; 184 $multicomune=$row['multicomune']; 183 185 } 184 186 //fine … … 338 340 echo ""._COMUNE."</td><td>"; 339 341 $row=elenco_comuni(); 342 $sql="select * from ".$prefix."_ele_comuni order by descrizione asc"; 343 $sth = $dbi->prepare("$sql"); 344 $sth->execute(); 345 $row = $sth->fetchAll(); 340 346 echo "<select name=\"id_comune\">"; 341 347 foreach($row as $comuni) -
trunk/admin/modules/Elezioni/ele_controlli.php
r328 r332 371 371 } 372 372 if (!$totsg) $totsg=$solog; 373 if ( $validil+$contestatil+$nullil+$totsg!=$votivand ($validil+$contestatil+$nullil+$solol>0 or $tvl>0)) {$err=1;$tipo='lista';}373 if (($totlis!=$votiv or $validil+$contestatil+$nullil+$totsg!=$votiv) and ($validil+$contestatil+$nullil+$solol>0 or $tvl>0)) {$err=1;$tipo='lista';} 374 374 if(($solog && !$disg && ($tnl!=$nullil && $disg)) || $totsl!=$solol) {$err=1;$tipo='lista';} 375 375 } -
trunk/admin/modules/Elezioni/ele_operatori.php
r257 r332 144 144 $sql="update ".$prefix."_authors set name='$name',pwd='".md5($passwd)."', email='$email' where id_comune='$id_comune' and aid='$aid2' "; 145 145 $res = $dbi->prepare("$sql"); 146 $res->execute(); 146 $res->execute(); 147 $result=$res->rowCount(); 147 148 if (!$result) return; 148 149 if ($aid2==$aid) $_SESSION['pwd']=md5($passwd); -
trunk/admin/versione.php
r330 r332 1 1 <?php 2 2 3 $versione = "3.0 rev 33 0";3 $versione = "3.0 rev 332"; 4 4 $version_number = $versione; 5 $version = "Eleonline $version_number (<i>Data Release: 20 aprile 2020</i>)";5 $version = "Eleonline $version_number (<i>Data Release: 08 settembre 2020</i>)"; 6 6 7 7 ?>
Note:
See TracChangeset
for help on using the changeset viewer.