관리자: 컨텐츠별 리스트 작업 중
This commit is contained in:
@ -109,18 +109,18 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
$list = $i%2;
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="au_menu[<?=$i?>]" value="<?=$row['au_menu']?>">
|
||||
<input type="hidden" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="<?=$row['mb_nick']?>님의 권한체크">
|
||||
</td>
|
||||
<td><a href="?sfl=a.mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td><?=$mb_nick?></td>
|
||||
<td>
|
||||
<td class="td_mbid"><a href="?sfl=a.mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td class="td_auth_mbnick"><?=$mb_nick?></td>
|
||||
<td class="td_menu">
|
||||
<?=$row['au_menu']?>
|
||||
<?=$auth_menu[$row['au_menu']]?>
|
||||
</td>
|
||||
<td><?=$row['au_auth']?></td>
|
||||
<td class="td_auth"><?=$row['au_auth']?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ var list_delete_php = 'board_list_delete.php';
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<table>
|
||||
<table class="tbl_bo_list">
|
||||
<caption>
|
||||
생성된 게시판 목록
|
||||
<p>
|
||||
@ -151,39 +151,37 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
</td>
|
||||
<td>
|
||||
<?if ($is_admin == 'super'){?>
|
||||
<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>
|
||||
<td class="td_boid">
|
||||
<input type="hidden" 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>
|
||||
<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><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" value="<?=get_text($row['bo_subject'])?>"></td>
|
||||
<td><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" value="<?=get_text($row['bo_subject'])?>" title="게시판제목" size="20"></td>
|
||||
<td>
|
||||
<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]?>">
|
||||
<input type="text" id="bo_read_point_<?=$i?>" name="bo_read_point[<?=$i?>]" value="<?=$row[bo_read_point]?>" size="2">
|
||||
<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]?>">
|
||||
<input type="text" id="bo_write_point_<?=$i?>" name="bo_write_point[<?=$i?>]" value="<?=$row[bo_write_point]?>" size="2">
|
||||
<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]?>">
|
||||
<input type="text" id="bo_comment_point_<?=$i?>" name="bo_comment_point[<?=$i?>]" value="<?=$row[bo_comment_point]?>" size="2">
|
||||
<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]?>">
|
||||
<input type="text" id="bo_download_point_<?=$i?>" name="bo_download_point[<?=$i?>]" value="<?=$row[bo_download_point]?>" size="2">
|
||||
</td>
|
||||
<td>
|
||||
<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>
|
||||
<input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" value="<?=$row[bo_order_search]?>">
|
||||
<input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" value="<?=$row[bo_order_search]?>" size="1">
|
||||
</td>
|
||||
<td><?=$s_upd?> <?=$s_del?> <?=$s_copy?></td>
|
||||
</tr>
|
||||
|
||||
@ -91,7 +91,7 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<table>
|
||||
<table class="tbl_gr_list">
|
||||
<caption>
|
||||
게시판그룹 목록
|
||||
<p>
|
||||
@ -132,7 +132,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<td class="td_chk">
|
||||
<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>
|
||||
@ -150,7 +150,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<td><a href="./board_list.php?sfl=a.gr_id&stx=<?=$row['gr_id']?>"><?=$row2[cnt]?></a></td>
|
||||
<td><input type="checkbox" id="gr_use_access" name="gr_use_access[<?=$i?>]" <?=$row[gr_use_access]?'checked':''?> value="1" title="선택 시 접근회원 사용"></td>
|
||||
<td><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1[cnt]?></a></td>
|
||||
<td><?=$s_upd?> <?=$s_del?></td>
|
||||
<td class="td_mng"><?=$s_upd?> <?=$s_del?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
|
||||
@ -54,12 +54,12 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?=$num?></td>
|
||||
<td class="td_num"><?=$num?></td>
|
||||
<td><?=$row['ma_subject']?></td>
|
||||
<td><?=$row['ma_time']?></td>
|
||||
<td><a href="./mail_test.php?ma_id=<?=$row[ma_id]?>">테스트</a></td>
|
||||
<td><a href="./mail_select_form.php?ma_id=<?=$row[ma_id]?>">보내기</a></td>
|
||||
<td><?=$s_mod?> <?=$s_del?> <?=$s_vie?></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_del?> <?=$s_vie?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
|
||||
@ -131,7 +131,7 @@ var list_delete_php = 'member_list_delete.php';
|
||||
<input type="hidden" name="page" value='<?=$page?>'>
|
||||
<input type="hidden" name="token" value='<?=$token?>'>
|
||||
|
||||
<table>
|
||||
<table class="tbl_mb_list">
|
||||
<caption>
|
||||
회원 목록
|
||||
<p>
|
||||
@ -152,7 +152,7 @@ var list_delete_php = 'member_list_delete.php';
|
||||
<th scope="col"><?=subject_sort_link('mb_email_certify', '', 'desc')?>인증</a></th>
|
||||
<th scope="col"><?=subject_sort_link('mb_intercept_date', '', 'desc')?>차단</a></th>
|
||||
<th scope="col">그룹</th>
|
||||
<th scope="col">관리</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -200,15 +200,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="mb_id_<?=$i?>" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="회원선택">
|
||||
</td>
|
||||
<td>
|
||||
<td class="td_mbid">
|
||||
<?=$mb_id?>
|
||||
<span><?=$leave_msg?><?=$intercept_msg?></span>
|
||||
</td>
|
||||
<td><?=$row['mb_name']?></td>
|
||||
<td class="td_mbname"><?=$row['mb_name']?></td>
|
||||
<td><?=$mb_nick?></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&stx=<?=$row['mb_id']?>"><?=number_format($row[mb_point])?></a></td>
|
||||
@ -216,12 +216,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<td><?=$row[mb_mailling]?'예':'아니오';?></td>
|
||||
<td><?=$row[mb_open]?'예':'아니오';?></td>
|
||||
<td><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'예':'아니오';?></td>
|
||||
<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?>">
|
||||
<?}?>
|
||||
</td>
|
||||
<td><?=$group?></td>
|
||||
<td class="td_chk"><?=$group?></td>
|
||||
<td><?=$s_mod?> <?=$s_del?> <?=$s_grp?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -110,7 +110,7 @@ function point_clear()
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
|
||||
<table>
|
||||
<table class="tbl_pt_list">
|
||||
<caption>
|
||||
포인트 내역
|
||||
</caption>
|
||||
@ -147,16 +147,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="mb_id_<?=$i?>" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
|
||||
<input type="hidden" id="po_id_<?=$i?>" name="po_id[<?=$i?>]" value="<?=$row[po_id]?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="내역선택">
|
||||
</td>
|
||||
<td><a href="?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td><?=$row2['mb_name']?></td>
|
||||
<td class="td_mbid"><a href="?sfl=mb_id&stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
|
||||
<td class="td_mbname"><?=$row2['mb_name']?></td>
|
||||
<td><?=$mb_nick?></td>
|
||||
<td><?=$row['po_datetime']?></td>
|
||||
<td><?=$link1?><?=$row['po_content']?><?=$link2?></td>
|
||||
<td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td>
|
||||
<td><?=number_format($row[po_point])?></td>
|
||||
<td><?=number_format($row2[mb_point])?></td>
|
||||
</tr>
|
||||
|
||||
@ -96,12 +96,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><?=$row[po_id]?></td>
|
||||
<td class="td_num"><?=$row[po_id]?></td>
|
||||
<td><?=cut_str(get_text($row['po_subject']),70)?></td>
|
||||
<td><?=$row[po_level]?></td>
|
||||
<td><?=$row2[sum_po_cnt]?></td>
|
||||
<td><?=$po_etc?></td>
|
||||
<td><?=$s_mod?> <?=$s_del?></td>
|
||||
<td class="td_num"><?=$row[po_level]?></td>
|
||||
<td class="td_num"><?=$row2[sum_po_cnt]?></td>
|
||||
<td class="td_etc"><?=$po_etc?></td>
|
||||
<td class="td_mng"><?=$s_mod?> <?=$s_del?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
|
||||
@ -96,7 +96,7 @@ var list_delete_php = 'popular_list.php';
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<table>
|
||||
<table class="tbl_pop_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)" title="현재 페이지 인기검색어 전체선택"></th>
|
||||
@ -113,7 +113,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="pp_id[<?=$i?>]" value="<?=$row[pp_id]?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="<?=$word?> 선택">
|
||||
</td>
|
||||
|
||||
@ -62,12 +62,12 @@ $colspan = 3;
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<table>
|
||||
<table class="tbl_pop_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">순위</th>
|
||||
<th scope="col">검색어</th>
|
||||
<th scope="col">검색회수</th>
|
||||
<th scope="col">순위</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -80,9 +80,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="td_num"><?=$rank?></td>
|
||||
<td><?=$word?></td>
|
||||
<td><?=$row[cnt]?></td>
|
||||
<td><?=$rank?></td>
|
||||
<td class="td_bignum"><?=$row[cnt]?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
|
||||
33
css/adm.css
33
css/adm.css
@ -1,7 +1,7 @@
|
||||
/* SIR SOFT 지운아빠 Dec 2012 */
|
||||
|
||||
/* 초기화 */
|
||||
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dt, dd, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, header, article, aside, canvas, details, figcaption, figure, hgroup, menu, nav, section, summary, footer, time, mark, audio, video {margin:0;padding:0;font-size:1em}
|
||||
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dt, dd, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, header, article, aside, canvas, details, figcaption, figure, hgroup, menu, nav, section, summary, footer, time, mark, audio, video {margin:0;padding:0}
|
||||
article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section {display:block}
|
||||
header ul, nav ul {margin:0;padding:0;list-style:none}
|
||||
p {margin:10px 0}
|
||||
@ -22,7 +22,7 @@ img {border:0}
|
||||
|
||||
/* 레이아웃 */
|
||||
html {overflow-y:scroll}
|
||||
body {background:#dfe4e6}
|
||||
body {background:#dfe4e6;font-size:1em}
|
||||
header {background:#2c2f34}
|
||||
#logo {padding-top:4px;height:46px;background:url('../img/logo_bg.png') repeat-x;text-align:center}
|
||||
#home_link {z-index:2;position:absolute;top:50px;right:20px;height:35px;zoom:1}
|
||||
@ -74,6 +74,35 @@ th {padding:10px;background:#f1f6f7}
|
||||
td {padding:10px}
|
||||
.frm_tbl th {width:130px;text-align:left;font-weight:normal}
|
||||
|
||||
/* 컨텐츠별 테이블 설정 */
|
||||
/* 공통 */
|
||||
.td_chk {width:30px;text-align:center}
|
||||
.td_num {width:60px;text-align:center}
|
||||
.td_bignum {width:120px;text-align:center}
|
||||
.td_mbid {width:80px;text-align:center}
|
||||
.td_mbname {width:80px;text-align:center}
|
||||
.td_time {width:150px;text-align:center}
|
||||
/* 관리권한설정 목록 */
|
||||
.td_menu {}
|
||||
.td_auth {width:100px;text-align:center}
|
||||
.td_auth_mbnick {width:200px;text-align:center}
|
||||
/* 회원관리 목록 */
|
||||
.tbl_mb_list td {text-align:center}
|
||||
/* 포인트관리 목록 */
|
||||
.tbl_pt_list td {text-align:center}
|
||||
.tbl_pt_list .td_pt_log {text-align:left}
|
||||
/* 회원메일발송 목록 */
|
||||
.td_test, .td_send {width:50px;text-align:center}
|
||||
.td_mng {width:110px;text-align:center}
|
||||
/* 투표관리 목록 */
|
||||
.td_etc {width:80px;text-align:center}
|
||||
/*게시판관리 목록 */
|
||||
.tbl_bo_list td {text-align:center}
|
||||
/*게시판그룹관리 목록 */
|
||||
.tbl_gr_list td {text-align:center}
|
||||
/* 인기검색어 관련 목록 */
|
||||
.tbl_pop_list td {text-align:center}
|
||||
|
||||
/* pagination */
|
||||
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 10px;height:25px;border:1px solid #ddd;background:#fff;line-height:1.9em;vertical-align:middle}
|
||||
|
||||
Reference in New Issue
Block a user