Changeset 995
- Timestamp:
- 08/19/10 15:52:46 (21 months ago)
- Files:
-
- 1 modified
-
trunk/htdocs/central/common/show_image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/central/common/show_image.php
r835 r995 5 5 header("Content-type: image/jpg"); 6 6 $img=$img_path.$arrHttp["base"]."/".$arrHttp["image"]; 7 $img=file($img);8 $imagen="";9 foreach ($img as $value) $imagen.=$value;10 echo $imagen;11 7 8 if(file_exists($img)){ 9 $img=file($img); 10 $imagen=""; 11 foreach ($img as $value) $imagen.=$value; 12 }else{ 13 14 $img=file($img_path."../central/images/icon/defaultButton_user.png"); 15 $imagen=""; 16 foreach ($img as $value) $imagen.=$value; 17 } 18 echo $imagen; 12 19 ?>
