O nás
Štruktúra
Členstvo
Podujatia
Aktuality
Komentáre
Kontakt
English version
// // /* Configuration */ $text = 0 ; // 0= graphic counter 1=text counter $file="counter/counterfile.count"; // File that will be used to count $images="counter/imagenes/"; // directory of images or http $imagesext=".gif"; // file extension .jpg.gif.xxx anything you like echo "Ste "; /* Do Not edit below this point unless you know what you are doing */ if (!file_exists($file)) // Look if file exists { $fp = fopen($file,"w"); echo $fp; //if it dosen't create it fputs ($fp,"0" ); // lets add a 0 in it } else { $fp = fopen($file,"r+"); }; $numcount= fread($fp,filesize($file)); fclose($fp); $numcount++; $fp = fopen($file,"w"); fputs ($fp,$numcount); if ($text) { echo $numcount; } else { $longstr = strlen($numcount); for ($x=0; $x < $longstr; $x++) { echo ""; } } echo " návštevník." ?>

Copyright 2000 [SEA-DB]. All rights reserved.
Revised: Oktober, 01, 2004