관리자: 리디자인 17, 추가버튼 위치 수정

This commit is contained in:
whitedot
2013-02-15 18:23:45 +09:00
parent 6613f7c5e7
commit af624251c4
7 changed files with 44 additions and 40 deletions

View File

@ -87,16 +87,16 @@ var list_delete_php = 'board_list_delete.php';
</fieldset>
</form>
<?if ($is_admin == 'super') {?>
<div id="btn_add">
<a href="./board_form.php" id="bo_add">게시판 추가</a>
</div>
<?}?>
<section class="cbox">
<h2>생성된 게시판 목록</h2>
<p>여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.</p>
<?if ($is_admin == 'super') {?>
<div id="btn_add">
<a href="./board_form.php" id="bo_add">게시판 추가</a>
</div>
<?}?>
<form id="fboardlist" name="fboardlist" method="post" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">

View File

@ -81,12 +81,6 @@ var list_update_php = "./boardgroup_list_update.php";
</fieldset>
</form>
<?if ($is_admin == 'super') {?>
<div id="btn_add">
<a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a>
</div>
<?}?>
<section class="cbox">
<h2>게시판그룹 목록</h2>
<p>
@ -94,6 +88,12 @@ var list_update_php = "./boardgroup_list_update.php";
접근사용 옵션은 해당 그룹에 속한 모든 게시판에 적용됩니다.
</p>
<?if ($is_admin == 'super') {?>
<div id="btn_add">
<a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a>
</div>
<?}?>
<form id="fboardgrouplist" name="fboardgrouplist" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
@ -139,7 +139,7 @@ var list_update_php = "./boardgroup_list_update.php";
<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="<?=$row['gr_subject']?> 그룹선택">
</td>
<td><a href="<?=$g4['bbs_path']?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
<td class="td_mbid"><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?>]" class="frm_input" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
</td>

View File

@ -22,10 +22,6 @@ include_once('./admin.head.php');
$colspan = 6;
?>
<div id="btn_add">
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
</div>
<section class="cbox">
<h2>등록된 메일내용 목록</h2>
<p>
@ -33,6 +29,10 @@ $colspan = 6;
현재 등록된 메일은 총 <?=$total_count ?>건입니다.
</p>
<div id="btn_add">
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
</div>
<table>
<thead>
<tr>
@ -42,13 +42,12 @@ $colspan = 6;
<th scope="col">작성일시</th>
<th scope="col">테스트</th>
<th scope="col">보내기</th>
<th scope="col">관리</th>
<th scope="col">미리보기</th>
</tr>
</thead>
<tbody>
<?
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$s_mod = '<a href="./mail_form.php?w=u&amp;ma_id='.$row['ma_id'].'">수정</a>';
//$s_del = '<a href="javascript:post_delete(\'mail_update.php\', '.$row['ma_id'].');">삭제</a>';
$s_vie = '<a href="./mail_preview.php?ma_id='.$row['ma_id'].'" target="_blank">미리보기</a>';
@ -61,17 +60,17 @@ $colspan = 6;
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="메일선택">
</td>
<td class="td_num"><?=$num?></td>
<td><?=$row['ma_subject']?></td>
<td><a href="./mail_form.php?w=u&amp;ma_id=<?=$row['ma_id']?>"><?=$row['ma_subject']?></a></td>
<td class="td_time"><?=$row['ma_time']?></td>
<td class="td_test"><a href="./mail_test.php?ma_id=<?=$row['ma_id']?>">테스트</a></td>
<td class="td_send"><a href="./mail_select_form.php?ma_id=<?=$row['ma_id']?>">보내기</a></td>
<td class="td_mng"><?=$s_mod?> <?=$s_vie?></td>
<td class="td_mng"><?=$s_vie?></td>
</tr>
<?
}
if (!$i)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
echo "<tr><td colspan=\"".$colspan."\" class=\"empty_table\">자료가 없습니다.</td></tr>";
?>
</tbody>
</table>

View File

