관련상품 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개
게시글 목록
| 번호 | 제목 |
|---|---|
| 55226 | |
| 55224 | |
| 55222 | |
| 55220 | |
| 55218 | |
| 55209 | |
| 55193 | |
| 55189 | |
| 55187 | |
| 55182 | |
| 55195 | |
| 55179 | |
| 55177 | |
| 55171 | |
| 55169 | |
| 55167 | |
| 55166 | |
| 55164 | |
| 55161 | |
| 55160 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기