From b8e92181125ab11f8c492feef68ca9735ebc555a Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Thu, 2 Jan 2020 22:03:34 +0100 Subject: [PATCH] =?UTF-8?q?Lista=20istanze=20pi=C3=B9=20compatta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/admin/include/glob.php | 2 +- web/admin/instances.php | 110 +++++++++++++++++++++++++++++++++---- web/admin/theme.css | 87 +++++++++++++++++++++++++---- 3 files changed, 176 insertions(+), 23 deletions(-) diff --git a/web/admin/include/glob.php b/web/admin/include/glob.php index af9f50c..e513489 100644 --- a/web/admin/include/glob.php +++ b/web/admin/include/glob.php @@ -3,7 +3,7 @@ header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1. header("Pragma: no-cache"); // HTTP 1.0. header("Expires: 0"); // Proxies. - +setlocale(LC_ALL,'it','it_IT','it_IT.UTF-8'); define('N',"\n"); $cjrand=rand(0,999999); diff --git a/web/admin/instances.php b/web/admin/instances.php index bbb7ea6..0094367 100644 --- a/web/admin/instances.php +++ b/web/admin/instances.php @@ -8,17 +8,43 @@ buildmenu($menu); require('include/myconn.php'); -function nully($val,$filter='') { +function nully($val,$fem,$filter,$ntext=null) { if (!is_null($val)) { if ($filter=='strip') { return(strip_tags($val,'