diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 18c8211c7..7d0c780fc 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -884,8 +884,8 @@ function alert_opener($msg='', $url='') if (!$msg) $msg = '올바른 방법으로 이용해 주십시오.'; - echo ""; - echo " \ No newline at end of file diff --git a/mobile/shop/itemuseform.php b/mobile/shop/itemuseform.php new file mode 100644 index 000000000..00927b490 --- /dev/null +++ b/mobile/shop/itemuseform.php @@ -0,0 +1,104 @@ + + + +
+
+ + + +
+ 사용후기 쓰기 +
    +
  • + + +
  • +
  • + + +
  • +
  • + + > + > + > + > + > +
  • +
+ +
+
+
+ + + + \ No newline at end of file diff --git a/mobile/shop/itemuselist.php b/mobile/shop/itemuselist.php new file mode 100644 index 000000000..5baca346a --- /dev/null +++ b/mobile/shop/itemuselist.php @@ -0,0 +1,153 @@ + + +전체보기 + +
+ + + +
+ +
+ + + + '; + ?> +
  • + + + +
    +

    + +
    +
    작성자
    +
    +
    작성일
    +
    +
    평가점수
    +
    별<?php echo $star; ?>개
    +
    + + + +
    +
    + +
  • + 0) echo ''; + if ($i == 0) echo '

    자료가 없습니다.

    '; + ?> + +
    + + + + + + + diff --git a/mobile/shop/list.php b/mobile/shop/list.php index e627dbf60..00f97b6da 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -106,7 +106,7 @@ $qstr1 .= 'ca_id='.$ca_id; if($skin) $qstr1 .= '&skin='.$skin; $qstr1 .='&ev_id='.$ev_id.'&sort='.$sort.'&sortodr='.$sortodr; -echo get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr1.'&page='); +echo get_paging($config['cf_mobile_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr1.'&page='); ?> 상품문의 - +
    + diff --git a/shop/itemqa.php b/shop/itemqa.php new file mode 100644 index 000000000..079546fd2 --- /dev/null +++ b/shop/itemqa.php @@ -0,0 +1,208 @@ + + +
    +

    등록된 상품문의

    + + "; + //if ($row[iq_answer]) $qa .= ""; + //$qa = "$qa"; + + $iq_stats = ''; + $iq_answer = ''; + $iq_flag = 0; + if ($row['iq_answer']) + { + $iq_answer = conv_content($row['iq_answer'],0); + $iq_stats = '답변완료'; + } else { + $iq_stats = '답변전'; + $iq_answer = '답변이 등록되지 않았습니다.'; + $iq_flag = 1; + } + + if ($i == 0) echo '
      '; + ?> + +
    1. + +
      +
      작성자
      +
      +
      작성일
      +
      +
      상태
      +
      +
      + +
      +

      + 문의내용
      + +

      +

      + 답변
      + +

      + + + + + + + +
      + 수정 + 삭제 +
      + +
      +
    2. + + = 0) echo '
    '; + + if (!$i) echo '

    상품문의가 없습니다.

    '; + ?> +
    + + 1) { + $str .= '처음'.PHP_EOL; + } + + $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; + $end_page = $start_page + $write_pages - 1; + + if ($end_page >= $total_page) $end_page = $total_page; + + if ($start_page > 1) $str .= '이전'.PHP_EOL; + + if ($total_page > 1) { + for ($k=$start_page;$k<=$end_page;$k++) { + if ($cur_page != $k) + $str .= ''.$k.'페이지'.PHP_EOL; + else + $str .= '열린'.$k.'페이지'.PHP_EOL; + } + } + + if ($total_page > $end_page) $str .= '다음'.PHP_EOL; + + if ($cur_page < $total_page) { + $str .= '맨끝'.PHP_EOL; + } + + if ($str) + return ""; + else + return ""; +} + +echo itemqa_page($config['cf_write_pages'], $page, $total_page, "./itemqa.php?it_id=$it_id&page=", ""); +?> + +
    + 상품문의 쓰기 +
    + + \ No newline at end of file diff --git a/shop/itemqaform.php b/shop/itemqaform.php new file mode 100644 index 000000000..4189f6544 --- /dev/null +++ b/shop/itemqaform.php @@ -0,0 +1,74 @@ + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + 패스워드는 최소 3글자 이상 입력하십시오. + +
    자동등록방지
    + +
    + +
    +
    +
    + + + + \ No newline at end of file diff --git a/shop/itemqaformupdate.php b/shop/itemqaformupdate.php new file mode 100644 index 000000000..bdb4ecff3 --- /dev/null +++ b/shop/itemqaformupdate.php @@ -0,0 +1,95 @@ + diff --git a/shop/itemuseform.php b/shop/itemuseform.php index c6fab9cae..3ce57e4fd 100644 --- a/shop/itemuseform.php +++ b/shop/itemuseform.php @@ -1,5 +1,11 @@ ) { alert("내용은 글자 이내에서 작성해 주세요. (한글은 영문 3자)\n\n현재 : "+is_content_editor_data.length+" 글자"); - CKEDITOR.instances.is_content.focus(); + CKEDITOR.instances.is_content.focus(); return false; } diff --git a/shop/itemuselist.php b/shop/itemuselist.php index ff44347ce..8e10a48eb 100644 --- a/shop/itemuselist.php +++ b/shop/itemuselist.php @@ -1,5 +1,11 @@