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

shop/maintype10.inc.php 에 품절 및 상품유형 아이콘 표시하기

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<?
for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i > 0 && $i % $list_mod == 0) {
echo "</tr>\n\n<tr>\n";
}

$sql2 = " select * from $g4[yc4_item_table] where it_id = '$row[it_id]' ";
$row2 = sql_fetch($sql2);

$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top>
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr><td align=center><?=$href?><?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
<!-- <tr><td align=center><?=$href?><?=stripslashes($row[it_name])?></a></td></tr> -->
<tr><td align=center><?=it_name_icon($row2)?></td></tr>
<!--시중가격<tr><td align=center><strike><?=display_amount($row[it_cust_amount])?></strike></td></tr>-->
<tr><td align=center><span class=amount><?=display_amount(get_amount($row), $row[it_tel_inq])?></span></td></tr>
</table></td>
<?
}

// 나머지 td 를 채운다.
if (($cnt = $i%$list_mod) != 0)
for ($k=$cnt; $k<$list_mod; $k++)
echo "<td>&nbsp;</td>\n";
?>
</tr>
</table>

댓글 작성

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

로그인하기

댓글 1개

게시글 목록

번호 제목
471
468
466
464
463
461
456
455
453
450
436
434
423
422
418
416
412
410
407
405