#4의 결론에 따른 처리

This commit is contained in:
whitedot
2012-11-14 11:47:56 +09:00
parent 3ae4e04476
commit 39f4e84c85
4 changed files with 45 additions and 45 deletions

View File

@ -91,11 +91,11 @@ var list_delete_php = 'auth_list_delete.php';
</caption>
<thead>
<tr>
<th scope="col" id="th_mb_id"><?=subject_sort_link('a.mb_id')?>회원아이디</a></th>
<th scope="col" id="th_mb_nick"><?=subject_sort_link('mb_nick')?>별명</a></th>
<th scope="col" id="th_au_menu">메뉴</th>
<th scope="col" id="th_au_auth">권한</th>
<th scope="col" id="th_chkall"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('a.mb_id')?>회원아이디</a></th>
<th scope="col"><?=subject_sort_link('mb_nick')?>별명</a></th>
<th scope="col">메뉴</th>
<th scope="col">권한</th>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
</tr>
</thead>
<tbody>
@ -114,18 +114,18 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$list = $i%2;
?>
<tr>
<td headers="th_mb_id"><a href="?sfl=a.mb_id&amp;stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
<td headers="th_mb_nick">
<td><a href="?sfl=a.mb_id&amp;stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
<td>
<input type="hidden" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
<?=$mb_nick?>
</td>
<td headers="th_au_menu">
<td>
<input type="hidden" name="au_menu[<?=$i?>]" value="<?=$row['au_menu']?>">
<?=$row['au_menu']?>
<?=$auth_menu[$row['au_menu']]?>
</td>
<td headers="th_au_auth"><?=$row['au_auth']?></td>
<td headers="th_chkall">
<td><?=$row['au_auth']?></td>
<td>
<input type="checkbox" id="chk" name="chk[]" value="<?=$i?>" title="권한체크">
</td>
</tr>

View File

@ -108,14 +108,14 @@ var list_delete_php = 'board_list_delete.php';
</caption>
<thead>
<tr>
<th scope="col" id="th_bo_group"><?=subject_sort_link('a.gr_id')?>그룹</a></th>
<th scope="col" id="th_bo_table"><?=subject_sort_link('bo_table')?>TABLE</a></th>
<th scope="col" id="th_bo_skin"><?=subject_sort_link('bo_skin', '', 'desc')?>스킨</a></th>
<th scope="col" id="th_bo_subject"><?=subject_sort_link('bo_subject')?>제목</a></th>
<th scope="col" id="th_bo_point">포인트</th>
<th scope="col" id="th_bo_search">검색</th>
<th scope="col" id="th_bo_check"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
<th scope="col" id="th_bo_control">관리</th>
<th scope="col"><?=subject_sort_link('a.gr_id')?>그룹</a></th>
<th scope="col"><?=subject_sort_link('bo_table')?>TABLE</a></th>
<th scope="col"><?=subject_sort_link('bo_skin', '', 'desc')?>스킨</a></th>
<th scope="col"><?=subject_sort_link('bo_subject')?>제목</a></th>
<th scope="col">포인트</th>
<th scope="col">검색</th>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
@ -143,7 +143,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td headers="th_bo_group">
<td>
<?if ($is_admin == 'super'){?>
<label for="gr_id_<?=$i?>">그룹지정</label>
<?=get_group_select('gr_id[$i]', $row['gr_id'])?>
@ -151,19 +151,19 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<input type="hidden" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>"><?=$row['gr_subject']?>
<?}?>
</td>
<td headers="th_bo_table">
<td>
<input type="hidden" id="board_table" name="board_table[<?=$i?>]" value="<?=$row['bo_table']?>">
<a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$row['bo_table']?>"><?=$row['bo_table']?></a>
</td>
<td headers="th_bo_skin">
<td>
<label for="bo_skin_<?=$i?>">스킨지정</label>
<select id="bo_skin_<?=$i?>" name="bo_skin[<?=$i?>]">
<?=$skin_options?>
</select>
<script>document.getElementById("bo_skin_<?=$i?>").value="<?=$row['bo_skin']?>";</script>
</td>
<td headers="th_bo_subject"><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" value="<?=get_text($row['bo_subject'])?>"></td>
<td headers="th_bo_point">
<td><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" value="<?=get_text($row['bo_subject'])?>"></td>
<td>
<label for="bo_read_point_<?=$i?>">읽기</label>
<input type="text" id="bo_read_point_<?=$i?>" name="bo_read_point[<?=$i?>]" value="<?=$row['bo_read_point']?>">
<label for="bo_write_point_<?=$i?>">쓰기</label>
@ -173,16 +173,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<label for="bo_download_point_<?=$i?>">다운</label>
<input type="text" id="bo_download_point_<?=$i?>" name="bo_download_point[<?=$i?>]" value="<?=$row['bo_download_point']?>">
</td>
<td headers="th_bo_search">
<td>
<label for="bo_use_search_<?=$i?>">사용</label>
<input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_use_search[<?=$i?>]" <?=$row['bo_use_search']?"checked":""?> value="1">
<label for="bo_order_search_<?=$i?>">순서</label>
<input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" value="<?=$row['bo_order_search']?>">
</td>
<td headers="th_bo_check">
<td>
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="<?=get_text($row['bo_subject'])?> 선택">
</td>
<td headers="th_bo_control"><?=$s_upd?> <?=$s_del?> <?=$s_copy?></td>
<td><?=$s_upd?> <?=$s_del?> <?=$s_copy?></td>
</tr>
<?
}

