[그누보드] 추천한 회원 보여주기

그누보드 홈페이지 게시판스킨게시판에서 글내용의 하단에 사용된 "이 스킨을 추천하신 회원님"을 따라해보았습니다. 
게시판스킨 view.skin.php 파일의 원하는 위치에 넣으시면 됩니다. 


<!-- 추천한 회원 --> 
<table cellspacing="0" cellpadding="0" width="100%"> 
<tbody><tr> 
<td width="10"><img src="<?=$board_skin_path?>/img/left_top.gif" width="10" height="10"></td> 
<td background="<?=$board_skin_path?>/img/width_bg_top.gif"></td> 
<td width="10"><img src="<?=$board_skin_path?>/img/right_top.gif" width="10" height="10"></td> 
</tr> 
<tr> 
<td background="<?=$board_skin_path?>/img/left_bg.gif" bordercolor="#cccccc"></td> 
<td style="line-height: 15pt; word-break: break-all;" bgcolor="#f7f7f7" height="30">추천하신 회원님 : <!--?=$view[wr_good]?--> 명
 
<!--? 
$sql = " select b.mb_nick from g4_board_good a, g4_member b where a.bo_table='$bo_table' and a.wr_id='$wr_id' and a.mb_id=b.mb_id order by a.bg_id asc "; 
$result = mysql_query($sql); 
while($row=mysql_fetch_array($result)) { 
echo "<font color=blue--><b>$row[mb_nick]</b>&nbsp;&nbsp;"; 
?></td> 
<td background="<?=$board_skin_path?>/img/right_bg.gif" bordercolor="#cccccc"></td> 
</tr> 
<tr> 
<td width="10"><img src="<?=$board_skin_path?>/img/left_down.gif" width="10" height="10"></td> 
<td background="<?=$board_skin_path?>/img/width_bg_down.gif"></td> 
<td width="10"><img src="<?=$board_skin_path?>/img/right_down.gif" width="10" height="10"></td> 
</tr> 
</tbody></table> 

 
<!-- 추천한 회원 끝 -->

처음 1 2 3 4 다음 맨끝
글쓰기