해피아이

그럼 이렇게 해보세요~

· 21년 전 · 373
<?
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>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누3질답

+
제목 글쓴이 날짜 조회
21년 전 조회 355
21년 전 조회 416
21년 전 조회 597
21년 전 조회 408
21년 전 조회 362
21년 전 조회 311
21년 전 조회 441
21년 전 조회 556
21년 전 조회 502
21년 전 조회 374
21년 전 조회 426
21년 전 조회 343
21년 전 조회 335
21년 전 조회 475
21년 전 조회 351
21년 전 조회 303
21년 전 조회 263
21년 전 조회 387
21년 전 조회 362
21년 전 조회 764
🐛 버그신고