From a356e64765a822aa0f02e737029658e084c4ff44 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 1 Jul 2013 11:22:42 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=84=EB=A5=98=20=EC=83=81=ED=95=98?= =?UTF-8?q?=EB=8B=A8=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=B3=B4=EA=B8=B0=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/categoryform.php | 78 ++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 17 deletions(-) diff --git a/adm/shop_admin/categoryform.php b/adm/shop_admin/categoryform.php index 63903bc63..101f7e325 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 .= '';