"; if (strcmp($imageName,"")!=0) { // Increment by one the view count for current picture if(!$_COOKIE["jf_ignore"]){ $nbc = 0; $fname="./comments/$imageName.count"; if(file_exists($fname)) { $nbc = file_get_contents($fname); } $file = fopen($fname, 'w'); $nbc = $nbc+1; fwrite($file, "$nbc\n"); fclose($file); } } else { echo " \n"; echo "Click \"slideshow\" link or a thumbnail in left frame\n"; } ?>