|
|
|

This
page has been visited
#####################################################################
#
# Counter
#
$version = "0,21";
#####################################################################
# If you want a textcounter, write "text". If you want an image counter, write "image".
$counterstyle = "text";
$invisible = "no";
$height = "19";
$width = "15";
$hitsfile = "";
$images = "";
if (!$hitsfile) $hitsfile = hits;
if (!$images) $images = dirname(__FILE__)."/images";
$images = str_replace($DOCUMENT_ROOT, "", $images);
$hits = file($hitsfile);
$hits = $hits[0] + 1;
# Opening the hits file and writing the number of hits:
$fp = fopen($hitsfile, "w");
fwrite($fp, $hits);
if ($invisible != "yes") {
# Text counter
if ($counterstyle == "text") {
echo $hits;
}
else {
$digit = strval($hits);
for ($i = 0; $i < strlen($hits); $i++) {
echo " ";
}
}
}
?>
times.
Latest updated on "18th January, 2002"
|
| |
| |
|
|
|