포인트3,000점 겁니다 ㅠ_ㅠ 도와주세용 정보
포인트3,000점 겁니다 ㅠ_ㅠ 도와주세용본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td width="100%" height="1" bgcolor="e5e5e5" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="2" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="2" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="1" bgcolor="f4f4f4" colspan="2"></td>
</tr>
<? for ($j=0; $j<1; $j++) { ?>
<tr>
<td width="1861" style="padding-left: 10px; padding-top: 0px; padding-bottom: 0px; line-height: 15px;" colspan="2">
<p><b><img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"></b><span style="line-height:10px;"> </span><b><a href='<?=$list[$j][href]?>'><font color="red"><?=$list[$j][wr_subject]?></a><a href='<?=$list[$j][href]?>'><?=$list[$i][subject]?></font></b><br><?=cut_str(nl2br(stripslashes($list[$j][wr_content])),35)?></p>
</td>
</tr>
<? } ?>
<? for ($i=1; $i<count($list); $i++) { ?>
<tr>
<td width="100%" height="1" bgcolor="f4f4f4" colspan="2"></td>
</tr>
<tr>
<td width="1073" height="25" style="padding-top: 4px;" OnMouseOver="this.style.backgroundColor='#f4f4f4';" OnMouseOut="this.style.backgroundColor='#FFFFFF'"> <img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"> <a href='<?=$list[$i][href]?>'><font color="666666"><?=$list[$i][subject]?></a></td>
<td width="158" height="25" style="padding-top:4px;"><a href='<?=$list[$i][href]?>'><span style="font-family:Tahoma;font-size:8pt"><font color="666666"><?=$list[$i][datetime2]?></span></a></td>
</tr>
<? } ?>
<tr>
<td width="100%" height="1" bgcolor="f4f4f4" colspan="2"></td>
</tr>
</table>
위 소스에 코멘트 나오게 도와주세요 ㅠ_ㅠ
제목이 나오고 내용이 나오는 소스입니다.. 제목에 코멘트 갯수가 출력이 될 수 있도록 도와주세요;;
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td width="100%" height="1" bgcolor="e5e5e5" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="2" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="2" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="1" bgcolor="f4f4f4" colspan="2"></td>
</tr>
<? for ($j=0; $j<1; $j++) { ?>
<tr>
<td width="1861" style="padding-left: 10px; padding-top: 0px; padding-bottom: 0px; line-height: 15px;" colspan="2">
<p><b><img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"></b><span style="line-height:10px;"> </span><b><a href='<?=$list[$j][href]?>'><font color="red"><?=$list[$j][wr_subject]?></a><a href='<?=$list[$j][href]?>'><?=$list[$i][subject]?></font></b><br><?=cut_str(nl2br(stripslashes($list[$j][wr_content])),35)?></p>
</td>
</tr>
<? } ?>
<? for ($i=1; $i<count($list); $i++) { ?>
<tr>
<td width="100%" height="1" bgcolor="f4f4f4" colspan="2"></td>
</tr>
<tr>
<td width="1073" height="25" style="padding-top: 4px;" OnMouseOver="this.style.backgroundColor='#f4f4f4';" OnMouseOut="this.style.backgroundColor='#FFFFFF'"> <img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"> <a href='<?=$list[$i][href]?>'><font color="666666"><?=$list[$i][subject]?></a></td>
<td width="158" height="25" style="padding-top:4px;"><a href='<?=$list[$i][href]?>'><span style="font-family:Tahoma;font-size:8pt"><font color="666666"><?=$list[$i][datetime2]?></span></a></td>
</tr>
<? } ?>
<tr>
<td width="100%" height="1" bgcolor="f4f4f4" colspan="2"></td>
</tr>
</table>
위 소스에 코멘트 나오게 도와주세요 ㅠ_ㅠ
제목이 나오고 내용이 나오는 소스입니다.. 제목에 코멘트 갯수가 출력이 될 수 있도록 도와주세요;;
댓글 전체
코멘트 : <?=$list[$i]['wr_comment']?> 개
이걸 어디에다가 붙여야 할까요 ㅠ_ㅠ
<?=$list[$i][subject]?>이렇게 나와있는 옆에 <?=$list[$i]['wr_comment']?> 다 붙여봐도 안됩니다..;;
<?=$list[$i][subject]?>이렇게 나와있는 옆에 <?=$list[$i]['wr_comment']?> 다 붙여봐도 안됩니다..;;
$i 를 $j 로
감사 ㅠ_ㅠ