양

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

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개

감사합니다.
잘 만하면 동호회나 카페처럼 만들어지지 않을까 생각이 되어집니다......
댓글을 작성하시려면 로그인이 필요합니다.
+
제목 글쓴이 날짜 조회
03-04-30 조회 3,461
깜깜보
03-04-29 조회 2,431
03-04-29 조회 2,389
03-04-26 조회 2,445
03-04-25 조회 2,805
03-04-25 조회 2,509
03-04-21 조회 4,478
03-04-19 조회 4,480
03-04-17 조회 3,933
03-04-15 조회 2,669
03-04-11 조회 2,720
03-04-11 조회 3,085
03-04-11 조회 2,374
03-04-10 조회 3,680
03-04-09 조회 3,631
03-04-08 조회 2,951
03-04-07 조회 3,854
03-04-04 조회 3,363
03-04-02 조회 2,542
03-04-02 조회 2,698