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

안녕하세요 메인상품 최신글 질문입니다

· 13년 전 · 44 · 1
1111.jpg
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";
}

$href = "<a href='$g4[shop_path]/item.php?it_id=$row[it_id]' class=item>";
?>
<td width="<?=$td_width?>%" align=center valign=top style="padding:10px 0 0 0">
<table width=98% cellpadding=1 cellspacing=0 border=0>
<tr><td height=5></td></tr>
<tr>
<td align=center><?=$href?>
<br />
<br />
<?=get_it_image($row[it_id]."_s", $img_width, $img_height)?></a></td></tr>
<tr><td align=center><?=it_name_icon($row)?></a></td></tr>
<!--시중가격<tr><td align=center><strike><?=display_amount($row[it_cust_amount])?></strike></td></tr>-->
<tr><td align=center style="padding:0 0 20px 0" ><span class=amount><?=display_amount(get_amount($row), $row[it_tel_inq])?></span></td></tr>
</table></td></td>
<?
/*
// 이미지 오른쪽에 구분선을 두는 경우 (이미지로 대체 가능)
if ($i%$list_mod!=$list_mod-1)
echo "<td width=1 bgcolor=#eeeeee></td>";
*/
}

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

댓글 작성

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

로그인하기

댓글 1개

제목을 두껍게도 부탁드리겠습니다~~

게시글 목록

번호 제목
56073
56067
56065
56060
56058
56055
56051
56048
56044
56043
56042
56039
56035
56032
56030
56028
56025
56018
56012
56010