diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index 1548776b1..a053e6008 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -28,16 +28,16 @@ function get_image($img, $width=0, $height=0)
$width = $size[0];
$height = $size[1];
}
- $str = '';
+ $str = '
';
}
else
{
- $str = '
';
}
@@ -152,7 +152,7 @@ function upload_file($srcfile, $destfile, $dir)
if ($destfile == "") return false;
// 업로드 한후 , 퍼미션을 변경함
@move_uploaded_file($srcfile, $dir.'/'.$destfile);
- @chmod($dir'./.'$destfile, 0606);
+ @chmod($dir.'/'.$destfile, 0606);
return true;
}
@@ -216,7 +216,7 @@ function display_type($type, $skin_file, $list_mod, $list_row, $img_width, $img_
return false;
}
- $file = G4_SHOP_PATH.'/'$skin_file;
+ $file = G4_SHOP_PATH.'/'.$skin_file;
if (!file_exists($file)) {
echo $file.' 파일을 찾을 수 없습니다.';
} else {
@@ -690,9 +690,9 @@ function display_relation_item($it_id, $width, $height, $rows=3)
if(is_file($full_img)) {
$img_url = G4_DATA_URL.'/item/'.$row['it_id'].'_s';
- $img = '';
+ $img = '
';
} else {
- $img = '
';
+ $img = '
';
}
$str .= '