게시판에 필드 하나를 입력하고 최신글로 불러 들일때 안찍히는 이유?

· 21년 전 · 315
게시판 스킨에 필드 <?=$write[wr_1]?> 를 넣고 gbview에도 찍고 gblist에도 찍고
했습니다... 그런데 view 에선 아래 전체 게시물에는 찍히는데 list 에선 나오지 않습니다..

그리고 최신글로 찍었는데 나오지 않습니다....

최신글 소스

<?
$image_height = 80; // 높이
$image_width = 80; // 너비
?>

<table width=100% cellpadding=0 cellspacing=0 border=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i==0) { ?>
<tr>
<td> <table cellpadding=1 cellspacing=3 border=0>
<tr>
<td width="200" height="50" valign="middle"><p><img src='<?=$list[$i][file_image1]?>' width='<?=$image_width?>' height='<?=$image_height?>' border=0 align=left></p></td>
<td width="80%" height="30" valign="top">-
<?=$write[wr_1]?>
<br>
<br>
- <a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=subject><b>
<?=cut_str($list[$i][subject],30,"...");?>
</b></span></a> <span style='font-size:8pt;'> </span>
<?=$list[$i][icon_new]?>
</td>
</tr>
<tr>
<td colspan="2" valign="middle">
<?=nl2br(stripslashes(cut_str($list[$i][wr_content], 70, '…' )))?>
</td>
</tr>
</table></td>
</tr>
<? } else if ($i==1) { ?>
<tr>
<td bgcolor="#CCCCCC" height="1"></td>
</tr>
<!--일반게시물-->
<? } else { ?>
<tr>
<td width="100%" height="1" colspan="2"> <table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td width="100%" height="1" background='./<?=$latest_skin?>/line_width.gif'></td>
</tr>
</table></td>
</tr>
<? } ?>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=25>자료가 없습니다.</td></tr>"; } ?>
<tr>
<td width="100%" height="5" colspan="2"></td>
</tr>
</table>



게시판 -form 에서
<tr><td height=30>&nbsp;&nbsp; 목 사 님</td>
<td>: &nbsp;&nbsp;<input type=text name='wr_1' required itemname='목사님' value='<?=$write[wr_1]?>' class='input' size=25></td>
</tr>
<tr><td colspan=2 height=1 background='<?=$board_skin?>/dotline.gif'></td></tr>
이렇게 했구여

-view 에선
<tr><td height=25>&nbsp;&nbsp;<?=$write[wr_1]?> &nbsp;(<?=$ip?>)</td><td align=right><span class=wview>조회</span> : <?=$hit?>&nbsp;&nbsp;<? if ($is_good) echo "<span class=wview>추천</span> : " . $good; ?>&nbsp;&nbsp;<? if ($is_nogood) echo "<span class=wview>비추천</span> : " . $nogood; ?>&nbsp;&nbsp;</td></tr>
<tr><td colspan=2 height=1 bgcolor=#D4CFC3></td></tr>

- list 에선
<td nowrap colspan=3><?=$write[wr_1]?></td>

이렇게 했습니다...

위에서 말한것처럼 view 에선 찍힙니다...list 에서는 안나옵니다...
최신글에서도 안나옵니다...

어떻게 해야 할지요?
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누3질답

+
제목 글쓴이 날짜 조회
21년 전 조회 390
21년 전 조회 336
21년 전 조회 381
21년 전 조회 349
21년 전 조회 732
21년 전 조회 349
네모똘
21년 전 조회 459
21년 전 조회 274
21년 전 조회 350
21년 전 조회 316
21년 전 조회 485
21년 전 조회 524
21년 전 조회 263
21년 전 조회 290
21년 전 조회 396
21년 전 조회 350
21년 전 조회 417
21년 전 조회 445
21년 전 조회 467
21년 전 조회 327
🐛 버그신고