new 아이콘을 출력하고싶습니다..ㅠ 정보
new 아이콘을 출력하고싶습니다..ㅠ본문
원 옆에 new, hot, 코멘트 달렸을때 숫자 보이게끔 하고싶은데..ㅠ
워낙에 초짜라 이곳에 문의드립니다.
부탁드리겠습니다..ㅠ
<table width="190" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td height=20 align=center> {$checkbox}{$view_href}{$list[$i][subject]}</a></td></tr>
<tr><td height=20 align=center> <font color="red">{$list[$i][wr_9]}</font> 원</td></tr>
<tr>
<td height="10" ></td>
</tr>
</table>
워낙에 초짜라 이곳에 문의드립니다.
부탁드리겠습니다..ㅠ
<table width="190" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td height=20 align=center> {$checkbox}{$view_href}{$list[$i][subject]}</a></td></tr>
<tr><td height=20 align=center> <font color="red">{$list[$i][wr_9]}</font> 원</td></tr>
<tr>
<td height="10" ></td>
</tr>
</table>
댓글 전체

재목가져오는건 {$list[$i][subject]} 가 아니라 <?={$list[$i][subject]}?> 로 알고있어여 ㅋ
아마 이게 그누보드 기본 new아이콘, hot아이콘, 코멘트수, 게시물 재목을 모두출력하는 코드로알고있습니다 ㅋ
<?
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($is_category && $list[$i][ca_name]) {
echo "<span class=small><font color=gray>[<a href='{$list[$i][ca_name_href]}'>{$list[$i][ca_name]}</a>]</font></span> ";
}
if ($list[$i][is_notice])
echo "<a href='{$list[$i][href]}'><span class='notice'>{$list[$i][subject]}</span></a>";
else
echo "<a href='{$list[$i][href]}'>{$list[$i][subject]}</a>";
if ($list[$i][comment_cnt])
echo " <a href="{$list[$i][comment_href]}"><span class='comment'>{$list[$i][comment_cnt]}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_file];
echo " " . $list[$i][icon_link];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_secret];
echo $nobr_end;
?>
아마 이게 그누보드 기본 new아이콘, hot아이콘, 코멘트수, 게시물 재목을 모두출력하는 코드로알고있습니다 ㅋ
위와같이 넣으면..
"; 16 17 // if (Array['link']['count']) { echo "[]"; } 18 // if (Array['file']['count']) { echo "<2>"; } 19 20 echo " " . Array[icon_new]; 21 echo " " . Array[icon_file]; 22 echo " " . Array[icon_link]; 23 echo " " . Array[icon_hot]; 24 echo " " . Array[icon_secret]; 25 echo ; 26 ?>
이런 오류가 떠서요..ㅠ
"; 16 17 // if (Array['link']['count']) { echo "[]"; } 18 // if (Array['file']['count']) { echo "<2>"; } 19 20 echo " " . Array[icon_new]; 21 echo " " . Array[icon_file]; 22 echo " " . Array[icon_link]; 23 echo " " . Array[icon_hot]; 24 echo " " . Array[icon_secret]; 25 echo ; 26 ?>
이런 오류가 떠서요..ㅠ

빌더를 쓰시나요?? ㄷ