관리자: 리디자인 14, cbox 적용 완료

This commit is contained in:
whitedot
2013-02-15 11:13:35 +09:00
parent b1f4cf5c55
commit f19b6ef0e3
9 changed files with 1211 additions and 1178 deletions

View File

@ -64,16 +64,16 @@ if ($is_admin != 'super') {
$g4['title'] = $html_title; $g4['title'] = $html_title;
include_once ('./admin.head.php'); include_once ('./admin.head.php');
?>
<ul class="frm_list"> $pg_anchor = "<ul class=\"frm_list\">
<li><a href="#frm_basic">기본 설정</a></li> <li><a href=\"#frm_basic\">기본 설정</a></li>
<li><a href="#frm_auth">권한 설정</a></li> <li><a href=\"#frm_auth\">권한 설정</a></li>
<li><a href="#frm_function">기능 설정</a></li> <li><a href=\"#frm_function\">기능 설정</a></li>
<li><a href="#frm_design">디자인/양식</a></li> <li><a href=\"#frm_design\">디자인/양식</a></li>
<li><a href="#frm_point">포인트 설정</a></li> <li><a href=\"#frm_point\">포인트 설정</a></li>
<li><a href="#frm_extra">여분필드</a></li> <li><a href=\"#frm_extra\">여분필드</a></li>
</ul> </ul>";
?>
<form id="fboardform" name="fboardform" action="./board_form_update.php" method="post" onsubmit="return fboardform_submit(this)" enctype="multipart/form-data"> <form id="fboardform" name="fboardform" action="./board_form_update.php" method="post" onsubmit="return fboardform_submit(this)" enctype="multipart/form-data">
<input type="hidden" name="w" value="<?=$w?>"> <input type="hidden" name="w" value="<?=$w?>">
@ -83,8 +83,11 @@ include_once ('./admin.head.php');
<input type="hidden" name="sod" value="<?=$sod?>"> <input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>"> <input type="hidden" name="page" value="<?=$page?>">
<table id="frm_basic" class="frm_tbl"> <?=$pg_anchor?>
<caption>게시판 기본 설정</caption> <section id="frm_basic" class="cbox">
<h2>게시판 기본 설정</h2>
<table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="bo_table">TABLE<?=$sound_only?></label></th> <th scope="row"><label for="bo_table">TABLE<?=$sound_only?></label></th>
@ -151,9 +154,13 @@ include_once ('./admin.head.php');
<? } ?> <? } ?>
</tbody> </tbody>
</table> </table>
</section>
<table id="frm_auth" class="frm_tbl"> <?=$pg_anchor?>
<caption>게시판 권한 설정</caption> <section id="frm_auth" class="cbox">
<h2>게시판 권한 설정</h2>
<table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="bo_admin">게시판 관리자</label></th> <th scope="row"><label for="bo_admin">게시판 관리자</label></th>
@ -258,9 +265,13 @@ include_once ('./admin.head.php');
</tr> </tr>
</tbody> </tbody>
</table> </table>
</section>
<table id="frm_function" class="frm_tbl"> <?=$pg_anchor?>
<caption>게시판 기능 설정</caption> <section id="frm_function" class="cbox">
<h2>게시판 기능 설정</h2>
<table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="bo_count_modify">원글 수정 불가<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="bo_count_modify">원글 수정 불가<strong class="sound_only">필수</strong></label></th>
@ -525,9 +536,13 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
</tr> </tr>
</tbody> </tbody>
</table> </table>
</section>
<table id="frm_design" class="frm_tbl"> <?=$pg_anchor?>
<caption>게시판 디자인/양식</caption> <section id="frm_design" class="cbox">
<h2>게시판 디자인/양식</h2>
<table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="bo_skin">스킨 디렉토리<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="bo_skin">스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
@ -710,9 +725,13 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
</td> </td>
</tbody> </tbody>
</table> </table>
</section>
<table id="frm_point" class="frm_tbl"> <?=$pg_anchor?>
<caption>게시판 포인트 설정</caption> <section id="frm_point" class="cbox">
<h2>게시판 포인트 설정</h2>
<table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="chk_point">기본값으로 설정</label></th> <th scope="row"><label for="chk_point">기본값으로 설정</label></th>
@ -763,9 +782,13 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
</tr> </tr>
</tbody> </tbody>
</table> </table>
</section>
<table id="frm_extra" class="frm_tbl"> <?=$pg_anchor?>
<caption>게시판 여분필드 설정</caption> <section id="frm_extra" class="cbox">
<h2>게시판 여분필드 설정</h2>
<table class="frm_tbl">
<tbody> <tbody>
<? for ($i=1; $i<=10; $i++) { ?> <? for ($i=1; $i<=10; $i++) { ?>
<tr> <tr>
@ -784,6 +807,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<? } ?> <? } ?>
</tbody> </tbody>
</table> </table>
</section>
<fieldset id="admin_confirm"> <fieldset id="admin_confirm">
<legend>XSS 혹은 CSRF 방지</legend> <legend>XSS 혹은 CSRF 방지</legend>

