// // r16 17.03.2005 // error_reporting(E_ALL ^ E_NOTICE); $v="1 r16 17.03.2005"; include ("include/version.inc.php"); $f_cached=0; $f_desc=1; $f_margin=0; $f_col1='666666'; $f_col2='CCCCCC'; $f_popdisplay='1,1,1,1,1,1,0'; import_request_variables ('gp','f_'); list($w, $h, $t) = getImageSize($f_path); $size=filesize('./'.$f_path); $date=date('M-d-Y', filectime('./'.$f_path)); if ($f_posx and $f_posy) { $posx=$f_posx; $posy=$f_posy; } else { $posx=$h/2; $posy=$w/2; } if(file_exists('./'.$f_path) and $f_desc) { $path_parts = pathinfo('./'.$f_path); $dir=$path_parts["dirname"]; $file=$path_parts["basename"]; $descr=""; $dfile=$dir.'/descr.txt'; /* [imageinswf][heading][imageattributes][description][globalurl] */ $popdisplay = explode (',',$f_popdisplay); if($lines = @file($dfile)) { foreach($lines as $str) { list($key,$var)= explode("\t", $str); $data[$key]=$var; } if(in_array($file,array_keys($data))) $descr=nl2br(urldecode($data[$file]));//$t->assign ('descr',nl2br(urldecode($data[$file]))); } } $twidth=100;$w<400?400:$w; //:$w-205-$f_margin*2; $size=round($size/1024); $prepath=stripslashes($_SERVER["HTTP_HOST"]).stripslashes(dirname($_SERVER["PHP_SELF"])).'/'; // $prepath='http://'.str_replace ('//','/',str_replace ('\\','/',$prepath)); $file=basename($f_path); $query=urlencode($_SERVER['QUERY_STRING']); /*echo "
Dimensions: x Size: Kb Date: |
}
if ($popdisplay[3]=='1'){ ?>
} ?> |