테스트 사이트 - 개발 중인 베타 버전입니다

관련상품

· 11년 전 · 12 · 1
관련상품 1라인이미지수를 강제로 2로 하려면 어느부분을 바꿔야하나요?

<!-- 관련상품 -->
<div id='item_relation' style='display:block;'>
<h3>관련상품</h3><hr>
<table width=100% cellpadding=0 cellspacing=0>
<tr><td height=130>
        <table width=100% cellpadding=0 cellspacing=0 border=0>
        <tr><td align=center>
        <?
        $list_mod   = $default[de_rel_list_mod];
        $img_width  = $default[de_rel_img_width];
        $img_height = $default[de_rel_img_height];
        $td_width = (int)(100 / $list_mod);

        $sql = " select b.*
                   from $g4[yc4_item_relation_table] a
                   left join $g4[yc4_item_table] b on (a.it_id2=b.it_id)
                  where a.it_id = '$it[it_id]'
                    and b.it_use='1' ";
        $result = sql_query($sql);
        $num = @mysql_num_rows($result);
        if ($num)
            include "$g4[shop_path]/maintype10.inc.php";
        else
            echo "이 상품과 관련된 상품이 없습니다.";
        ?></td></tr></table></td>
</tr>
<tr><td colspan=2 height=1></td></tr>
</table>
</div>
<!-- 관련상품 end -->

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

$list_mod = $default[de_rel_list_mod];

$list_mod = 2;
로 수정하시거나

관리자 > 쇼핑몰설정 > 기타정보 > 관련상품출력의 1라인이미지수를 2로 설정하시기 바랍니다.

게시글 목록

번호 제목
55226
55224
55222
55220
55218
55209
55193
55189
55187
55182
55195
55179
55177
55171
55169
55167
55166
55164
55161
55160