관리자: 기본환경설정, 관리권한설정, 회원관리 cbox

This commit is contained in:
whitedot
2013-02-15 09:55:23 +09:00
parent a89eeb346e
commit 8c4a21a271
4 changed files with 661 additions and 639 deletions

View File

@ -73,6 +73,10 @@ var list_delete_php = 'auth_list_delete.php';
</fieldset>
</form>
<section class="cbox">
<h2>설정된 관리권한 내역</h2>
<p>권한 <strong>r</strong>은 읽기권한, <strong>w</strong>는 쓰기권한, <strong>d</strong>는 삭제권한입니다.</p>
<form id="fauthlist" name="fauthlist" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
@ -81,10 +85,6 @@ var list_delete_php = 'auth_list_delete.php';
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<table>
<caption>
설정된 관리권한 내역
<p>권한 <strong>r</strong>은 읽기권한, <strong>w</strong>는 쓰기권한, <strong>d</strong>는 삭제권한입니다.</p>
</caption>
<thead>
<tr>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재 페이지 권한설정 내역 전체선택" onclick="check_all(this.form)"></th>
@ -151,6 +151,7 @@ else
$mb_id = '';
?>
</form>
</section>
<form id="fauthlist2" name="fauthlist2" method="post" onsubmit="return fauthlist2_submit(this);" autocomplete="off">
<input type="hidden" name="sfl" value="<?=$sfl?>">

View File

