/home/mjc1/public_html/j3demo/shop/1n1_new.inc.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
include_once("./_common.php");

//$cust_info = customer_info_get($id_ccode); // 회원 정보 가져오기
$cust_info $cinfo;

$qa_email $cust_info['email'];

?>
<form name='1n1_reg_form' id='1n1_reg_form' method='post' action=''>
<input type='hidden' name='qstr' value=''>
<input type='hidden' name='code' value='<?php echo $idx;?>'>
<input type='hidden' name='pcode' value='<?php echo $code;?>'>

<div class="p10_20">
    <!--<h4 class="mb10 height24 gray_line_b">1:1문의</h4>-->
    <table class="width_full top_bold_line">
        <caption class="mt10 mb10 l_height30 txt17 align_l bold">1:1문의 작성 <a><!--<span class="more float_r pl10 box120_30 txt13 gray_line">나의 상담내역</span></a>--></caption>
        <colgroup>
            <col class="width140"><col>
        </colgroup>

        <tbody>
        <tr>
            <th class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">작성자</th>
            <td colspan="3" class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                <input type='text' name='qa_name' class="box100_30 gray_line input_readonly" value='<?php echo $id_cname;?>'>
            </td>
        </tr>
        <tr>
            <th class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">이메일</th>
            <td colspan="3" class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                <input type='text' name='qa_email' class="box200_30 gray_line input_readonly" value='<?php echo $qa_email;?>'>
            </td>
        </tr>
        <tr>
            <th class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">문의제목</th>
            <td colspan="3" class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                <input type='text' name='qa_subject' class="box340_30 gray_line" value='<?php echo $cinfo['qa_subject'];?>'>
            </td>
        </tr>
        <tr>
            <th class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">문의내용</th>
            <td colspan="3" class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                <textarea name='qa_content' id='qa_content' class="width_full height130 l_height20 gray_line"><?php echo $cinfo['qa_content'];?></textarea>
            </td>
        </tr>
    </table>
</div>
</form>
<script>
CKEDITOR.replace( 'qa_content', {    height: 230    } );
</script>