그럼 이렇게 해보세요~ 정보
그누보드 그럼 이렇게 해보세요~
본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
define("_DOCTYPE_", "DESIGN");
$html_title = "모든 게시판의 게시물수";
?>
<table width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
<tr><td class='subject subjectbg ht'> <?=$html_title?></td></tr>
<tr><td height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
</table>
<p>
<table width=100% cellpadding=0 cellspacing=0 align=center>
<tr>
<td width='' valign=top>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td colspan=4 height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
<tr class='subject subjectbg ht' align="center">
<td>게시판</td>
<td>제목</td>
<td>조회수</td>
</tr>
<?
$sql = " select * from $cfg[table_board] where gr_id='juane' ";
// 물론 코멘트는 제외 입니다
$result = sql_query($sql);
while($row = mysql_fetch_array($result)) {
$bo_table = $row["bo_table"];
$bo_count = $row["bo_total_count"];
echo "테이블명 : $bo_table => 글의갯수 : $bo_count <br>";
}
mysql_free_result($result);
?>
<?
if ($rcount) {
echo "<tr><td align=center>TOTAL</td><td colspan=2 align=center>$rcount</td></tr>";
} else {
echo "<td height=100 align=center colspan=3>등록된 글이 없습니다.</td>";
}
?>
</table>
<p>
</td>
</tr>
</table>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
define("_DOCTYPE_", "DESIGN");
$html_title = "모든 게시판의 게시물수";
?>
<table width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
<tr><td class='subject subjectbg ht'> <?=$html_title?></td></tr>
<tr><td height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
</table>
<p>
<table width=100% cellpadding=0 cellspacing=0 align=center>
<tr>
<td width='' valign=top>
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td colspan=4 height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
<tr class='subject subjectbg ht' align="center">
<td>게시판</td>
<td>제목</td>
<td>조회수</td>
</tr>
<?
$sql = " select * from $cfg[table_board] where gr_id='juane' ";
// 물론 코멘트는 제외 입니다
$result = sql_query($sql);
while($row = mysql_fetch_array($result)) {
$bo_table = $row["bo_table"];
$bo_count = $row["bo_total_count"];
echo "테이블명 : $bo_table => 글의갯수 : $bo_count <br>";
}
mysql_free_result($result);
?>
<?
if ($rcount) {
echo "<tr><td align=center>TOTAL</td><td colspan=2 align=center>$rcount</td></tr>";
} else {
echo "<td height=100 align=center colspan=3>등록된 글이 없습니다.</td>";
}
?>
</table>
<p>
</td>
</tr>
</table>
댓글 전체