diff --git a/counter/gcount.php b/counter/gcount.php index e4ccadf..1d9b006 100644 --- a/counter/gcount.php +++ b/counter/gcount.php @@ -147,8 +147,9 @@ if ($min_digits) { // Print out Javascript code and exit $len = strlen($count); for ($i = 0; $i < $len; $i++) { - $url = $base_url . $style_dir . substr($count, $i, 1) . '.' . $ext; - echo 'document.write(\'\');'; + $digit = substr($count, $i, 1); + $url = $base_url . $style_dir . $digit . '.' . $ext; + echo 'document.write(\''. $digit .'\');'; } exit(); diff --git a/index.php b/index.php index 9f2acf8..1ad5582 100644 --- a/index.php +++ b/index.php @@ -53,7 +53,7 @@ $taglines = file("taglines.txt");

-

play with some ascii art

+

play with some ascii art

@@ -85,7 +85,7 @@ $taglines = file("taglines.txt");
-

page hits as of jan 2020

+

page hits as of jan 2020