diff --git a/podstat-uptime.php b/podstat-uptime.php index 1ec1e6cf3a0723451e097780a995b2ea97a17500..049651bff0e4b41294ea49ff7579757e36c451aa 100644 --- a/podstat-uptime.php +++ b/podstat-uptime.php @@ -17,7 +17,7 @@ $sql = " SELECT to_char(date_checked, 'yyyy MM') AS yymm, count(*) AS total_checks, - round(avg(online::INT),2)*100 AS uptime, + round(avg(online::INT),4)*100 AS uptime, round(avg(latency),2) * 1000 AS latency FROM checks WHERE domain = ? diff --git a/showmap.php b/showmap.php index ecfea8404f99dfcca299b644c59ad7dd61c6012d..f1f8dbc681ec2e871081c13c8f87eff6c0c1a4cf 100644 --- a/showmap.php +++ b/showmap.php @@ -82,7 +82,7 @@ try { } $feat .= sprintf( - '', + '', $services_list[$service]['img'], $services_list[$service]['title'] ); diff --git a/tabledata.php b/tabledata.php index c7c5560013c1b7ff24069134093718d61fe3304c..f8716fb3c261cec835bdb426b6906073d2e68cfb 100644 --- a/tabledata.php +++ b/tabledata.php @@ -113,7 +113,7 @@ foreach ($pods as $pod) { } printf( - '', + '', $services_list[$service]['img'], $services_list[$service]['title'] );