\ No newline at end of file
diff --git a/mobile/shop/iteminfo.php b/mobile/shop/iteminfo.php
index e6d4f65c1..eea26e194 100644
--- a/mobile/shop/iteminfo.php
+++ b/mobile/shop/iteminfo.php
@@ -71,6 +71,7 @@ function pg_anchor($info) {
diff --git a/mobile/shop/itemqa.php b/mobile/shop/itemqa.php
index 1bcf089a6..5f707310c 100644
--- a/mobile/shop/itemqa.php
+++ b/mobile/shop/itemqa.php
@@ -2,6 +2,25 @@
include_once('./_common.php');
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
+$itemqa_list = "./itemqalist.php";
+$itemqa_form = "./itemqaform.php?it_id=".$it_id;
+$itemqa_formupdate = "./itemqaformupdate.php?it_id=".$it_id;
+
+$sql_common = " from `{$g5['g5_shop_item_qa_table']}` where it_id = '{$it_id}' ";
+
+// 테이블의 전체 레코드수만 얻음
+$sql = " select COUNT(*) as cnt " . $sql_common;
+$row = sql_fetch($sql);
+$total_count = $row['cnt'];
+
+$rows = 5;
+$total_page = ceil($total_count / $rows); // 전체 페이지 계산
+if ($page == "") $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
+$from_record = ($page - 1) * $rows; // 시작 레코드 구함
+
+$sql = "select * $sql_common order by iq_id desc limit $from_record, $rows ";
+$result = sql_query($sql);
+
$itemqa_skin = G5_MSHOP_SKIN_PATH.'/itemqa.skin.php';
if(!file_exists($itemqa_skin)) {
diff --git a/mobile/shop/itemuse.php b/mobile/shop/itemuse.php
index 84eb8bcdb..cda965ca5 100644
--- a/mobile/shop/itemuse.php
+++ b/mobile/shop/itemuse.php
@@ -2,6 +2,25 @@
include_once('./_common.php');
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
+$itemuse_list = "./itemuselist.php";
+$itemuse_form = "./itemuseform.php?it_id=".$it_id;
+$itemuse_formupdate = "./itemuseformupdate.php?it_id=".$it_id;
+
+ $sql_common = " from `{$g5['g5_shop_item_use_table']}` where it_id = '{$it_id}' and is_confirm = '1' ";
+
+// 테이블의 전체 레코드수만 얻음
+$sql = " select COUNT(*) as cnt " . $sql_common;
+$row = sql_fetch($sql);
+$total_count = $row['cnt'];
+
+$rows = 5;
+$total_page = ceil($total_count / $rows); // 전체 페이지 계산
+if ($page == "") $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
+$from_record = ($page - 1) * $rows; // 시작 레코드 구함
+
+$sql = "select * $sql_common order by is_id desc limit $from_record, $rows ";
+$result = sql_query($sql);
+
$itemuse_skin = G5_MSHOP_SKIN_PATH.'/itemuse.skin.php';
if(!file_exists($itemuse_skin)) {
diff --git a/mobile/shop/orderaddress.php b/mobile/shop/orderaddress.php
index 103b3c1d0..5989d493a 100644
--- a/mobile/shop/orderaddress.php
+++ b/mobile/shop/orderaddress.php
@@ -3,15 +3,23 @@ include_once('./_common.php');
$g5['title'] = '배송지 목록';
include_once(G5_PATH.'/head.sub.php');
-?>
-
-
+$order_action_url = G5_HTTPS_SHOP_URL.'/orderaddressupdate.php';
+
+?>
+
+
+
diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php
index 8f83be467..00fe4705d 100644
--- a/mobile/shop/orderform.php
+++ b/mobile/shop/orderform.php
@@ -431,6 +431,11 @@ ob_end_clean();
// 배송지 이력
$addr_list = '';
$sep = chr(30);
+
+ // 주문자와 동일
+ $addr_list .= '
'.PHP_EOL;
+ $addr_list .= '
주문자와 동일 '.PHP_EOL;
+
// 기본배송지
$sql = " select *
from {$g5['g5_shop_order_address_table']}
@@ -447,6 +452,7 @@ ob_end_clean();
$sql = " select *
from {$g5['g5_shop_order_address_table']}
where mb_id = '{$member['mb_id']}'
+ and ad_default = '0'
order by ad_id desc
limit 2 ";
$result = sql_query($sql);
@@ -468,7 +474,11 @@ ob_end_clean();
배송지명
-
+
+
+
+ 기본배송지로 설정
+
+
@@ -226,6 +227,9 @@ $(function() {
excute_good(this.href, $(this), $tx);
return false;
});
+
+ // 이미지 리사이즈
+ $("#bo_v_atc").viewimageresize();
});
function excute_good(href, $el, $tx)
diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php
index 881eb665b..038237083 100644
--- a/mobile/skin/board/gallery/list.skin.php
+++ b/mobile/skin/board/gallery/list.skin.php
@@ -4,25 +4,12 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
?>
+
-
-
-
-
-
-
+
+
+
자바스크립트를 사용하지 않는 경우 별도의 확인 절차 없이 바로 선택삭제 처리하므로 주의하시기 바랍니다.
diff --git a/mobile/skin/board/gallery/style.css b/mobile/skin/board/gallery/style.css
index b9f8c2b7f..55b80740d 100644
--- a/mobile/skin/board/gallery/style.css
+++ b/mobile/skin/board/gallery/style.css
@@ -1,38 +1,91 @@
@charset "utf-8";
/* SIR 지운아빠 */
+/* 게시판 버튼 */
+/* 목록 버튼 */
+#bo_gall a.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
+#bo_gall a.btn_b01:focus, #bo_gall .btn_b01:hover {text-decoration:none}
+#bo_gall a.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
+#bo_gall a.btn_b02:focus, #bo_gall .btn_b02:hover {text-decoration:none}
+#bo_gall a.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */
+#bo_gall a.btn_admin:focus, #bo_gall a.btn_admin:hover {text-decoration:none}
+
+/* 읽기 버튼 */
+#bo_v a.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
+#bo_v a.btn_b01:focus, #bo_v .btn_b01:hover {text-decoration:none}
+#bo_v a.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
+#bo_v a.btn_b02:focus, #bo_v .btn_b02:hover {text-decoration:none}
+#bo_v a.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */
+#bo_v a.btn_admin:focus, #bo_v a.btn_admin:hover {text-decoration:none}
+
+/* 쓰기 버튼 */
+#bo_w .btn_confirm {text-align:center} /* 서식단계 진행 */
+#bo_w .btn_submit {padding:0 1em;height:2.6em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none}
+#bo_w .btn_cancel {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em}
+#bo_w .btn_frmline {display:inline-block;padding:0 0.3em;height:1.9em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */
+
+/* 기본테이블 */
+/* 읽기 내 테이블 */
+#bo_v .basic_tbl {margin-bottom:1em;width:100%;border-collapse:collapse;border-spacing:0}
+#bo_v .basic_tbl caption {padding:0 0 1em;color:#777;text-align:left}
+#bo_v .basic_tbl thead th {padding:0.5em 0;background:#565e60;color:#fff}
+#bo_v .basic_tbl thead a {color:#fff}
+#bo_v .basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
+#bo_v .basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
+#bo_v .basic_tbl tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
+#bo_v .basic_tbl tbody th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
+#bo_v .basic_tbl td {padding:0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
+#bo_v .basic_tbl a {display:block;padding:0.5em;color:#000;text-decoration:none}
+#bo_v .bo_sideview td {} /* 사이드뷰 사용하는 테이블 셀 패딩값 */
+#bo_v td.empty_table {padding:5em 0;text-align:center}
+
+/* 쓰기 테이블 */
+#bo_w .frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0}
+#bo_w .frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left}
+#bo_w .frm_tbl th {padding:0.4em;width:110px;border:1px solid #e9e9e9;border-left:0;vertical-align:top;text-align:left}
+#bo_w .frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
+#bo_w .frm_tbl textarea, #bo_w .frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
+#bo_w .frm_tbl textarea {width:90%;height:150px}
+#bo_w .frm_address {display:block;margin-top:0.3em}
+#bo_w .frm_file {display:block;margin-bottom:0.3em}
+#bo_w .frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent}
+#bo_w .frm_tbl #captcha input {margin-left:0.3em;text-align:center}
+#bo_w .frm_tbl a {text-decoration:none}
+
+#bo_w .frm_info {display:block;padding:0.3em 0 0;color:#666;line-height:1.3em}
+
+#bo_w .required {background:url('../../../../img/wrest.gif') #f7f7f7 top right no-repeat} /* 필수입력 */
+
/* 갤러리 목록 */
-#bo_img h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
-#bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none}
-#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""}
+#bo_gall h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
+#bo_gall #gall_ul {margin:1em 0 0;padding:0 1em;list-style:none}
+#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""}
+
+#bo_list_title {padding:0 1em}
#bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin:0.5em 1em;padding-left:1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px;width:25%}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:0.4em 0;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;text-decoration:none;letter-spacing:-0.1em}
-#bo_cate a:focus,
-#bo_cate a:hover,
-#bo_cate a:active {text-decoration:none}
+#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold}
-.bo_img_list_li {float:left;margin:0 0 2em}
+#bo_gall .gall_li {float:left;padding:0 10px 20px 0}
+#bo_gall .gall_clear {clear:both}
-.bo_img_con {margin:0;padding:0;list-style:none}
-.bo_img_con li {margin:0 0 0.3em}
-.bo_img_con .bo_img_subject {display:inline-block;width:50px}
+#bo_gall .gall_con {margin:0;padding:0;list-style:none}
+#bo_gall .gall_con li {margin:0 0 0.3em}
+#bo_gall .gall_con .gall_subject {display:inline-block;width:50px}
-.bo_img_now .bo_img_text_href a {color:#ff3061}
+#bo_gall .gall_now .gall_text_href a {color:#ff3061}
-.bo_img_href a:link,
-.bo_img_href a:focus,
-.bo_img_href a:hover {text-decoration:none}
-.bo_img_href strong,
-.bo_img_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em}
+#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
+#bo_gall .gall_href strong, #bo_gall .gall_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em}
-.bo_img_text_href {margin:1em 0 !important}
-.bo_img_text_href a {color:#000;font-weight:bold;text-decoration:none}
-.bo_img_text_href img {margin:0 0 0 0.3em}
+#bo_gall .gall_text_href {margin:1em 0 !important}
+#bo_gall .gall_text_href a {color:#000;font-weight:bold;text-decoration:none}
+#bo_gall .gall_text_href img {margin:0 0 0 0.3em}
/* 게시판 목록 공통 */
.bo_fx {margin-bottom:0.3em;padding:0.5em 1em}
@@ -54,6 +107,8 @@
#bo_sch {margin-bottom:1em;padding-top:0.3em;text-align:center}
+#bo_gall li.empty_list {padding:5em 0;text-align:center}
+
/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 0.3em;padding:0}
#char_count_wrp {margin:0.3em 0 0;text-align:right}
@@ -107,7 +162,7 @@
.bo_v_com li {float:left;margin-left:0.3em}
#bo_v_atc {min-height:200px;padding:0 1em;min-height:200px}
-#bo_v_atc h1 {margin:0;padding:0;height:0;overflow:hidden}
+#bo_v_atc_title {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_img {margin:0 0 1em;width:100%;overflow:hidden:zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
@@ -121,8 +176,7 @@
#bo_v_act a {margin-right:0.3em;vertical-align:top}
#bo_v_act span {display:inline-block;margin-right:0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
#bo_v_act strong {color:#ff3061}
-#bo_v_act_good,
-#bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
+#bo_v_act_good, #bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_v_sns {margin:0 0 2em;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
@@ -136,8 +190,7 @@
#bo_vc article {padding:0 0 0.5em;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:1.3em 0 0.3em}
#bo_vc header .icon_reply {position:absolute;top:1.5em;left:-1.3em}
-#bo_vc .sv_member,
-#bo_vc .sv_guest {font-weight:bold}
+#bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 1em 0 0.3em}
#bo_vc h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
diff --git a/mobile/skin/board/gallery/view.skin.php b/mobile/skin/board/gallery/view.skin.php
index 1b2f044a9..3d87b7366 100644
--- a/mobile/skin/board/gallery/view.skin.php
+++ b/mobile/skin/board/gallery/view.skin.php
@@ -4,6 +4,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
?>
+
@@ -226,6 +227,9 @@ $(function() {
excute_good(this.href, $(this), $tx);
return false;
});
+
+ // 이미지 리사이즈
+ $("#bo_v_atc").viewimageresize();
});
function excute_good(href, $el, $tx)
diff --git a/mobile/skin/latest/basic/latest.skin.php b/mobile/skin/latest/basic/latest.skin.php
index 9b24c66a8..1a0a1ceb1 100644
--- a/mobile/skin/latest/basic/latest.skin.php
+++ b/mobile/skin/latest/basic/latest.skin.php
@@ -4,8 +4,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-
-
+
+
@@ -37,5 +37,5 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
게시물이 없습니다.
-
+
diff --git a/mobile/skin/latest/basic/style.css b/mobile/skin/latest/basic/style.css
index e60ca364c..545270c44 100644
--- a/mobile/skin/latest/basic/style.css
+++ b/mobile/skin/latest/basic/style.css
@@ -2,9 +2,10 @@
/* SIR 지운아빠 */
/* 최근게시물 스킨 (latest) */
-.lat {position:relative;margin:0 0 1em;padding:0 1em 1.5em;border-bottom:1px solid #ddd}
-.lat ul {margin:0 0 1em;padding:0;list-style:none}
-.lat li {padding:0.2em 0}
-.lat a {color:#000;text-decoration:none}
-.lat_title {display:block;padding:1em 0}
-.lat_more {position:absolute;top:1em;right:1em}
\ No newline at end of file
+.lt {position:relative;margin:0 0 1em;padding:0 1em 1.5em;border-bottom:1px solid #ddd}
+.lt ul {margin:0 0 1em;padding:0;list-style:none}
+.lt li {padding:0.2em 0}
+.lt a {color:#000;text-decoration:none}
+.lt .lt_title {display:block;padding:1em 0}
+.lt .lt_more {position:absolute;top:1em;right:1em}
+.lt .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}
\ No newline at end of file
diff --git a/mobile/skin/member/basic/formmail.skin.php b/mobile/skin/member/basic/formmail.skin.php
index 5c83eb217..6443b32bc 100644
--- a/mobile/skin/member/basic/formmail.skin.php
+++ b/mobile/skin/member/basic/formmail.skin.php
@@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-