밑에 기본소스에서 date_time, new 아이콘이 들어가지 않아서 넣으려고 하니 어떻게 해야 하는지
모르겠네요.. 어떻게 수정을 해야 하나요??
※ 소스
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="5"></td>
<td height=22>
<nobr style='display:block; overflow:hidden; width:160;'>
<img src='images/icon.gif' align=absmiddle>
<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?><?$list[$i][$date_time]?></a>
<span style='font-family:돋움; font-size:9pt; color:#9A9A9A;'><?=$list[$i][comment_cnt]?></span></a></td>
</nobr>
</tr>
<? if ($i < $rows-1) { echo "<tr><td></td><td align=center background='images/line.gif'></td></tr>"; } ?>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>
답변부탁드려요..ㅜ.ㅡ
모르겠네요.. 어떻게 수정을 해야 하나요??
※ 소스
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="5"></td>
<td height=22>
<nobr style='display:block; overflow:hidden; width:160;'>
<img src='images/icon.gif' align=absmiddle>
<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?><?$list[$i][$date_time]?></a>
<span style='font-family:돋움; font-size:9pt; color:#9A9A9A;'><?=$list[$i][comment_cnt]?></span></a></td>
</nobr>
</tr>
<? if ($i < $rows-1) { echo "<tr><td></td><td align=center background='images/line.gif'></td></tr>"; } ?>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>
답변부탁드려요..ㅜ.ㅡ
댓글 3개
대에충 아래처럼 수정해 보세요.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="5"></td>
<td height=22>
<nobr style='display:block; overflow:hidden; width:160;'>
<img src='images/icon.gif' align=absmiddle>
<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
<span style='font-family:돋움; font-size:9pt; color:#9A9A9A;'><?=$list[$i][comment_cnt]?></span></a> <?=$list[$i][$date_time]?> <?=$list[$i][icon_new]?></td>
</nobr>
</tr>
<? if ($i < $rows-1) { echo "<tr><td></td><td align=center background='images/line.gif'></td></tr>"; } ?>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>
만약 안나오면 소스 중에...
<nobr style='display:block; overflow:hidden; width:160;'> <=== 요 녀석 중에 'width' 길이를 더 넓게 해 보세요. ^.^*
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="5"></td>
<td height=22>
<nobr style='display:block; overflow:hidden; width:160;'>
<img src='images/icon.gif' align=absmiddle>
<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
<span style='font-family:돋움; font-size:9pt; color:#9A9A9A;'><?=$list[$i][comment_cnt]?></span></a> <?=$list[$i][$date_time]?> <?=$list[$i][icon_new]?></td>
</nobr>
</tr>
<? if ($i < $rows-1) { echo "<tr><td></td><td align=center background='images/line.gif'></td></tr>"; } ?>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>
만약 안나오면 소스 중에...
<nobr style='display:block; overflow:hidden; width:160;'> <=== 요 녀석 중에 'width' 길이를 더 넓게 해 보세요. ^.^*
에고 지송...
위에 것만 그대로 복사해서리... 당연히 안나오네요.
다시 아래처럼 수정해 보세요.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="5"></td>
<td height=22>
<nobr style='display:block; overflow:hidden; width:160;'>
<img src='images/icon.gif' align=absmiddle>
<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
<span style='font-family:돋움; font-size:9pt; color:#9A9A9A;'><?=$list[$i][comment_cnt]?></span></a> <?=$list[$i][datetime]?> <?=$list[$i][icon_new]?></td>
</nobr>
</tr>
<? if ($i < $rows-1) { echo "<tr><td></td><td align=center background='images/line.gif'></td></tr>"; } ?>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>
위에 것만 그대로 복사해서리... 당연히 안나오네요.
다시 아래처럼 수정해 보세요.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="5"></td>
<td height=22>
<nobr style='display:block; overflow:hidden; width:160;'>
<img src='images/icon.gif' align=absmiddle>
<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
<span style='font-family:돋움; font-size:9pt; color:#9A9A9A;'><?=$list[$i][comment_cnt]?></span></a> <?=$list[$i][datetime]?> <?=$list[$i][icon_new]?></td>
</nobr>
</tr>
<? if ($i < $rows-1) { echo "<tr><td></td><td align=center background='images/line.gif'></td></tr>"; } ?>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기