aboutsummaryrefslogtreecommitdiff
path: root/html/hits.phtml
diff options
context:
space:
mode:
authorDavid Aspinall2000-09-28 15:01:50 +0000
committerDavid Aspinall2000-09-28 15:01:50 +0000
commitbd7aa7923a25d16207842f9f3d6b773c2fc6fa58 (patch)
tree8f5733bf63e8c880e65472b3ebf745b1026698e3 /html/hits.phtml
parent2c253444d0b93cf7628ab030e6a5f1ad24fa20fd (diff)
Renamed file
Diffstat (limited to 'html/hits.phtml')
-rw-r--r--html/hits.phtml26
1 files changed, 0 insertions, 26 deletions
diff --git a/html/hits.phtml b/html/hits.phtml
deleted file mode 100644
index 6d5c2be6..00000000
--- a/html/hits.phtml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
- $counterFile = "counter.txt";
- $counterStart = "counterstart.txt";
- $maxlen=10;
- require('functions.php3');
- small_header("Hit counter");
- print "<p>";
- if (is_readable($counterFile)) {
- print "These pages have been accessed ";
- readfile($counterFile);
- print " times ";
- if (is_readable($counterStart)) {
- $fp=fopen($counterStart,"r");
- $start=fgets($fp,20);
- print "since ";
- print strftime("%d %B %Y",$start);
- print ".\n";
- } else {
- print "<br>\n(could not access time stamp file $counterStart)\n";
- };
- } else {
- echo "Could not access hit counter file $counterFile\n";
- };
- print "</p>";
- footer();
-?>