diff --git a/core/_header.php b/core/_header.php index 5d909d5..5736437 100644 --- a/core/_header.php +++ b/core/_header.php @@ -16,3 +16,4 @@ + diff --git a/core/getStats.php b/core/getStats.php index 337e078..f9c28f5 100644 --- a/core/getStats.php +++ b/core/getStats.php @@ -71,5 +71,6 @@ function getHours($anno, $db_conn){ while($ris = mysqli_fetch_array ($risultato, MYSQLI_ASSOC)){ $hours[$ris['ora']] = $ris['n_inter']; } + return $hours; } ?> diff --git a/stats.php b/stats.php index 93d9b85..7300198 100644 --- a/stats.php +++ b/stats.php @@ -61,7 +61,7 @@
-
+

Statistiche


-
-
- + - -
Numeri di interventi nell'anno:
+ +
Fascie orarie:
- - -
+ + +
+ +
+
+
' ); + jQuery('stats-container').css('max-height', jQuery(document).height() - '100px');