/home/mjc1/public_html/j3demo/shopm/item_use_view.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
include_once("./_common.php");
if(
$idx!=''){
    
$sql "select a.*, b.name from shop_prod_use a left join product_m b on a.pcode = b.code where idx = '{$idx}' ";
    
$cinfo sql_fetch($sql,$connect_j3);
}
?>
<style>

</style>
<form name='prod_qa_reg_form' id='stock_reg_form' method='post' action=''>
<input type='hidden' name='qstr' value=''>
<input type='hidden' name='code' value='<?php echo $cinfo['idx'];?>'>
<input type='hidden' name='ccode' value='<?php echo $cinfo['ccode'];?>'>

<div class="width_full">
    <h1 class="screen_out">상품후기</h1>
    <table class="width_full txt13 black_line_t">
        <caption class="mt15 mb5 l_height24 txt15 align_l bold">상품후기 확인</caption>
        <colgroup>
            <col class="width_half"><col class="width_half">
        </colgroup>
        <thead>
        <tr>
            <th colspan="2" class="p3 align_c bold gray_line_b bg_gray">후기제목</th>
        </tr>
        <tr>
            <td class="p3 gray2 align_c bold gray_line_b bg_gray">작성자</td>
            <td class="p3 gray2 align_c bold gray_line_b bg_gray">작성일</td>
        </tr>
        </thead>

        <tbody>
        <tr>
            <th colspan="2" class="pl10 txt13 bold align_l l_height24 space_1 gray_line_b2">
                <img src='<?php echo "{$j3_img_url}/s_star{$cinfo['iu_score']}.png";?>' class="mr5 height12">
                <?php echo $cinfo['iu_subject'];?>
            </th>
        </tr>
        <tr>
            <td class="pl10 gray2 align_l bold gray_line_b">
                <?php echo cut_hangul_last(substr($cinfo['iu_name'],0,3))."**";?>
            </td>
            <td class="pr10 gray2 align_r bold gray_line_b">
                <?php echo $cinfo['iu_time'];?>
            </td>
        </tr>
        </tbody>

        <tfoot>
        <tr>
            <td colspan="2" class="p5 gray_line_b bg_gray">
                <?php echo $cinfo['iu_content'];?>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="p5 gray_line_b bg_gray">
<?php
    
if(file_exists($j3_data_path."/item_use/iu_".$cinfo['ct_idx'])){
        echo 
"<img src='".$j3_data_url."/item_use/iu_".$cinfo['ct_idx']."' style='max-width:350px;'>";
    }
?>
            </td>
        </tr>
        </tfoot>
    </table>
</div>
</form>