Changeset 416 for trunk/admin/modules
- Timestamp:
- May 21, 2024, 10:18:28 PM (6 months ago)
- Location:
- trunk/admin/modules/Elezioni
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.