Lines Matching refs:file
42 $filecontents = file($captionfile);
63 while ($file = readdir($dh)) { variable
64 if (is_dir($currentdir.'/'.$file) && ($file[0] != '.')) {
65 $folders[] = $file;
66 } elseif (preg_match('#\\.(jpe?g|gif|png|bmp|tiff?)$#i', $file)) {
67 $pictures[] = $file;
83 foreach ($pictures as $file) {
84 $alt = (!empty($CAPTIONS[$file]) ? $CAPTIONS[$file] : $file);
85 …e style="float: left;">'.(!empty($CAPTIONS[$file]) ? '<caption align="bottom">'.htmlentities($CAPT…
87 …@$_REQUEST['dir'].'/'.$file.'&w='.$displaysize.'&h='.$displaysize.'&title='.urlencode(@$CAPTIONS[$…
89 …ERVER['PHP_SELF'].'?dir='.htmlentities(urlencode(@$_REQUEST['dir']).'&pic='.urlencode($file)).'">';
91 …echo '<img src="'.htmlentities(phpThumbURL('src='.urlencode($imgdir.@$_REQUEST['dir'].'/'.$file).'…