View File

@ -24,6 +24,7 @@ $g4['title'] = $html_title;
include_once('./admin.head.php'); include_once('./admin.head.php');
?> ?>
<div class="cbox">
<form id="fboardgroup" name="fboardgroup" method="post" onsubmit="return fboardgroup_check(this);" autocomplete="off"> <form id="fboardgroup" name="fboardgroup" method="post" onsubmit="return fboardgroup_check(this);" autocomplete="off">
<input type="hidden" name="w" value="<?=$w?>"> <input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="sfl" value="<?=$sfl?>"> <input type="hidden" name="sfl" value="<?=$sfl?>">
@ -32,7 +33,6 @@ include_once('./admin.head.php');
<input type="hidden" name="sod" value="<?=$sod?>"> <input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>"> <input type="hidden" name="page" value="<?=$page?>">
<table class="frm_tbl"> <table class="frm_tbl">
<caption>그룹 설정</caption>
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="gr_id">그룹 ID<?=$sound_only?></label></th> <th scope="row"><label for="gr_id">그룹 ID<?=$sound_only?></label></th>
@ -110,6 +110,7 @@ include_once('./admin.head.php');
</div> </div>
</form> </form>
</div>
<script> <script>
if (document.fboardgroup.w.value == '') if (document.fboardgroup.w.value == '')

View File

