|
|
|
22년 전
|
조회 324
|
|
|
|
22년 전
|
조회 432
|
|
|
|
22년 전
|
조회 386
|
|
|
|
22년 전
|
조회 498
|
|
|
|
22년 전
|
조회 529
|
|
|
|
22년 전
|
조회 568
|
|
|
|
22년 전
|
조회 390
|
|
|
|
22년 전
|
조회 797
|
|
|
관리자
|
22년 전
|
조회 365
|
|
|
|
22년 전
|
조회 375
|
|
|
|
22년 전
|
조회 492
|
|
|
|
22년 전
|
조회 517
|
|
|
|
22년 전
|
조회 552
|
|
|
|
22년 전
|
조회 384
|
|
|
|
22년 전
|
조회 482
|
|
|
|
22년 전
|
조회 371
|
|
|
|
22년 전
|
조회 562
|
|
|
|
22년 전
|
조회 600
|
|
|
|
22년 전
|
조회 414
|
|
|
|
22년 전
|
조회 538
|
댓글 6개
머시 잘못 된거지..
아...
<td>게시물 들어갈 자리<?=$list[$i][subject]?><?=$list[$i][date]?>
</td>
</tr>
이렇게 해 보아보셔요..
이걸 적용시켜도 되겠군요.
list0 , list1 이렇게 스타일 시트에 클래스를 두개 정의하고
아래의 내용을 참고 하면 될것 같습니다.
---------------------------------------------------------------------
for ($i=0; $row=mysql_fetch_array($result); $i++) {
// 상품명
$img = item_img("{$row[it_id]}_{$cfg[arrimg1][0]}", $img_w, $img_h);
$link = "./?doc=$cfg[shop_dir]/item.php&it_id=$row[it_id]";
$list = ($i%2);
echo "<tr class='list$list ht' align=center>";
.
.
.
--------------------------------------------------------------------
<tr><td class='subjectbg ht' colspan=3> <a href='<?="./$cfg[index]?doc=$cfg[bbs_dir]/gnuboard.php&bo_table=$bo_table"?>'><span class=subject><?=$bo_subject?></span></a></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height=22 <?=($i%2)?>>
<td width=60><?=$list[$i][date]?></td>
<td><?=$list[$i][icon_new]?><a href='<?="./$cfg[index]?doc=$cfg[bbs_dir]/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content><?=$list[$i][subject]?></span></a> <?=$list[$i][commentcnt]?></td>
<td width=70 align=center><?=$list[$i][name]?></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=50>자료가 없습니다.</td></tr>"; } ?>
</table>