diff --git a/adm/shop_admin/categoryform.php b/adm/shop_admin/categoryform.php index 63903bc63..c7028ead3 100644 --- a/adm/shop_admin/categoryform.php +++ b/adm/shop_admin/categoryform.php @@ -297,15 +297,19 @@ $pg_anchor .= ''; 삭제"; - $himg_str = ""; - //$size = getimagesize($himg); - //echo ""; - //echo ""; - } + if (file_exists($himg)) { ?> + + + + + + $himg_str"; } ?> @@ -315,16 +319,21 @@ $pg_anchor .= ''; 삭제"; - $timg_str = ""; - //$size = getimagesize($timg); - //echo "삭제"; - //echo ""; - } + $timg_str = ""; + $timg = "{$category_path}/{$ca['ca_id']}_t"; + if (file_exists($timg)) { ?> + + + + + + $timg_str"; } ?> @@ -391,6 +400,41 @@ $pg_anchor .= ''; - -
@@ -1331,7 +1293,14 @@ $(function(){ ?> - + + + @@ -1345,9 +1314,16 @@ $(function(){ $timg = G4_DATA_PATH."/item/{$it['it_id']}_t"; if (file_exists($timg)) { ?> - + - + + + @@ -1414,6 +1390,41 @@ $(function(){