글을 추천한 회원보여주기
그누보드 홈페이지 게시판스킨게시판에서 글내용의 하단에 사용된 "이 스킨을 추천하신 회원님"을 따라해보았습니다.
사용된 이미지는 basic스킨에 있는 것이구요, 게시판스킨 view.skin.php 파일의 원하는 위치에 넣으시면 됩니다.
팁게시판에 아직 없는것 같아 올려봅니다.^^
<!-- 추천한 회원 -->
<table width="100%" cellspacing="0" cellpadding="0">
<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 bordercolor="#CCCCCC" background="<?=$board_skin_path?>/img/left_bg.gif"></td>
<td height="30" bgcolor="#F7F7F7" style="line-height:15pt;word-break:break-all;">추천하신 회원님 : <?=$view[wr_good]?> 명<br>
<?
$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></font> ";
}
?></td>
<td bordercolor="#CCCCCC" background="<?=$board_skin_path?>/img/right_bg.gif"></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>
</table>
<br>
<!-- 추천한 회원 끝 -->
사용된 이미지는 basic스킨에 있는 것이구요, 게시판스킨 view.skin.php 파일의 원하는 위치에 넣으시면 됩니다.
팁게시판에 아직 없는것 같아 올려봅니다.^^
<!-- 추천한 회원 -->
<table width="100%" cellspacing="0" cellpadding="0">
<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 bordercolor="#CCCCCC" background="<?=$board_skin_path?>/img/left_bg.gif"></td>
<td height="30" bgcolor="#F7F7F7" style="line-height:15pt;word-break:break-all;">추천하신 회원님 : <?=$view[wr_good]?> 명<br>
<?
$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></font> ";
}
?></td>
<td bordercolor="#CCCCCC" background="<?=$board_skin_path?>/img/right_bg.gif"></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>
</table>
<br>
<!-- 추천한 회원 끝 -->
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 7개
나스카님 스킨^^
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=32137&sca=&sfl=mb_id%2C1&stx=nasca