연후아빠님!!!!! 부탁이요~
페이지 정보
본문
댓글목록
연후아빠님의 댓글
연후아빠쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
textmenu.php
****************
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<?
$sql = " SELECT a.gr_id, a.gr_subject, a.gr_use_access, b.mb_id FROM $g4[group_table] AS a LEFT JOIN $g4[group_member_table] AS b ON a.gr_id = b.gr_id WHERE (b.mb_id = '$member[mb_id]' AND a.gr_use_access = '1' ) OR a.gr_use_access = '0' ORDER BY a.gr_1";
//제외그룹
$sql = " select * from $g4[group_table] where gr_id not in ('html', 'banner', 'guest', 'z5') order by gr_1";
//$sql = " select gr_id, gr_subject from $g4[group_table] where gr_id not in ($except) order by gr_subject desc ";
$rst1 = sql_query($sql);
while ($row=sql_fetch_array($rst1)) {
if($cells%6==0)
echo "</tr><tr>";
echo "<td valign='top' align='center'>";
echo "<table width='90' cellpadding='0' cellspacing='0' border='0'>";
echo "<tr><td width='90' align='center' height='30'><strong><a href='$g4[bbs_path]/group.php?gr_id=$row[gr_id]'><font color=#ffffff>$row[gr_subject]</font></a></strong></td></tr>"; // 그룹명 출력
$sql2 = " select * from $g4[board_table] where gr_id = '$row[gr_id]' order by bo_order_search ";
$rst2 = sql_query($sql2);
$cells++;
echo "</table>";
echo "</td>";
}
?>
</tr>
</table>
게시판은 그누 기본 베이직입니다~!