From 1fcec6cc57a80691429877a9040f70fb5e767f4f Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 29 Jan 2013 18:02:03 +0900 Subject: [PATCH 1/3] =?UTF-8?q?display=5Ftype=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EB=82=B4=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 68dd1ba72..e5f494dea 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -371,7 +371,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 { From ec0323fd7c594c3706e3fb5775afc6ca5b3fad4c Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 29 Jan 2013 18:02:20 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=20=EB=A9=94?= =?UTF-8?q?=EC=9D=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EA=B2=BD=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop.php | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/shop.php b/shop.php index 965930638..5805608bf 100644 --- a/shop.php +++ b/shop.php @@ -1,28 +1,28 @@ - +
-

+


"; + echo "
"; display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); } ?> @@ -34,9 +34,9 @@ include_once("$g4[path]/head.php");
"; + echo "
"; display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); } ?> @@ -48,9 +48,9 @@ include_once("$g4[path]/head.php");
"; + echo "
"; display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); } ?> @@ -62,9 +62,9 @@ include_once("$g4[path]/head.php");
"; + echo "
"; display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); } ?> @@ -77,9 +77,9 @@ include_once("$g4[path]/head.php");
"; + echo "
"; display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); } ?>

@@ -98,7 +98,7 @@ include_once("$g4[path]/head.php");

\ No newline at end of file From 2f99243735b0ab8d2cc0c709fafef6db2096b6e1 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 29 Jan 2013 18:06:06 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/admin.lib.php b/adm/admin.lib.php index 2c0f86c01..da8dca504 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -213,7 +213,7 @@ function order_select($fld, $sel='') if (!$member['mb_id']) { //alert('로그인 하십시오.', '$g4['bbs_path']/login.php?url=' . urlencode('$_SERVER['PHP_SELF']?w=$w&mb_id=$mb_id')); - alert('로그인 하십시오.', $g4['bbs_path'].'/login.php?url=' . urlencode($_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'])); + alert('로그인 하십시오.', G4_BBS_URL.'/login.php?url=' . urlencode($_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'])); } else if ($is_admin != 'super') {