관리자: 리디자인 14, cbox 적용 중

This commit is contained in:
whitedot
2013-02-15 10:40:21 +09:00
parent bc50e3e823
commit b1f4cf5c55
16 changed files with 879 additions and 849 deletions

View File

@ -94,6 +94,10 @@ var list_delete_php = 'board_list_delete.php';
</div> </div>
<?}?> <?}?>
<section class="cbox">
<h2>생성된 게시판 목록</h2>
<p>여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.</p>
<form id="fboardlist" name="fboardlist" method="post" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);"> <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="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>"> <input type="hidden" name="sod" value="<?=$sod?>">
@ -102,12 +106,6 @@ var list_delete_php = 'board_list_delete.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="tbl_bo_list"> <table class="tbl_bo_list">
<caption>
생성된 게시판 목록
<p>
여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.
</p>
</caption>
<thead> <thead>
<tr> <tr>
<th scope="col"><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>
@ -121,6 +119,7 @@ var list_delete_php = 'board_list_delete.php';
<th scope="col">다운P<span class="sound_only">포인트</span></th> <th scope="col">다운P<span class="sound_only">포인트</span></th>
<th scope="col">검색<br>사용</th> <th scope="col">검색<br>사용</th>
<th scope="col">검색<br>순서</th> <th scope="col">검색<br>순서</th>
<th scope="col">선택</th>
<th scope="col">관리</th> <th scope="col">관리</th>
</tr> </tr>
</thead> </thead>
@ -183,12 +182,10 @@ if ($i == 0)
<?}?> <?}?>
</div> </div>
<?
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
echo $pagelist;
?>
</form> </form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');?>
<script> <script>
function fboardlist_submit(f) function fboardlist_submit(f)

View File

@ -88,6 +88,13 @@ var list_update_php = "./boardgroup_list_update.php";
</div> </div>
<?}?> <?}?>
<section class="cbox">
<h2>게시판그룹 목록</h2>
<p>
접근사용 옵션을 설정하시면 관리자가 지정한 회원만 해당 그룹에 접근할 수 있습니다.<br>
접근사용 옵션은 해당 그룹에 속한 모든 게시판에 적용됩니다.
</p>
<form id="fboardgrouplist" name="fboardgrouplist" method="post"> <form id="fboardgrouplist" name="fboardgrouplist" 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?>">
@ -95,13 +102,6 @@ var list_update_php = "./boardgroup_list_update.php";
<input type="hidden" name="stx" value="<?=$stx?>"> <input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>"> <input type="hidden" name="page" value="<?=$page?>">
<table class="tbl_gr_list"> <table class="tbl_gr_list">
<caption>
게시판그룹 목록
<p>
접근사용 옵션을 설정하시면 관리자가 지정한 회원만 해당 그룹에 접근할 수 있습니다.<br>
접근사용 옵션은 해당 그룹에 속한 모든 게시판에 적용됩니다.
</p>
</caption>
<thead> <thead>
<tr> <tr>
<th scope="col"><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>
@ -176,6 +176,8 @@ if ($i == 0)
<!-- <button onclick="btn_check(this.form, 'delete')">선택삭제</button> --> <!-- <button onclick="btn_check(this.form, 'delete')">선택삭제</button> -->
<a href="./boardgroup_form.php">게시판그룹 추가</a> <a href="./boardgroup_form.php">게시판그룹 추가</a>
</div> </div>
</form>
</section>
<? <?
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page='); $pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
@ -186,7 +188,6 @@ echo $pagelist;
if (isset($stx)) if (isset($stx))
echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>'; echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>';
?> ?>
</form>
<script> <script>
// POST 방식으로 삭제 // POST 방식으로 삭제

View File

@ -26,13 +26,14 @@ $colspan = 6;
<a href="./mail_form.php" id="mail_add">메일내용추가</a> <a href="./mail_form.php" id="mail_add">메일내용추가</a>
</div> </div>
<table> <section class="cbox">
<caption> <h2>등록된 메일내용 목록</h2>
등록된 메일내용 목록 (전체 <?=$total_count ?>건)
<p> <p>
<strong>테스트</strong>는 등록된 최고관리자의 이메일로 테스트 메일을 발송 <strong>테스트</strong>는 등록된 최고관리자의 이메일로 테스트 메일을 발송합니다.<br>
현재 등록된 메일은 총 <?=$total_count ?>건입니다.
</p> </p>
</caption>
<table>
<thead> <thead>
<tr> <tr>
<th scope="col">번호</th> <th scope="col">번호</th>
@ -69,6 +70,7 @@ if (!$i)
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<script> <script>
// POST 방식으로 삭제 // POST 방식으로 삭제

