그누에서 나라오름님의 최신 개설클럽 스킨
그누보드를 이용하면서 메인페지에서 최신게시물 출력형식처럼 나라오름님의 클럽을 사용하시는 분들을 위하여 직접 최신개설클럽을 불러드립니다.
소스는 아래와 같이 써주시구요. 다운받는 파일은 images 폴더만 받습니다.
images 폴더를 다운 받으신후에 로트경로에 직접 올려주세요.
<table cellspacing="0" cellpadding="0" width="190" background="<?=$g4['path']?>/images/new_subt_bg.gif" border="0">
<tr>
<td width="200"><img src="<?=$g4['path']?>/images/new_subt6.gif" width="190" height="33" border="0"></td>
<tr>
<tr>
<td align="right" valign="top" style="padding-top:3px; padding-bottom:3px;"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5" colspan="3"></td>
</tr>
<?php
$query_club=mysql_query("select * from nc_club order by cb_no desc limit 0,5");
$i=1;
while($row_club=mysql_fetch_array($query_club))
{
?>
<tr>
<td width="16%" height="28" align="center"><font color="#6699FF">
<?=$i?>
</font></td>
<td width="53%" height="28"><a href="/club/?<?=$row_club[cb_id]?>" target="_blank" title="클럽이름">
<?=$row_club[cb_name]?>
</a></td>
<td width="31%" align="right" style="padding-right:15px;"><font color="#000000" title="클럽주소">
<?=$row_club[cb_id]?>
</font></td>
</tr>
<tr>
<td colspan="3" height="1" bgcolor="#f1f1f1"></td>
</tr>
<?php
$i++;
}
?>
<tr>
<td height="5" colspan="3"></td>
</tr>
</table></td>
<tr>
<tr>
<td><img src="<?=$g4['path']?>/images/new_subt_bottom.gif" width="190" height="3" border="0"></td>
<tr></tr>
</table>
소스는 아래와 같이 써주시구요. 다운받는 파일은 images 폴더만 받습니다.
images 폴더를 다운 받으신후에 로트경로에 직접 올려주세요.
<table cellspacing="0" cellpadding="0" width="190" background="<?=$g4['path']?>/images/new_subt_bg.gif" border="0">
<tr>
<td width="200"><img src="<?=$g4['path']?>/images/new_subt6.gif" width="190" height="33" border="0"></td>
<tr>
<tr>
<td align="right" valign="top" style="padding-top:3px; padding-bottom:3px;"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5" colspan="3"></td>
</tr>
<?php
$query_club=mysql_query("select * from nc_club order by cb_no desc limit 0,5");
$i=1;
while($row_club=mysql_fetch_array($query_club))
{
?>
<tr>
<td width="16%" height="28" align="center"><font color="#6699FF">
<?=$i?>
</font></td>
<td width="53%" height="28"><a href="/club/?<?=$row_club[cb_id]?>" target="_blank" title="클럽이름">
<?=$row_club[cb_name]?>
</a></td>
<td width="31%" align="right" style="padding-right:15px;"><font color="#000000" title="클럽주소">
<?=$row_club[cb_id]?>
</font></td>
</tr>
<tr>
<td colspan="3" height="1" bgcolor="#f1f1f1"></td>
</tr>
<?php
$i++;
}
?>
<tr>
<td height="5" colspan="3"></td>
</tr>
</table></td>
<tr>
<tr>
<td><img src="<?=$g4['path']?>/images/new_subt_bottom.gif" width="190" height="3" border="0"></td>
<tr></tr>
</table>
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 12개
수정전 - $query_club=mysql_query("select * from nc_club order by cb_no desc limit 0,5");
추천클럽은 아래와 같이 변경해주세요.
수정후 - $query_club=mysql_query("select * from nc_club where cb_recommend ='y' order by cb_no desc limit 0,5");
잘 사용 하겠습니다...