Changeset 424 for trunk/admin/modules/Elezioni/ele.php
- Timestamp:
- Jun 13, 2024, 7:18:22 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele.php
r403 r424 66 66 function ele() { 67 67 68 global $espandi, $aid, $bgcolor1, $bgcolor2,$bgcolor5, $prefix, $dbi, $offset, $min,$descr_cons, $id_cons_gen,$tipo_cons,$genere,$op,$id_comune,$perms,$id_cons,$votog,$votol,$votoc,$votocirc,$tema,$fascia,$limite ;68 global $espandi, $aid, $bgcolor1, $bgcolor2,$bgcolor5, $prefix, $dbi, $offset, $min,$descr_cons, $id_cons_gen,$tipo_cons,$genere,$op,$id_comune,$perms,$id_cons,$votog,$votol,$votoc,$votocirc,$tema,$fascia,$limite,$BACKUP; 69 69 70 70 include ("header.php"); … … 162 162 if ($perms>128) { 163 163 164 165 164 # <a href=\"admin.php?op=inscollegi&id_cons_gen=$id_cons_gen\">$bullet"._COLLEGI."</a><br> 166 165 167 echo "166 echo " 168 167 <tr align=\"left\" bgcolor=\"$bgcolor1\"> 169 168 <td valign=\"top\" align=\"center\" bgcolor=\"#000000\" rowspan=\"3\"><font face=\"Arial,Helvetica\" size=-1><font color=\"#ffffff\"><b>"._SUPER." 170 171 </b></font></font> 172 173 </td> 174 <td valign=\"top\" align=\"left\" width=\"150\"> 175 176 177 <a href=\"admin.php?op=configurazione&id_cons_gen=$id_cons_gen\">$bullet"._CONFIGURAZIONE."</a><br>"; 178 if($op=="configurazione" || $op=="widget" || $op=="plugin"){ 179 echo " - <a href=\"admin.php?op=widget&id_cons_gen=$id_cons_gen\"> "._WIDGET."</a>"; 180 echo "<br> - "._PLUGINS.""; 181 echo "<hr>"; 182 } 183 $newrev=$_SESSION['remoterev']; 184 $myrev=$_SESSION['localrev']; 185 if($newrev==$myrev or $newrev==0) echo "<a href=\"admin.php?op=aggiorna&id_cons_gen=$id_cons_gen\">$bullet"._AGGIORNA."</a><br>"; 186 else echo "<a href=\"admin.php?op=aggiorna&id_cons_gen=$id_cons_gen\">$bullet_red<b>"._AGGIORNA."</b></a><br>"; 187 echo "<a href=\"admin.php?op=confconsiglio&id_cons_gen=$id_cons_gen\">$bullet"._CONFCONS."</a> 188 </td></tr><tr align=\"left\" bgcolor=\"$bgcolor1\"><td> 189 <a href=\"admin.php?op=inscomuni&id_cons_gen=$id_cons_gen\">$bullet"._DEFCOMUNE."</a><br> 190 <a href=\"admin.php?op=oper_admin&id_cons_gen=$id_cons_gen\">$bullet"._AMMINISTRATORI."</a> 191 </td></tr><tr align=\"left\" bgcolor=\"$bgcolor1\"><td> 192 <a href=\"admin.php?op=consultazione&id_cons_gen=$id_cons_gen\">$bullet"._CONSULTAZIONE_ADM."</a><br>"; 193 echo "<a href=\"admin.php?op=rec_add_aff&id_cons_gen=$id_cons_gen\">$bullet"._AFFLUENZE."</a><br> 194 <a href=\"admin.php?op=associazioni&id_cons_gen=$id_cons_gen\">$bullet"._INSCOMUNE."</a> 195 </td></tr>"; 196 # <br><a href=\"http://www.eleonline.it/portal/segnala.php?tmp=test123\" target=\"_blank\">$bullet_red <b>"._SEGNALA."</b></a> 197 198 # <a href=\"admin.php?op=backup&id_cons_gen=$id_cons_gen\">$bullet"._BACKUP."</a><br> 199 # <a href=\"admin.php?op=restore&id_cons_gen=$id_cons_gen\">$bullet"._RESTORE."</a> 200 201 } 169 </b></font></font> 170 </td>"; 171 if(!$BACKUP){ 172 echo "<td valign=\"top\" align=\"left\" width=\"150\">"; 173 echo "<a href=\"admin.php?op=configurazione&id_cons_gen=$id_cons_gen\">$bullet"._CONFIGURAZIONE."</a><br>"; 174 if($op=="configurazione" || $op=="widget" || $op=="plugin"){ 175 echo " - <a href=\"admin.php?op=widget&id_cons_gen=$id_cons_gen\"> "._WIDGET."</a>"; 176 echo "<br> - "._PLUGINS.""; 177 echo "<hr>"; 178 } 179 $newrev=$_SESSION['remoterev']; 180 $myrev=$_SESSION['localrev']; 181 if($newrev==$myrev or $newrev==0) echo "<a href=\"admin.php?op=aggiorna&id_cons_gen=$id_cons_gen\">$bullet"._AGGIORNA."</a><br>"; 182 else echo "<a href=\"admin.php?op=aggiorna&id_cons_gen=$id_cons_gen\">$bullet_red<b>"._AGGIORNA."</b></a><br>"; 183 echo "<a href=\"admin.php?op=confconsiglio&id_cons_gen=$id_cons_gen\">$bullet"._CONFCONS."</a> 184 </td></tr><tr align=\"left\" bgcolor=\"$bgcolor1\"><td> 185 <a href=\"admin.php?op=inscomuni&id_cons_gen=$id_cons_gen\">$bullet"._DEFCOMUNE."</a><br> 186 <a href=\"admin.php?op=oper_admin&id_cons_gen=$id_cons_gen\">$bullet"._AMMINISTRATORI."</a> 187 </td></tr><tr align=\"left\" bgcolor=\"$bgcolor1\"><td> 188 <a href=\"admin.php?op=consultazione&id_cons_gen=$id_cons_gen\">$bullet"._CONSULTAZIONE_ADM."</a><br>"; 189 echo "<a href=\"admin.php?op=rec_add_aff&id_cons_gen=$id_cons_gen\">$bullet"._AFFLUENZE."</a><br> 190 <a href=\"admin.php?op=associazioni&id_cons_gen=$id_cons_gen\">$bullet"._INSCOMUNE."</a>"; 191 }else{ 192 echo "</tr><tr align=\"left\" bgcolor=\"$bgcolor1\"><td valign=\"top\" align=\"left\" width=\"150\" rowspan=\"2\">"; 193 echo "<a href=\"admin.php?op=aggcons&id_cons_gen=$id_cons_gen\">$bullet"._AGGDATI."</a>"; 194 echo "</td></tr><tr><td>"; 195 } 196 echo "</td></tr>"; 197 # <br><a href=\"http://www.eleonline.it/portal/segnala.php?tmp=test123\" target=\"_blank\">$bullet_red <b>"._SEGNALA."</b></a> 198 199 # <a href=\"admin.php?op=backup&id_cons_gen=$id_cons_gen\">$bullet"._BACKUP."</a><br> 200 201 } 202 202 // Amministrazione locale solo superuser e adminuser 203 if ($perms>16 and ! $espandi ) {203 if ($perms>16 and ! $espandi and !$BACKUP) { 204 204 echo " 205 205 <tr bgcolor=\"$bgcolor1\"> … … 267 267 <td valign=\"top\" width=\"150\">"; 268 268 if ($op!='consultazione' and $perms>0 and $nrcirco and ($nrlista or $nrgruppo) and ! $espandi) { 269 echo "<a href=\"admin.php?op=voti&id_cons_gen=$id_cons_gen&do=spoglio\">$bullet "._GEST." "._SPOGLIO."</a><br>";269 if(!$BACKUP) echo "<a href=\"admin.php?op=voti&id_cons_gen=$id_cons_gen&do=spoglio\">$bullet "._GEST." "._SPOGLIO."</a><br>"; 270 270 if ($nraff) { 271 271 echo "<a href=\"admin.php?op=controllo_votanti&id_cons_gen=$id_cons_gen\">$bullet "._STATO." "._AFFLUENZE."</a><br>";
Note:
See TracChangeset
for help on using the changeset viewer.