메인화면 상품출력부분에
신약재 상품 상품 상품 상품
상품 상품 상품 상품 상품
이런식으로 바꾸고 싶은데 이런식으론 구현하기가 어려운가요?
아무리 해도 안되서요 첨부파일 올립니다
신약재 상품 상품 상품 상품
상품 상품 상품 상품 상품
이런식으로 바꾸고 싶은데 이런식으론 구현하기가 어려운가요?
아무리 해도 안되서요 첨부파일 올립니다
댓글 1개
shop/list.skin.10.php 를 아래와 수정해 보십시오.
프로그램의 기능을 수정하시는 경우는 고객지원이 어려울 수 있습니다. 양해 바랍니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=2 cellspacing=0 border=1>
<tr>
<?
$i = 0;
do {
if ( ($i>0) && (($i%$list_mod)==0) ) {
echo "</tr>\n\n";
echo "<tr><td colspan='$list_mod' background='$g4[shop_img_path]/line_h.gif' height=1></td></tr>\n\n";
echo "<tr>\n";
}
if ($i == 0) {
echo "
<td width='{$td_width}%' align=center valign=top>
신약재
</td>";
} else {
echo "
<td width='{$td_width}%' align=center valign=top>
<br>
<table width=98% cellpadding=2 cellspacing=0>
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row)."</td></tr>";
if ($row[it_cust_amount] && !$row[it_gallery])
echo "<tr><td align=center><strike>".display_amount($row[it_cust_amount])."</strike></td></tr>";
echo "<tr><td align=center>";
if (!$row[it_gallery])
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "</td></tr></table></td>";
}
$i++;
} while ($row=sql_fetch_array($result));
// 나머지 td 를 채운다.
if (($cnt = $i%$list_mod) != 0)
for ($k=$cnt; $k<$list_mod; $k++)
echo " <td> </td>\n";
?>
</tr>
</table>
프로그램의 기능을 수정하시는 경우는 고객지원이 어려울 수 있습니다. 양해 바랍니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=2 cellspacing=0 border=1>
<tr>
<?
$i = 0;
do {
if ( ($i>0) && (($i%$list_mod)==0) ) {
echo "</tr>\n\n";
echo "<tr><td colspan='$list_mod' background='$g4[shop_img_path]/line_h.gif' height=1></td></tr>\n\n";
echo "<tr>\n";
}
if ($i == 0) {
echo "
<td width='{$td_width}%' align=center valign=top>
신약재
</td>";
} else {
echo "
<td width='{$td_width}%' align=center valign=top>
<br>
<table width=98% cellpadding=2 cellspacing=0>
<tr><td align=center>".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."</td></tr>
<tr><td align=center>".it_name_icon($row)."</td></tr>";
if ($row[it_cust_amount] && !$row[it_gallery])
echo "<tr><td align=center><strike>".display_amount($row[it_cust_amount])."</strike></td></tr>";
echo "<tr><td align=center>";
if (!$row[it_gallery])
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "</td></tr></table></td>";
}
$i++;
} while ($row=sql_fetch_array($result));
// 나머지 td 를 채운다.
if (($cnt = $i%$list_mod) != 0)
for ($k=$cnt; $k<$list_mod; $k++)
echo " <td> </td>\n";
?>
</tr>
</table>
게시글 목록
| 번호 | 제목 |
|---|---|
| 56073 | |
| 56067 | |
| 56065 | |
| 56060 | |
| 56058 | |
| 56055 | |
| 56051 | |
| 56048 | |
| 56044 | |
| 56043 | |
| 56042 | |
| 56039 | |
| 56035 | |
| 56032 | |
| 56030 | |
| 56028 | |
| 56025 | |
| 56018 | |
| 56012 | |
| 56010 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기