Ignore:
Timestamp:
Mar 17, 2022, 4:12:48 PM (2 years ago)
Author:
roby
Message:

Terzo aggiornamento con modifiche per la gestione delle funzioni per cellulare oltre modifiche alla funzione di autorizzazione.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_voti.php

    r360 r361  
    9191
    9292
    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"); 
    9494                list($id_circ)=$res->fetch(PDO::FETCH_NUM);
    9595                $_SESSION['id_circ']=$id_circ;
    9696        }
    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'"; 
    9898$result = $dbi->prepare("$sql");
    9999$result->execute();
     
    307307$rese->execute();
    308308$id_comune=$_SESSION['id_comune'];
    309 $bordoa='';
    310 $bordog='';
    311 $bordol='';
     309$bordoini="style='cursor: pointer;";
     310$errbordoa='';
     311$errbordog='';
     312$errbordol='';
    312313while (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."'";
    317321echo "<SCRIPT type=\"text/javascript\">\n";
    318322echo "function vai_scelta(idrif){\n";
Note: See TracChangeset for help on using the changeset viewer.