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.' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
'; } ?>