@ -16,22 +16,24 @@ if (!isset($config['cf_email_admin'])) {
$g4['title'] = '환경설정';
include_once ('./admin.head.php');
?>
<ul class="frm_list">
<li><a href="#frm_basic">기본환경</a></li>
<li><a href="#frm_board">게시판기본</a></li>
<li><a href="#frm_join">회원가입</a></li>
<li><a href="#frm_mail">기본메일환경</a></li>
<li><a href="#frm_article_mail">글작성메일</a></li>
<li><a href="#frm_join_mail">가입메일</a></li>
<li><a href="#frm_vote_mail">투표메일</a></li>
<li><a href="#frm_extra">여분필드</a></li>
</ul>
$pg_anchor = "
<ul class=\"frm_list\">
<li><a href=\"#frm_basic\">기본환경</a></li>
<li><a href=\"#frm_board\">게시판기본</a></li>
<li><a href=\"#frm_join\">회원가입</a></li>
<li><a href=\"#frm_mail\">기본메일환경</a></li>
<li><a href=\"#frm_article_mail\">글작성메일</a></li>
<li><a href=\"#frm_join_mail\">가입메일</a></li>
<li><a href=\"#frm_vote_mail\">투표메일</a></li>
<li><a href=\"#frm_extra\">여분필드</a></li>
</ul>";
?>
<form id="fconfigform" name="fconfigform" method="post" onsubmit="return fconfigform_submit(this);">
<input type="hidden" id="token" name="token" value="<?=$token?>">
<?=$pg_anchor?>
<section class="cbox">
<h2>홈페이지 기본환경 설정</h2>
@ -170,12 +172,13 @@ include_once ('./admin.head.php');
</tr>
</tbody>
</table>
</section>
<table id="frm_board" class="frm_tbl">
<caption>
게시판 기본 설정
<?=$pg_anchor?>
<section class="cbox">
<h2>게시판 기본 설정</h2>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
</caption>
<table id="frm_board" class="frm_tbl">
<tbody>
<tr>
<th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
@ -239,12 +242,14 @@ include_once ('./admin.head.php');
</tr>
</tbody>
</table>
</section>
<?=$pg_anchor?>
<section class="cbox">
<h2>회원가입 설정</h2>
<p>회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.</p>
<table id="frm_join" class="frm_tbl">
<caption>
회원가입 설정
<p>회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.</p>
</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th>
@ -360,9 +365,13 @@ include_once ('./admin.head.php');
</tr>
</tbody>
</table>
</section>
<?=$pg_anchor?>
<section class="cbox">
<h2>기본 메일환경 설정</h2>
<table id="frm_mail" class="frm_tbl">
<caption>기본 메일환경 설정</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_email_use">메일발송 사용</label></th>
@ -393,9 +402,13 @@ include_once ('./admin.head.php');
</td>
</tr>
</table>
</section>
<?=$pg_anchor?>
<section class="cbox">
<h2>게시판 글 작성 시 메일 설정</h2>
<table id="frm_article_mail" class="frm_tbl">
<caption>게시판 글 작성 시 메일 설정</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_email_wr_super_admin">최고관리자</label></th>
@ -434,9 +447,13 @@ include_once ('./admin.head.php');
</tr>
</tbody>
</table>
</section>
<?=$pg_anchor?>
<section class="cbox">
<h2>회원가입 시 메일 설정</h2>
<table id="frm_join_mail" class="frm_tbl">
<caption>회원가입 시 메일 설정</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_email_mb_super_admin">최고관리자 메일발송</label></th>
@ -454,9 +471,13 @@ include_once ('./admin.head.php');
</tr>
</tbody>
</table>
</section>
<?=$pg_anchor?>
<section class="cbox">
<h2>투표 기타의견 작성시 메일 설정</h2>
<table id="frm_vote_mail" class="frm_tbl">
<caption>투표 기타의견 작성시 메일 설정</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_email_po_super_admin">최고관리자 메일발송</label></th>
@ -467,12 +488,14 @@ include_once ('./admin.head.php');
</tr>
</tbody>
</table>
</section>
<?=$pg_anchor?>
<section class="cbox">
<h2>여분필드 기본 설정</h2>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
<table id="frm_extra" class="frm_tbl">
<caption>
여분필드 기본 설정
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
</caption>
<tbody>
<? for ($i=1; $i<=10; $i++) { ?>
<tr>
@ -487,6 +510,7 @@ include_once ('./admin.head.php');
<? } ?>
</tbody>
</table>
</section>
<fieldset id="admin_confirm">
<legend>XSS 혹은 CSRF 방지</legend>

View File

@ -103,23 +103,21 @@ $colspan = 15;
</div>
<?}?>
<section class="cbox">
<h2>회원 목록</h2>
<p>회원자료 삭제 시 다른 회원이 기존 회원아이디를 사용하지 못하도록 회원아이디, 이름, 별명은 삭제하지 않고 영구 보관합니다.</p>
<form id="fmemberlist" name="fmemberlist" method="post" action="./member_list_update.php" onsubmit="return fmemberlist_submit(this);">
<input type="hidden" name="sst" value='<?=$sst?>'>
<input type="hidden" name="sod" value='<?=$sod?>'>
<input type="hidden" name="sfl" value='<?=$sfl?>'>
<input type="hidden" name="stx" value='<?=$stx?>'>
<input type="hidden" name="page" value='<?=$page?>'>
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<table class="tbl_mb_list">
<caption>
회원 목록
<p>
회원자료 삭제 시 다른 회원이 기존 회원아이디를 사용하지 못하도록 회원아이디, 이름, 별명은 삭제하지 않고 영구 보관합니다.
</p>
</caption>
<thead>
<tr>
<th scope="col"><label for="chkall">전체</label><br><input type="checkbox" id="chkall" name="chkall" value="1" title="현재 페이지 회원 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재 페이지 회원 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('mb_id')?>회원아이디</a></th>
<th scope="col"><?=subject_sort_link('mb_nick')?>별명</a></th>
<th scope="col"><?=subject_sort_link('mb_name')?>이름</a></th>
@ -217,11 +215,10 @@ if ($i == 0)
<? if ($is_admin == 'super') {?><a href="./member_form.php">회원추가</a><?}?>
</div>
<?
echo get_paging($config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&amp;page=');
?>
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&amp;page=');?>
<script>
<?

View File

@ -34,12 +34,12 @@ h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spa
#logo {position:relative;height:70px}
#logo img {position:absolute;top:15px;left:0}
#snb {z-index:2;position:absolute;top:17px;right:0;zoom:1}
#snb {z-index:2;position:absolute;top:25px;right:0;zoom:1}
#snb:after {display:block;visibility:hidden;clear:both;content:""}
#snb ul {float:right;margin:0;padding:0;height:35px;background:#222;zoom:1}
#snb ul {float:right;margin:0;padding:0;background:#222;zoom:1}
#snb ul:after {display:block;visibility:hidden;clear:both;content:""}
#snb li {float:left;margin-left:10px}
#snb a {color:#e0e0e0;text-decoration:none;line-height:2.95em}
#snb a {display:inline-block;padding:5px 0;color:#e0e0e0;text-decoration:none}
/* gnb js off */