From 4092d3d5a8b68704c8e774100f7cf2f49f8ac7de Mon Sep 17 00:00:00 2001 From: cmaffio Date: Mon, 16 Oct 2017 16:57:58 +0200 Subject: [PATCH] Fix menu per tablet --- core/function.php | 7 +++- risorse/stili/stile.css | 19 +++++++++ utenti/index.php | 85 +---------------------------------------- utenti/out.txt | 18 --------- utenti/utenti_lista.php | 84 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 109 insertions(+), 104 deletions(-) mode change 100755 => 120000 utenti/index.php delete mode 100644 utenti/out.txt create mode 100755 utenti/utenti_lista.php diff --git a/core/function.php b/core/function.php index 01316b7..96fa09d 100755 --- a/core/function.php +++ b/core/function.php @@ -432,9 +432,10 @@ function lista_moduli () { } ?>
  • - +
    + + +
  • diff --git a/risorse/stili/stile.css b/risorse/stili/stile.css index f12dd8d..8bb2d18 100644 --- a/risorse/stili/stile.css +++ b/risorse/stili/stile.css @@ -115,6 +115,25 @@ td.colimg { font-family: verdana; font-size: 11px; text-align: left; height:1px background:#5191D5; text-decoration:underline; } +#nav div{ + display:block; + padding:3px; + color:#fff; + background:#333; + text-decoration:none; +} +#nav div.sel{ + display:block; + padding:3px; + color:#fff; + background:#888; + text-decoration:none; +} +#nav div:hover{ + color:#fff; + background:#5191D5; + text-decoration:underline; +} /*--- DROPDOWN ---*/ #nav ul{ diff --git a/utenti/index.php b/utenti/index.php deleted file mode 100755 index fe3abc0..0000000 --- a/utenti/index.php +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - Aggiungi utente - - -riga(); -$query = "SELECT id, utente, admin, creazione, modifica, ultimo, attivo FROM utenti ORDER BY utente"; -$res = mysql_query( $query, $DB_ID ); -while ($dato = mysql_fetch_array ( $res )) { - - $query = "SELECT sessione FROM accessi_utenti WHERE utente = '".$dato['utente']."' GROUP BY sessione"; - $resutente = mysql_query( $query, $DB_ID ); - $records = mysql_num_rows($resutente); -?> - - - - - Utente attivo - - Utente non attivo - - - Proprieta' - - Admin - - Utente - - - Utente - - Creazione - - Ultima Modifica - - Ultimo accesso - - Numero accessi - - Gestione regole - - - - - - - - - - - - - - Grafico Utilizzo - -riga(); -} -$tabella->close(); -view_footer(); -?> diff --git a/utenti/index.php b/utenti/index.php new file mode 120000 index 0000000..f4bf2d3 --- /dev/null +++ b/utenti/index.php @@ -0,0 +1 @@ +utenti_lista.php \ No newline at end of file diff --git a/utenti/out.txt b/utenti/out.txt deleted file mode 100644 index 7a74579..0000000 --- a/utenti/out.txt +++ /dev/null @@ -1,18 +0,0 @@ - - INSERT INTO - permessi - SET - id_utenti = 2, - id_moduli = ( SELECT - id - FROM - moduli - WHERE - nome = 'Utenti' AND attivo = 1 - ), - accesso = 1, - modifica = NOW() - ON DUPLICATE KEY UPDATE - accesso = 1, - modifica = NOW() - diff --git a/utenti/utenti_lista.php b/utenti/utenti_lista.php new file mode 100755 index 0000000..fe3abc0 --- /dev/null +++ b/utenti/utenti_lista.php @@ -0,0 +1,84 @@ + + + + + + + Aggiungi utente + + +riga(); +$query = "SELECT id, utente, admin, creazione, modifica, ultimo, attivo FROM utenti ORDER BY utente"; +$res = mysql_query( $query, $DB_ID ); +while ($dato = mysql_fetch_array ( $res )) { + + $query = "SELECT sessione FROM accessi_utenti WHERE utente = '".$dato['utente']."' GROUP BY sessione"; + $resutente = mysql_query( $query, $DB_ID ); + $records = mysql_num_rows($resutente); +?> + + + + + Utente attivo + + Utente non attivo + + + Proprieta' + + Admin + + Utente + + + Utente + + Creazione + + Ultima Modifica + + Ultimo accesso + + Numero accessi + + Gestione regole + + + + + + + + + + + + + + Grafico Utilizzo + +riga(); +} +$tabella->close(); +view_footer(); +?>