@ -96,16 +96,16 @@ $colspan = 15;
</fieldset>
</form>
<? if ($is_admin == 'super') {?>
<div id="btn_add">
<a href="./member_form.php" id="member_add">회원추가</a>
</div>
<?}?>
<section class="cbox">
<h2>회원 목록</h2>
<p>회원자료 삭제 시 다른 회원이 기존 회원아이디를 사용하지 못하도록 회원아이디, 이름, 별명은 삭제하지 않고 영구 보관합니다.</p>
<? if ($is_admin == 'super') {?>
<div id="btn_add">
<a href="./member_form.php" id="member_add">회원추가</a>
</div>
<?}?>
<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?>">
@ -187,11 +187,11 @@ $colspan = 15;
<td class="td_name"><div><?=$mb_nick?></div></td>
<td class="td_mbname"><?=$row['mb_name']?></td>
<td><?=get_member_level_select("mb_level[$i]", 1, $member['mb_level'], $row['mb_level'])?></td>
<td><a href="point_list.php?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=number_format($row['mb_point'])?></a></td>
<td class="td_bignum"><a href="point_list.php?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=number_format($row['mb_point'])?></a></td>
<td><?=substr($row['mb_today_login'],2,8)?></td>
<td><?=$row['mb_mailling']?'예':'아니오';?></td>
<td><?=$row['mb_open']?'예':'아니오';?></td>
<td><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'예':'아니오';?></td>
<td><?=$row['mb_mailling']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
<td><?=$row['mb_open']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
<td><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
<td class="td_chk">
<? if(empty($row['mb_leave_date'])){?>
<input type="checkbox" id="mb_intercept_date_<?=$i?>" name="mb_intercept_date[<?=$i?>]" <?=$row['mb_intercept_date']?'checked':'';?> value="<?=$intercept_date?>" title="<?=$intercept_title?>">

View File

@ -151,10 +151,10 @@ function point_clear()
<td class="td_mbid"><a href="?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
<td class="td_mbname"><?=$row2['mb_name']?></td>
<td class="td_name"><div><?=$mb_nick?></div></td>
<td><?=$row['po_datetime']?></td>
<td class="td_time"><?=$row['po_datetime']?></td>
<td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td>
<td class="td_num"><?=number_format($row['po_point'])?></td>
<td class="td_bignum"><?=number_format($row2['mb_point'])?></td>
<td class="td_num td_pt"><?=number_format($row['po_point'])?></td>
<td class="td_bignum td_pt"><?=number_format($row2['mb_point'])?></td>
</tr>
<?

View File

@ -69,13 +69,13 @@ $colspan = 6;
</fieldset>
</form>
<div id="btn_add">
<a href="./poll_form.php" id="poll_add">투표 추가</a>
</div>
<section class="cbox">
<h2>투표목록</h2>
<div id="btn_add">
<a href="./poll_form.php" id="poll_add">투표 추가</a>
</div>
<table>
<thead>
<tr>

View File

@ -18,6 +18,7 @@ a:hover,
a:active {text-decoration:underline}
/* 헤딩 */
h1 {margin-bottom:20px;color:#333;font-size:1.5em;font-family:"dotum";letter-spacing:-0.1em}
h2 {font-size:1.2em}
/* 화면낭독기 사용자용 */
.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;border:0 !important;overflow:hidden !important}
@ -112,7 +113,7 @@ fieldset .btn_submit {height:21px;background:#383a3f;line-height:1.7em}
.btn_ft a {display:inline-block;padding:0 15px;height:28px;background:#74868b;color:#fff;text-decoration:none;line-height:2.4em;vertical-align:middle}
.btn_ft a:focus {background:#555}
#btn_add {margin-bottom:10px;text-align:center}
#btn_add {margin-bottom:10px;text-align:right}
#btn_add a {display:inline-block;padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
/* 폼 */
@ -224,6 +225,10 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.td_mbname {width:100px;text-align:left !important}
.td_time {width:150px;text-align:center}
.td_boolean {width:50px;text-align:center}
.td_pt {text-align:right !important}
.txt_true {color:#2a6bc4}
.txt_false {color:#ccc}
/* 메일 테스트, 세션파일일괄삭제 */
#fsendmailtest p,