View File

@ -72,7 +72,7 @@ include_once('./admin.head.php');
</tr>
<tr>
<th scope="row">접근회원수</th>
<td headers="th_access_cnt">
<td>
<?
// 접근회원수
$sql1 = " select count(*) as cnt from {$g4['group_member_table']} where gr_id = '{$gr_id}' ";
@ -83,8 +83,8 @@ include_once('./admin.head.php');
</tr>
<? for ($i=1;$i<=10;$i++) { ?>
<tr>
<th scope="row" id="th_extra_<?=$i?>">회원여분필드<?=$i?></th>
<td headers="th_extra_<?=$i?>">
<th scope="row">회원여분필드<?=$i?></th>
<td>
<label for="gr_<?=$i?>_subj">여분필드 <?=$i?> 제목</label>
<input type="text" id="gr_<?=$i?>_subj" name="gr_<?=$i?>_subj" value="<?=get_text($group['gr_'.$i.'_subj'])?>">
<label for="gr_<?=$i?>">여분필드 <?=$i?> 내용</label>

View File

@ -98,14 +98,14 @@ var list_update_php = "./boardgroup_list_update.php";
</caption>
<thead>
<tr>
<th scope="col" id="th_gr_id"><?=subject_sort_link('gr_id')?>그룹아이디</a></th>
<th scope="col" id="th_gr_subject"><?=subject_sort_link('gr_subject')?>제목</a></th>
<th scope="col" id="th_gr_admin"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th>
<th scope="col" id="th_bo_cnt">게시판</th>
<th scope="col" id="th_gr_use_access">접근사용</th>
<th scope="col" id="th_gr_use_access_cnt">접근회원수</th>
<th scope="col" id="th_chkall"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
<th scope="col" id="th_up_del">관리</th>
<th scope="col"><?=subject_sort_link('gr_id')?>그룹아이디</a></th>
<th scope="col"><?=subject_sort_link('gr_subject')?>제목</a></th>
<th scope="col"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th>
<th scope="col">게시판</th>
<th scope="col">접근사용</th>
<th scope="col">접근회원수</th>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
@ -129,25 +129,25 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
?>
<tr>
<td headers="th_gr_id"><a href="<?=$g4['bbs_path']?>/group.php?gr_id="<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
<td headers="th_gr_subject">
<td><a href="<?=$g4['bbs_path']?>/group.php?gr_id="<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
<td>
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
</td>
<td headers="th_gr_admin">
<td>
<?if ($is_admin == 'super'){?>
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>" title="그룹관리자 수정" maxlength="20">
<?}else{?>
<input type="hidden" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>"><td><?=$row['gr_admin']?>
<?}?>
</td>
<td headers="th_bo_cnt"><a href="./board_list.php?sfl=a.gr_id&amp;stx=<?=$row['gr_id']?>"><?=$row2['cnt']?></a></td>
<td headers="th_gr_use_access"><input type="checkbox" id="gr_use_access" name="gr_use_access[<?=$i?>]" <?=$row['gr_use_access']?'checked':''?> value="1"></td>
<td headers="th_gr_use_access_cnt"><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1['cnt']?></a></td>
<td headers="th_chkall">
<td><a href="./board_list.php?sfl=a.gr_id&amp;stx=<?=$row['gr_id']?>"><?=$row2['cnt']?></a></td>
<td><input type="checkbox" id="gr_use_access" name="gr_use_access[<?=$i?>]" <?=$row['gr_use_access']?'checked':''?> value="1"></td>
<td><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1['cnt']?></a></td>
<td>
<input type="hidden" id="gr_id" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>">
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="그룹선택">
</td>
<td headers="th_up_del"><?=$s_upd?> <?=$s_del?></td>
<td><?=$s_upd?> <?=$s_del?></td>
</tr>
<?