게시판을 생성을 할때 그룹 아이디를 접두사로 붙이게하자

K-2003 429-4845935.jpg
예를 들면 web_board <===게시판명이 되는 것
이렇게 되면 그룹관리자의 편의만 도모하면 그룹 관리자가 자유롭게 ......??
암튼 아래의 소스로 고치면 됩니다.
manage/boardform.php---------------

<tr>
<td class=csstitle align=center>그룹</td>
<td colspan=3 class=csslist0>
<select name=gr_id>
<?
$sql = " select gr_id, gr_subject from $cfg[table_group] where gr_id ='$gr_id'";
$res = sql_query_error($sql);
for ($i=1; $row=mysql_fetch_array($res);) {
echo "<option value='$row[gr_id]'>[$row[gr_id]] $row[gr_subject]\n";
?>
</select>
</td>
</tr>
<tr>
<td class=csstitle align=center>TABLE</td>
<td colspan=3 class=csslist0><input type=text name=bo_table size=10 maxlength=10 <? echo $bo_table_attr ?> itemname='TABLE' value='<? echo $row[gr_id]?>_<? echo $board[bo_table] ?>'> 영문자, 숫자, _ 만 가능 (공백없이) and ex) web_ <--폼의 글을 삭제하지마시오
<? if ($w == "u") { echo "<a href='$reldir/gnuboard.php?bo_table=$board[bo_table]'>미리보기</a>"; } ?>
<? } mysql_free_result($res); ?>
</td>
</tr>

첨부파일

K-2003 429-4845935.jpg (21 KB)
2회 2004-02-18 22:21
|

댓글 2개

감사합니다.
잘 만하면 동호회나 카페처럼 만들어지지 않을까 생각이 되어집니다......
댓글을 작성하시려면 로그인이 필요합니다.

그누3 팁자료실

+
제목 글쓴이 날짜 조회
22년 전 조회 1,825
22년 전 조회 2,001
22년 전 조회 2,776
22년 전 조회 1,828
22년 전 조회 2,481
미유키남편
22년 전 조회 2,588
깜보
22년 전 조회 3,398
22년 전 조회 3,278
깜보
22년 전 조회 2,269
22년 전 조회 2,150
22년 전 조회 2,281
22년 전 조회 2,633
22년 전 조회 2,344
22년 전 조회 4,305
22년 전 조회 3,652
22년 전 조회 3,770
22년 전 조회 2,501
22년 전 조회 2,562
22년 전 조회 2,922
22년 전 조회 2,218