까미빌더 게시판생성방법좀. 정보
까미빌더 게시판생성방법좀.본문
게시판을생성해도, 메뉴에 생성이 안돼잇네요,. 어ㅏ떡하죠 ?
댓글 전체
include/mu.php 를 수정하세요.
지금보니 수동이네요.
<?
$sql1 = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";
$result1 = sql_query($sql1);
$rows=mysql_fetch_array($result1);
?>
<td width=150><a href="<?=$g4[path]?>"><span style='color:#FADE00; font-weight: bold;'><?=$rows[gr_subject];?></span></a></td>
<td valign="middle" align=left>
<?
$sql = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";
$result = sql_query($sql);
while ($row=mysql_fetch_array($result)) {
$sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]'
and bo_list_level <= '$member[mb_level]'
order by bo_order_search asc";
$result2 = sql_query($sql2);
while ($row2=mysql_fetch_array($result2)) {
if ($row2[bo_table] == $bo_table)
echo " <a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' onfocus='this.blur()'><span style='color:{$sub_a};'><b>$row2[bo_subject]</b></span></a>";
else
echo " <a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' onfocus='this.blur()'><span style='color:{$sub_b};'>$row2[bo_subject]</span></a>";
}
}
?>
</td>
<? } ?>
지금보니 수동이네요.
<?
$sql1 = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";
$result1 = sql_query($sql1);
$rows=mysql_fetch_array($result1);
?>
<td width=150><a href="<?=$g4[path]?>"><span style='color:#FADE00; font-weight: bold;'><?=$rows[gr_subject];?></span></a></td>
<td valign="middle" align=left>
<?
$sql = " select gr_id, gr_subject from $g4[group_table] where gr_id = '$gr_id'";
$result = sql_query($sql);
while ($row=mysql_fetch_array($result)) {
$sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]'
and bo_list_level <= '$member[mb_level]'
order by bo_order_search asc";
$result2 = sql_query($sql2);
while ($row2=mysql_fetch_array($result2)) {
if ($row2[bo_table] == $bo_table)
echo " <a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' onfocus='this.blur()'><span style='color:{$sub_a};'><b>$row2[bo_subject]</b></span></a>";
else
echo " <a href='$g4[bbs_path]/board.php?bo_table=$row2[bo_table]' onfocus='this.blur()'><span style='color:{$sub_b};'>$row2[bo_subject]</span></a>";
}
}
?>
</td>
<? } ?>
세율님. 메뉴는 수정이 돼엇는데. 메뉴를 눌렀을때 생성된게시판이 아니라고 뜨네요. 이오류 어떻게수정하죠?