diff --git a/index.php b/index.php index b97cd0bb..ee596e57 100644 --- a/index.php +++ b/index.php @@ -48,10 +48,27 @@ +d > 1) + $gravitydate = $gravitydiff->format("Blocking list updated %a days, %H:%I ago"); + elseif($gravitydiff->d == 1) + $gravitydate = $gravitydiff->format("Blocking list updated one day, %H:%I ago"); + else + $gravitydate = $gravitydiff->format("Blocking list updated %H:%I ago"); +} +else +{ + $gravitydate = "Blocking list not found"; +} +?>
-
+

Domains on Blocklist

---