관리자: 관리권한 추가 스타일
This commit is contained in:
@ -160,30 +160,52 @@ $colspan = 5;
|
|||||||
<h2>관리권한 추가</h2>
|
<h2>관리권한 추가</h2>
|
||||||
<p>다음 양식에서 회원에게 관리권한을 부여하실 수 있습니다.</p>
|
<p>다음 양식에서 회원에게 관리권한을 부여하실 수 있습니다.</p>
|
||||||
|
|
||||||
<label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label>
|
<table class="frm_tbl">
|
||||||
<input type="text" id="mb_id" name="mb_id" class="required frm_input" required value="<?=$mb_id?>" title="회원아이디">
|
<colgroup>
|
||||||
<label for="au_menu">접근가능메뉴<strong class="sound_only">필수</strong></label>
|
<col class="grid_3">
|
||||||
<select id="au_menu" name="au_menu" required title="접근가능메뉴">
|
<col>
|
||||||
<option value=''>선택하세요
|
</colgroup>
|
||||||
<?
|
<tbody>
|
||||||
foreach($auth_menu as $key=>$value)
|
<tr>
|
||||||
{
|
<th scope="row"><label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label></th>
|
||||||
if (!(substr($key, -3) == '000' || $key == '-' || !$key))
|
<td><input type="text" id="mb_id" name="mb_id" class="required frm_input" required value="<?=$mb_id?>" title="회원아이디"></td>
|
||||||
echo '<option value="'.$key.'">'.$key.' '.$value;
|
</tr>
|
||||||
}
|
<tr>
|
||||||
?>
|
<th scope="row"><label for="au_menu">접근가능메뉴<strong class="sound_only">필수</strong></label></th>
|
||||||
</select>
|
<td>
|
||||||
<input type="checkbox" id="r" name="r" value="r" checked>
|
<select id="au_menu" name="au_menu" required title="접근가능메뉴">
|
||||||
<label for="r">r (읽기)</label>
|
<option value=''>선택하세요
|
||||||
<input type="checkbox" id="w" name="w" value="w">
|
<?
|
||||||
<label for="w">w (쓰기)</label>
|
foreach($auth_menu as $key=>$value)
|
||||||
<input type="checkbox" id="d" name="d" value="d">
|
{
|
||||||
<label for="d">d (삭제)</label>
|
if (!(substr($key, -3) == '000' || $key == '-' || !$key))
|
||||||
|
echo '<option value="'.$key.'">'.$key.' '.$value;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">권한지정</th>
|
||||||
|
<td>
|
||||||
|
<input type="checkbox" id="r" name="r" value="r" checked>
|
||||||
|
<label for="r">r (읽기)</label>
|
||||||
|
<input type="checkbox" id="w" name="w" value="w">
|
||||||
|
<label for="w">w (쓰기)</label>
|
||||||
|
<input type="checkbox" id="d" name="d" value="d">
|
||||||
|
<label for="d">d (삭제)</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
<fieldset id="admin_confirm">
|
<fieldset id="admin_confirm">
|
||||||
|
<legend>XSS 혹은 CSRF 방지</legend>
|
||||||
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
|
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
|
||||||
<label for="admin_password">관리자 패스워드</label>
|
<label for="admin_password">관리자 패스워드</label>
|
||||||
<input type="password" id="admin_password" name="admin_password" class="required frm_input" required>
|
<input type="password" id="admin_password" name="admin_password" class="required frm_input" required>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<div class="btn_confirm">
|
<div class="btn_confirm">
|
||||||
<input type="submit" class="btn_submit" value="완료">
|
<input type="submit" class="btn_submit" value="완료">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -104,7 +104,7 @@ function point_clear()
|
|||||||
<section class="cbox">
|
<section class="cbox">
|
||||||
<h2>포인트 내역</h2>
|
<h2>포인트 내역</h2>
|
||||||
|
|
||||||
<form id="fpointlist" name="fpointlist" method="post" action="./point_list_delete.php" onsubmit="return fpointlist_submit(this);">
|
<form id="fpointlist" name="fpointlist" method="post">
|
||||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||||
@ -167,7 +167,7 @@ function point_clear()
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class="btn_list">
|
<div class="btn_list">
|
||||||
<button>선택삭제</button>
|
<button onclick="btn_check(this.form, 'delete')">선택삭제</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
@ -190,6 +190,7 @@ function point_clear()
|
|||||||
<colgroup>
|
<colgroup>
|
||||||
<col class="grid_3">
|
<col class="grid_3">
|
||||||
<col>
|
<col>
|
||||||
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label></th>
|
<th scope="row"><label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label></th>
|
||||||
@ -203,6 +204,7 @@ function point_clear()
|
|||||||
<th scope="row"><label for="po_point">포인트<strong class="sound_only">필수</strong></label></th>
|
<th scope="row"><label for="po_point">포인트<strong class="sound_only">필수</strong></label></th>
|
||||||
<td><input type="text" id="po_point" name="po_point" class="required frm_input" required></td>
|
<td><input type="text" id="po_point" name="po_point" class="required frm_input" required></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<fieldset id="admin_confirm">
|
<fieldset id="admin_confirm">
|
||||||
@ -220,18 +222,6 @@ function point_clear()
|
|||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<script>
|
|
||||||
function fpointlist_submit(f)
|
|
||||||
{
|
|
||||||
if (!is_checked("chk[]")) {
|
|
||||||
alert("선택삭제 하실 항목을 하나 이상 선택하세요.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<?
|
<?
|
||||||
include_once ('./admin.tail.php');
|
include_once ('./admin.tail.php');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user