View File

@ -102,6 +102,9 @@ function point_clear()
</fieldset> </fieldset>
</form> </form>
<section class="cbox">
<h2>포인트 내역</h2>
<form id="fpointlist" name="fpointlist" method="post"> <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?>">
@ -111,9 +114,6 @@ function point_clear()
<input type="hidden" name="token" value="<?=$token?>"> <input type="hidden" name="token" value="<?=$token?>">
<table class="tbl_pt_list"> <table class="tbl_pt_list">
<caption>
포인트 내역
</caption>
<thead> <thead>
<tr> <tr>
<th scope="col"><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>
@ -154,7 +154,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<td class="td_name"><div><?=$mb_nick?></div></td> <td class="td_name"><div><?=$mb_nick?></div></td>
<td><?=$row['po_datetime']?></td> <td><?=$row['po_datetime']?></td>
<td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td> <td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td>
<td class="td_bignum"><?=number_format($row['po_point'])?></td> <td class="td_num"><?=number_format($row['po_point'])?></td>
<td class="td_bignum"><?=number_format($row2['mb_point'])?></td> <td class="td_bignum"><?=number_format($row2['mb_point'])?></td>
</tr> </tr>
@ -171,11 +171,6 @@ if ($i == 0)
<button onclick="btn_check(this.form, 'delete')">선택삭제</button> <button onclick="btn_check(this.form, 'delete')">선택삭제</button>
</div> </div>
<?
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
echo $pagelist;
?>
<? <?
if (isset($stx)) if (isset($stx))
echo '<script>document.fsearch.sfl.value = \''.$sfl.'\';</script>'.PHP_EOL; echo '<script>document.fsearch.sfl.value = \''.$sfl.'\';</script>'.PHP_EOL;
@ -186,8 +181,9 @@ else
$mb_id = ''; $mb_id = '';
?> ?>
</form> </form>
</section>
<?$colspan=5?> <?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<form id="fpointlist2" name="fpointlist2" method="post" onsubmit="return fpointlist2_submit(this);" autocomplete="off"> <form id="fpointlist2" name="fpointlist2" method="post" onsubmit="return fpointlist2_submit(this);" autocomplete="off">
<input type="hidden" name="sfl" value="<?=$sfl?>"> <input type="hidden" name="sfl" value="<?=$sfl?>">
@ -211,7 +207,6 @@ else
</fieldset> </fieldset>
</form> </form>
<script> <script>
function fpointlist2_submit(f) function fpointlist2_submit(f)
{ {

View File

@ -89,6 +89,9 @@ var list_delete_php = 'popular_list.php';
</fieldset> </fieldset>
</form> </form>
<section class="cbox">
<h2>인기검색어 목록</h2>
<form id="fpopularlist" name="fpopularlist" method="post"> <form id="fpopularlist" name="fpopularlist" 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?>">
@ -96,6 +99,7 @@ var list_delete_php = 'popular_list.php';
<input type="hidden" name="stx" value="<?=$stx?>"> <input type="hidden" name="stx" value="<?=$stx?>">
<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="tbl_pop_list"> <table class="tbl_pop_list">
<thead> <thead>
<tr> <tr>
@ -137,12 +141,10 @@ if ($i == 0)
</div> </div>
<?}?> <?}?>
<?
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
echo $pagelist;
?>
</form> </form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<? <?
if (isset($stx)) if (isset($stx))

View File

