From cbf32a9666a10daedd50a8da399b466829743c62 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 7 Feb 2014 10:16:47 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=82=A8=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=EC=9D=B4=20=EC=97=86=EC=9D=84=20=EB=95=8C=20=EB=B3=B4=EC=9D=B4?= =?UTF-8?q?=EB=8A=94=20=EC=95=88=EB=82=B4=20=EB=AC=B8=EA=B5=AC=20=EB=A7=88?= =?UTF-8?q?=ED=81=AC=EC=97=85=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/event.php | 11 +---------- mobile/shop/list.php | 8 +------- mobile/shop/listtype.php | 11 +---------- shop/event.php | 11 +---------- shop/list.php | 8 +------- shop/listtype.php | 11 +---------- 6 files changed, 6 insertions(+), 54 deletions(-) diff --git a/mobile/shop/event.php b/mobile/shop/event.php index b8cc1f51e..bd4920c06 100644 --- a/mobile/shop/event.php +++ b/mobile/shop/event.php @@ -26,8 +26,6 @@ if ($sort != "") else $order_by = 'b.it_order, b.it_id desc'; -$error = ""; - if ($skin) $ev['ev_skin'] = $skin; @@ -66,14 +64,7 @@ if (file_exists($list_file)) } else { - $i = 0; - $error = "

{$ev['ev_mobile_skin']} 파일을 찾을 수 없습니다.

관리자에게 알려주시면 감사하겠습니다."; -} - -if ($i==0) -{ - echo "
"; - echo "

$error
"; + echo '
'.$ev['ev_mobile_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?> diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 5f91336b9..cd30fc749 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -77,13 +77,7 @@ include_once(G5_MSHOP_PATH.'/_head.php'); } else { - $i = 0; - $error = '

'.$ca['ca_mobile_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.

'; - } - - if ($i==0) - { - echo '
'.$error.'
'; + echo '
'.$ca['ca_mobile_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?> diff --git a/mobile/shop/listtype.php b/mobile/shop/listtype.php index 286ea0aa0..c0a9c28ff 100644 --- a/mobile/shop/listtype.php +++ b/mobile/shop/listtype.php @@ -28,8 +28,6 @@ if ($sort != '') else $order_by = 'it_order, it_id desc'; -$error = ''; - if (!$skin) $skin = 'list.10.skin.php'; @@ -62,14 +60,7 @@ if (file_exists($list_file)) { } else { - $i = 0; - $error = "

$skin 파일을 찾을 수 없습니다.

관리자에게 알려주시면 감사하겠습니다."; -} - -if ($i==0) -{ - echo "
"; - echo "

$error
"; + echo '
'.$skin.' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?> diff --git a/shop/event.php b/shop/event.php index 65ac095d3..13964d702 100644 --- a/shop/event.php +++ b/shop/event.php @@ -40,8 +40,6 @@ if ($sort != "") else $order_by = 'b.it_order, b.it_id desc'; -$error = ""; - if ($skin) $ev['ev_skin'] = $skin; @@ -82,14 +80,7 @@ if (file_exists($list_file)) } else { - $i = 0; - $error = "

{$ev['ev_skin']} 파일을 찾을 수 없습니다.

관리자에게 알려주시면 감사하겠습니다."; -} - -if ($i==0) -{ - echo "
"; - echo "

$error
"; + echo '
'.$ev['ev_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?> diff --git a/shop/list.php b/shop/list.php index c5a9ab3e0..a083d0adb 100644 --- a/shop/list.php +++ b/shop/list.php @@ -99,13 +99,7 @@ var itemlist_ca_id = ""; } else { - $i = 0; - $error = '

'.$ca['ca_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.

'; - } - - if ($i==0) - { - echo '
'.$error.'
'; + echo '
'.$ca['ca_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?> diff --git a/shop/listtype.php b/shop/listtype.php index 3f422c53b..5cfdb2a89 100644 --- a/shop/listtype.php +++ b/shop/listtype.php @@ -33,8 +33,6 @@ if ($sort != '') else $order_by = 'it_order, it_id desc'; -$error = ''; - if (!$skin) $skin = 'list.10.skin.php'; @@ -73,14 +71,7 @@ if (file_exists($list_file)) { } else { - $i = 0; - $error = "

$skin 파일을 찾을 수 없습니다.

관리자에게 알려주시면 감사하겠습니다."; -} - -if ($i==0) -{ - echo "
"; - echo "

$error
"; + echo '
'.$skin.' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?>