//$qs=getenv('QUERY_STRING');
//$queryString = explode(",",$qs);
$queryString = explode(",", $_SERVER['QUERY_STRING']);
$imageName = $queryString[0];
$type = $queryString[1];
$imageWidth =700;
$imageHeight=700;
?>
include './header_css2.inc'; ?>
echo $imageName; ?>
// echo "0: $queryString[0] 1: $queryString[1] _
";
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";
}
?>