@ -49,6 +49,8 @@ $colspan = 3;
</fieldset> </fieldset>
</form> </form>
<section class="cbox">
<h2>인기검색어 순위 및 내역</h2>
<form id="fpopularrank" name="fpopularrank" method="post"> <form id="fpopularrank" name="fpopularrank" 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?>">
@ -88,10 +90,12 @@ if ($i == 0)
</tbody> </tbody>
</table> </table>
</form>
</section>
<? <?
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
?> ?>
</form>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -25,8 +25,11 @@ while ($row=sql_fetch_array($result)) {
$sum_count++; $sum_count++;
} }
?> ?>
<section class="cbox">
<h2>브라우저별 접속자 수</h2>
<table> <table>
<caption>브라우저별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">순위</th> <th scope="col">순위</th>
@ -40,7 +43,7 @@ while ($row=sql_fetch_array($result)) {
<tr> <tr>
<td colspan="3">합계</td> <td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td> <td><strong><?=$sum_count?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -85,6 +88,7 @@ if (count($arr)) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -26,8 +26,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
?> ?>
<section class="cbox">
<h2>일별 접속자 수</h2>
<table> <table>
<caption>일별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">년-월-일</th> <th scope="col">년-월-일</th>
@ -40,7 +42,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tr> <tr>
<td colspan="2">합계</td> <td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td> <td><strong><?=number_format($sum_count)?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -76,6 +78,7 @@ if (count($arr)) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -28,8 +28,10 @@ while ($row=sql_fetch_array($result)) {
} }
?> ?>
<section class="cbox">
<h2>도메인별 접속자 수</h2>
<table> <table>
<caption>도메인별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">순위</th> <th scope="col">순위</th>
@ -43,7 +45,7 @@ while ($row=sql_fetch_array($result)) {
<tr> <tr>
<td colspan="3">합계</td> <td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td> <td><strong><?=$sum_count?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -95,6 +97,7 @@ if (count($arr)) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -27,8 +27,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
?> ?>
<section class="cbox">
<h2>시간대별 접속자 수</h2>
<table> <table>
<caption>시간대별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">시간</th> <th scope="col">시간</th>
@ -41,7 +43,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tr> <tr>
<td colspan="2">합계</td> <td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td> <td><strong><?=number_format($sum_count)?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -73,6 +75,7 @@ if ($i) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -34,8 +34,11 @@ $sql = " select *
$result = sql_query($sql); $result = sql_query($sql);
?> ?>
<section class="cbox">
<h2>접속자 개요</h2>
<p>IP, 경로, 브라우저, 운영체제, 일시</p>
<table> <table>
<caption>접속자 개요 (IP, 경로, 브라우저, 운영체제, 일시)</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">IP</th> <th scope="col">IP</th>
@ -101,6 +104,8 @@ if ($i == 0)
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
if (isset($domain)) if (isset($domain))
$qstr .= "&amp;domain=$domain"; $qstr .= "&amp;domain=$domain";

View File

@ -27,8 +27,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
?> ?>
<section class="cbox">
<h2>월별 접속자 수</h2>
<table> <table>
<caption>월별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">년-월</th> <th scope="col">년-월</th>
@ -41,7 +43,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tr> <tr>
<td colspan="2">합계</td> <td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td> <td><strong><?=number_format($sum_count)?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -80,6 +82,7 @@ if (count($arr)) {
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -26,8 +26,10 @@ while ($row=sql_fetch_array($result)) {
} }
?> ?>
<section class="cbox">
<h2>운영체제별 접속자 수</h2>
<table> <table>
<caption>운영체제별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">순위</th> <th scope="col">순위</th>
@ -41,7 +43,7 @@ while ($row=sql_fetch_array($result)) {
<tr> <tr>
<td colspan="3">합계</td> <td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td> <td><strong><?=$sum_count?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -90,6 +92,7 @@ if (count($arr)) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -25,8 +25,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
?> ?>
<section class="cbox">
<h2>요일별 접속자 수</h2>
<table> <table>
<caption>요일별 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">요일</th> <th scope="col">요일</th>
@ -39,7 +41,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tr> <tr>
<td colspan="2">합계</td> <td colspan="2">합계</td>
<td><strong><?=$sum_count?></strong></td> <td><strong><?=$sum_count?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -72,6 +74,7 @@ if ($i) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -27,8 +27,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
?> ?>
<section class="cbox">
<h2>연간 접속자 수</h2>
<table> <table>
<caption>연간 접속자 수</caption>
<thead> <thead>
<tr> <tr>
<th scope="col">년</th> <th scope="col">년</th>
@ -41,7 +43,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tr> <tr>
<td colspan="2">합계</td> <td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td> <td><strong><?=number_format($sum_count)?></strong></td>
<td></td> <td>100%</td>
</tr> </tr>
</tfoot> </tfoot>
<tbody> <tbody>
@ -77,6 +79,7 @@ if (count($arr)) {
?> ?>
</tbody> </tbody>
</table> </table>
</section>
<? <?
include_once('./admin.tail.php'); include_once('./admin.tail.php');

View File

@ -133,7 +133,6 @@ textarea, .frm_input {padding:3px}
textarea:focus, textarea:focus,
.frm_input:focus {padding:4px;border:0;background:#434f54;color:#fff} .frm_input:focus {padding:4px;border:0;background:#434f54;color:#fff}
textarea {width:90%} textarea {width:90%}
select {padding:2px}
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer} button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
.readonly {background:#ff3061} .readonly {background:#ff3061}