From 393ed70b7930090245750361c113254fea0f3656 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 20 Mar 2017 14:43:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=9B=84=EA=B8=B0=EC=97=90?= =?UTF-8?q?=20=EA=B4=80=EB=A6=AC=EC=9E=90=EC=9D=98=20=EB=8B=B5=EB=B3=80=20?= =?UTF-8?q?=EB=8B=AC=EA=B8=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemuseform.php | 21 +++++++++++- adm/shop_admin/itemuseformupdate.php | 5 ++- css/mobile_shop.css | 3 ++ mobile/shop/img/use_reply.png | Bin 0 -> 1079 bytes mobile/skin/shop/basic/img/use_reply.png | Bin 0 -> 1079 bytes mobile/skin/shop/basic/itemuse.skin.php | 18 ++++++++++ mobile/skin/shop/basic/itemuselist.skin.php | 31 ++++++++++++++++++ mobile/skin/shop/basic/style.css | 7 ++++ skin/shop/basic/img/use_reply.png | Bin 0 -> 1079 bytes skin/shop/basic/itemuse.skin.php | 19 +++++++++++ skin/shop/basic/itemuselist.skin.php | 31 ++++++++++++++++++ skin/shop/basic/style.css | 13 ++++++-- theme/basic/css/mobile_shop.css | 3 ++ theme/basic/mobile/shop/img/use_reply.png | Bin 0 -> 1079 bytes .../mobile/skin/shop/basic/img/use_reply.png | Bin 0 -> 1079 bytes .../mobile/skin/shop/basic/itemuse.skin.php | 18 ++++++++++ .../skin/shop/basic/itemuselist.skin.php | 31 ++++++++++++++++++ theme/basic/mobile/skin/shop/basic/style.css | 6 ++++ theme/basic/skin/shop/basic/img/use_reply.png | Bin 0 -> 1079 bytes theme/basic/skin/shop/basic/itemuse.skin.php | 19 +++++++++++ .../skin/shop/basic/itemuselist.skin.php | 31 ++++++++++++++++++ theme/basic/skin/shop/basic/style.css | 13 ++++++-- 22 files changed, 263 insertions(+), 6 deletions(-) create mode 100644 mobile/shop/img/use_reply.png create mode 100644 mobile/skin/shop/basic/img/use_reply.png create mode 100644 skin/shop/basic/img/use_reply.png create mode 100644 theme/basic/mobile/shop/img/use_reply.png create mode 100644 theme/basic/mobile/skin/shop/basic/img/use_reply.png create mode 100644 theme/basic/skin/shop/basic/img/use_reply.png diff --git a/adm/shop_admin/itemuseform.php b/adm/shop_admin/itemuseform.php index d054ca59d..edefcc6bd 100644 --- a/adm/shop_admin/itemuseform.php +++ b/adm/shop_admin/itemuseform.php @@ -11,9 +11,19 @@ $sql = " select * left join {$g5['g5_shop_item_table']} c on (a.it_id = c.it_id) where is_id = '$is_id' "; $is = sql_fetch($sql); + if (!$is['is_id']) alert('등록된 자료가 없습니다.'); +// 사용후기 의 답변 필드 추가 +if (!isset($is['is_reply_subject'])) { + sql_query(" ALTER TABLE `{$g5['g5_shop_item_use_table']}` + ADD COLUMN `is_reply_subject` VARCHAR(255) NOT NULL DEFAULT '' AFTER `is_confirm`, + ADD COLUMN `is_reply_content` TEXT NOT NULL AFTER `is_reply_subject`, + ADD COLUMN `is_reply_name` VARCHAR(25) NOT NULL DEFAULT '' AFTER `is_reply_content` + ", true); +} + $name = get_sideview($is['mb_id'], get_text($is['is_name']), $is['mb_email'], $is['mb_homepage']); // 확인 @@ -67,6 +77,15 @@ $qstr .= ($qstr ? '&' : '').'sca='.$sca; 내용 + + + + + + 답변 내용 + + 확인 @@ -90,7 +109,7 @@ $qstr .= ($qstr ? '&' : '').'sca='.$sca; function fitemuseform_submit(f) { - + return true; } diff --git a/adm/shop_admin/itemuseformupdate.php b/adm/shop_admin/itemuseformupdate.php index 217d1fc7d..2f23961cb 100644 --- a/adm/shop_admin/itemuseformupdate.php +++ b/adm/shop_admin/itemuseformupdate.php @@ -16,7 +16,10 @@ if ($w == "u") $sql = "update {$g5['g5_shop_item_use_table']} set is_subject = '$is_subject', is_content = '$is_content', - is_confirm = '$is_confirm' + is_confirm = '$is_confirm', + is_reply_subject = '$is_reply_subject', + is_reply_content = '$is_reply_content', + is_reply_name = '".$member['mb_nick']."' where is_id = '$is_id' "; sql_query($sql); diff --git a/css/mobile_shop.css b/css/mobile_shop.css index f47ae8477..f30b0f597 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -159,11 +159,14 @@ ul,li{list-style:none;padding:0;margin:0;} #sps dd img {position:relative;top:-2px} .sps_section {margin-left:80px;display:block;} +.sps_section .is_use_reply{background:url('../mobile/shop/img/use_reply.png') no-repeat;text-indent:30px;line-height:1.5em} .sps_section p {padding:0;width:100%} .sps_con_full {padding:0;height:auto !important} .sps_con_btn {margin:5px 0 0;text-align:right} .sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff} +.sps_reply .sps_img {text-align:right;width:70px} + /* 상품문의 모음 */ #sqa_sch {margin:10px 10px} #sqa_sch #sfl{height:24px} diff --git a/mobile/shop/img/use_reply.png b/mobile/shop/img/use_reply.png new file mode 100644 index 0000000000000000000000000000000000000000..14a3908ad1140868598ffe88459302e91f379c5a GIT binary patch literal 1079 zcmaJ=O-K|`93T2H*$}ik*oQDp5f$#v%zljRuxskhY%V!wyIU?52q8p76dgL0&>=dQ)}%5`{dUOZigm+eT*pcL#zdD#L)vkJ3-Oz3hCNCH_c^t}KP zf>=*!=?uz9ZM*_?pX_3Mj&5Q$K|~HarmXY=L}o#cW<;rlCr>F-Q=?R8NMa;2269^K zfCW+m?P+D8R|%`s;YKpz@K`_xNG2WqoMH1$lv>f{@!q|rDRKpZdZW~;QyHm)j6n;K zAz#3&Ff2=QoR1BLIF79+{S51;8T@fxHpquK-rqp34GLSc)NVd0#Mf-$Q73VXU5f^L>% z4SOw3IAOFSn>6cV+>nYuN%}uj*Gp&{CBYwm|0!&z3nrkGz=r*nf(zHZ$2Dd0F$>5D zT4@N+6|>lpg9zF=Xp*rMNAB;`3>D_>11oq*;uD6AWJ3W7AxdEdpQfoiBLtZ+8;pxF z77vkYi8lmdel{KmiZSsJ7c6oGsPyZ=Kt--v;)a;AT(=c;6I&L5rJVfE;3rjIjc8)rtjZ&SkyH+KH`Ff|;wbL`jh&#_Af4WT04 zP`znsc*8t3{cxgo`r^jam64H}xqbI9Pn>z)a`nrIG&r`gX78)p)1R5T%7)FuN4F=c z`r77L@4oS^7v8+T4)(_DPK|CsJ2o$}u}IhMcc}?=$TRnB^u(nKzbJ^uU(YTL3Kgvd hPrc`E=H|K$wZ!CCIPVNC!4 literal 0 HcmV?d00001 diff --git a/mobile/skin/shop/basic/img/use_reply.png b/mobile/skin/shop/basic/img/use_reply.png new file mode 100644 index 0000000000000000000000000000000000000000..14a3908ad1140868598ffe88459302e91f379c5a GIT binary patch literal 1079 zcmaJ=O-K|`93T2H*$}ik*oQDp5f$#v%zljRuxskhY%V!wyIU?52q8p76dgL0&>=dQ)}%5`{dUOZigm+eT*pcL#zdD#L)vkJ3-Oz3hCNCH_c^t}KP zf>=*!=?uz9ZM*_?pX_3Mj&5Q$K|~HarmXY=L}o#cW<;rlCr>F-Q=?R8NMa;2269^K zfCW+m?P+D8R|%`s;YKpz@K`_xNG2WqoMH1$lv>f{@!q|rDRKpZdZW~;QyHm)j6n;K zAz#3&Ff2=QoR1BLIF79+{S51;8T@fxHpquK-rqp34GLSc)NVd0#Mf-$Q73VXU5f^L>% z4SOw3IAOFSn>6cV+>nYuN%}uj*Gp&{CBYwm|0!&z3nrkGz=r*nf(zHZ$2Dd0F$>5D zT4@N+6|>lpg9zF=Xp*rMNAB;`3>D_>11oq*;uD6AWJ3W7AxdEdpQfoiBLtZ+8;pxF z77vkYi8lmdel{KmiZSsJ7c6oGsPyZ=Kt--v;)a;AT(=c;6I&L5rJVfE;3rjIjc8)rtjZ&SkyH+KH`Ff|;wbL`jh&#_Af4WT04 zP`znsc*8t3{cxgo`r^jam64H}xqbI9Pn>z)a`nrIG&r`gX78)p)1R5T%7)FuN4F=c z`r77L@4oS^7v8+T4)(_DPK|CsJ2o$}u}IhMcc}?=$TRnB^u(nKzbJ^uU(YTL3Kgvd hPrc`E=H|K$wZ!CCIPVNC!4 literal 0 HcmV?d00001 diff --git a/mobile/skin/shop/basic/itemuse.skin.php b/mobile/skin/shop/basic/itemuse.skin.php index 04a3cf7f9..b142c42c7 100644 --- a/mobile/skin/shop/basic/itemuse.skin.php +++ b/mobile/skin/shop/basic/itemuse.skin.php @@ -22,6 +22,9 @@ add_stylesheet('', $is_subject = conv_subject($row['is_subject'],50,"…"); //$is_content = ($row['wr_content']); $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width); + $is_reply_name = !empty($row['is_reply_name']) ? get_text($row['is_reply_name']) : ''; + $is_reply_subject = !empty($row['is_reply_subject']) ? conv_subject($row['is_reply_subject'],50,"…") : ''; + $is_reply_content = !empty($row['is_reply_content']) ? get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width) : ''; $is_time = substr($row['is_time'], 2, 8); $is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id']; @@ -52,6 +55,21 @@ add_stylesheet('', " class="itemuse_delete btn01">삭제 + + +
+
답변
+
+ +
+
+ +
+
+ +
+
+ diff --git a/mobile/skin/shop/basic/itemuselist.skin.php b/mobile/skin/shop/basic/itemuselist.skin.php index 3505ec561..4478a9648 100644 --- a/mobile/skin/shop/basic/itemuselist.skin.php +++ b/mobile/skin/shop/basic/itemuselist.skin.php @@ -75,6 +75,37 @@ add_stylesheet('', + + +
  • + + + +
    +

    + +
    +
    작성자
    +
    +
    + + + +
    +
    +
  • + + 0) echo ''; if ($i == 0) echo '

    자료가 없습니다.

    '; diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css index 0edf9cb82..344379cf2 100644 --- a/mobile/skin/shop/basic/style.css +++ b/mobile/skin/shop/basic/style.css @@ -264,6 +264,13 @@ #sit_use_write li label {display:inline-block;width:80px} #sit_use_write_star {margin:0;padding:0;list-style:none} +.sit_use_reply{position:relative;border-top:1px dotted #bbb;margin:10px 0 0 ;padding:10px 0 0 40px} +.use_reply_icon{position:absolute;top:10px;left:5px;background:url('./img/use_reply.png') no-repeat 0 0; width:28px;height:17px;text-indent:-999px;overflow:hidden;} +.use_reply_tit{font-weight:bold;line-height:1.5em} +.use_reply_name{font-size:0.92em;color:#777;margin:5px 0} +.use_reply_p{padding:10px;background:#f2f2f2;line-height:1.5em} +.use_reply_p img{max-width:100%} + /* 상품 상세보기 - 상품문의 */ #sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9} #sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none} diff --git a/skin/shop/basic/img/use_reply.png b/skin/shop/basic/img/use_reply.png new file mode 100644 index 0000000000000000000000000000000000000000..14a3908ad1140868598ffe88459302e91f379c5a GIT binary patch literal 1079 zcmaJ=O-K|`93T2H*$}ik*oQDp5f$#v%zljRuxskhY%V!wyIU?52q8p76dgL0&>=dQ)}%5`{dUOZigm+eT*pcL#zdD#L)vkJ3-Oz3hCNCH_c^t}KP zf>=*!=?uz9ZM*_?pX_3Mj&5Q$K|~HarmXY=L}o#cW<;rlCr>F-Q=?R8NMa;2269^K zfCW+m?P+D8R|%`s;YKpz@K`_xNG2WqoMH1$lv>f{@!q|rDRKpZdZW~;QyHm)j6n;K zAz#3&Ff2=QoR1BLIF79+{S51;8T@fxHpquK-rqp34GLSc)NVd0#Mf-$Q73VXU5f^L>% z4SOw3IAOFSn>6cV+>nYuN%}uj*Gp&{CBYwm|0!&z3nrkGz=r*nf(zHZ$2Dd0F$>5D zT4@N+6|>lpg9zF=Xp*rMNAB;`3>D_>11oq*;uD6AWJ3W7AxdEdpQfoiBLtZ+8;pxF z77vkYi8lmdel{KmiZSsJ7c6oGsPyZ=Kt--v;)a;AT(=c;6I&L5rJVfE;3rjIjc8)rtjZ&SkyH+KH`Ff|;wbL`jh&#_Af4WT04 zP`znsc*8t3{cxgo`r^jam64H}xqbI9Pn>z)a`nrIG&r`gX78)p)1R5T%7)FuN4F=c z`r77L@4oS^7v8+T4)(_DPK|CsJ2o$}u}IhMcc}?=$TRnB^u(nKzbJ^uU(YTL3Kgvd hPrc`E=H|K$wZ!CCIPVNC!4 literal 0 HcmV?d00001 diff --git a/skin/shop/basic/itemuse.skin.php b/skin/shop/basic/itemuse.skin.php index 320445065..70ad318fc 100644 --- a/skin/shop/basic/itemuse.skin.php +++ b/skin/shop/basic/itemuse.skin.php @@ -21,6 +21,9 @@ add_stylesheet('', $is_name = get_text($row['is_name']); $is_subject = conv_subject($row['is_subject'],50,"…"); $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width); + $is_reply_name = !empty($row['is_reply_name']) ? get_text($row['is_reply_name']) : ''; + $is_reply_subject = !empty($row['is_reply_subject']) ? conv_subject($row['is_reply_subject'],50,"…") : ''; + $is_reply_content = !empty($row['is_reply_content']) ? get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width) : ''; $is_time = substr($row['is_time'], 2, 8); $is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id']; @@ -43,6 +46,7 @@ add_stylesheet('',
    +
    @@ -51,6 +55,21 @@ add_stylesheet('', " class="itemuse_delete btn01">삭제
    + + +
    +
    답변
    +
    + +
    +
    + +
    +
    + +
    +
    + diff --git a/skin/shop/basic/itemuselist.skin.php b/skin/shop/basic/itemuselist.skin.php index 92c3da8cc..7843b070f 100644 --- a/skin/shop/basic/itemuselist.skin.php +++ b/skin/shop/basic/itemuselist.skin.php @@ -75,6 +75,37 @@ add_stylesheet('', + + +
  • + + +
    + +

    + +
    +
    작성자
    +
    +
    + + + +
    +
    +
  • + + 0) echo ''; if ($i == 0) echo '

    자료가 없습니다.

    '; diff --git a/skin/shop/basic/style.css b/skin/shop/basic/style.css index a3025c2f1..30b63286e 100644 --- a/skin/shop/basic/style.css +++ b/skin/shop/basic/style.css @@ -442,6 +442,12 @@ .sit_use_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} .sit_use_cmd {text-align:right} +.sit_use_reply{position:relative;border-top:1px dotted #bbb;margin:10px 0 0 ;padding:10px 0 0 40px} +.use_reply_icon{position:absolute;top:10px;left:5px;background:url('./img/use_reply.png') no-repeat 0 0; width:28px;height:17px;text-indent:-999px;overflow:hidden;} +.use_reply_tit{font-weight:bold;line-height:1.5em} +.use_reply_name{font-size:0.92em;color:#777;margin:5px 0} +.use_reply_p{padding:10px;border:1px solid #e9e9e9;background:#fff;line-height:1.5em} + #sit_use_wbtn {margin:0 0 5px;text-align:right} #sit_use_write {} @@ -506,16 +512,19 @@ #sps li {position:relative;padding:10px;border-bottom:1px solid #e9e9e9} #sps li:after {display:block;visibility:hidden;clear:both;content:""} -.sps_img {float:left;margin:0 10px 0 0;width:80px} +.sps_img {float:left;margin:0 10px 0 0;width:70px} .sps_img span {position:absolute;font-size:0;line-height:0;overflow:hidden} +.sps_reply .sps_img {text-align:right;width:70px;} +.sps_reply .sps_section h2{background:url('./img/use_reply.png') no-repeat 0 0;text-indent:30px;line-height:1.5em;} + #sps dl {margin:5px 0 10px;zoom:1} #sps dl:after {display:block;visibility:hidden;clear:both;content:""} #sps dt {float:left} #sps dd {float:left;margin:0 20px 0 5px} #sps dd img {position:relative;top:-2px} -.sps_section {float:left;width:630px} +.sps_section {float:left;width:640px} .sps_section p {padding:0;width:100%} .sps_con_full {padding:0;height:auto !important} .sps_con_btn {margin:5px 0 0;text-align:right} diff --git a/theme/basic/css/mobile_shop.css b/theme/basic/css/mobile_shop.css index eed9c631f..e32701f16 100644 --- a/theme/basic/css/mobile_shop.css +++ b/theme/basic/css/mobile_shop.css @@ -158,11 +158,14 @@ ul,li{list-style:none;padding:0;margin:0;} #sps dd img {position:relative;top:-2px} .sps_section {margin-left:80px;display:block;} +.sps_section .is_use_reply{background:url('../mobile/shop/img/use_reply.png') no-repeat;text-indent:30px;line-height:1.5em} .sps_section p {padding:0;width:100%} .sps_con_full {padding:0;height:auto !important} .sps_con_btn {margin:5px 0 0;text-align:right} .sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff} +.sps_reply .sps_img {text-align:right;width:70px} + /* 상품문의 모음 */ #sqa_sch {margin:10px 10px} #sqa_sch #sfl{height:24px} diff --git a/theme/basic/mobile/shop/img/use_reply.png b/theme/basic/mobile/shop/img/use_reply.png new file mode 100644 index 0000000000000000000000000000000000000000..14a3908ad1140868598ffe88459302e91f379c5a GIT binary patch literal 1079 zcmaJ=O-K|`93T2H*$}ik*oQDp5f$#v%zljRuxskhY%V!wyIU?52q8p76dgL0&>=dQ)}%5`{dUOZigm+eT*pcL#zdD#L)vkJ3-Oz3hCNCH_c^t}KP zf>=*!=?uz9ZM*_?pX_3Mj&5Q$K|~HarmXY=L}o#cW<;rlCr>F-Q=?R8NMa;2269^K zfCW+m?P+D8R|%`s;YKpz@K`_xNG2WqoMH1$lv>f{@!q|rDRKpZdZW~;QyHm)j6n;K zAz#3&Ff2=QoR1BLIF79+{S51;8T@fxHpquK-rqp34GLSc)NVd0#Mf-$Q73VXU5f^L>% z4SOw3IAOFSn>6cV+>nYuN%}uj*Gp&{CBYwm|0!&z3nrkGz=r*nf(zHZ$2Dd0F$>5D zT4@N+6|>lpg9zF=Xp*rMNAB;`3>D_>11oq*;uD6AWJ3W7AxdEdpQfoiBLtZ+8;pxF z77vkYi8lmdel{KmiZSsJ7c6oGsPyZ=Kt--v;)a;AT(=c;6I&L5rJVfE;3rjIjc8)rtjZ&SkyH+KH`Ff|;wbL`jh&#_Af4WT04 zP`znsc*8t3{cxgo`r^jam64H}xqbI9Pn>z)a`nrIG&r`gX78)p)1R5T%7)FuN4F=c z`r77L@4oS^7v8+T4)(_DPK|CsJ2o$}u}IhMcc}?=$TRnB^u(nKzbJ^uU(YTL3Kgvd hPrc`E=H|K$wZ!CCIPVNC!4 literal 0 HcmV?d00001 diff --git a/theme/basic/mobile/skin/shop/basic/img/use_reply.png b/theme/basic/mobile/skin/shop/basic/img/use_reply.png new file mode 100644 index 0000000000000000000000000000000000000000..14a3908ad1140868598ffe88459302e91f379c5a GIT binary patch literal 1079 zcmaJ=O-K|`93T2H*$}ik*oQDp5f$#v%zljRuxskhY%V!wyIU?52q8p76dgL0&>=dQ)}%5`{dUOZigm+eT*pcL#zdD#L)vkJ3-Oz3hCNCH_c^t}KP zf>=*!=?uz9ZM*_?pX_3Mj&5Q$K|~HarmXY=L}o#cW<;rlCr>F-Q=?R8NMa;2269^K zfCW+m?P+D8R|%`s;YKpz@K`_xNG2WqoMH1$lv>f{@!q|rDRKpZdZW~;QyHm)j6n;K zAz#3&Ff2=QoR1BLIF79+{S51;8T@fxHpquK-rqp34GLSc)NVd0#Mf-$Q73VXU5f^L>% z4SOw3IAOFSn>6cV+>nYuN%}uj*Gp&{CBYwm|0!&z3nrkGz=r*nf(zHZ$2Dd0F$>5D zT4@N+6|>lpg9zF=Xp*rMNAB;`3>D_>11oq*;uD6AWJ3W7AxdEdpQfoiBLtZ+8;pxF z77vkYi8lmdel{KmiZSsJ7c6oGsPyZ=Kt--v;)a;AT(=c;6I&L5rJVfE;3rjIjc8)rtjZ&SkyH+KH`Ff|;wbL`jh&#_Af4WT04 zP`znsc*8t3{cxgo`r^jam64H}xqbI9Pn>z)a`nrIG&r`gX78)p)1R5T%7)FuN4F=c z`r77L@4oS^7v8+T4)(_DPK|CsJ2o$}u}IhMcc}?=$TRnB^u(nKzbJ^uU(YTL3Kgvd hPrc`E=H|K$wZ!CCIPVNC!4 literal 0 HcmV?d00001 diff --git a/theme/basic/mobile/skin/shop/basic/itemuse.skin.php b/theme/basic/mobile/skin/shop/basic/itemuse.skin.php index 04a3cf7f9..b142c42c7 100644 --- a/theme/basic/mobile/skin/shop/basic/itemuse.skin.php +++ b/theme/basic/mobile/skin/shop/basic/itemuse.skin.php @@ -22,6 +22,9 @@ add_stylesheet('', $is_subject = conv_subject($row['is_subject'],50,"…"); //$is_content = ($row['wr_content']); $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width); + $is_reply_name = !empty($row['is_reply_name']) ? get_text($row['is_reply_name']) : ''; + $is_reply_subject = !empty($row['is_reply_subject']) ? conv_subject($row['is_reply_subject'],50,"…") : ''; + $is_reply_content = !empty($row['is_reply_content']) ? get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width) : ''; $is_time = substr($row['is_time'], 2, 8); $is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id']; @@ -52,6 +55,21 @@ add_stylesheet('', " class="itemuse_delete btn01">삭제 + + +
    +
    답변
    +
    + +
    +
    + +
    +
    + +
    +
    + diff --git a/theme/basic/mobile/skin/shop/basic/itemuselist.skin.php b/theme/basic/mobile/skin/shop/basic/itemuselist.skin.php index 3505ec561..4478a9648 100644 --- a/theme/basic/mobile/skin/shop/basic/itemuselist.skin.php +++ b/theme/basic/mobile/skin/shop/basic/itemuselist.skin.php @@ -75,6 +75,37 @@ add_stylesheet('', + + +
  • + + + +
    +

    + +
    +
    작성자
    +
    +
    + + + +
    +
    +
  • + + 0) echo ''; if ($i == 0) echo '

    자료가 없습니다.

    '; diff --git a/theme/basic/mobile/skin/shop/basic/style.css b/theme/basic/mobile/skin/shop/basic/style.css index 355cda586..839e589c0 100644 --- a/theme/basic/mobile/skin/shop/basic/style.css +++ b/theme/basic/mobile/skin/shop/basic/style.css @@ -264,6 +264,12 @@ #sit_use_write li label {display:inline-block;width:80px} #sit_use_write_star {margin:0;padding:0;list-style:none} +.sit_use_reply{position:relative;border-top:1px dotted #bbb;margin:10px 0 0 ;padding:10px 0 0 40px} +.use_reply_icon{position:absolute;top:10px;left:5px;background:url('./img/use_reply.png') no-repeat 0 0; width:28px;height:17px;text-indent:-999px;overflow:hidden;} +.use_reply_tit{font-weight:bold;line-height:1.5em} +.use_reply_name{font-size:0.92em;color:#777;margin:5px 0} +.use_reply_p{padding:10px;background:#f2f2f2;line-height:1.5em} + /* 상품 상세보기 - 상품문의 */ #sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9} #sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none} diff --git a/theme/basic/skin/shop/basic/img/use_reply.png b/theme/basic/skin/shop/basic/img/use_reply.png new file mode 100644 index 0000000000000000000000000000000000000000..14a3908ad1140868598ffe88459302e91f379c5a GIT binary patch literal 1079 zcmaJ=O-K|`93T2H*$}ik*oQDp5f$#v%zljRuxskhY%V!wyIU?52q8p76dgL0&>=dQ)}%5`{dUOZigm+eT*pcL#zdD#L)vkJ3-Oz3hCNCH_c^t}KP zf>=*!=?uz9ZM*_?pX_3Mj&5Q$K|~HarmXY=L}o#cW<;rlCr>F-Q=?R8NMa;2269^K zfCW+m?P+D8R|%`s;YKpz@K`_xNG2WqoMH1$lv>f{@!q|rDRKpZdZW~;QyHm)j6n;K zAz#3&Ff2=QoR1BLIF79+{S51;8T@fxHpquK-rqp34GLSc)NVd0#Mf-$Q73VXU5f^L>% z4SOw3IAOFSn>6cV+>nYuN%}uj*Gp&{CBYwm|0!&z3nrkGz=r*nf(zHZ$2Dd0F$>5D zT4@N+6|>lpg9zF=Xp*rMNAB;`3>D_>11oq*;uD6AWJ3W7AxdEdpQfoiBLtZ+8;pxF z77vkYi8lmdel{KmiZSsJ7c6oGsPyZ=Kt--v;)a;AT(=c;6I&L5rJVfE;3rjIjc8)rtjZ&SkyH+KH`Ff|;wbL`jh&#_Af4WT04 zP`znsc*8t3{cxgo`r^jam64H}xqbI9Pn>z)a`nrIG&r`gX78)p)1R5T%7)FuN4F=c z`r77L@4oS^7v8+T4)(_DPK|CsJ2o$}u}IhMcc}?=$TRnB^u(nKzbJ^uU(YTL3Kgvd hPrc`E=H|K$wZ!CCIPVNC!4 literal 0 HcmV?d00001 diff --git a/theme/basic/skin/shop/basic/itemuse.skin.php b/theme/basic/skin/shop/basic/itemuse.skin.php index 320445065..70ad318fc 100644 --- a/theme/basic/skin/shop/basic/itemuse.skin.php +++ b/theme/basic/skin/shop/basic/itemuse.skin.php @@ -21,6 +21,9 @@ add_stylesheet('', $is_name = get_text($row['is_name']); $is_subject = conv_subject($row['is_subject'],50,"…"); $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width); + $is_reply_name = !empty($row['is_reply_name']) ? get_text($row['is_reply_name']) : ''; + $is_reply_subject = !empty($row['is_reply_subject']) ? conv_subject($row['is_reply_subject'],50,"…") : ''; + $is_reply_content = !empty($row['is_reply_content']) ? get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width) : ''; $is_time = substr($row['is_time'], 2, 8); $is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id']; @@ -43,6 +46,7 @@ add_stylesheet('',
    +
    @@ -51,6 +55,21 @@ add_stylesheet('', " class="itemuse_delete btn01">삭제
    + + +
    +
    답변
    +
    + +
    +
    + +
    +
    + +
    +
    + diff --git a/theme/basic/skin/shop/basic/itemuselist.skin.php b/theme/basic/skin/shop/basic/itemuselist.skin.php index 92c3da8cc..7843b070f 100644 --- a/theme/basic/skin/shop/basic/itemuselist.skin.php +++ b/theme/basic/skin/shop/basic/itemuselist.skin.php @@ -75,6 +75,37 @@ add_stylesheet('', + + +
  • + + +
    + +

    + +
    +
    작성자
    +
    +
    + + + +
    +
    +
  • + + 0) echo ''; if ($i == 0) echo '

    자료가 없습니다.

    '; diff --git a/theme/basic/skin/shop/basic/style.css b/theme/basic/skin/shop/basic/style.css index 4e254222a..a82584d99 100644 --- a/theme/basic/skin/shop/basic/style.css +++ b/theme/basic/skin/shop/basic/style.css @@ -442,6 +442,12 @@ .sit_use_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} .sit_use_cmd {text-align:right} +.sit_use_reply{position:relative;border-top:1px dotted #bbb;margin:10px 0 0 ;padding:10px 0 0 40px} +.use_reply_icon{position:absolute;top:10px;left:5px;background:url('./img/use_reply.png') no-repeat 0 0; width:28px;height:17px;text-indent:-999px;overflow:hidden;} +.use_reply_tit{font-weight:bold;line-height:1.5em} +.use_reply_name{font-size:0.92em;color:#777;margin:5px 0} +.use_reply_p{padding:10px;border:1px solid #e9e9e9;background:#fff;line-height:1.5em} + #sit_use_wbtn {margin:0 0 5px;text-align:right} #sit_use_write {} @@ -506,16 +512,19 @@ #sps li {position:relative;padding:10px;border-bottom:1px solid #e9e9e9} #sps li:after {display:block;visibility:hidden;clear:both;content:""} -.sps_img {float:left;margin:0 10px 0 0;width:80px} +.sps_img {float:left;margin:0 10px 0 0;width:70px} .sps_img span {position:absolute;font-size:0;line-height:0;overflow:hidden} +.sps_reply .sps_img {text-align:right;width:70px;} +.sps_reply .sps_section h2{background:url('./img/use_reply.png') no-repeat 0 0;text-indent:30px;line-height:1.5em;} + #sps dl {margin:5px 0 10px;zoom:1} #sps dl:after {display:block;visibility:hidden;clear:both;content:""} #sps dt {float:left} #sps dd {float:left;margin:0 20px 0 5px} #sps dd img {position:relative;top:-2px} -.sps_section {float:left;width:630px} +.sps_section {float:left;width:640px} .sps_section p {padding:0;width:100%} .sps_con_full {padding:0;height:auto !important} .sps_con_btn {margin:5px 0 0;text-align:right}