마크업:관리자>게시판그룹,게시판,관리권한 목록 caption 전체선택 등
This commit is contained in:
@ -83,14 +83,19 @@ var list_delete_php = 'auth_list_delete.php';
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<table>
|
||||
<caption>관리권한 현황</caption>
|
||||
<caption>
|
||||
관리권한 현황
|
||||
<p>
|
||||
여러개의 권한설정을 한번에 삭제하실 때는 권한 체크기능을 이용하세요.
|
||||
</p>
|
||||
</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_chkall"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></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>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -114,15 +119,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<input type="hidden" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
|
||||
<?=$mb_nick?>
|
||||
</td>
|
||||
<td headers="th_chkall">
|
||||
<input type="checkbox" id="chk" name="chk[]" value="<?=$i?>">
|
||||
</td>
|
||||
<td headers="th_au_menu">
|
||||
<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">
|
||||
<input type="checkbox" id="chk" name="chk[]" value="<?=$i?>" title="권한체크">
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
@ -90,7 +90,7 @@ var list_delete_php = 'board_list_delete.php';
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<button id="bo_add">게시판 추가</button>
|
||||
<?if ($is_admin == 'super') {?><a href="./board_form.php" id="bo_add">게시판 추가</a><?}?>
|
||||
|
||||
<form id="fboardlist" name="fboardlist" method="post">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
@ -103,8 +103,7 @@ var list_delete_php = 'board_list_delete.php';
|
||||
<caption>
|
||||
생성된 게시판 목록
|
||||
<p>
|
||||
검색순서는 전체 검색 시 결과의 우선 순위를 설정합니다.<br>
|
||||
여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 선택기능을 이용하세요.
|
||||
여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.
|
||||
</p>
|
||||
</caption>
|
||||
<thead>
|
||||
@ -113,10 +112,10 @@ var list_delete_php = 'board_list_delete.php';
|
||||
<th scope="col" id="th_table"><?=subject_sort_link('bo_table')?>TABLE</a></th>
|
||||
<th scope="col" id="th_skin"><?=subject_sort_link('bo_skin', '', 'desc')?>스킨</a></th>
|
||||
<th scope="col" id="th_subject"><?=subject_sort_link('bo_subject')?>제목</a></th>
|
||||
<th scope="col" id="th_check"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></th>
|
||||
<th scope="col" id="th_point">포인트</th>
|
||||
<th scope="col" id="th_search">검색</th>
|
||||
<th scope="col" id="th_control">관리</th>
|
||||
<th scope="col" id="th_check"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
|
||||
<th scope="col" id="th_control">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -146,42 +145,43 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<tr>
|
||||
<td headers="th_group">
|
||||
<?if ($is_admin == 'super'){?>
|
||||
<label for="gr_id_<?=$i?>">그룹선택</label>
|
||||
<label for="gr_id_<?=$i?>">그룹지정</label>
|
||||
<?=get_group_select('gr_id[$i]', $row['gr_id'])?>
|
||||
<?}else{?>
|
||||
<input type="hidden" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>"><?=$row['gr_subject']?>
|
||||
<?}?>
|
||||
</td>
|
||||
<td headers="th_table"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$row['bo_table']?>"><?=$row['bo_table']?></a></td>
|
||||
<td headers="th_table">
|
||||
<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_skin">
|
||||
<label for="bo_skin_<?=$i?>">스킨선택</label>
|
||||
<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_subject"><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" value="<?=get_text($row['bo_subject'])?>"></td>
|
||||
<td headers="th_check">
|
||||
<input type="hidden" id="board_table" name="board_table[<?=$i?>]" value="<?=$row['bo_table']?>">
|
||||
<label for="chk_<?=$i?>">게시판선택</label>
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>">
|
||||
</td>
|
||||
<td headers="th_point">
|
||||
<label for="bo_read_point_<?=$i?>">읽기포인트</label>
|
||||
<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>
|
||||
<label for="bo_write_point_<?=$i?>">쓰기</label>
|
||||
<input type="text" id="bo_write_point_<?=$i?>" name="bo_write_point[<?=$i?>]" value="<?=$row['bo_write_point']?>">
|
||||
<label for="bo_comment_point_<?=$i?>">댓글포인트</label>
|
||||
<label for="bo_comment_point_<?=$i?>">댓글</label>
|
||||
<input type="text" id="bo_comment_point_<?=$i?>" name="bo_comment_point[<?=$i?>]" value="<?=$row['bo_comment_point']?>">
|
||||
<label for="bo_download_point_<?=$i?>">다운포인트</label>
|
||||
<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_search">
|
||||
<label for="bo_use_search_<?=$i?>">검색사용</label>
|
||||
<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>
|
||||
<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_check">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="<?=get_text($row['bo_subject'])?> 선택">
|
||||
</td>
|
||||
<td headers="th_control"><?=$s_upd?> <?=$s_del?> <?=$s_copy?></td>
|
||||
</tr>
|
||||
<?
|
||||
@ -194,7 +194,10 @@ if ($i == 0)
|
||||
|
||||
<div class="btn_list">
|
||||
<input type="button" value="선택수정" onclick="btn_check(this.form, 'update')">
|
||||
<?if ($is_admin == 'super') {?><input type="button" value="선택삭제" onclick="btn_check(this.form, 'delete')"><?}?>
|
||||
<?if ($is_admin == 'super') {?>
|
||||
<input type="button" value="선택삭제" onclick="btn_check(this.form, 'delete')">
|
||||
<a href="./board_form.php">게시판 추가</a>
|
||||
<?}?>
|
||||
</div>
|
||||
|
||||
<?
|
||||
|
||||
@ -79,7 +79,7 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<button id="bo_gr_add">게시판그룹 추가</button>
|
||||
<?if ($is_admin == 'super') {?><a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a><?}?>
|
||||
|
||||
<form id="fboardgrouplist" name="fboardgrouplist" method="post">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
@ -100,11 +100,11 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<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_chkall"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></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>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -131,17 +131,11 @@ 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">
|
||||
<label for="gr_subject_<?=$i?>">그룹제목</label>
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>">
|
||||
</td>
|
||||
<td headers="th_chkall">
|
||||
<input type="hidden" id="gr_id" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>">
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
|
||||
</td>
|
||||
<td headers="th_gr_admin">
|
||||
<?if ($is_admin == 'super'){?>
|
||||
<label for="gr_admin">그룹관리자</label>
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>" maxlength="20">
|
||||
<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']?>
|
||||
<?}?>
|
||||
@ -149,6 +143,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<td headers="th_bo_cnt"><a href="./board_list.php?sfl=a.gr_id&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">
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
@ -162,6 +160,7 @@ if ($i == 0)
|
||||
<div class="btn_list">
|
||||
<input type="button" value="선택수정" onclick="btn_check(this.form, 'update')">
|
||||
<!-- <input type="button" value="선택삭제" onclick="btn_check(this.form, 'delete')"> -->
|
||||
<a href="./boardgroup_form.php">게시판그룹 추가</a>
|
||||
</div>
|
||||
|
||||
<?
|
||||
|
||||
Reference in New Issue
Block a user