@ -16,8 +16,9 @@ include_once('./admin.head.php');
$colspan = 4; $colspan = 4;
?> ?>
<div class="cbox">
<p>아이디 <?=$mb['mb_id']?>, 이름 <?=$mb['mb_name']?>, 별명 <?=$mb['mb_nick']?>님이 접근가능한 그룹 목록</p>
<table> <table>
<caption>아이디 <?=$mb['mb_id']?>, 이름 <?=$mb['mb_name']?>, 별명 <?=$mb['mb_nick']?>님이 접근가능한 그룹 목록</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">그룹아이디</th> <th scope="col">그룹아이디</th>
@ -53,6 +54,7 @@ if ($i == 0) {
?> ?>
</tbody> </tbody>
</table> </table>
</div>
<form id="fboardgroupmember_form" name="fboardgroupmember_form" method="post" action="./boardgroupmember_update.php" onsubmit="return boardgroupmember_form_check(this)"> <form id="fboardgroupmember_form" name="fboardgroupmember_form" method="post" action="./boardgroupmember_update.php" onsubmit="return boardgroupmember_form_check(this)">
<input type="hidden" id="mb_id" name="mb_id" value="<?=$mb['mb_id']?>"> <input type="hidden" id="mb_id" name="mb_id" value="<?=$mb['mb_id']?>">
@ -68,7 +70,7 @@ if ($i == 0) {
where gr_use_access = 1 "; where gr_use_access = 1 ";
//if ($is_admin == 'group') { //if ($is_admin == 'group') {
if ($is_admin != 'super') if ($is_admin != 'super')
$sql .= " and gr_admin = '$member['mb_id']' "; $sql .= " and gr_admin = '{$member['mb_id']}' ";
$sql .= " order by gr_id "; $sql .= " order by gr_id ";
$result = sql_query($sql); $result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {

View File

@ -34,10 +34,10 @@ $pg_anchor = "
<input type="hidden" id="token" name="token" value="<?=$token?>"> <input type="hidden" id="token" name="token" value="<?=$token?>">
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_basic" class="cbox">
<h2>홈페이지 기본환경 설정</h2> <h2>홈페이지 기본환경 설정</h2>
<table id="frm_basic" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_title">홈페이지 제목<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="cf_title">홈페이지 제목<strong class="sound_only">필수</strong></label></th>
@ -175,10 +175,11 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_board" class="cbox">
<h2>게시판 기본 설정</h2> <h2>게시판 기본 설정</h2>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p> <p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
<table id="frm_board" class="frm_tbl">
<table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
@ -245,11 +246,11 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_join" class="cbox">
<h2>회원가입 설정</h2> <h2>회원가입 설정</h2>
<p>회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.</p> <p>회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.</p>
<table id="frm_join" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th>
@ -368,10 +369,10 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_mail" class="cbox">
<h2>기본 메일환경 설정</h2> <h2>기본 메일환경 설정</h2>
<table id="frm_mail" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_email_use">메일발송 사용</label></th> <th scope="row"><label for="cf_email_use">메일발송 사용</label></th>
@ -405,10 +406,10 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_article_mail" class="cbox">
<h2>게시판 글 작성 시 메일 설정</h2> <h2>게시판 글 작성 시 메일 설정</h2>
<table id="frm_article_mail" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_email_wr_super_admin">최고관리자</label></th> <th scope="row"><label for="cf_email_wr_super_admin">최고관리자</label></th>
@ -450,10 +451,10 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_join_mail" class="cbox">
<h2>회원가입 시 메일 설정</h2> <h2>회원가입 시 메일 설정</h2>
<table id="frm_join_mail" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_email_mb_super_admin">최고관리자 메일발송</label></th> <th scope="row"><label for="cf_email_mb_super_admin">최고관리자 메일발송</label></th>
@ -474,10 +475,10 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_vote_mail" class="cbox">
<h2>투표 기타의견 작성시 메일 설정</h2> <h2>투표 기타의견 작성시 메일 설정</h2>
<table id="frm_vote_mail" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="cf_email_po_super_admin">최고관리자 메일발송</label></th> <th scope="row"><label for="cf_email_po_super_admin">최고관리자 메일발송</label></th>
@ -491,11 +492,11 @@ $pg_anchor = "
</section> </section>
<?=$pg_anchor?> <?=$pg_anchor?>
<section class="cbox"> <section id="frm_extra" class="cbox">
<h2>여분필드 기본 설정</h2> <h2>여분필드 기본 설정</h2>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p> <p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
<table id="frm_extra" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<? for ($i=1; $i<=10; $i++) { ?> <? for ($i=1; $i<=10; $i++) { ?>
<tr> <tr>

View File

@ -25,12 +25,12 @@ $g4['title'] = $html_title;
include_once('./admin.head.php'); include_once('./admin.head.php');
?> ?>
<div class="cbox">
<form id="fmailform" name="fmailform" method="post" action="./mail_update.php" onsubmit="return fmailform_check(this);"> <form id="fmailform" name="fmailform" method="post" action="./mail_update.php" onsubmit="return fmailform_check(this);">
<input type="hidden" id="w" name="w" value="<?=$w?>"> <input type="hidden" id="w" name="w" value="<?=$w?>">
<input type="hidden" id="ma_id" name="ma_id" value="<?=$ma['ma_id']?>"> <input type="hidden" id="ma_id" name="ma_id" value="<?=$ma['ma_id']?>">
<input type="hidden" id="token" name="token" value="<?=$token?>"> <input type="hidden" id="token" name="token" value="<?=$token?>">
<table class="frm_tbl"> <table class="frm_tbl">
<caption>메일내용 입력</caption>
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="ma_subject">메일 제목<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="ma_subject">메일 제목<strong class="sound_only">필수</strong></label></th>
@ -50,6 +50,7 @@ include_once('./admin.head.php');
<input type="submit" class="btn_submit" accesskey="s" value="확인"> <input type="submit" class="btn_submit" accesskey="s" value="확인">
</div> </div>
</form> </form>
</div>
<script> <script>
function fmailform_check(f) function fmailform_check(f)

View File

@ -39,16 +39,16 @@ $g4['title'] = '회원메일발송';
include_once('./admin.head.php'); include_once('./admin.head.php');
?> ?>
<section class="cbox">
<h2>메일발송대상 선택</h2>
<p>
전체회원 <?=number_format($tot_cnt)?>명 , 탈퇴대기회원 <?=number_format($finish_cnt)?>명, 정상회원 <?=number_format($tot_cnt - $finish_cnt)?>명 중 메일 발송 대상 선택
</p>
<form id="frmsendmailselectform" name="frmsendmailselectform" method="post" action="./mail_select_list.php" autocomplete="off"> <form id="frmsendmailselectform" name="frmsendmailselectform" method="post" action="./mail_select_list.php" autocomplete="off">
<input type="hidden" name="ma_id" value='<?=$ma_id?>'> <input type="hidden" name="ma_id" value='<?=$ma_id?>'>
<table class="frm_tbl"> <table class="frm_tbl">
<caption>
메일발송대상 선택
<p>
전체회원 <?=number_format($tot_cnt)?>명 , 탈퇴대기회원 <?=number_format($finish_cnt)?>명, 정상회원 <?=number_format($tot_cnt - $finish_cnt)?>명 중 메일 발송 대상 선택
</p>
</caption>
<tbody> <tbody>
<tr> <tr>
<th scope="row">회원 ID</th> <th scope="row">회원 ID</th>
@ -115,6 +115,7 @@ include_once('./admin.head.php');
<a href="./mail_list.php">목록 </a> <a href="./mail_list.php">목록 </a>
</div> </div>
</form> </form>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -84,6 +84,7 @@ $g4['title'] = '회원정보 '.$html_title;
include_once('./admin.head.php'); include_once('./admin.head.php');
?> ?>
<div class="cbox">
<form id="fmember" name="fmember" method="post" action="./member_form_update.php" onsubmit="return fmember_submit(this);" enctype="multipart/form-data"> <form id="fmember" name="fmember" method="post" action="./member_form_update.php" onsubmit="return fmember_submit(this);" enctype="multipart/form-data">
<input type="hidden" name="w" value="<?=$w?>"> <input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="sfl" value="<?=$sfl?>"> <input type="hidden" name="sfl" value="<?=$sfl?>">
@ -94,7 +95,6 @@ include_once('./admin.head.php');
<input type="hidden" name="token" value="<?=$token?>"> <input type="hidden" name="token" value="<?=$token?>">
<table class="frm_tbl"> <table class="frm_tbl">
<caption><?=$g4['title']?></caption>
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="mb_id">아이디<?=$sound_only?></label></th> <th scope="row"><label for="mb_id">아이디<?=$sound_only?></label></th>
@ -261,6 +261,8 @@ include_once('./admin.head.php');
</div> </div>
</form> </form>
</div>
<script> <script>
function fmember_submit(f) function fmember_submit(f)
{ {

View File

@ -20,6 +20,7 @@ $g4['title'] = $html_title;
include_once('./admin.head.php'); include_once('./admin.head.php');
?> ?>
<div class="cbox">
<form id="fpoll" name="fpoll" method="post" onsubmit="return fpoll_check(this);" enctype="multipart/form-data"> <form id="fpoll" name="fpoll" method="post" onsubmit="return fpoll_check(this);" enctype="multipart/form-data">
<input type="hidden" name="po_id" value="<?=$po_id?>"> <input type="hidden" name="po_id" value="<?=$po_id?>">
<input type="hidden" name="w" value="<?=$w?>"> <input type="hidden" name="w" value="<?=$w?>">
@ -30,7 +31,6 @@ include_once('./admin.head.php');
<input type="hidden" name="page" value="<?=$page?>"> <input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>"> <input type="hidden" name="token" value="<?=$token?>">
<table class="frm_tbl"> <table class="frm_tbl">
<caption>투표내용 입력</caption>
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="po_subject">투표 제목<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="po_subject">투표 제목<strong class="sound_only">필수</strong></label></th>
@ -100,6 +100,7 @@ for ($i=1; $i<=9; $i++) {
<button onclick="document.location.href='./poll_list.php?<?=$qstr?>';">목록</button> <button onclick="document.location.href='./poll_list.php?<?=$qstr?>';">목록</button>
</div> </div>
</form> </form>
</div>
<script> <script>
function fpoll_check(f) function fpoll_check(f)

View File

@ -27,7 +27,7 @@ h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spa
#to_content a:active {width:100%;height:70px;background:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.1em} #to_content a:active {width:100%;height:70px;background:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.1em}
/* 레이아웃 */ /* 레이아웃 */
#hd {z-index:10;background:url('../adm/img/hd_bg.jpg') #383a3f top left repeat-x} #hd {z-index:10;background:url('../adm/img/hd_bg.jpg') #151618 top left repeat-x}
#hd h1, #hd h1,
#hd h2 {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden} #hd h2 {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
#hd_wrap {position:relative;margin:0 auto;width:1000px} #hd_wrap {position:relative;margin:0 auto;width:1000px}