- Timestamp:
- May 21, 2024, 10:18:28 PM (6 months ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r406 r416 233 233 # if ($adminsuper==1) $id_comune2=0; else 234 234 $id_comune2=$id_comune; 235 $sth = $dbi->prepare("select pwd,adminop,adminsuper,counter,admlanguage from ".$prefix."_authors where aid='$aid' and (id_comune='$id_comune2' or adminsuper='1')");235 $sth = $dbi->prepare("select pwd,adminop,adminsuper,counter,admlanguage from ".$prefix."_authors where binary aid='$aid' and (id_comune='$id_comune2' or adminsuper='1')"); 236 236 $sth->execute(); 237 237 $esiste=$sth->rowCount(); -
trunk/admin/modules/Elezioni/aggiornadb.php
r411 r416 116 116 $sql="UPDATE `".$prefix."_authors` SET `adminop` = '1', `adminsuper` = '0',`admincomune` = '0' WHERE `".$prefix."_authors`.`aid` != 'admin' AND `".$prefix."_authors`.`adminsuper` != '1'"; 117 117 $ret=aggiorna($sql,$dbi,'',$num); 118 $sql="UPDATE `".$prefix."_authors` SET `adminop` = '0', `adminsuper` = '0',`admincomune` = '1' WHERE `".$prefix."_authors`.`aid` = 'admin' ";118 $sql="UPDATE `".$prefix."_authors` SET `adminop` = '0', `adminsuper` = '0',`admincomune` = '1' WHERE `".$prefix."_authors`.`aid` = 'admin' and `".$prefix."_authors`.`adminsuper` != '1'"; 119 119 $ret=aggiorna($sql,$dbi,'',$num); 120 120 $sql="UPDATE `".$prefix."_authors` SET `adminop` = '0', `adminsuper` = '1',`admincomune` = '0' WHERE `".$prefix."_authors`.`aid` = 'suser' or `".$prefix."_authors`.`adminsuper` = '1'"; -
trunk/admin/modules/Elezioni/ele_lista.php
r399 r416 42 42 43 43 // Offset - visualizza il numero di elementi per pagina 44 45 $offset=15; 44 if(isset($offsetliste) and $offsetliste>0) $offset=$offsetliste; else $offset=15; 46 45 $hiddenInfo = "<input type=\"hidden\" name=\"min\" value=\"$min\">"; 47 46 -
trunk/admin/versione.php
r415 r416 1 1 <?php 2 2 3 $versione = "3.0 rev 41 5";3 $versione = "3.0 rev 416"; 4 4 $version_number = $versione; 5 $datarel = " 17maggio 2024";5 $datarel = "21 maggio 2024"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7 -
trunk/client/modules/Elezioni/index.php
r414 r416 1102 1102 // funzione visualizzazione delle liste per camera e senato con raggruppamenti/coalizioni 1103 1103 function liste(){ 1104 global $id_cons,$id_cons_gen,$prefix,$dbi,$min,$offset,$op,$tipo_cons,$prev,$next,$votog,$votol,$circo,$genere,$id_comune,$id_circ ;1104 global $id_cons,$id_cons_gen,$prefix,$dbi,$min,$offset,$op,$tipo_cons,$prev,$next,$votog,$votol,$circo,$genere,$id_comune,$id_circ,$offsetliste; 1105 1105 //dati(); 1106 $offset=10;1106 if(isset($offsetliste) and $offsetliste>0) $offset=$offsetliste; else $offset=10; 1107 1107 if (!isset($min)) $min=0; 1108 1108 … … 1112 1112 $sql="select * from ".$prefix."_ele_voti_ref where id_cons='$id_cons' group by id_sez "; 1113 1113 }else{ 1114 $sql="select t1. *from ".$prefix."_ele_voti_gruppo as t1 left join ".$prefix."_ele_gruppo as t2 on t1.id_gruppo=t2.id_gruppo where t2.id_cons='$id_cons' $circos group by t1.id_sez ";1114 $sql="select t1.id_sez from ".$prefix."_ele_voti_gruppo as t1 left join ".$prefix."_ele_gruppo as t2 on t1.id_gruppo=t2.id_gruppo where t2.id_cons='$id_cons' $circos group by t1.id_sez "; 1115 1115 } 1116 1116 $res = $dbi->prepare("$sql"); -
trunk/client/temi/bsitalia/style.css
r414 r416 338 338 border: 1px dotted #FF6666; 339 339 padding: 2px; 340 width: 450px;340 width: 100%; 341 341 background-color: #FFFFEF; 342 342 } -
trunk/client/versione.php
r415 r416 1 1 <?php 2 2 3 $versione = "3.0 rev 41 5";3 $versione = "3.0 rev 416"; 4 4 $version_number = $versione; 5 $datarel = " 17maggio 2024";5 $datarel = "21 maggio 2024"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7
Note:
See TracChangeset
for help on using the changeset viewer.