KGC.cc
 

Upcoming Events

Date Time Event
   
02/19/06 2-4pm Music Appreciation
03/25/06 7-9pm Music Appreciation
04/15/06 7-9pm Music Appreciation
     
     

To list an event, fill out the Event Listing Form


Return to:  Top/Menu   Home Page   Site Map

// // /* Configuration */ $text = 1 ; // 0= graphic counter 1=text counter $file="z-events.count"; // File that will be used to count $images="dig990000/"; // directory of images or http $imagesext=".gif"; // file extension .jpg, .gif or whatever your digits are /* 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"); //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 ""; } } ?>