Ignore:
Timestamp:
Feb 22, 2022, 10:40:08 PM (3 years ago)
Author:
roby
Message:

Admin: aggiunta la funzione di gestione dello spoglio per la singola sezione tramite tema per cellulari

File:
1 edited

Legend:

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

    r344 r358  
    4848$res = $dbi->prepare("$query");
    4949$res->execute();
    50 $BASE=substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['REQUEST_URI'], "/")-16);
    51 list($id_cons)=$res->fetch(PDO::FETCH_NUM);
     50list($id_cons)=$res->fetch(PDO::FETCH_NUM);
    5251$query="select id_parz from ".$prefix."_ele_voti_parziale where data='$data' and orario='$orario' and id_sez='$id_sez' and id_gruppo='$id_gruppo'";
    5352$res = $dbi->prepare("$query");
    5453$res->execute();         
    5554$righe=$res->rowCount();
    56 list($id_parz)=$res->fetch(PDO::FETCH_NUM);
     55list($id_parz)=$res->fetch(PDO::FETCH_NUM); 
    5756if($righe){ #la riga Ú presente e viene aggiorata
    5857        $arr=$res->fetch(PDO::FETCH_BOTH);
     
    8887controllo_aff($id_cons,$id_sez,$id_parz);
    8988include("ele_colora_sez.php");
     89$BASE=substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['REQUEST_URI'], "/")-16);
    9090
    9191Header("Location: ".$BASE."admin.php?op=voti&id_cons_gen=$id_cons_gen&id_circ=$id_circ&id_sede=$id_sede&id_sez=$id_sez&ops=1&do=spoglio");
Note: See TracChangeset for help on using the changeset viewer.