diff --git a/adm/auth_list.php b/adm/auth_list.php index dab3c51f7..9f5758b56 100644 --- a/adm/auth_list.php +++ b/adm/auth_list.php @@ -103,9 +103,9 @@ $colspan = 5; continue; } - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/board_list.php b/adm/board_list.php index a97f3b3cb..dd7ed5eb2 100644 --- a/adm/board_list.php +++ b/adm/board_list.php @@ -119,10 +119,10 @@ $colspan = 16; $one_update = '수정'; $one_copy = '복사'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 2f727e233..673485eb3 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -125,10 +125,10 @@ $colspan = 11; $s_upd = '수정'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/boardgroupmember_list.php b/adm/boardgroupmember_list.php index a21918493..37549e711 100644 --- a/adm/boardgroupmember_list.php +++ b/adm/boardgroupmember_list.php @@ -110,9 +110,9 @@ $colspan = 7; $mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/mail_list.php b/adm/mail_list.php index dc1431731..2ac9d1237 100644 --- a/adm/mail_list.php +++ b/adm/mail_list.php @@ -57,10 +57,10 @@ $colspan = 7; $num = number_format($total_count - ($page - 1) * $config['cf_page_rows'] - $i); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/mail_select_list.php b/adm/mail_select_list.php index 7cce2e4fd..e95ca52a7 100644 --- a/adm/mail_select_list.php +++ b/adm/mail_select_list.php @@ -96,9 +96,9 @@ include_once('./admin.head.php'); $ma_list .= $cr . $row['mb_email'] . "||" . $row['mb_id'] . "||" . $row['mb_name'] . "||" . $row['mb_nick'] . "||" . $row['mb_datetime']; $cr = "\n"; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/member_list.php b/adm/member_list.php index b7ddc81e6..63595fd2c 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -187,7 +187,7 @@ $colspan = 15; $address = $row['mb_zip1'] ? $row['mb_addr1'].' '.$row['mb_addr2'] : ''; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); switch($row['mb_certify']) { case 'hp': @@ -209,7 +209,7 @@ $colspan = 15; } ?> - > + @@ -235,7 +235,7 @@ $colspan = 15; - > +
Yes':'No'; ?> value="1"> diff --git a/adm/point_list.php b/adm/point_list.php index 7c6bde3b2..a6ea202ea 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -151,10 +151,10 @@ function point_clear() if($row['po_expired'] == 1) $expr = ' txt_expired'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/poll_list.php b/adm/poll_list.php index 5320f2307..40070ed9a 100644 --- a/adm/poll_list.php +++ b/adm/poll_list.php @@ -105,10 +105,10 @@ $colspan = 7; $s_mod = '수정'; //$s_del = '삭제'; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/popular_list.php b/adm/popular_list.php index 26b5c9773..bf5b2feb4 100644 --- a/adm/popular_list.php +++ b/adm/popular_list.php @@ -112,10 +112,10 @@ var list_delete_php = 'popular_list.php'; for ($i=0; $row=sql_fetch_array($result); $i++) { $word = get_text($row['pp_word']); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/bannerlist.php b/adm/shop_admin/bannerlist.php index 449bee24a..98fcaa736 100644 --- a/adm/shop_admin/bannerlist.php +++ b/adm/shop_admin/bannerlist.php @@ -74,10 +74,10 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함 $bn_begin_time = substr($row['bn_begin_time'], 2, 14); $bn_end_time = substr($row['bn_end_time'], 2, 14); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/categorylist.php b/adm/shop_admin/categorylist.php index d9754d5b1..561135702 100644 --- a/adm/shop_admin/categorylist.php +++ b/adm/shop_admin/categorylist.php @@ -144,9 +144,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/contentlist.php b/adm/shop_admin/contentlist.php index e24e304b3..e0e41a40b 100644 --- a/adm/shop_admin/contentlist.php +++ b/adm/shop_admin/contentlist.php @@ -44,9 +44,9 @@ $result = sql_query($sql); - > + diff --git a/adm/shop_admin/couponlist.php b/adm/shop_admin/couponlist.php index e4b11ddce..d7914a7fa 100644 --- a/adm/shop_admin/couponlist.php +++ b/adm/shop_admin/couponlist.php @@ -127,10 +127,10 @@ $colspan = 8; $tmp = sql_fetch($sql); $used_count = $tmp['cnt']; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/deliverylist.php b/adm/shop_admin/deliverylist.php index 44924c601..bb4da94ba 100644 --- a/adm/shop_admin/deliverylist.php +++ b/adm/shop_admin/deliverylist.php @@ -157,9 +157,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/faqlist.php b/adm/shop_admin/faqlist.php index 45f2cfb4c..6748c29a0 100644 --- a/adm/shop_admin/faqlist.php +++ b/adm/shop_admin/faqlist.php @@ -60,10 +60,10 @@ $result = sql_query($sql); $num = $i + 1; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/faqmasterlist.php b/adm/shop_admin/faqmasterlist.php index 9031f5ef2..75d882664 100644 --- a/adm/shop_admin/faqmasterlist.php +++ b/adm/shop_admin/faqmasterlist.php @@ -56,9 +56,9 @@ $result = sql_query($sql); $sql1 = " select COUNT(*) as cnt from {$g5['g5_shop_faq_table']} where fm_id = '{$row['fm_id']}' "; $row1 = sql_fetch($sql1); $cnt = $row1['cnt']; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/itemeventlist.php b/adm/shop_admin/itemeventlist.php index 2fa2a2367..8633eb5cc 100644 --- a/adm/shop_admin/itemeventlist.php +++ b/adm/shop_admin/itemeventlist.php @@ -153,10 +153,10 @@ if (isset($ev_set)) { and ev_id = '$ev_id' "; $ev = sql_fetch($sql); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/itemlist.php b/adm/shop_admin/itemlist.php index 64462751b..44db9154a 100644 --- a/adm/shop_admin/itemlist.php +++ b/adm/shop_admin/itemlist.php @@ -164,9 +164,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/itemqalist.php b/adm/shop_admin/itemqalist.php index 0dd6e36e3..b43ba1be3 100644 --- a/adm/shop_admin/itemqalist.php +++ b/adm/shop_admin/itemqalist.php @@ -125,9 +125,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/itemsellrank.php b/adm/shop_admin/itemsellrank.php index 7cb3c4cb1..5b794b314 100644 --- a/adm/shop_admin/itemsellrank.php +++ b/adm/shop_admin/itemsellrank.php @@ -126,9 +126,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/itemstocklist.php b/adm/shop_admin/itemstocklist.php index 0fea56ebd..15b634e19 100644 --- a/adm/shop_admin/itemstocklist.php +++ b/adm/shop_admin/itemstocklist.php @@ -143,10 +143,10 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/itemtypelist.php b/adm/shop_admin/itemtypelist.php index 096d0c5ca..1ebee007c 100644 --- a/adm/shop_admin/itemtypelist.php +++ b/adm/shop_admin/itemtypelist.php @@ -142,9 +142,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/itemuselist.php b/adm/shop_admin/itemuselist.php index d85cff554..595442f12 100644 --- a/adm/shop_admin/itemuselist.php +++ b/adm/shop_admin/itemuselist.php @@ -125,10 +125,10 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/newwinlist.php b/adm/shop_admin/newwinlist.php index 310d81022..efc800cc9 100644 --- a/adm/shop_admin/newwinlist.php +++ b/adm/shop_admin/newwinlist.php @@ -44,9 +44,9 @@ $result = sql_query($sql); - > + diff --git a/adm/shop_admin/optionstocklist.php b/adm/shop_admin/optionstocklist.php index fccd6828f..59e916faa 100644 --- a/adm/shop_admin/optionstocklist.php +++ b/adm/shop_admin/optionstocklist.php @@ -168,10 +168,9 @@ $listall = '전체목록 재고부족 '; } - $tr_bg = ''; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php index e8acceddc..b518c7f45 100644 --- a/adm/shop_admin/orderform.php +++ b/adm/shop_admin/orderform.php @@ -123,7 +123,7 @@ $result = sql_query($sql); $image = get_it_image($row['it_id'], 50, 50); // 상품의 옵션정보 - $sql = " select ct_id, it_id, ct_price, ct_qty, ct_option, ct_status, cp_price, ct_stock_use, ct_point_use, ct_send_cost, io_type, io_price + $sql = " select ct_id, it_id, ct_price, ct_point, ct_qty, ct_option, ct_status, cp_price, ct_stock_use, ct_point_use, ct_send_cost, io_type, io_price from {$g5['g5_shop_cart_table']} where od_id = '{$od['od_id']}' and it_id = '{$row['it_id']}' @@ -927,7 +927,7 @@ function chk_receipt_price() { var chk = document.getElementById("od_receipt_chk"); var price = document.getElementById("od_receipt_price"); - price.value = chk.checked ? chk.value : price.defaultValue; + price.value = chk.checked ? (parseInt(chk.value) + parseInt(price.defaultValue)) : price.defaultValue; } diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index fb75bb50b..ef87ff8b6 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -185,8 +185,10 @@ $listall = '전체목록포인트주문 > + > +
@@ -286,8 +288,8 @@ $listall = '전체목록 diff --git a/adm/shop_admin/orderlistupdate.php b/adm/shop_admin/orderlistupdate.php index 353e9a429..72ea8af0b 100644 --- a/adm/shop_admin/orderlistupdate.php +++ b/adm/shop_admin/orderlistupdate.php @@ -111,7 +111,7 @@ function order_update_delivery($od_id, $mb_id, $change_status, $delivery) subtract_io_stock($row['it_id'], $row['ct_qty'], $row['io_id'], $row['io_type']); $stock_use = 1; - $sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where od_id = '{$row['ct_id']}' "; + $sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where ct_id = '{$row['ct_id']}' "; sql_query($sql); } } diff --git a/adm/shop_admin/orderstatuslist.php b/adm/shop_admin/orderstatuslist.php index 61d1bcd13..6ea25bbeb 100644 --- a/adm/shop_admin/orderstatuslist.php +++ b/adm/shop_admin/orderstatuslist.php @@ -141,9 +141,9 @@ $listall = '전체목록 - > + diff --git a/adm/shop_admin/personalpaylist.php b/adm/shop_admin/personalpaylist.php index ee23cd2ca..8f1b447c0 100644 --- a/adm/shop_admin/personalpaylist.php +++ b/adm/shop_admin/personalpaylist.php @@ -111,10 +111,10 @@ $colspan = 8; else $od_id = ' '; - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/shop_admin/sendcostlist.php b/adm/shop_admin/sendcostlist.php index 35641cbcb..b1be3a733 100644 --- a/adm/shop_admin/sendcostlist.php +++ b/adm/shop_admin/sendcostlist.php @@ -58,9 +58,9 @@ include_once (G5_ADMIN_PATH.'/admin.head.php'); - > + diff --git a/adm/shop_admin/wishlist.php b/adm/shop_admin/wishlist.php index 104d442ed..46665f357 100644 --- a/adm/shop_admin/wishlist.php +++ b/adm/shop_admin/wishlist.php @@ -103,9 +103,9 @@ $listall = '전체목록 - > + diff --git a/adm/visit_browser.php b/adm/visit_browser.php index d6496ab1f..3c1656a6a 100644 --- a/adm/visit_browser.php +++ b/adm/visit_browser.php @@ -65,10 +65,10 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_date.php b/adm/visit_date.php index 88bebbc7f..9f180df30 100644 --- a/adm/visit_date.php +++ b/adm/visit_date.php @@ -56,10 +56,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/adm/visit_domain.php b/adm/visit_domain.php index eb5bb60b6..2c3f9c919 100644 --- a/adm/visit_domain.php +++ b/adm/visit_domain.php @@ -76,9 +76,9 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_hour.php b/adm/visit_hour.php index 83aef104f..5e6cb1922 100644 --- a/adm/visit_hour.php +++ b/adm/visit_hour.php @@ -55,9 +55,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/adm/visit_list.php b/adm/visit_list.php index 090ded735..200cda1b5 100644 --- a/adm/visit_list.php +++ b/adm/visit_list.php @@ -78,9 +78,9 @@ $result = sql_query($sql); if ($brow == '기타') { $brow = ''.$brow.''; } if ($os == '기타') { $os = ''.$os.''; } - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + @@ -98,7 +98,7 @@ $result = sql_query($sql);
- > +
diff --git a/adm/visit_os.php b/adm/visit_os.php index a5752e494..936237a72 100644 --- a/adm/visit_os.php +++ b/adm/visit_os.php @@ -69,10 +69,10 @@ while ($row=sql_fetch_array($result)) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > + diff --git a/adm/visit_week.php b/adm/visit_week.php index 917652ff1..d554d9be9 100644 --- a/adm/visit_week.php +++ b/adm/visit_week.php @@ -52,10 +52,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/adm/visit_year.php b/adm/visit_year.php index 181948564..a176ad681 100644 --- a/adm/visit_year.php +++ b/adm/visit_year.php @@ -57,10 +57,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $rate = ($count / $sum_count * 100); $s_rate = number_format($rate, 1); - $tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"'; + $tr_bg = 'tr_bg'.($i%2); ?> - > +
diff --git a/bbs/download.php b/bbs/download.php index 38607c45c..92e7df1b3 100644 --- a/bbs/download.php +++ b/bbs/download.php @@ -1,6 +1,9 @@ "; - box += "
"+msg; + box += "
"+msg; box += "
"; box += ""; - box += "
"; + box += "
"; box += "
"; $("body").append(box); diff --git a/mobile/skin/shop/basic/iteminfo.relation.skin.php b/mobile/skin/shop/basic/iteminfo.relation.skin.php index 681b0fe9e..48d3d01c7 100644 --- a/mobile/skin/shop/basic/iteminfo.relation.skin.php +++ b/mobile/skin/shop/basic/iteminfo.relation.skin.php @@ -22,8 +22,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 \ No newline at end of file diff --git a/mobile/skin/shop/basic/itemqa.skin.php b/mobile/skin/shop/basic/itemqa.skin.php index c48fbe95d..84fb0ef4e 100644 --- a/mobile/skin/shop/basic/itemqa.skin.php +++ b/mobile/skin/shop/basic/itemqa.skin.php @@ -126,8 +126,9 @@ $(function(){ }); $("a#itemqa_list").on("click", function() { - opener.location.href = this.href; + window.opener.location.href = this.href; self.close(); + return false; }); }); diff --git a/mobile/skin/shop/basic/itemuse.skin.php b/mobile/skin/shop/basic/itemuse.skin.php index 9acad155a..78fe63e1d 100644 --- a/mobile/skin/shop/basic/itemuse.skin.php +++ b/mobile/skin/shop/basic/itemuse.skin.php @@ -106,8 +106,9 @@ $(function(){ }); $("a#itemuse_list").on("click", function() { - opener.location.href = this.href; + window.opener.location.href = this.href; self.close(); + return false; }); }); diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css index 9b0c81c0a..8486b0930 100644 --- a/mobile/skin/shop/basic/style.css +++ b/mobile/skin/shop/basic/style.css @@ -104,8 +104,9 @@ #loading_message img {position:relative;opacity:1.0} /* 알림 box */ -#fancyalert {display:table;z-index:10000;position:absolute;top:0;left:0} -#fancyalert_bg {position:absolute;top:0;left:0;width:100%;height:100%;vertical-align:middle;background:#000;text-align:center;opacity: 0.7} -#fancyalert_inner {display:table-cell;position:relative;z-index:2;vertical-align:middle;text-align:center} +#fancyalert {display:block;z-index:10000;position:absolute;top:0;left:0} +#fancyalert_inner {display:table;z-index:2;position:relative} +#fancyalert_inner div {display:table-cell;vertical-align:middle;text-align:center} #fancyalert_inner span {display:block;margin:0 auto;padding:30px;width:200px;background:#1f1f1f;color:#f0f1f2} -#fancyalert_inner button {margin:15px 0 0;padding:10px 30px;border:0;background:#000;color:#fff} \ No newline at end of file +#fancyalert_inner button {margin:15px 0 0;padding:10px 30px;border:0;background:#000;color:#fff} +#fancyalert_bg {z-index:0;position:absolute;top:0;left:0;width:100%;height:100%;vertical-align:middle;background:#000;text-align:center;opacity: 0.7} \ No newline at end of file