관리자 페이지 디자인 개선

관리자 페이지 수정 및 일부 페이지 기능 개선
This commit is contained in:
TATECK 2024-06-21 03:16:11 +09:00
parent e852dcf9a3
commit 9c418778ba
30 changed files with 2912 additions and 3007 deletions

View file

@ -1,5 +1,8 @@
<?php
define('G5_IS_ADMIN', true);
include_once ('../common.php');
include_once(G5_ADMIN_PATH.'/admin.lib.php');
if(!defined("_LOGIN_PAGE_") || (defined("_LOGIN_PAGE_") && !_LOGIN_PAGE_)) {
include_once(G5_ADMIN_PATH.'/admin.lib.php');
}
?>

View file

@ -3,29 +3,24 @@ if (!defined('_GNUBOARD_')) exit;
$begin_time = get_microtime();
include_once(G5_PATH.'/head.sub.php');
function print_menu1($key, $no)
{
function print_menu1($key, $no){
global $menu;
$str = print_menu2($key, $no);
return $str;
}
function print_menu2($key, $no)
{
function print_menu2($key, $no){
global $menu, $auth_menu, $is_admin, $auth, $g5, $sub_menu;
$str .= "<ul class=\"gnb_2dul\">";
for($i=1; $i<count($menu[$key]); $i++)
{
$str .= "<div class=\"gnb_2dul\"><ul>";
for($i=1; $i<count($menu[$key]); $i++) {
if ($is_admin != 'super' && (!array_key_exists($menu[$key][$i][0],$auth) || !strstr($auth[$menu[$key][$i][0]], 'r')))
continue;
if (($menu[$key][$i][4] == 1 && $gnb_grp_style == false) || ($menu[$key][$i][4] != 1 && $gnb_grp_style == true)) $gnb_grp_div = 'gnb_grp_div';
else $gnb_grp_div = '';
if ($menu[$key][$i][4] == 1) $gnb_grp_style = 'gnb_grp_style';
if ($menu[$key][$i][4] == 1) $gnb_grp_style = 'on';
else $gnb_grp_style = '';
$check_gnb_grp_style = "";
@ -37,52 +32,31 @@ function print_menu2($key, $no)
$auth_menu[$menu[$key][$i][0]] = $menu[$key][$i][1];
}
$str .= "</ul>";
$str .= "</ul></div>";
return $str;
}
?>
<script>
var tempX = 0;
var tempY = 0;
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
function imageview(id, w, h)
{
<div class="adminWrap">
menu(id);
var el_id = document.getElementById(id);
//submenu = eval(name+".style");
submenu = el_id.style;
submenu.left = tempX - ( w + 11 );
submenu.top = tempY - ( h / 2 );
selectBoxVisible();
if (el_id.style.display != 'none')
selectBoxHidden(id);
}
</script>
<div id="wrap">
<header id="header">
<div id="admin_prof">
<header class="adminHeader">
<div class="inner">
<h1>
<a href="<?php echo G5_ADMIN_URL ?>"><img src="<?=G5_ADMIN_URL?>/img/logo.png" alt="Avocado Edition" /></a>
<a href="<?php echo G5_ADMIN_URL ?>"><strong><?=$config['cf_title']?> Management</strong></a>
<i><?=G5_GNUBOARD_VER?></i>
</h1>
<p>
<a href="<?php echo G5_ADMIN_URL ?>/member_form.php?w=u&amp;mb_id=<?php echo $member['mb_id'] ?>" class="name">
<?=$member['mb_name']?>
</a>
<a href="<?php echo G5_BBS_URL ?>/logout.php" class="logout">로그아웃</a>
</p>
<aside>
<a href="<?php echo G5_BBS_URL ?>/logout.php" ><span class="material-symbols-outlined">logout</span></a>
<a href="<?=G5_URL?>" target="_blank"><span class="material-symbols-outlined">home</span></a>
<a href="https://avocado-edition-rout.postype.com/" target="_blank"><span class="material-symbols-outlined">developer_guide</span></a>
</aside>
</div>
<nav id="gnb">
</header>
<nav class="adminGnbArea auto-horiz">
<div id="gnb" class="inner">
<?php
$gnb_str = "<ul>";
foreach($amenu as $key=>$value) {
@ -95,7 +69,7 @@ function imageview(id, w, h)
}
$current_class = "";
if (isset($sub_menu) && (substr($sub_menu, 0, 3) == substr($menu['menu'.$key][0][0], 0, 3)))
$current_class = " gnb_1dli_air";
$current_class = " on";
$gnb_str .= '<li class="gnb_1dli'.$current_class.'">'.PHP_EOL;
$gnb_str .= $href1 . $menu['menu'.$key][0][1] . $href2;
$gnb_str .= print_menu1('menu'.$key, 1);
@ -104,22 +78,12 @@ function imageview(id, w, h)
$gnb_str .= "</ul>";
echo $gnb_str;
?>
</nav>
</header>
<section id="wrapper">
<aside id="page_top">
</div>
</nav>
<section class="adminBody">
<? if($g5['title'] != "관리자메인") { ?>
<div class="pageTitle">
<h2><?php echo $g5['title'] ?></h2>
<a href="<?=G5_URL?>" class="ico-home" target="_blank">
커뮤니티
</a>
<a href="https://avocado-edition-rout.postype.com/" class="ico-dev" target="_blank">
아보카도 솔루션
</a>
</aside>
<div id="container">
</div>
<? } ?>
<div class="container">

View file

@ -126,4 +126,124 @@ $(function() {
return true;
});
if($('.anchor').length > 0) {
$('.anchor').hide();
$('.anchor').addClass('auto-horiz');
$('.anchor').eq(0).addClass('actived').show();
$('.adminBody').addClass('has-amchor');
$(document).scroll(function() {set_achor();});
set_achor();
}
});
function set_achor() {
const $sections = $('section[id*="anc_"]');
const $anchorList = $(".anchor");
let current=""
const scrollTop = $(window).scrollTop();
const scrollLeft = $(window).scrollLeft();
const w_height = $(window).height();
$sections.each(function(index, item) {
if($(item).is(':visible')) {
const sectionTop = $(item).offset().top;
const checkTop = sectionTop - (w_height / 3);
if(scrollTop >= checkTop) {
current = $(item).attr('id');
}
}
});
$anchorList.find('.on').removeClass('on');
$anchorList.find('a[href="#'+current+'"]').addClass('on');
$(".auto-horiz").css("transform", "translateX(-"+scrollLeft+"px)");
$(".auto-horiz").css("-webkit-transform", "translateX(-"+scrollLeft+"px)");
}
/***************************************
Repeat Item
***************************************/
function fn_add_repeatFrom(id, max_count) {
const $repeat_pannel = $('#'+id);
const $original_item = $repeat_pannel.find('.repeat-original');
const originam_tag = $original_item[0].tagName.toLowerCase();
const now_count = $repeat_pannel.find(originam_tag).not('.repeat-original').length;
if(typeof(max_count) != "undefined" && max_count != 0 && now_count + 1 > max_count) {
alert("최대 등록 가능한 갯수를 초과하였습니다.");
return false;
}
let $add_item = $original_item.clone();
$add_item.removeClass('repeat-original');
$repeat_pannel.append($add_item);
}
function fn_del_itemFrom(obj) {
const $repeat_pannel = $(obj).closest('.repeatFormArea');
const $original_item = $repeat_pannel.find('.repeat-original');
const originam_tag = $original_item[0].tagName.toLowerCase();
$(obj).closest(originam_tag).remove();
}
/***************************************
Layout Setting
***************************************/
$(function() {
//$('.local_desc').prepend($('<span class="material-symbols-outlined">emergency</span>'));
$('input[type="checkbox"]').each(function() {
let $label = $(this).next('label');
if($label.length > 0) {
$(this).addClass('hidden');
} else {
$(this).addClass('show');
}
});
$('.local_sch a').addClass('btn_link');
$('.color-preview').each(function() {
let $input = $(this).prev('input[type="text"]');
let $color = $(this);
let is_input = false;
$color.on('change', function() {
if(!is_input) {
let _color = $(this).val();
$input.val(_color);
} else {
is_input = false;
}
});
$input.on('change', function() {
is_input = true;
let _color = $(this).val();
$color.val(_color);
});
});
if($('.btn_add').length > 0 && $('.btn_list').length) {
$('.btn_add').addClass('btn_list');
} else if($('.btn_add').length > 0) {
$('.btn_add').addClass('btn_confirm');
}
if($('.btn_list').length > 0 && $('.btn_confirm').length > 0) {
$('.btn_confirm').closest('section').addClass('writeFromArea');
$('.container').addClass('writeFromAreaContainer');
}
});

View file

@ -1,17 +1,8 @@
<?php
if (!defined('_GNUBOARD_')) exit;
/*
// 081022 : CSRF 방지를 위해 코드를 작성했으나 효과가 없어 주석처리 함
if (!get_session('ss_admin')) {
set_session('ss_admin', true);
goto_url('.');
}
*/
// 스킨디렉토리를 SELECT 형식으로 얻음
function get_skin_select($skin_gubun, $id, $name, $selected='', $event='')
{
function get_skin_select($skin_gubun, $id, $name, $selected='', $event=''){
global $config;
$skins = array();
@ -42,8 +33,7 @@ function get_skin_select($skin_gubun, $id, $name, $selected='', $event='')
}
// 모바일 스킨디렉토리를 SELECT 형식으로 얻음
function get_mobile_skin_select($skin_gubun, $id, $name, $selected='', $event='')
{
function get_mobile_skin_select($skin_gubun, $id, $name, $selected='', $event=''){
global $config;
$skins = array();
@ -75,8 +65,7 @@ function get_mobile_skin_select($skin_gubun, $id, $name, $selected='', $event=''
// 스킨경로를 얻는다
function get_skin_dir($skin, $skin_path=G5_SKIN_PATH)
{
function get_skin_dir($skin, $skin_path=G5_SKIN_PATH){
global $g5;
$result_array = array();
@ -99,8 +88,7 @@ function get_skin_dir($skin, $skin_path=G5_SKIN_PATH)
// 테마
function get_theme_dir()
{
function get_theme_dir(){
$result_array = array();
$dirname = G5_PATH.'/'.G5_THEME_DIR.'/';
@ -121,8 +109,7 @@ function get_theme_dir()
}
// 테마디렉토리를 SELECT 형식으로 얻음
function get_theme_select($id, $name, $selected='', $event='')
{
function get_theme_select($id, $name, $selected='', $event=''){
global $config;
$theme = array();
@ -141,8 +128,7 @@ function get_theme_select($id, $name, $selected='', $event='')
// 테마정보
function get_theme_info($dir)
{
function get_theme_info($dir){
$info = array();
$path = G5_PATH.'/'.G5_THEME_DIR.'/'.$dir;
@ -190,8 +176,7 @@ function get_theme_info($dir)
// 테마설정 정보
function get_theme_config_value($dir, $key='*')
{
function get_theme_config_value($dir, $key='*'){
$tconfig = array();
$theme_config_file = G5_PATH.'/'.G5_THEME_DIR.'/'.$dir.'/theme.config.php';
@ -214,8 +199,7 @@ function get_theme_config_value($dir, $key='*')
// 회원권한을 SELECT 형식으로 얻음
function get_member_level_select($name, $start_id=0, $end_id=10, $selected="", $event="")
{
function get_member_level_select($name, $start_id=0, $end_id=10, $selected="", $event=""){
global $g5;
$level_name[1] = "방문자";
@ -239,8 +223,7 @@ function get_member_level_select($name, $start_id=0, $end_id=10, $selected="", $
// 회원아이디를 SELECT 형식으로 얻음
function get_member_id_select($name, $level, $selected="", $event="")
{
function get_member_id_select($name, $level, $selected="", $event=""){
global $g5;
$sql = " select mb_id from {$g5['member_table']} where mb_level >= '{$level}' ";
@ -257,8 +240,7 @@ function get_member_id_select($name, $level, $selected="", $event="")
}
// 권한 검사
function auth_check($auth, $attr, $return=false)
{
function auth_check($auth, $attr, $return=false){
global $is_admin;
if ($is_admin == 'super') return;
@ -304,8 +286,7 @@ function auth_check($auth, $attr, $return=false)
// 작업아이콘 출력
function icon($act, $link='', $target='_parent')
{
function icon($act, $link='', $target='_parent'){
global $g5;
$img = array('입력'=>'insert', '추가'=>'insert', '생성'=>'insert', '수정'=>'modify', '삭제'=>'delete', '이동'=>'move', '그룹'=>'move', '보기'=>'view', '미리보기'=>'view', '복사'=>'copy');
@ -320,8 +301,7 @@ function icon($act, $link='', $target='_parent')
// rm -rf 옵션 : exec(), system() 함수를 사용할 수 없는 서버 또는 win32용 대체
// www.php.net 참고 : pal at degerstrom dot com
function rm_rf($file)
{
function rm_rf($file){
if (file_exists($file)) {
if (is_dir($file)) {
$handle = opendir($file);
@ -343,8 +323,7 @@ function rm_rf($file)
// 출력순서
function order_select($fld, $sel='')
{
function order_select($fld, $sel=''){
$s = '<select name="'.$fld.'" id="'.$fld.'">';
for ($i=1; $i<=100; $i++) {
$s .= '<option value="'.$i.'" ';
@ -365,8 +344,7 @@ function order_select($fld, $sel='')
}
// 불법접근을 막도록 토큰을 생성하면서 토큰값을 리턴
function get_admin_token()
{
function get_admin_token(){
$token = md5(uniqid(rand(), true));
set_session('ss_admin_token', $token);
@ -375,8 +353,7 @@ function get_admin_token()
// POST로 넘어온 토큰과 세션에 저장된 토큰 비교
function check_admin_token()
{
function check_admin_token(){
$token = get_session('ss_admin_token');
set_session('ss_admin_token', '');
@ -387,8 +364,7 @@ function check_admin_token()
}
// 관리자 페이지 referer 체크
function admin_referer_check($return=false)
{
function admin_referer_check($return=false){
$referer = trim($_SERVER['HTTP_REFERER']);
if(!$referer) {
$msg = '정보가 올바르지 않습니다.';
@ -413,23 +389,18 @@ function admin_referer_check($return=false)
}
// 접근 권한 검사
if (!$member['mb_id'])
{
goto_url(G5_BBS_URL.'/login.php?url=' . urlencode(G5_ADMIN_URL));
}
else if ($is_admin != 'super')
{
if (!$member['mb_id']) {
goto_url(G5_ADMIN_URL.'/login.php');
} else if ($is_admin != 'super'){
$auth = array();
$sql = " select au_menu, au_auth from {$g5['auth_table']} where mb_id = '{$member['mb_id']}' ";
$result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++)
{
for($i=0; $row=sql_fetch_array($result); $i++) {
$auth[$row['au_menu']] = $row['au_auth'];
}
if (!$i)
{
goto_url(G5_URL);
if (!$i) {
//goto_url(G5_URL);
}
}
@ -439,11 +410,11 @@ if (get_session('ss_mb_key') !== $admin_key) {
session_destroy();
include_once(G5_LIB_PATH.'/mailer.lib.php');
//include_once(G5_LIB_PATH.'/mailer.lib.php');
// 메일 알림
mailer($member['mb_nick'], $member['mb_email'], $member['mb_email'], 'XSS 공격 알림', $_SERVER['REMOTE_ADDR'].' 아이피로 XSS 공격이 있었습니다.\n\n관리자 권한을 탈취하려는 접근이므로 주의하시기 바랍니다.\n\n해당 아이피는 차단하시고 의심되는 게시물이 있는지 확인하시기 바랍니다.\n\n'.G5_URL, 0);
//mailer($member['mb_nick'], $member['mb_email'], $member['mb_email'], 'XSS 공격 알림', $_SERVER['REMOTE_ADDR'].' 아이피로 XSS 공격이 있었습니다.\n\n관리자 권한을 탈취하려는 접근이므로 주의하시기 바랍니다.\n\n해당 아이피는 차단하시고 의심되는 게시물이 있는지 확인하시기 바랍니다.\n\n'.G5_URL, 0);
alert_close('정상적으로 로그인하여 접근하시기 바랍니다.');
//alert_close('정상적으로 로그인하여 접근하시기 바랍니다.');
}
@ksort($auth);
@ -456,7 +427,6 @@ $tmp = dir(G5_ADMIN_PATH);
while ($entry = $tmp->read()) {
if (!preg_match('/^admin.menu([0-9]{3}).*\.php$/', $entry, $m))
continue; // 파일명이 menu 으로 시작하지 않으면 무시한다.
$amenu[$m[1]] = $entry;
include_once(G5_ADMIN_PATH.'/'.$entry);
}
@ -470,6 +440,4 @@ if (isset($stx)) $arr_query[] = 'stx='.$stx;
if (isset($page)) $arr_query[] = 'page='.$page;
$qstr = implode("&amp;", $arr_query);
// 관리자에서는 추가 스크립트는 사용하지 않는다.
//$config['cf_add_script'] = '';
?>

View file

@ -6,7 +6,7 @@ $menu['menu100'] = array (
array('100250', '화면 설정', G5_ADMIN_URL.'/viewer_form.php', 'cf_view_basic'),
array('100280', '테마설정', G5_ADMIN_URL.'/theme.php', 'cf_theme', 1),
array('100300', '디자인 설정', G5_ADMIN_URL.'/design_form.php', 'cf_design_basic'),
array('100310', '팝업레이어관리', G5_ADMIN_URL.'/newwinlist.php', 'scf_poplayer'),
/*array('100310', '팝업레이어관리', G5_ADMIN_URL.'/newwinlist.php', 'scf_poplayer'),*/
array('100320', '메인슬라이드 관리', G5_ADMIN_URL.'/banner_list.php', 'cf_banner'),
array('100330', '인트로 관리', G5_ADMIN_URL.'/intro_list.php', 'cf_banner'),
array('100990', 'DB관리', G5_DB_URL, '')

View file

@ -6,7 +6,6 @@ $menu['menu200'] = array (
array('200800', '접속자집계', G5_ADMIN_URL.'/visit_list.php', ''),
array('200810', '접속자검색', G5_ADMIN_URL.'/visit_search.php', ''),
array('200820', '접속자로그삭제', G5_ADMIN_URL.'/visit_delete.php', ''),
array('200900', '투표관리', G5_ADMIN_URL.'/poll_list.php', '')
array('200820', '접속자로그삭제', G5_ADMIN_URL.'/visit_delete.php', '')
);
?>

View file

@ -1,7 +1,7 @@
<?php
if (!defined('_GNUBOARD_')) exit;
?>
</div>
</section>
</div>
@ -29,12 +29,6 @@ $(function(){
}
});
// 폰트 리사이즈 쿠키있으면 실행
var font_resize_act = get_cookie("ck_font_resize_act");
if(font_resize_act != "") {
font_resize("container", font_resize_act);
}
$('.gnb_1da').bind('click', function(){
var gnb_parent = $(this).closest('li');

View file

@ -1,6 +1,7 @@
<?php
$sub_menu = "100200";
include_once('./_common.php');
include_once(G5_ADMIN_PATH."/config_form_prev.php");
include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], 'r');
@ -14,6 +15,7 @@ include_once ('./admin.head.php');
$pg_anchor = '<ul class="anchor">
<li><a href="#anc_001">기본설정</a></li>
<li><a href="#anc_002">기능설정</a></li>
<li><a href="#anc_004">카테고리 설정</a></li>
<li><a href="#anc_003">기타항목설정</a></li>
</ul>';
@ -98,24 +100,10 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
<input type="text" name="cf_twitter" value="<?php echo $config['cf_twitter'] ?>" id="cf_twitter" size="40" />
</td>
</tr>
<tr>
<th scope="row">기능설정</th>
<td>
<input type="checkbox" name="cf_4" value="1" id="cf_4" <?php echo $config['cf_4']?'checked':''; ?>>
<label for="cf_4">탐색사용</label>
&nbsp;&nbsp;
<input type="checkbox" name="cf_6" value="1" id="cf_6" <?php echo $config['cf_6']?'checked':''; ?>>
<label for="cf_6">탐색 수행 가능</label>
&nbsp;&nbsp;
<input type="checkbox" name="cf_5" value="1" id="cf_5" <?php echo $config['cf_5']?'checked':''; ?>>
<label for="cf_5">조합(레시피)사용</label>
</td>
</tr>
<tr>
<th scope="row">기타설정</th>
<td>
<?php echo help('디자인 관리 사용을 하시면, 기본 디자인 + 관리자 디자인 설정을 사용하실 수 있습니다.') ?>
<?php echo help('직접 디자인 수정을 원하신다면, 디자인 관리 사용하지 않음에 체크 하세요.') ?>
<?php echo help('디자인 관리 사용을 하시면, 기본 디자인 + 관리자 디자인 설정을 사용하실 수 있습니다. <br> 직접 디자인 수정을 원하신다면, 디자인 관리 사용하지 않음에 체크 하세요.') ?>
<input type="checkbox" name="cf_7" value="1" id="cf_7" <?php echo $config['cf_7']?'checked':''; ?>>
<label for="cf_7">디자인 관리 사용하지 않음</label>
@ -138,27 +126,41 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
<colgroup>
<col style="width: 150px;">
<col>
<col style="width: 150px;">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row">기능설정</th>
<td colspan="3">
<input type="checkbox" name="cf_4" value="1" id="cf_4" <?php echo $config['cf_4']?'checked':''; ?>>
<label for="cf_4">탐색사용</label>
&nbsp;&nbsp;
<input type="checkbox" name="cf_6" value="1" id="cf_6" <?php echo $config['cf_6']?'checked':''; ?>>
<label for="cf_6">탐색 수행 가능</label>
&nbsp;&nbsp;
<input type="checkbox" name="cf_5" value="1" id="cf_5" <?php echo $config['cf_5']?'checked':''; ?>>
<label for="cf_5">조합(레시피)사용</label>
</td>
</tr>
<tr>
<th scope="row">캐릭터 최대 생성 갯수</th>
<td>
<input type="text" name="cf_character_count" value="<?php echo get_text($config['cf_character_count']) ?>" id="cf_character_count" size="10">
<input type="text" name="cf_character_count" value="<?php echo get_text($config['cf_character_count']) ?>" id="cf_character_count" class="taC" size="5">
</td>
<th scope="row">하루 탐색 횟수</th>
<td>
<input type="text" name="cf_search_count" value="<?php echo get_text($config['cf_search_count']) ?>" id="cf_search_count" class="taC" size="5">
</td>
</tr>
<tr>
<th scope="row">최초 스탯 포인트</th>
<td>
<td colspan="3">
<?php echo help('스탯 사용 설정 시, 캐릭터가 최초로 획득하는 스탯 포인트를 설정합니다.') ?>
<input type="text" name="cf_status_point" value="<?php echo get_text($config['cf_status_point']) ?>" id="cf_status_point" size="10">
</td>
</tr>
<tr>
<th scope="row">하루 탐색 횟수</th>
<td>
<input type="text" name="cf_search_count" value="<?php echo get_text($config['cf_search_count']) ?>" id="cf_search_count" size="10">
<input type="text" name="cf_status_point" value="<?php echo get_text($config['cf_status_point']) ?>" id="cf_status_point" class="taC" size="5">
</td>
</tr>
</tbody>
</table>
</div>
@ -166,6 +168,122 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
<?php echo $frm_submit; ?>
<section id="anc_004">
<h2 class="h2_frm">카테고리 설정</h2>
<?php echo $pg_anchor ?>
<div class="tbl_frm01 tbl_wrap">
<table>
<colgroup>
<col style="width:165px;">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row" class="pad vT">
<span class="lb">프로필 항목</span>
<button type="button" onclick="fn_add_repeatFrom('profileAddTable');" class="btn_small_add"><span class="material-symbols-outlined">add</span></button>
</th>
<td>
<ul id="profileAddTable" class="repeatFormArea fit">
<li class="repeat-original">
<div class="form">
<input type="text" name="cf_profile_group_spr[]" value="" class="full" />
</div>
<div class="control">
<button type="button" onclick="fn_del_itemFrom(this);" class="btn_small_del"><span class="material-symbols-outlined">remove</span></button>
</div>
</li>
<?
$repeat_item = explode("||", $config['cf_profile_group']);
for($i=0; $i < count($repeat_item); $i++) {
?>
<li>
<div class="form">
<input type="text" name="cf_profile_group_spr[]" value="<?=$repeat_item[$i]?>" class="full" />
</div>
<div class="control">
<button type="button" onclick="fn_del_itemFrom(this);" class="btn_small_del"><span class="material-symbols-outlined">remove</span></button>
</div>
</li>
<? } ?>
</ul>
</td>
</tr>
<tr>
<th scope="row" class="pad vT">
<span class="lb">상점 분류</span>
<button type="button" onclick="fn_add_repeatFrom('shopAddTable');" class="btn_small_add"><span class="material-symbols-outlined">add</span></button>
</th>
<td>
<ul id="shopAddTable" class="repeatFormArea fit">
<li class="repeat-original">
<div class="form">
<input type="text" name="cf_shop_category_spr[]" value="" class="full" />
</div>
<div class="control">
<button type="button" onclick="fn_del_itemFrom(this);" class="btn_small_del"><span class="material-symbols-outlined">remove</span></button>
</div>
</li>
<?
$repeat_item = explode("||", $config['cf_shop_category']);
for($i=0; $i < count($repeat_item); $i++) {
?>
<li>
<div class="form">
<input type="text" name="cf_shop_category_spr[]" value="<?=$repeat_item[$i]?>" class="full" />
</div>
<div class="control">
<button type="button" onclick="fn_del_itemFrom(this);" class="btn_small_del"><span class="material-symbols-outlined">remove</span></button>
</div>
</li>
<? } ?>
</ul>
</td>
</tr>
<tr>
<th scope="row" class="pad vT">
<span class="lb">아이템 기능</span>
<button type="button" onclick="fn_add_repeatFrom('itemAddTable');" class="btn_small_add"><span class="material-symbols-outlined">add</span></button>
</th>
<td>
<ul id="itemAddTable" class="repeatFormArea fit">
<li class="repeat-original">
<div class="form">
<input type="text" name="cf_item_category_spr[]" value="" class="full" />
</div>
<div class="control">
<button type="button" onclick="fn_del_itemFrom(this);" class="btn_small_del"><span class="material-symbols-outlined">remove</span></button>
</div>
</li>
<?
$repeat_item = explode("||", $config['cf_item_category']);
for($i=0; $i < count($repeat_item); $i++) {
?>
<li>
<div class="form">
<input type="text" name="cf_item_category_spr[]" value="<?=$repeat_item[$i]?>" class="full" />
</div>
<div class="control">
<button type="button" onclick="fn_del_itemFrom(this);" class="btn_small_del"><span class="material-symbols-outlined">remove</span></button>
</div>
</li>
<? } ?>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<?php echo $frm_submit; ?>
<section id="anc_003">
<h2 class="h2_frm">기타 항목명 설정</h2>
<?php echo $pg_anchor ?>
@ -179,35 +297,24 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
</colgroup>
<tbody>
<tr>
<th scope="row" rowspan="2"><?=$config['cf_money']?> 설정</th>
<td>명칭</td>
<th scope="row"><?=$config['cf_money']?></th>
<td>명칭/단위</td>
<td>
<input type="text" name="cf_money" value="<?php echo get_text($config['cf_money']) ?>" id="cf_money" size="30">
</td>
</tr>
<tr>
<td>단위</td>
<td>
<input type="text" name="cf_money_pice" value="<?php echo get_text($config['cf_money_pice']) ?>" id="cf_money_pice" size="30">
<input type="text" name="cf_money" value="<?php echo get_text($config['cf_money']) ?>" id="cf_money" size="5" placeholder="명칭"> <input type="text" name="cf_money_pice" value="<?php echo get_text($config['cf_money_pice']) ?>" id="cf_money_pice" size="5" placeholder="단위">
</td>
</tr>
<tr>
<th scope="row" rowspan="2"><?=$config['cf_exp_name']?> 설정</th>
<td>명칭</td>
<th scope="row"><?=$config['cf_exp_name']?></th>
<td>명칭/단위</td>
<td>
<input type="text" name="cf_exp_name" value="<?php echo get_text($config['cf_exp_name']) ?>" id="cf_exp_name" size="30">
</td>
</tr>
<tr>
<td>단위</td>
<td>
<input type="text" name="cf_exp_pice" value="<?php echo get_text($config['cf_exp_pice']) ?>" id="cf_exp_pice" size="30">
<input type="text" name="cf_exp_name" value="<?php echo get_text($config['cf_exp_name']) ?>" id="cf_exp_name" size="5" placeholder="명칭">
<input type="text" name="cf_exp_pice" value="<?php echo get_text($config['cf_exp_pice']) ?>" id="cf_exp_pice" size="5" placeholder="단위">
</td>
</tr>
<tr>
<th scope="row"><?=$config['cf_rank_name']?> 설정</th>
<th scope="row"><?=$config['cf_rank_name']?></th>
<td>명칭</td>
<td>
<input type="text" name="cf_rank_name" value="<?php echo get_text($config['cf_rank_name']) ?>" id="cf_rank_name" size="30">
@ -215,7 +322,7 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
</tr>
<tr>
<th scope="row"><?=$config['cf_side_title']?> (선택A)설정</th>
<th scope="row"><?=$config['cf_side_title']?> (선택A)</th>
<td>명칭</td>
<td>
<?php echo help('명칭이 입력되지 않을 시, 프로필에 출력되지 않습니다.') ?>
@ -223,30 +330,13 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
</td>
</tr>
<tr>
<th scope="row"><?=$config['cf_class_title']?> (선택B)설정</th>
<th scope="row"><?=$config['cf_class_title']?> (선택B)</th>
<td>명칭</td>
<td>
<?php echo help('명칭이 입력되지 않을 시, 프로필에 출력되지 않습니다.') ?>
<input type="text" name="cf_class_title" value="<?php echo get_text($config['cf_class_title']) ?>" id="cf_class_title" size="30">
</td>
</tr>
<tr>
<th scope="row">상점 카테고리</th>
<td>-</td>
<td>
<?php echo help('카테고리 구분은 || 를 사용합니다. ex) 일반||프로필수정||기타') ?>
<input type="text" name="cf_shop_category" value="<?php echo get_text($config['cf_shop_category']) ?>" id="cf_shop_category" size="100">
</td>
</tr>
<tr>
<th scope="row">아이템 기능</th>
<td>-</td>
<td>
<?php echo help('기능 구분은 || 를 사용합니다. ex) 일반||프로필수정||아이템추가') ?>
<input type="text" name="cf_item_category" value="<?php echo get_text($config['cf_item_category']) ?>" id="cf_item_category" size="100">
</td>
</tr>
</tbody>
</table>
</div>
@ -254,7 +344,6 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
<?php echo $frm_submit; ?>
</form>
<script>

View file

@ -39,7 +39,32 @@ if ($_FILES['cf_favicon_file']['name']) {
$cf_favicon = $site_style_url."/".$image_name;
}
$cf_profile_group = "";
$add_str = "";
for($i=0; $i < count($_POST['cf_profile_group_spr']); $i++) {
if($_POST['cf_profile_group_spr'][$i]) {
$cf_profile_group .= $add_str.$_POST['cf_profile_group_spr'][$i];
$add_str = "||";
}
}
$cf_shop_category = "";
$add_str = "";
for($i=0; $i < count($_POST['cf_shop_category_spr']); $i++) {
if($_POST['cf_shop_category_spr'][$i]) {
$cf_shop_category .= $add_str.$_POST['cf_shop_category_spr'][$i];
$add_str = "||";
}
}
$cf_item_category = "";
$add_str = "";
for($i=0; $i < count($_POST['cf_item_category_spr']); $i++) {
if($_POST['cf_item_category_spr'][$i]) {
$cf_item_category .= $add_str.$_POST['cf_item_category_spr'][$i];
$add_str = "||";
}
}
$sql = " update {$g5['config_table']}
set cf_title = '{$_POST['cf_title']}',
@ -47,8 +72,9 @@ $sql = " update {$g5['config_table']}
cf_twitter = '{$_POST['cf_twitter']}',
cf_side_title = '{$_POST['cf_side_title']}',
cf_class_title = '{$_POST['cf_class_title']}',
cf_shop_category = '{$_POST['cf_shop_category']}',
cf_item_category = '{$_POST['cf_item_category']}',
cf_profile_group = '{$cf_profile_group}',
cf_shop_category = '{$cf_shop_category}',
cf_item_category = '{$cf_item_category}',
cf_open = '{$_POST['cf_open']}',
cf_site_descript = '{$_POST['cf_site_descript']}',
cf_site_img = '{$cf_site_img}',

View file

@ -1,196 +1,10 @@
<?php
$sub_menu = "100100";
include_once('./_common.php');
auth_check($auth[$sub_menu], 'r');
if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.');
if (!isset($config['cf_add_script'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_add_script` TEXT NOT NULL AFTER `cf_admin_email_name` ", true);
}
if (!isset($config['cf_mobile_new_skin'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_mobile_new_skin` VARCHAR(255) NOT NULL AFTER `cf_memo_send_point`,
ADD `cf_mobile_search_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_new_skin`,
ADD `cf_mobile_connect_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_search_skin`,
ADD `cf_mobile_member_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_connect_skin` ", true);
}
if (isset($config['cf_gcaptcha_mp3'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
CHANGE `cf_gcaptcha_mp3` `cf_captcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' ", true);
} else if (!isset($config['cf_captcha_mp3'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_captcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_mobile_member_skin` ", true);
}
if(!isset($config['cf_editor'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_editor` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_captcha_mp3` ", true);
}
if(!isset($config['cf_googl_shorturl_apikey'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_googl_shorturl_apikey` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_captcha_mp3` ", true);
}
if(!isset($config['cf_mobile_pages'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_mobile_pages` INT(11) NOT NULL DEFAULT '0' AFTER `cf_write_pages` ", true);
sql_query(" UPDATE `{$g5['config_table']}` SET cf_mobile_pages = '5' ", true);
}
if(!isset($config['cf_facebook_appid'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_facebook_appid` VARCHAR(255) NOT NULL AFTER `cf_googl_shorturl_apikey`,
ADD `cf_facebook_secret` VARCHAR(255) NOT NULL AFTER `cf_facebook_appid`,
ADD `cf_twitter_key` VARCHAR(255) NOT NULL AFTER `cf_facebook_secret`,
ADD `cf_twitter_secret` VARCHAR(255) NOT NULL AFTER `cf_twitter_key` ", true);
}
// uniqid 테이블이 없을 경우 생성
if(!sql_query(" DESC {$g5['uniqid_table']} ", false)) {
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['uniqid_table']}` (
`uq_id` bigint(20) unsigned NOT NULL,
`uq_ip` varchar(255) NOT NULL,
PRIMARY KEY (`uq_id`)
) ", false);
}
if(!sql_query(" SELECT uq_ip from {$g5['uniqid_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE {$g5['uniqid_table']} ADD `uq_ip` VARCHAR(255) NOT NULL ");
}
// 임시저장 테이블이 없을 경우 생성
if(!sql_query(" DESC {$g5['autosave_table']} ", false)) {
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['autosave_table']}` (
`as_id` int(11) NOT NULL AUTO_INCREMENT,
`mb_id` varchar(20) NOT NULL,
`as_uid` bigint(20) unsigned NOT NULL,
`as_subject` varchar(255) NOT NULL,
`as_content` text NOT NULL,
`as_datetime` datetime NOT NULL,
PRIMARY KEY (`as_id`),
UNIQUE KEY `as_uid` (`as_uid`),
KEY `mb_id` (`mb_id`)
) ", false);
}
if(!isset($config['cf_admin_email'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_admin_email` VARCHAR(255) NOT NULL AFTER `cf_admin` ", true);
}
if(!isset($config['cf_admin_email_name'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_admin_email_name` VARCHAR(255) NOT NULL AFTER `cf_admin_email` ", true);
}
if(!isset($config['cf_cert_use'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_cert_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `cf_editor`,
ADD `cf_cert_ipin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_use`,
ADD `cf_cert_hp` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_ipin`,
ADD `cf_cert_kcb_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_hp`,
ADD `cf_cert_kcp_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_kcb_cd`,
ADD `cf_cert_limit` INT(11) NOT NULL DEFAULT '0' AFTER `cf_cert_kcp_cd` ", true);
sql_query(" ALTER TABLE `{$g5['member_table']}`
CHANGE `mb_hp_certify` `mb_certify` VARCHAR(20) NOT NULL DEFAULT '' ", true);
sql_query(" update {$g5['member_table']} set mb_certify = 'hp' where mb_certify = '1' ");
sql_query(" update {$g5['member_table']} set mb_certify = '' where mb_certify = '0' ");
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['cert_history_table']}` (
`cr_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL DEFAULT '',
`cr_company` varchar(255) NOT NULL DEFAULT '',
`cr_method` varchar(255) NOT NULL DEFAULT '',
`cr_ip` varchar(255) NOT NULL DEFAULT '',
`cr_date` date NOT NULL DEFAULT '0000-00-00',
`cr_time` time NOT NULL DEFAULT '00:00:00',
PRIMARY KEY (`cr_id`),
KEY `mb_id` (`mb_id`)
)", true);
}
if(!isset($config['cf_analytics'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_analytics` TEXT NOT NULL AFTER `cf_intercept_ip` ", true);
}
if(!isset($config['cf_add_meta'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_add_meta` TEXT NOT NULL AFTER `cf_analytics` ", true);
}
if (!isset($config['cf_syndi_token'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_syndi_token` VARCHAR(255) NOT NULL AFTER `cf_add_meta` ", true);
}
if (!isset($config['cf_syndi_except'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_syndi_except` TEXT NOT NULL AFTER `cf_syndi_token` ", true);
}
if(!isset($config['cf_sms_use'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_sms_use` varchar(255) NOT NULL DEFAULT '' AFTER `cf_cert_limit`,
ADD `cf_icode_id` varchar(255) NOT NULL DEFAULT '' AFTER `cf_sms_use`,
ADD `cf_icode_pw` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_id`,
ADD `cf_icode_server_ip` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_pw`,
ADD `cf_icode_server_port` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_server_ip` ", true);
}
if(!isset($config['cf_mobile_page_rows'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_mobile_page_rows` int(11) NOT NULL DEFAULT '0' AFTER `cf_page_rows` ", true);
}
if(!isset($config['cf_cert_req'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_cert_req` tinyint(4) NOT NULL DEFAULT '0' AFTER `cf_cert_limit` ", true);
}
if(!isset($config['cf_faq_skin'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_faq_skin` varchar(255) NOT NULL DEFAULT '' AFTER `cf_connect_skin`,
ADD `cf_mobile_faq_skin` varchar(255) NOT NULL DEFAULT '' AFTER `cf_mobile_connect_skin` ", true);
}
// LG유플러스 본인확인 필드 추가
if(!isset($config['cf_lg_mid'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_lg_mid` varchar(255) NOT NULL DEFAULT '' AFTER `cf_cert_kcp_cd`,
ADD `cf_lg_mert_key` varchar(255) NOT NULL DEFAULT '' AFTER `cf_lg_mid` ", true);
}
if(!isset($config['cf_optimize_date'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_optimize_date` date NOT NULL default '0000-00-00' AFTER `cf_popular_del` ", true);
}
// 카카오톡링크 api 키
if(!isset($config['cf_kakao_js_apikey'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_kakao_js_apikey` varchar(255) NOT NULL DEFAULT '' AFTER `cf_googl_shorturl_apikey` ", true);
}
// SMS 전송유형 필드 추가
if(!isset($config['cf_sms_type'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_sms_type` varchar(10) NOT NULL DEFAULT '' AFTER `cf_sms_use` ", true);
}
// 접속자 정보 필드 추가
if(!sql_query(" select vi_browser from {$g5['visit_table']} limit 1 ")) {
sql_query(" ALTER TABLE `{$g5['visit_table']}`
ADD `vi_browser` varchar(255) NOT NULL DEFAULT '' AFTER `vi_agent`,
ADD `vi_os` varchar(255) NOT NULL DEFAULT '' AFTER `vi_browser`,
ADD `vi_device` varchar(255) NOT NULL DEFAULT '' AFTER `vi_os` ", true);
}
if ($is_admin != 'super') alert('최고관리자만 접근 가능합니다.');
include_once(G5_ADMIN_PATH."/config_form_prev.php");
if(!$config['cf_faq_skin']) $config['cf_faq_skin'] = "basic";
if(!$config['cf_mobile_faq_skin']) $config['cf_mobile_faq_skin'] = "basic";
@ -202,7 +16,6 @@ $pg_anchor = '<ul class="anchor">
<li><a href="#anc_001">기본환경</a></li>
<li><a href="#anc_002">게시판기본</a></li>
<li><a href="#anc_003">회원가입</a></li>
<li><a href="#anc_008">투표메일</a></li>
<li><a href="#anc_010">레이아웃 추가설정</a></li>
</ul>';
@ -221,13 +34,59 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<form name="fconfigform" id="fconfigform" method="post" onsubmit="return fconfigform_submit(this);" enctype="multipart/form-data">
<input type="hidden" name="token" value="" id="token">
<input type="hidden" name="cf_cut_name" value="<?php echo $config['cf_cut_name'] ?>" />
<input type="hidden" name="cf_captcha_mp3" value="<?php echo $config['cf_captcha_mp3'] ?>" />
<input type="hidden" name="cf_memo_send_point" value="<?php echo $config['cf_memo_send_point'] ?>" />
<input type="hidden" name="cf_open_modify" value="<?php echo $config['cf_open_modify'] ?>" />
<input type="hidden" name="cf_nick_modify" value="<?php echo $config['cf_nick_modify'] ?>" />
<input type="hidden" name="cf_login_minutes" value="<?php echo $config['cf_login_minutes'] ?>" />
<input type="hidden" name="cf_use_copy_log" value="<?php echo $config['cf_use_copy_log']; ?>" />
<input type="hidden" name="cf_point_term" value="<?php echo $config['cf_point_term']; ?>" />
<input type="hidden" name="cf_analytics" value="<?php echo $config['cf_analytics']; ?>" />
<input type="hidden" name="cf_add_meta" value="<?php echo $config['cf_add_meta']; ?>" />
<input type="hidden" name="cf_syndi_token" value="<?php echo $config['cf_syndi_token']; ?>" />
<input type="hidden" name="cf_syndi_except" value="<?php echo $config['cf_syndi_except']; ?>" />
<input type="hidden" name="cf_flash_extension" value="<?php echo $config['cf_flash_extension']; ?>" />
<input type="hidden" name="cf_read_point" value="<?php echo $config['cf_read_point']; ?>" />
<input type="hidden" name="cf_write_point" value="<?php echo $config['cf_write_point']; ?>" />
<input type="hidden" name="cf_comment_point" value="<?php echo $config['cf_comment_point']; ?>" />
<input type="hidden" name="cf_download_point" value="<?php echo $config['cf_download_point']; ?>" />
<input type="hidden" name="cf_cert_use" value="<?php echo $config['cf_cert_use']; ?>" />
<input type="hidden" name="cf_cert_ipin" value="<?php echo $config['cf_cert_ipin']; ?>" />
<input type="hidden" name="cf_cert_hp" value="<?php echo $config['cf_cert_hp']; ?>" />
<input type="hidden" name="cf_cert_kcb_cd" value="<?php echo $config['cf_cert_kcb_cd']; ?>" />
<input type="hidden" name="cf_cert_kcp_cd" value="<?php echo $config['cf_cert_kcp_cd']; ?>" />
<input type="hidden" name="cf_lg_mid" value="<?php echo $config['cf_lg_mid']; ?>" />
<input type="hidden" name="cf_lg_mert_key" value="<?php echo $config['cf_lg_mert_key']; ?>" />
<input type="hidden" name="cf_cert_limit" value="<?php echo $config['cf_cert_limit']; ?>" />
<input type="hidden" name="cf_cert_req" value="<?php echo $config['cf_cert_req']; ?>" />
<input type="hidden" name="cf_email_po_super_admin" value="<?php echo $config['cf_email_po_super_admin']; ?>" />
<input type="hidden" name="cf_use_homepage" value="<?php echo $config['cf_use_homepage']; ?>" />
<input type="hidden" name="cf_req_homepage" value="<?php echo $config['cf_req_homepage']; ?>" />
<input type="hidden" name="cf_use_addr" value="<?php echo $config['cf_use_addr']; ?>" />
<input type="hidden" name="cf_req_addr" value="<?php echo $config['cf_req_addr']; ?>" />
<input type="hidden" name="cf_use_tel" value="<?php echo $config['cf_use_tel']; ?>" />
<input type="hidden" name="cf_req_tel" value="<?php echo $config['cf_req_tel']; ?>" />
<input type="hidden" name="cf_use_hp" value="<?php echo $config['cf_use_hp']; ?>" />
<input type="hidden" name="cf_req_hp" value="<?php echo $config['cf_req_hp']; ?>" />
<input type="hidden" name="cf_use_signature" value="<?php echo $config['cf_use_signature']; ?>" />
<input type="hidden" name="cf_req_signature" value="<?php echo $config['cf_req_signature']; ?>" />
<input type="hidden" name="cf_use_profile" value="<?php echo $config['cf_use_profile']; ?>" />
<input type="hidden" name="cf_req_profile" value="<?php echo $config['cf_req_profile']; ?>" />
<input type="hidden" name="cf_use_member_icon" value="<?php echo $config['cf_use_member_icon']; ?>" />
<input type="hidden" name="cf_icon_level" value="<?php echo $config['cf_icon_level']; ?>" />
<input type="hidden" name="cf_member_icon_size" value="<?php echo $config['cf_member_icon_size']; ?>" />
<input type="hidden" name="cf_member_icon_width" value="<?php echo $config['cf_member_icon_width']; ?>" />
<input type="hidden" name="cf_member_icon_height" value="<?php echo $config['cf_member_icon_height']; ?>" />
<section id="anc_001">
<h2 class="h2_frm">홈페이지 기본환경 설정</h2>
<h2 class="h2_frm">기본환경 설정</h2>
<?php echo $pg_anchor ?>
<div class="tbl_frm01 tbl_wrap">
<table>
<caption>홈페이지 기본환경 설정</caption>
<colgroup>
<col class="grid_4">
<col>
@ -237,10 +96,7 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<tbody>
<tr>
<th scope="row"><label for="cf_admin">최고관리자<strong class="sound_only">필수</strong></label></th>
<td colspan="3"><?php echo get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required') ?></td>
</tr>
<tr>
<td><?php echo get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required') ?></td>
<th>관리자 아이콘</th>
<td>
<i class="admin-icon-box">
@ -251,49 +107,50 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<input type="file" name="admin_icon_file" value="" size="50">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_admin_email">관리자 메일 주소<strong class="sound_only">필수</strong></label></th>
<td colspan="3">
<?php echo help('관리자가 보내고 받는 용도로 사용하는 메일 주소를 입력합니다. (회원가입, 인증메일, 테스트, 회원메일발송 등에서 사용)') ?>
<td>
<input type="text" name="cf_admin_email" value="<?php echo $config['cf_admin_email'] ?>" id="cf_admin_email" required class="required email frm_input" size="40">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_admin_email_name">관리자 메일 발송이름<strong class="sound_only">필수</strong></label></th>
<td colspan="3">
<?php echo help('관리자가 보내고 받는 용도로 사용하는 메일의 발송이름을 입력합니다. (회원가입, 인증메일, 테스트, 회원메일발송 등에서 사용)') ?>
<td>
<input type="text" name="cf_admin_email_name" value="<?php echo $config['cf_admin_email_name'] ?>" id="cf_admin_email_name" required class="required frm_input" size="40">
</td>
</tr>
</tbody>
</table>
<h3>화폐(포인트) 설정</h3>
<table>
<colgroup>
<col class="grid_4">
<col>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_use_point">포인트 사용</label></th>
<td colspan="3"><input type="checkbox" name="cf_use_point" value="1" id="cf_use_point" <?php echo $config['cf_use_point']?'checked':''; ?>> 사용</td>
</tr>
<tr>
<th scope="row"><label for="cf_login_point">로그인시 포인트<strong class="sound_only">필수</strong></label></th>
<th scope="row"><label for="cf_use_point">화폐기능 사용</label></th>
<td>
<?php echo help('회원이 로그인시 하루에 한번만 적립') ?>
<input type="text" name="cf_login_point" value="<?php echo $config['cf_login_point'] ?>" id="cf_login_point" required class="required frm_input" size="5">
<input type="checkbox" name="cf_use_point" value="1" id="cf_use_point" <?php echo $config['cf_use_point']?'checked':''; ?>><label for="cf_use_point"></label>
</td>
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트<strong class="sound_only">필수</strong></label></th>
<th scope="row"><label for="cf_login_point">로그인 획득<strong class="sound_only">필수</strong></label></th>
<td>
<?php echo help('양수로 입력하십시오. 0점은 쪽지 보낼시 포인트를 차감하지 않습니다.') ?>
<input type="text" name="cf_memo_send_point" value="<?php echo $config['cf_memo_send_point'] ?>" id="cf_memo_send_point" required class="required frm_input" size="5">
<input type="text" name="cf_login_point" value="<?php echo $config['cf_login_point'] ?>" id="cf_login_point" required class="required frm_input" size="5"> <span class="red">(1 1)</span>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_cut_name">이름(닉네임) 표시</label></th>
<td colspan="3">
<input type="text" name="cf_cut_name" value="<?php echo $config['cf_cut_name'] ?>" id="cf_cut_name" class="frm_input" size="5"> 자리만 표시
</td>
</tr>
<tr>
<th scope="row"><label for="cf_nick_modify">닉네임 수정</label></th>
<td>수정하면 <input type="text" name="cf_nick_modify" value="<?php echo $config['cf_nick_modify'] ?>" id="cf_nick_modify" class="frm_input" size="3"> 동안 바꿀 없음</td>
<th scope="row"><label for="cf_open_modify">정보공개 수정</label></th>
<td>수정하면 <input type="text" name="cf_open_modify" value="<?php echo $config['cf_open_modify'] ?>" id="cf_open_modify" class="frm_input" size="3"> 동안 바꿀 없음</td>
</tr>
</tbody>
</table>
<h3>삭제 기간 설정</h3>
<table>
<colgroup>
<col class="grid_4">
<col>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_new_del">최근게시물 삭제</label></th>
<td>
@ -318,26 +175,31 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<input type="text" name="cf_popular_del" value="<?php echo $config['cf_popular_del'] ?>" id="cf_popular_del" class="frm_input" size="5">
</td>
</tr>
</tbody>
</table>
<h3>기본 스킨 설정</h3>
<table>
<colgroup>
<col class="grid_4">
<col>
<col class="grid_4">
<col>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_login_minutes">현재 접속자</label></th>
<td>
<?php echo help('설정값 이내의 접속자를 현재 접속자로 인정') ?>
<input type="text" name="cf_login_minutes" value="<?php echo $config['cf_login_minutes'] ?>" id="cf_login_minutes" class="frm_input" size="3">
</td>
<th scope="row"><label for="cf_new_rows">최근게시물 라인수</label></th>
<td>
<?php echo help('목록 한페이지당 라인수') ?>
<input type="text" name="cf_new_rows" value="<?php echo $config['cf_new_rows'] ?>" id="cf_new_rows" class="frm_input" size="3"> 라인
<input type="text" name="cf_new_rows" value="<?php echo $config['cf_new_rows'] ?>" id="cf_new_rows" class="frm_input" size="3">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_page_rows">한페이지당 라인수</label></th>
<td>
<?php echo help('목록(리스트) 한페이지당 라인수') ?>
<input type="text" name="cf_page_rows" value="<?php echo $config['cf_page_rows'] ?>" id="cf_page_rows" class="frm_input" size="3"> 라인
<input type="text" name="cf_page_rows" value="<?php echo $config['cf_page_rows'] ?>" id="cf_page_rows" class="frm_input" size="3">
</td>
<th scope="row"><label for="cf_write_pages">페이지 표시 <strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_write_pages" value="<?php echo $config['cf_write_pages'] ?>" id="cf_write_pages" required class="required numeric frm_input" size="3"> 페이지씩 표시</td>
<td><input type="text" name="cf_write_pages" value="<?php echo $config['cf_write_pages'] ?>" id="cf_write_pages" required class="required numeric frm_input" size="3"></td>
</tr>
<tr>
<th scope="row"><label for="cf_new_skin">최근게시물 스킨<strong class="sound_only">필수</strong></label></th>
@ -348,21 +210,18 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<td>
<?php echo get_skin_select('search', 'cf_search_skin', 'cf_search_skin', $config['cf_search_skin'], 'required'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_connect_skin">접속자 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<?php echo get_skin_select('connect', 'cf_connect_skin', 'cf_connect_skin', $config['cf_connect_skin'], 'required'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_faq_skin">FAQ 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<?php echo get_skin_select('faq', 'cf_faq_skin', 'cf_faq_skin', $config['cf_faq_skin'], 'required'); ?>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_editor">에디터 선택</label></th>
<td colspan="3">
<?php echo help(G5_EDITOR_URL.' 밑의 DHTML 에디터 폴더를 선택합니다.') ?>
<select name="cf_editor" id="cf_editor">
<?php
$arr = get_skin_dir('', G5_EDITOR_PATH);
@ -374,76 +233,30 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</select>
</td>
</tr>
<tr style="display: none;">
<th scope="row"><label for="cf_captcha_mp3">음성캡챠 선택<strong class="sound_only">필수</strong></label></th>
<td colspan="3">
<?php echo help(G5_CAPTCHA_URL.'/mp3 밑의 음성 폴더를 선택합니다.') ?>
<select name="cf_captcha_mp3" id="cf_captcha_mp3" required class="required">
<?php
$arr = get_skin_dir('mp3', G5_CAPTCHA_PATH);
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_captcha_mp3'], $arr[$i]).">".$arr[$i]."</option>\n";
}
?>
</select>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_use_copy_log">복사, 이동시 로그</label></th>
<td colspan="3">
<?php echo help('게시물 아래에 누구로 부터 복사, 이동됨 표시') ?>
<input type="checkbox" name="cf_use_copy_log" value="1" id="cf_use_copy_log" <?php echo $config['cf_use_copy_log']?'checked':''; ?>> 남김
</td>
</tr>
<tr style="display: none;">
<th scope="row"><label for="cf_point_term">포인트 유효기간</label></th>
<td colspan="3">
<?php echo help('기간을 0으로 설정시 포인트 유효기간이 적용되지 않습니다.') ?>
<input type="text" name="cf_point_term" value="<?php echo $config['cf_point_term']; ?>" id="cf_point_term" required class="required frm_input" size="5">
</td>
</tr>
</tbody>
</table>
<h3>접속 제한 설정</h3>
<table>
<colgroup>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_possible_ip">접근가능 IP</label></th>
<td>
<?php echo help('입력된 IP의 컴퓨터만 접근할 수 있습니다.<br>123.123.+ 도 입력 가능. (엔터로 구분)') ?>
<?php echo help('입력된 IP의 컴퓨터만 접근할 수 있습니다. 123.123.+ 도 입력 가능. (엔터로 구분)') ?>
<textarea name="cf_possible_ip" id="cf_possible_ip"><?php echo $config['cf_possible_ip'] ?></textarea>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_intercept_ip">접근차단 IP</label></th>
<td>
<?php echo help('입력된 IP의 컴퓨터는 접근할 수 없음.<br>123.123.+ 도 입력 가능. (엔터로 구분)') ?>
<?php echo help('입력된 IP의 컴퓨터는 접근할 수 없음. 123.123.+ 도 입력 가능. (엔터로 구분)') ?>
<textarea name="cf_intercept_ip" id="cf_intercept_ip"><?php echo $config['cf_intercept_ip'] ?></textarea>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_analytics">방문자분석 스크립트</label></th>
<td colspan="3">
<?php echo help('방문자분석 스크립트 코드를 입력합니다. 예) 구글 애널리틱스'); ?>
<textarea name="cf_analytics" id="cf_analytics"><?php echo $config['cf_analytics']; ?></textarea>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_add_meta">추가 메타태그</label></th>
<td colspan="3">
<?php echo help('추가로 사용하실 meta 태그를 입력합니다.'); ?>
<textarea name="cf_add_meta" id="cf_add_meta"><?php echo $config['cf_add_meta']; ?></textarea>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_syndi_token">네이버 신디케이션 연동키</label></th>
<td colspan="3">
<?php if (!function_exists('curl_init')) echo help('<b>경고) curl이 지원되지 않아 네이버 신디케이션을 사용할수 없습니다.</b>'); ?>
<?php echo help('네이버 신디케이션 연동키(token)을 입력하면 네이버 신디케이션을 사용할 수 있습니다.<br>연동키는 <a href="http://webmastertool.naver.com/" target="_blank"><u>네이버 웹마스터도구</u></a> -> 네이버 신디케이션에서 발급할 수 있습니다.') ?>
<input type="text" name="cf_syndi_token" value="<?php echo $config['cf_syndi_token'] ?>" id="cf_syndi_token" class="frm_input" size="70">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_syndi_except">네이버 신디케이션 제외게시판</label></th>
<td colspan="3">
<?php echo help('네이버 신디케이션 수집에서 제외할 게시판 아이디를 | 로 구분하여 입력하십시오. 예) notice|adult<br>참고로 그룹접근사용 게시판, 글읽기 권한 2 이상 게시판, 비밀글은 신디케이션 수집에서 제외됩니다.') ?>
<input type="text" name="cf_syndi_except" value="<?php echo $config['cf_syndi_except'] ?>" id="cf_syndi_except" class="frm_input" size="70">
</td>
</tr>
</tbody>
</table>
</div>
@ -482,41 +295,20 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</select>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_read_point" value="<?php echo $config['cf_read_point'] ?>" id="cf_read_point" required class="required frm_input" size="3"> </td>
<th scope="row"><label for="cf_write_point">글쓰기 포인트</label></th>
<td><input type="text" name="cf_write_point" value="<?php echo $config['cf_write_point'] ?>" id="cf_write_point" required class="required frm_input" size="3"> </td>
</tr>
<tr>
<th scope="row"><label for="cf_comment_point">댓글쓰기 포인트</label></th>
<td><input type="text" name="cf_comment_point" value="<?php echo $config['cf_comment_point'] ?>" id="cf_comment_point" required class="required frm_input" size="3"> </td>
<th scope="row"><label for="cf_download_point">다운로드 포인트</label></th>
<td><input type="text" name="cf_download_point" value="<?php echo $config['cf_download_point'] ?>" id="cf_download_point" required class="required frm_input" size="3"> </td>
</tr>
<tr>
<th scope="row"><label for="cf_search_part">검색 단위</label></th>
<td colspan="3"><input type="text" name="cf_search_part" value="<?php echo $config['cf_search_part'] ?>" id="cf_search_part" class="frm_input" size="4"> 단위로 검색</td>
</tr>
<tr>
<th scope="row"><label for="cf_image_extension">이미지 업로드 확장자</label></th>
<td colspan="3">
<td>
<?php echo help('게시판 글작성시 이미지 파일 업로드 가능 확장자. | 로 구분') ?>
<input type="text" name="cf_image_extension" value="<?php echo $config['cf_image_extension'] ?>" id="cf_image_extension" class="frm_input" size="70">
<input type="text" name="cf_image_extension" value="<?php echo $config['cf_image_extension'] ?>" id="cf_image_extension" class="full" size="70">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_flash_extension">플래쉬 업로드 확장자</label></th>
<td colspan="3">
<?php echo help('게시판 글작성시 플래쉬 파일 업로드 가능 확장자. | 로 구분') ?>
<input type="text" name="cf_flash_extension" value="<?php echo $config['cf_flash_extension'] ?>" id="cf_flash_extension" class="frm_input" size="70">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_movie_extension">동영상 업로드 확장자</label></th>
<td colspan="3">
<td>
<?php echo help('게시판 글작성시 동영상 파일 업로드 가능 확장자. | 로 구분') ?>
<input type="text" name="cf_movie_extension" value="<?php echo $config['cf_movie_extension'] ?>" id="cf_movie_extension" class="frm_input" size="70">
<input type="text" name="cf_movie_extension" value="<?php echo $config['cf_movie_extension'] ?>" id="cf_movie_extension" class="full" size="70">
</td>
</tr>
<tr>
@ -542,7 +334,6 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<div class="tbl_frm01 tbl_wrap">
<table>
<caption>회원가입 설정</caption>
<colgroup>
<col class="grid_4">
<col>
@ -552,84 +343,23 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<tbody>
<tr>
<th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="2">
<td>
<?php echo get_skin_select('member', 'cf_member_skin', 'cf_member_skin', $config['cf_member_skin'], 'required'); ?>
</td>
</tr>
<tr style="display: none;">
<th scope="row">홈페이지 입력</th>
<td>
<input type="checkbox" name="cf_use_homepage" value="1" id="cf_use_homepage" <?php echo $config['cf_use_homepage']?'checked':''; ?>> <label for="cf_use_homepage">보이기</label>
<input type="checkbox" name="cf_req_homepage" value="1" id="cf_req_homepage" <?php echo $config['cf_req_homepage']?'checked':''; ?>> <label for="cf_req_homepage">필수입력</label>
</td>
<th scope="row">주소 입력</th>
<td>
<input type="checkbox" name="cf_use_addr" value="1" id="cf_use_addr" <?php echo $config['cf_use_addr']?'checked':''; ?>> <label for="cf_use_addr">보이기</label>
<input type="checkbox" name="cf_req_addr" value="1" id="cf_req_addr" <?php echo $config['cf_req_addr']?'checked':''; ?>> <label for="cf_req_addr">필수입력</label>
</td>
</tr>
<tr style="display: none;">
<th scope="row">전화번호 입력</th>
<td>
<input type="checkbox" name="cf_use_tel" value="1" id="cf_use_tel" <?php echo $config['cf_use_tel']?'checked':''; ?>> <label for="cf_use_tel">보이기</label>
<input type="checkbox" name="cf_req_tel" value="1" id="cf_req_tel" <?php echo $config['cf_req_tel']?'checked':''; ?>> <label for="cf_req_tel">필수입력</label>
</td>
<th scope="row">휴대폰번호 입력</th>
<td>
<input type="checkbox" name="cf_use_hp" value="1" id="cf_use_hp" <?php echo $config['cf_use_hp']?'checked':''; ?>> <label for="cf_use_hp">보이기</label>
<input type="checkbox" name="cf_req_hp" value="1" id="cf_req_hp" <?php echo $config['cf_req_hp']?'checked':''; ?>> <label for="cf_req_hp">필수입력</label>
</td>
</tr>
<tr style="display: none;">
<th scope="row">서명 입력</th>
<td>
<input type="checkbox" name="cf_use_signature" value="1" id="cf_use_signature" <?php echo $config['cf_use_signature']?'checked':''; ?>> <label for="cf_use_signature">보이기</label>
<input type="checkbox" name="cf_req_signature" value="1" id="cf_req_signature" <?php echo $config['cf_req_signature']?'checked':''; ?>> <label for="cf_req_signature">필수입력</label>
</td>
<th scope="row">자기소개 입력</th>
<td>
<input type="checkbox" name="cf_use_profile" value="1" id="cf_use_profile" <?php echo $config['cf_use_profile']?'checked':''; ?>> <label for="cf_use_profile">보이기</label>
<input type="checkbox" name="cf_req_profile" value="1" id="cf_req_profile" <?php echo $config['cf_req_profile']?'checked':''; ?>> <label for="cf_req_profile">필수입력</label>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_register_level">회원가입시 권한</label></th>
<td><?php echo get_member_level_select('cf_register_level', 1, 9, $config['cf_register_level']) ?></td>
</tr>
<tr>
<th scope="row"><label for="cf_register_point">회원가입시 포인트</label></th>
<td><input type="text" name="cf_register_point" value="<?php echo $config['cf_register_point'] ?>" id="cf_register_point" class="frm_input" size="5"> </td>
</tr>
<tr>
<th scope="row" id="th310"><label for="cf_leave_day">회원탈퇴후 삭제일</label></th>
<td colspan="3"><input type="text" name="cf_leave_day" value="<?php echo $config['cf_leave_day'] ?>" id="cf_leave_day" class="frm_input" size="2"> 자동 삭제</td>
</tr>
<tr style="display: none;">
<th scope="row"><label for="cf_use_member_icon">회원아이콘 사용</label></th>
<td>
<?php echo help('게시물에 게시자 닉네임 대신 아이콘 사용') ?>
<select name="cf_use_member_icon" id="cf_use_member_icon">
<option value="0"<?php echo get_selected($config['cf_use_member_icon'], '0') ?>>미사용
<option value="1"<?php echo get_selected($config['cf_use_member_icon'], '1') ?>>아이콘만 표시
<option value="2"<?php echo get_selected($config['cf_use_member_icon'], '2') ?>>아이콘+이름 표시
</select>
</td>
<th scope="row"><label for="cf_icon_level">아이콘 업로드 권한</label></th>
<td><?php echo get_member_level_select('cf_icon_level', 1, 9, $config['cf_icon_level']) ?> 이상</td>
</tr>
<tr style="display: none;">
<th scope="row"><label for="cf_member_icon_size">회원아이콘 용량</label></th>
<td><input type="text" name="cf_member_icon_size" value="<?php echo $config['cf_member_icon_size'] ?>" id="cf_member_icon_size" class="frm_input" size="10"> 바이트 이하</td>
<th scope="row">회원아이콘 사이즈</th>
<td>
<label for="cf_member_icon_width">가로</label>
<input type="text" name="cf_member_icon_width" value="<?php echo $config['cf_member_icon_width'] ?>" id="cf_member_icon_width" class="frm_input" size="2">
<label for="cf_member_icon_height">세로</label>
<input type="text" name="cf_member_icon_height" value="<?php echo $config['cf_member_icon_height'] ?>" id="cf_member_icon_height" class="frm_input" size="2">
픽셀 이하
</td>
<td><input type="text" name="cf_leave_day" value="<?php echo $config['cf_leave_day'] ?>" id="cf_leave_day" class="frm_input" size="2"> 자동 삭제</td>
</tr>
<tr>
<th scope="row"><label for="cf_use_recommend">추천인제도 사용</label></th>
<td colspan="3"><input type="checkbox" name="cf_use_recommend" value="1" id="cf_use_recommend" <?php echo $config['cf_use_recommend']?'checked':''; ?>> 사용
<td colspan="3">
<input type="checkbox" name="cf_use_recommend" value="1" id="cf_use_recommend" <?php echo $config['cf_use_recommend']?'checked':''; ?>><label for="cf_use_recommend"></label>
<input type="hidden" name="cf_recommend_point" value="<?php echo $config['cf_recommend_point'] ?>" id="cf_recommend_point" class="frm_input">
</td>
</tr>
@ -660,98 +390,26 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
<?php echo $frm_submit; ?>
<section id="anc_004" style="display: none;">
<h2 class="h2_frm">본인확인 설정</h2>
<?php echo $pg_anchor ?>
<section id="anc_010">
<h2 class="h2_frm">레이아웃 추가설정</h2>
<?php echo $pg_anchor; ?>
<div class="local_desc02 local_desc">
<p>
회원가입 본인확인 수단을 설정합니다.<br>
실명과 휴대폰 번호 그리고 본인확인 당시에 성인인지의 여부를 저장합니다.<br>
게시판의 경우 본인확인 또는 성인여부를 따져 게시물 조회 쓰기 권한을 있습니다.
</p>
<p>기본 설정된 파일 경로 script, css 추가하거나 변경할 있습니다.</p>
</div>
<div class="tbl_frm01 tbl_wrap">
<table>
<caption>본인확인 설정</caption>
<caption>레이아웃 추가설정</caption>
<colgroup>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_cert_use">본인확인</label></th>
<th scope="row"><label for="cf_add_script">추가 script, css</label></th>
<td>
<select name="cf_cert_use" id="cf_cert_use">
<?php echo option_selected("0", $config['cf_cert_use'], "사용안함"); ?>
<?php echo option_selected("1", $config['cf_cert_use'], "테스트"); ?>
<?php echo option_selected("2", $config['cf_cert_use'], "실서비스"); ?>
</select>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_ipin">아이핀 본인확인</label></th>
<td class="cf_cert_service">
<select name="cf_cert_ipin" id="cf_cert_ipin">
<?php echo option_selected("", $config['cf_cert_ipin'], "사용안함"); ?>
<?php echo option_selected("kcb", $config['cf_cert_ipin'], "코리아크레딧뷰로(KCB) 아이핀"); ?>
</select>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_hp">휴대폰 본인확인</label></th>
<td class="cf_cert_service">
<select name="cf_cert_hp" id="cf_cert_hp">
<?php echo option_selected("", $config['cf_cert_hp'], "사용안함"); ?>
<?php echo option_selected("kcb", $config['cf_cert_hp'], "코리아크레딧뷰로(KCB) 휴대폰 본인확인"); ?>
<?php echo option_selected("kcp", $config['cf_cert_hp'], "NHN KCP 휴대폰 본인확인"); ?>
<?php echo option_selected("lg", $config['cf_cert_hp'], "LG유플러스 휴대폰 본인확인"); ?>
</select>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_kcb_cd">코리아크레딧뷰로<br>KCB 회원사ID</label></th>
<td class="cf_cert_service">
<?php echo help('KCB 회원사ID를 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, KCB와 계약체결 후 회원사ID를 발급 받으실 수 있습니다.<br>이용하시려는 서비스에 대한 계약을 아이핀, 휴대폰 본인확인 각각 체결해주셔야 합니다.<br>아이핀 본인확인 테스트의 경우에는 KCB 회원사ID가 필요 없으나,<br>휴대폰 본인확인 테스트의 경우 KCB 에서 따로 발급 받으셔야 합니다.') ?>
<input type="text" name="cf_cert_kcb_cd" value="<?php echo $config['cf_cert_kcb_cd'] ?>" id="cf_cert_kcb_cd" class="frm_input" size="20"> <a href="http://sir.kr/main/service/b_ipin.php" target="_blank" class="btn_frmline">KCB 아이핀 서비스 신청페이지</a>
<a href="http://sir.kr/main/service/b_cert.php" target="_blank" class="btn_frmline">KCB 휴대폰 본인확인 서비스 신청페이지</a>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_kcp_cd">NHN KCP 사이트코드</label></th>
<td class="cf_cert_service">
<?php echo help('SM으로 시작하는 5자리 사이트 코드중 뒤의 3자리만 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 사이트코드를 발급 받으실 수 있습니다.') ?>
<span class="sitecode">SM</span>
<input type="text" name="cf_cert_kcp_cd" value="<?php echo $config['cf_cert_kcp_cd'] ?>" id="cf_cert_kcp_cd" class="frm_input" size="3"> <a href="http://sir.kr/main/service/p_cert.php" target="_blank" class="btn_frmline">NHN KCP 휴대폰 본인확인 서비스 신청페이지</a>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_lg_mid">LG유플러스 상점아이디</label></th>
<td class="cf_cert_service">
<?php echo help('LG유플러스 상점아이디 중 si_를 제외한 나머지 아이디만 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 상점아이디를 발급 받으실 수 있습니다.<br><strong>LG유플러스 휴대폰본인확인은 ActiveX 설치가 필요하므로 Internet Explorer 에서만 사용할 수 있습니다.</strong>') ?>
<span class="sitecode">si_</span>
<input type="text" name="cf_lg_mid" value="<?php echo $config['cf_lg_mid'] ?>" id="cf_lg_mid" class="frm_input" size="20"> <a href="http://sir.kr/main/service/lg_cert.php" target="_blank" class="btn_frmline">LG유플러스 본인확인 서비스 신청페이지</a>
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_lg_mert_key">LG유플러스 MERT KEY</label></th>
<td class="cf_cert_service">
<?php echo help('LG유플러스 상점MertKey는 상점관리자 -> 계약정보 -> 상점정보관리에서 확인하실 수 있습니다.') ?>
<input type="text" name="cf_lg_mert_key" value="<?php echo $config['cf_lg_mert_key'] ?>" id="cf_lg_mert_key" class="frm_input" size="40">
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_limit">본인확인 이용제한</label></th>
<td class="cf_cert_service">
<?php echo help('하루동안 아이핀과 휴대폰 본인확인 인증 이용회수를 제한할 수 있습니다.<br>회수제한은 실서비스에서 아이핀과 휴대폰 본인확인 인증에 개별 적용됩니다.<br>0 으로 설정하시면 회수제한이 적용되지 않습니다.'); ?>
<input type="text" name="cf_cert_limit" value="<?php echo $config['cf_cert_limit']; ?>" id="cf_cert_limit" class="frm_input" size="3">
</td>
</tr>
<tr>
<th scope="row" class="cf_cert_service"><label for="cf_cert_req">본인확인 필수</label></th>
<td class="cf_cert_service">
<?php echo help('회원가입 때 본인확인을 필수로 할지 설정합니다. 필수로 설정하시면 본인확인을 하지 않은 경우 회원가입이 안됩니다.'); ?>
<input type="checkbox" name="cf_cert_req" value="1" id="cf_cert_req"<?php echo get_checked($config['cf_cert_req'], 1); ?>> 예
<?php echo help('HTML의 &lt;/HEAD&gt; 태그위로 추가될 JavaScript와 css 코드를 설정합니다.<br>관리자 페이지에서는 이 코드를 사용하지 않습니다.') ?>
<textarea name="cf_add_script" id="cf_add_script" style="height:400px;"><?php echo get_text($config['cf_add_script']); ?></textarea>
</td>
</tr>
</tbody>
@ -759,9 +417,10 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</div>
</section>
<?php //echo $frm_submit; ?>
<?php echo $frm_submit; ?>
<section id="anc_005" style="display: none;">
<div style="display:none;">
<section id="anc_005" style="display: none;">
<h2 class="h2_frm">기본 메일 환경 설정</h2>
<?php echo $pg_anchor ?>
@ -796,11 +455,11 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</tr>
</table>
</div>
</section>
</section>
<?php // echo $frm_submit; ?>
<?php // echo $frm_submit; ?>
<section id="anc_006" style="display: none;">
<section id="anc_006" style="display: none;">
<h2 class="h2_frm">게시판 작성 메일 설정</h2>
<?php echo $pg_anchor ?>
@ -850,11 +509,11 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</tbody>
</table>
</div>
</section>
</section>
<?php // echo $frm_submit; ?>
<?php // echo $frm_submit; ?>
<section id="anc_007" style="display: none;">
<section id="anc_007" style="display: none;">
<h2 class="h2_frm">회원가입 메일 설정</h2>
<?php echo $pg_anchor ?>
@ -883,37 +542,12 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</tbody>
</table>
</div>
</section>
</section>
<?php // echo $frm_submit; ?>
<?php // echo $frm_submit; ?>
<section id="anc_008">
<h2 class="h2_frm">투표 기타의견 작성 메일 설정</h2>
<?php echo $pg_anchor ?>
<div class="tbl_frm01 tbl_wrap">
<table>
<caption>투표 기타의견 작성 메일 설정</caption>
<colgroup>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_email_po_super_admin">최고관리자 메일발송</label></th>
<td>
<?php echo help('최고관리자에게 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_po_super_admin" value="1" id="cf_email_po_super_admin" <?php echo $config['cf_email_po_super_admin']?'checked':''; ?>> 사용
</td>
</tr>
</tbody>
</table>
</div>
</section>
<?php echo $frm_submit; ?>
<section id="anc_009" style="display: none;">
<section id="anc_009" style="display: none;">
<h2 class="h2_frm">소셜네트워크서비스(SNS : Social Network Service)</h2>
<?php echo $pg_anchor ?>
@ -960,40 +594,8 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</tbody>
</table>
</div>
</section>
<?php //echo $frm_submit; ?>
<section id="anc_010">
<h2 class="h2_frm">레이아웃 추가설정</h2>
<?php echo $pg_anchor; ?>
<div class="local_desc02 local_desc">
<p>기본 설정된 파일 경로 script, css 추가하거나 변경할 있습니다.</p>
</div>
<div class="tbl_frm01 tbl_wrap">
<table>
<caption>레이아웃 추가설정</caption>
<colgroup>
<col class="grid_4">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="cf_add_script">추가 script, css</label></th>
<td>
<?php echo help('HTML의 &lt;/HEAD&gt; 태그위로 추가될 JavaScript와 css 코드를 설정합니다.<br>관리자 페이지에서는 이 코드를 사용하지 않습니다.') ?>
<textarea name="cf_add_script" id="cf_add_script"><?php echo get_text($config['cf_add_script']); ?></textarea>
</td>
</tr>
</tbody>
</table>
</div>
</section>
<?php echo $frm_submit; ?>
<section id="anc_011" style="display: none;">
</section>
<section id="anc_011" style="display: none;">
<h2 class="h2_frm">SMS</h2>
<?php echo $pg_anchor ?>
@ -1074,10 +676,8 @@ if ($config['cf_sms_use'] && $config['cf_icode_id'] && $config['cf_icode_pw']) {
</tbody>
</table>
</div>
</section>
<?php // echo $frm_submit; ?>
</section>
</div>
</form>

View file

@ -0,0 +1,199 @@
<?php
if (!defined('_GNUBOARD_')) exit;
if (!isset($config['cf_add_script'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_add_script` TEXT NOT NULL AFTER `cf_admin_email_name` ", true);
}
if (!isset($config['cf_mobile_new_skin'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_mobile_new_skin` VARCHAR(255) NOT NULL AFTER `cf_memo_send_point`,
ADD `cf_mobile_search_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_new_skin`,
ADD `cf_mobile_connect_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_search_skin`,
ADD `cf_mobile_member_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_connect_skin` ", true);
}
if (isset($config['cf_gcaptcha_mp3'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
CHANGE `cf_gcaptcha_mp3` `cf_captcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' ", true);
} else if (!isset($config['cf_captcha_mp3'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_captcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_mobile_member_skin` ", true);
}
if(!isset($config['cf_editor'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_editor` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_captcha_mp3` ", true);
}
if(!isset($config['cf_googl_shorturl_apikey'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_googl_shorturl_apikey` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_captcha_mp3` ", true);
}
if(!isset($config['cf_mobile_pages'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_mobile_pages` INT(11) NOT NULL DEFAULT '0' AFTER `cf_write_pages` ", true);
sql_query(" UPDATE `{$g5['config_table']}` SET cf_mobile_pages = '5' ", true);
}
if(!isset($config['cf_facebook_appid'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_facebook_appid` VARCHAR(255) NOT NULL AFTER `cf_googl_shorturl_apikey`,
ADD `cf_facebook_secret` VARCHAR(255) NOT NULL AFTER `cf_facebook_appid`,
ADD `cf_twitter_key` VARCHAR(255) NOT NULL AFTER `cf_facebook_secret`,
ADD `cf_twitter_secret` VARCHAR(255) NOT NULL AFTER `cf_twitter_key` ", true);
}
// uniqid 테이블이 없을 경우 생성
if(!sql_query(" DESC {$g5['uniqid_table']} ", false)) {
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['uniqid_table']}` (
`uq_id` bigint(20) unsigned NOT NULL,
`uq_ip` varchar(255) NOT NULL,
PRIMARY KEY (`uq_id`)
) ", false);
}
if(!sql_query(" SELECT uq_ip from {$g5['uniqid_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE {$g5['uniqid_table']} ADD `uq_ip` VARCHAR(255) NOT NULL ");
}
// 임시저장 테이블이 없을 경우 생성
if(!sql_query(" DESC {$g5['autosave_table']} ", false)) {
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['autosave_table']}` (
`as_id` int(11) NOT NULL AUTO_INCREMENT,
`mb_id` varchar(20) NOT NULL,
`as_uid` bigint(20) unsigned NOT NULL,
`as_subject` varchar(255) NOT NULL,
`as_content` text NOT NULL,
`as_datetime` datetime NOT NULL,
PRIMARY KEY (`as_id`),
UNIQUE KEY `as_uid` (`as_uid`),
KEY `mb_id` (`mb_id`)
) ", false);
}
if(!isset($config['cf_admin_email'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_admin_email` VARCHAR(255) NOT NULL AFTER `cf_admin` ", true);
}
if(!isset($config['cf_admin_email_name'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_admin_email_name` VARCHAR(255) NOT NULL AFTER `cf_admin_email` ", true);
}
if(!isset($config['cf_cert_use'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_cert_use` TINYINT(4) NOT NULL DEFAULT '0' AFTER `cf_editor`,
ADD `cf_cert_ipin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_use`,
ADD `cf_cert_hp` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_ipin`,
ADD `cf_cert_kcb_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_hp`,
ADD `cf_cert_kcp_cd` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_cert_kcb_cd`,
ADD `cf_cert_limit` INT(11) NOT NULL DEFAULT '0' AFTER `cf_cert_kcp_cd` ", true);
sql_query(" ALTER TABLE `{$g5['member_table']}`
CHANGE `mb_hp_certify` `mb_certify` VARCHAR(20) NOT NULL DEFAULT '' ", true);
sql_query(" update {$g5['member_table']} set mb_certify = 'hp' where mb_certify = '1' ");
sql_query(" update {$g5['member_table']} set mb_certify = '' where mb_certify = '0' ");
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['cert_history_table']}` (
`cr_id` int(11) NOT NULL auto_increment,
`mb_id` varchar(255) NOT NULL DEFAULT '',
`cr_company` varchar(255) NOT NULL DEFAULT '',
`cr_method` varchar(255) NOT NULL DEFAULT '',
`cr_ip` varchar(255) NOT NULL DEFAULT '',
`cr_date` date NOT NULL DEFAULT '0000-00-00',
`cr_time` time NOT NULL DEFAULT '00:00:00',
PRIMARY KEY (`cr_id`),
KEY `mb_id` (`mb_id`)
)", true);
}
if(!isset($config['cf_analytics'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_analytics` TEXT NOT NULL AFTER `cf_intercept_ip` ", true);
}
if(!isset($config['cf_add_meta'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_add_meta` TEXT NOT NULL AFTER `cf_analytics` ", true);
}
if (!isset($config['cf_syndi_token'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_syndi_token` VARCHAR(255) NOT NULL AFTER `cf_add_meta` ", true);
}
if (!isset($config['cf_syndi_except'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_syndi_except` TEXT NOT NULL AFTER `cf_syndi_token` ", true);
}
if(!isset($config['cf_sms_use'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_sms_use` varchar(255) NOT NULL DEFAULT '' AFTER `cf_cert_limit`,
ADD `cf_icode_id` varchar(255) NOT NULL DEFAULT '' AFTER `cf_sms_use`,
ADD `cf_icode_pw` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_id`,
ADD `cf_icode_server_ip` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_pw`,
ADD `cf_icode_server_port` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_server_ip` ", true);
}
if(!isset($config['cf_mobile_page_rows'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_mobile_page_rows` int(11) NOT NULL DEFAULT '0' AFTER `cf_page_rows` ", true);
}
if(!isset($config['cf_cert_req'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_cert_req` tinyint(4) NOT NULL DEFAULT '0' AFTER `cf_cert_limit` ", true);
}
if(!isset($config['cf_faq_skin'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_faq_skin` varchar(255) NOT NULL DEFAULT '' AFTER `cf_connect_skin`,
ADD `cf_mobile_faq_skin` varchar(255) NOT NULL DEFAULT '' AFTER `cf_mobile_connect_skin` ", true);
}
// LG유플러스 본인확인 필드 추가
if(!isset($config['cf_lg_mid'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_lg_mid` varchar(255) NOT NULL DEFAULT '' AFTER `cf_cert_kcp_cd`,
ADD `cf_lg_mert_key` varchar(255) NOT NULL DEFAULT '' AFTER `cf_lg_mid` ", true);
}
if(!isset($config['cf_optimize_date'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_optimize_date` date NOT NULL default '0000-00-00' AFTER `cf_popular_del` ", true);
}
// 카카오톡링크 api 키
if(!isset($config['cf_kakao_js_apikey'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_kakao_js_apikey` varchar(255) NOT NULL DEFAULT '' AFTER `cf_googl_shorturl_apikey` ", true);
}
// 캐릭터 프로필 항목 분류 추가
if(!isset($config['cf_profile_group'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_profile_group` text NOT NULL AFTER `cf_10` ", true);
}
if(!isset($config['cf_profile_group_use'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_profile_group_use` varchar(255) NOT NULL DEFAULT '' AFTER `cf_profile_group` ", true);
}
// SMS 전송유형 필드 추가
if(!isset($config['cf_sms_type'])) {
sql_query(" ALTER TABLE `{$g5['config_table']}`
ADD `cf_sms_type` varchar(10) NOT NULL DEFAULT '' AFTER `cf_sms_use` ", true);
}
// 접속자 정보 필드 추가
if(!sql_query(" select vi_browser from {$g5['visit_table']} limit 1 ")) {
sql_query(" ALTER TABLE `{$g5['visit_table']}`
ADD `vi_browser` varchar(255) NOT NULL DEFAULT '' AFTER `vi_agent`,
ADD `vi_os` varchar(255) NOT NULL DEFAULT '' AFTER `vi_browser`,
ADD `vi_device` varchar(255) NOT NULL DEFAULT '' AFTER `vi_os` ", true);
}
?>

View file

@ -0,0 +1,280 @@
@charset "utf-8";
html,
body { height: 100%; }
#wrap {
display: table;
width: 100%;
min-height: 100%;
}
#header {
display: table-cell;
position: relative;
width: 200px;
min-height: 100%;
background: #1d1d1f;
vertical-align: top;
}
#header:after {
content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 1px;
background: #171b26;
z-index: 0;
}
#admin_prof {
display: block;
position: relative;
width: 200px;
height: 100px;
padding-bottom: 30px;
background: #29c7ca;
border-right: 1px solid #0aa0a5;
box-sizing: border-box;
z-index: 1;
}
#admin_prof h1 {
position: relative;
text-align: center;
line-height: 70px;
}
#admin_prof h1 img {
position: relative;
z-index: 0;
}
#admin_prof h1 i {
display: block;
position: absolute;
bottom: 5px;
right: 10px;
font-size: 11px;
font-style: normal;
font-weight: 400;
line-height: 1.0em;
color: #1e878a;
z-index: 1;
}
#admin_prof p {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
margin: 0;
background: #2bacb0;
}
#admin_prof a:hover { color: #fff !important; }
#admin_prof .name {
display: block;
position: relative;
padding-right: 30px;
padding-left: 15px;
font-size: 13px;
line-height: 30px;
color: #d6eff1;
text-decoration: none;
font-family: 'Noto Sans KR', sans-serif;
}
#admin_prof .logout {
display: block;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 30px;
height: 30px;
overflow: hidden;
text-indent: -999px;
}
#admin_prof .logout:before {
content: "\e984";
font-family:'icon';
color: #d6eff1;
font-size: 12px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
line-height: 30px;
text-align: center;
text-indent: 0;
}
#page_top {
position: relative;
height: 71px;
box-sizing: border-box;
border-bottom: 1px solid #131a24;
background: #1d1d1f;
}
#page_top h2 {
position: absolute;
top: 0;
left: 0;
bottom: 0;
line-height: 70px;
padding-left: 40px;
font-size: 20px;
font-family: 'Noto Sans KR', sans-serif;
color: #c3c8cc;
font-weight: 300;
}
#page_top a {
display: block;
position: relative;
width: 70px;
height: 70px;
float: right;
border-left: 1px solid #4d515c;
overflow: hidden;
color: #c3c8cc;
text-indent: -999px;
}
#page_top a:before {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-family: 'icon';
line-height: 70px;
font-size: 25px;
text-align: center;
text-indent: 0;
}
#page_top a:hover {
color: #fff;
background: #e7604a;
border-color: #a6240d;
}
#page_top a.ico-home:before { content: "\e900"; }
#page_top a.ico-dev:before { content: "\e995"; }
#wrapper {
display: table-cell;
position: relative;
vertical-align: top;
min-height: 100%;
}
#gnb {
display: block;
position: relative;
padding-top: 20px;
font-family: 'Noto Sans KR', sans-serif;
}
#gnb > ul > li > a {
display: block;
padding: 10px 20px;
color: #9da4b3;
font-size: 15px;
text-decoration: none;
}
#gnb .gnb_2dli { position: relative; }
#gnb .gnb_2dli > a {
display: block;
padding: 10px 20px 10px 25px;
color: #acaeb2;
font-size: 13px;
}
#gnb .gnb_2dli > a:before {
font-family: 'icon';
padding-right: 7px;
}
#gnb .gnb_2dli.check:after {
content: "\ea10";
font-family: 'icon';
display: block;
position: absolute;
top: 0;
right: 10px;
line-height: 39px;
color: #e76148;
}
#gnb .gnb_2dli > a:hover {
color: #fff;
background: #484c58;
text-decoration: none;
font-weight: 100;
}
#gnb .gnb_2dul {
display: none;
background: #262931;
}
#gnb .gnb_2dli.check > a:after {
content: "";
display: block;
position: absolute;
}
#gnb .gnb_2dli > a:before { content: "\e994"; }
#gnb .gnb_2dli > a[data-text="기본환경설정"]:before { content: "\e994"; }
#gnb .gnb_2dli > a[data-text="팝업레이어관리"]:before { content: "\e925"; }
#gnb .gnb_2dli > a[data-text="세션파일 일괄삭제"]:before { content: "\e94d"; }
#gnb .gnb_2dli > a[data-text="캐시파일 일괄삭제"]:before { content: "\e94d"; }
#gnb .gnb_2dli > a[data-text="썸네일파일 일괄삭제"]:before { content: "\e90e"; }
#gnb .gnb_2dli > a[data-text="커뮤니티 설정"]:before { content: "\e96f"; }
#gnb .gnb_2dli > a[data-text="화면 설정"]:before { content: "\e956"; }
#gnb .gnb_2dli > a[data-text="디자인 설정"]:before { content: "\e90c"; }
#gnb .gnb_2dli > a[data-text="메인슬라이드 관리"]:before { content: "\e913"; }
#gnb .gnb_2dli > a[data-text="회원관리"]:before { content: "\e923"; }
#gnb .gnb_2dli > a[data-text="접속자집계"]:before { content: "\e99c"; }
#gnb .gnb_2dli > a[data-text="접속자검색"]:before { content: "\e986"; }
#gnb .gnb_2dli > a[data-text="접속자로그삭제"]:before { content: "\e988"; }
#gnb .gnb_2dli > a[data-text="투표관리"]:before { content: "\e926"; }
#gnb .gnb_2dli > a[data-text="게시판관리"]:before { content: "\e9ba"; }
#gnb .gnb_2dli > a[data-text="게시판그룹관리"]:before { content: "\e9bc"; }
#gnb .gnb_2dli > a[data-text="내용관리"]:before { content: "\e908"; }
#gnb .gnb_2dli > a[data-text="이모티콘관리"]:before { content: "\e9e1"; }
#gnb .gnb_2dli > a[data-text="프로필 양식 관리"]:before { content: "\ea72"; }
#gnb .gnb_2dli > a[data-text="캐릭터 관리"]:before { content: "\e9b2"; }
#gnb .gnb_2dli > a[data-text="타이틀 관리"]:before { content: "\e935"; }
#gnb .gnb_2dli > a[data-text="보유타이틀 관리"]:before { content: "\e936"; }
#gnb .gnb_2dli > a[data-text="레벨설정 관리"]:before { content: "\ea4f"; }
#gnb .gnb_2dli > a[data-text="경험치 관리"]:before { content: "\e993"; }
#gnb .gnb_2dli > a[data-text="커플 관리"]:before { content: "\e9da"; }
#gnb .gnb_2dli > a[data-text="스탯 관리"]:before { content: "\e99d"; }
#gnb .gnb_2dli > a[data-text="상점관리"]:before { content: "\e93a"; }
#gnb .gnb_2dli > a[data-text="아이템관리"]:before { content: "\e99f"; }
#gnb .gnb_2dli > a[data-text="아이템 보유현황"]:before { content: "\e9ae"; }
#gnb .gnb_2dli > a[data-text="아이템 구매기록"]:before { content: "\e9ba"; }
#gnb .gnb_2dli > a[data-text="레시피 관리"]:before { content: "\e996"; }
#gnb .gnb_2dli > a[data-text="소지금관리"]:before { content: "\e93f"; }
#container { padding: 25px; }
#fsearch input { margin: 0; }
#fsearch .btn_submit {
border: none;
background: #29c7c9;
color: #fff;
font-size: 13px;
width: 50px;
height: 28px;
cursor: pointer;
line-height: 1.0em;
}

View file

@ -1,413 +1,308 @@
@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@font-face {
font-family: 'icon';
src: url('../../css/fonts/icomoon.eot?y5isk6');
src: url('../../css/fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
url('../../css/fonts/icomoon.ttf?y5isk6') format('truetype'),
url('../../css/fonts/icomoon.woff?y5isk6') format('woff'),
url('../../css/fonts/icomoon.svg?y5isk6#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
* {box-sizing:border-box; font-family:"Noto Sans KR", sans-serif; outline:0;}
html {overflow-y:scroll;}
html,
body {margin:0; padding:0; color:#333; font-size:12px; height:100%; min-width:1400px;}
/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;background:#fff;color:#000;font-size:12px; min-width: 1400px;}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {}
h1, h2, h3, h4, h5, h6 {font-size:inherit; margin:0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, aside ul, footer ul {margin:0;padding:0;list-style:none}
label, input, button, select, img {vertical-align:middle}
textarea, select {}
input {margin:0;padding:0;border-radius:0;}
input[type=text], input[type=password], input[type=submit], input[type=image] {-webkit-appearance:none}
button {border-radius:0;-webkit-appearance:none;cursor:pointer}
button {border-radius:0; -webkit-appearance:none;cursor:pointer}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;}
a {color:#000;text-decoration:none}
a:focus, a:hover, a:active {text-decoration:underline}
caption { display: none; }
.cke_sc,
.sound_only { display: none; }
a {color:inherit;text-decoration:none}
a:focus, a:hover, a:active {text-decoration:none;}
caption, .cke_sc, .sound_only {display:none;}
input[type="file"] { font-size: 12px; }
input[type="text"],
input[type="password"],
select,
textarea {
border: 1px solid #dde3e0;
box-sizing: border-box;
font-family: 'Dotum';
font-size: 12px;
}
input[type="text"],
input[type="password"] { padding: 0 8px; }
input[type="text"],
input[type="password"],
select { height: 28px; padding-left: 8px; }
textarea { width: 100%; height: 150px; }
label {cursor:pointer;}
label {cursor: pointer; }
ul,li {margin:0; padding:0; list-style:none;}
label + input { margin-left: 10px; }
.material-symbols-outlined {font-size:1em !important;}
/****************************************
Layout
*****************************************/
.txt-center { text-align: center !important; }
.txt-left { text-align: left !important; }
.txt-right { text-align: right !important; }
.taC,
.txt-center {text-align:center !important; }
.taL,
.txt-left {text-align:left !important; }
.taR,
.txt-right {text-align:right !important; }
.frm_info {
display: block;
margin-bottom: 5px;
font-size: 11px;
font-family: 'Dotum';
color: #ebb4ab;
}
.vT {vertical-align:top !important;}
.vM {vertical-align:middle !important;}
.vB {vertical-align:bottom !important;}
.mT5 {margin-top:5px !important;}
.mT10 {margin-top:10px !important;}
.mT15 {margin-top:15px !important;}
.mT20 {margin-top:20px !important;}
.mT25 {margin-top:25px !important;}
.mT30 {margin-top:30px !important;}
.mT35 {margin-top:35px !important;}
.mT40 {margin-top:40px !important;}
.full {width:100% !important;}
.empty_table { line-height: 200px; }
#container { font-family: 'Noto Sans KR', sans-serif; }
#container section {
position: relative;
padding-bottom: 50px;
}
#container h2 {
font-size: 18px;
font-weight: 300;
margin-bottom: 10px;
line-height: 30px;
}
#container h2:before {
content: "\e90b";
font-family: 'icon';
padding-right: 5px;
color: #4b4b47;
.red {color:#ffa8a8;}
/****************************************
Form
*****************************************/
input {margin:0;padding:0;border-radius:0;}
input[type="text"],
input[type="number"],
input[type="password"],
input[type="submit"],
input[type="image"] {-webkit-appearance:none}
input[type="file"] {font-size:inherit;}
select,
input[type="text"],
input[type="number"],
input[type="password"],
textarea {border:1px solid #eaeaea; box-sizing:border-box; font-size:inherit; border-radius:5px; max-width:100%;}
select,
input[type="text"],
input[type="number"],
input[type="password"] {height:30px; padding:0 10px;}
textarea {width:100%; height:150px; line-height:30px; padding:0 10px;
background-image:-webkit-linear-gradient(left, white 10px, transparent 10px), -webkit-linear-gradient(right, white 10px, transparent 10px), -webkit-linear-gradient(white 30px, #f1f1f1 30px, #f1f1f1 31px, white 31px);
background-image:-moz-linear-gradient(left, white 10px, transparent 10px), -moz-linear-gradient(right, white 10px, transparent 10px), -moz-linear-gradient(white 30px, #f1f1f1 30px, #f1f1f1 31px, white 31px);
background-image:-ms-linear-gradient(left, white 10px, transparent 10px), -ms-linear-gradient(right, white 10px, transparent 10px), -ms-linear-gradient(white 30px, #f1f1f1 30px, #f1f1f1 31px, white 31px);
background-image:-o-linear-gradient(left, white 10px, transparent 10px), -o-linear-gradient(right, white 10px, transparent 10px), -o-linear-gradient(white 30px, #f1f1f1 30px, #f1f1f1 31px, white 31px);
background-image:linear-gradient(left, white 10px, transparent 10px), linear-gradient(right, white 10px, transparent 10px), linear-gradient(white 30px, #f1f1f1 30px, #f1f1f1 31px, white 31px);
background-size:100% 100%, 100% 100%, 100% 31px;
line-height:31px;
}
.local_ov {
border-bottom: 1px solid #efeff1;
margin-bottom: 10px;
padding-bottom: 10px;
font-size: 13px;
font-weight: 300;
}
.ov_listall{
display: block;
position: relative;
float: left;
padding: 0 10px 0 0;
margin-right: 10px;
text-decoration: none;
color: #29c7c9;
}
.ov_listall:before {
content: "";
display: block;
position: absolute;
right: 0;
top: 3px;
bottom: 3px;
width: 1px;
background: #e1e1e1;
}
input[type="checkbox"].show,
input[type="radio"].show {display:inline-block; width:25px; height:25px; vertical-align:middle; background:no-repeat 0 0; background-size:auto 100%; appearance:none; -webkit-appearance:none; cursor:pointer;}
input[type="checkbox"].show:checked,
input[type="radio"].show:checked {background-position:100% 0;}
input[type="checkbox"].show {background-image:url(../img/spr_checkbox.png);}
input[type="radio"].show {background-image:url(../img/spr_radio.png);}
.local_desc {
background: #f9f9f9;
padding: 5px 10px;
border: 1px solid #efeff1;
color: #5b5b5a;
margin-bottom: 10px;
line-height: 1.8em;
}
.local_desc .point {
color: #29c7c9;
}
.local_desc.pos-top {
margin-top: 10px;
margin-bottom: 0;
}
.pg_wrap { display: block; position: relative; text-align: center; padding: 0 0 30px 0; }
.pg_wrap strong,
.pg_wrap a {
display: inline-block;
padding: 0 10px;
min-width: 10px;
height: 30px;
line-height: 30px;
text-align: center;
border: 1px solid #dadada;
text-decoration: none;
}
.pg_wrap strong { background: #29c7c9; color: #fff; border-color: #22a3a5; }
input[type="checkbox"]:not(.show) {position:absolute; top:0; left:0; z-index:-9999; opacity:0;}
input[type="checkbox"] + label {display:inline-block; position:relative; vertical-align:middle; padding:0 10px 0 45px; height:30px; line-height:30px;}
input[type="checkbox"] + label:before,
input[type="checkbox"] + label:after {content:""; display:block; position:absolute; top:50%; border-radius:9em; transform:translateY(-50%); -webkit-transform:translateY(-50%); transition:.3s all; -webkit-transition:.3s all;}
input[type="checkbox"] + label:before {border:2px solid #ddd; left:0; width:35px; height:20px;}
input[type="checkbox"] + label:after {left:4px; width:15px; height:15px; border-radius:100%; background:#ddd;}
input[type="checkbox"]:checked + label:before {border-color:#81c9c9;}
input[type="checkbox"]:checked + label:after {left:19px; background:#81c9c9;}
.btn_list01 { position: relative; padding: 20px 0;}
.local_desc.pos-top + .btn_list01 { padding-top: 10px; }
.btn_list01 * { padding: 10px 15px; vertical-align: middle; }
.btn_list03 { position: absolute; top: 5px; right: 0; }
.btn_list03 * { padding: 5px 10px; }
.btn_add01 * { padding: 10px 15px; }
.btn_list a,
.btn_list button,
.btn_list input {
display: inline-block;
background: #29c7c9;
color: #fff;
font-weight: 400;
text-decoration: none;
border: none;
line-height: 1.0em;
cursor: pointer;
}
.btn_add {
float: right;
clear: both;
margin-bottom: 10px;
}
.btn_add a,
.btn_add button,
.btn_add input {
display: inline-block;
background: #29c7c9;
color: #fff;
font-size: 13px;
font-weight: 400;
text-decoration: none;
border: none;
line-height: 1.0em;
cursor: pointer;
}
.btn_confirm {
text-align: center;
padding: 50px 0;
}
section + .btn_confirm { padding-top: 0; }
.btn_confirm a,
.btn_confirm input[type="submit"],
.btn_confirm input[type="button"]{
display: inline-block;
vertical-align: middle;
box-sizing: border-box;
margin: 2px;
font-size: 13px;
line-height: 1.0em;
padding: 10px 25px;
border: none;
background: #f2f4f3;
color: #494c55;
cursor: pointer;
text-decoration: none;
}
.btn_confirm .btn_submit { background: #29c7c9 !important; color: #fff !important; }
.sv { display: none !important; }
.anchor {
display: block;
position: relative;
clear: both;
padding: 0;
margin: 0 0 10px 0;
overflow: hidden;
}
.anchor li {
display: block;
float: left;
list-style: none;
margin: 0;
}
.anchor li a {
display: block;
position: relative;
padding: 5px 10px;
text-decoration: none;
margin: 0 1px;
color: #62656c;
border-radius: 9.0em;
box-sizing: border-box;
z-index: 1;
}
.anchor li:first-child a { border-left-width: 0; }
.anchor li.on a,
#anc_001 a[href="#anc_001"],
#anc_002 a[href="#anc_002"],
#anc_003 a[href="#anc_003"],
#anc_004 a[href="#anc_004"],
#anc_005 a[href="#anc_005"],
#anc_006 a[href="#anc_006"],
#anc_007 a[href="#anc_007"],
#anc_008 a[href="#anc_008"],
#anc_009 a[href="#anc_009"],
#anc_010 a[href="#anc_010"],
#anc_011 a[href="#anc_011"],
#anc_012 a[href="#anc_012"],
#anc_013 a[href="#anc_013"],
#anc_014 a[href="#anc_014"],
#anc_015 a[href="#anc_015"],
#anc_016 a[href="#anc_016"]{
background: #e66149;
color: #fff;
}
.color-preview { display: inline-block; width: 25px; height: 25px; border: 1px solid #cacaca; vertical-align: middle; }
.admin-icon-box { display: inline-block; min-width: 25px; height: 25px; border: 1px solid #cacaca; vertical-align: middle; }
table { border-spacing:0px; }
.tbl_wrap table { width: 100%; border-collapse: collapse;}
.tbl_head01 thead { }
.tbl_head01 thead th {
background: #f9f9f9;
font-weight: 300;
padding: 8px 10px;
border: 1px solid #efeff1;
font-size: 13px;
color: #5b5b5a;
}
.tbl_head01 .bo-right { border-right-width: 1px !important; }
.tbl_head01 .bo-left { border-left-width: 1px !important; }
.tbl_head01 .bo-top { border-top-width: 1px !important; }
.tbl_head01 .bo-no-right { border-right-width: 0px !important; }
.tbl_head01 .bo-no-left { border-left-width: 0px !important; }
.tbl_head01 .bo-no-top { border-top-width: 0px !important; }
.tbl_head01 .bo-no-bottom { border-bottom-width: 0px !important; }
.tbl_head01 tbody td {
text-align: center;
padding: 7px 10px;
color: #5b5b5a;
border: 1px solid #efeff1;
border-top-width: 0;
border-left-width: 0;
}
.tbl_head01 tbody td:first-child { border-left-width: 1px; }
.tbl_head01 tbody td a { color: #29c7ca; }
.tbl_head01 tfoot th,
.tbl_head01 tfoot td {
background: #f9f9f9;
font-weight: 300;
padding: 8px 10px;
border: 1px solid #efeff1;
border-top-width: 0;
border-left-width: 0;
font-size: 13px;
color: #5b5b5a;
}
.tbl_head01 tfoot td:first-child,
.tbl_head01 tfoot th:first-child { border-left-width: 1px; }
.tbl_frm01 table { border-top: 1px solid #efeff5; }
.tbl_frm01 tbody th,
.tbl_frm01 tbody td {
color: #5b5b5a;
font-weight: 400;
padding: 10px;
border: 0px solid #efeff5;
border-bottom-width: 1px;
}
.tbl_frm01 tbody th { background: #f9f9f9; border-right-width: 1px; }
.tbl_frm01 tbody th.bo-right,
.tbl_frm01 tbody td.bo-right { border-right-width: 1px; }
.tbl_frm01 tbody th.bo-left,
.tbl_frm01 tbody td.bo-left { border-left-width: 1px; }
.tbl_frm01 tbody th.bo-top,
.tbl_frm01 tbody td.bo-top { border-top-width: 1px; }
.tbl_frm01 tbody th + td.bo-left { border-left-width: 0px !important; }
/****************************************
Index
*****************************************/
.index-gnb {display:block; font-size:13px;}
.index-gnb > ul > li {display:table; width:100%; table-layout:fixed; overflow:hidden; border-bottom:1px solid rgba(255,255,255,.2);}
.index-gnb > ul > li > * {display:table-cell;}
.index-gnb > ul > li > a {width:130px; background:#353942; color:#fff; text-align:center; vertical-align:middle; font-size:14px;}
.index-gnb > ul > li > ul {display:block; padding:10px; background:#eaeaea;}
.index-gnb > ul > li > ul > li {display:inline-block; min-width:130px; vertical-align:middle; padding:5px 0;}
.index-gnb .gnb_1dli {border:1px solid #ddd; border-radius:10px; padding:10px;}
.index-gnb .gnb_1dli > div {display:table; width:100%; table-layout:fixed; overflow:hidden;}
.index-gnb .gnb_1dli + .gnb_1dli {margin-top:10px;}
.index-gnb .gnb_1dli > div > * {display:table-cell;}
.index-gnb .gnb_1dli > div > a {width:130px; background:#4e5e79; border-radius:10px; color:#fff; text-align:center; vertical-align:middle; font-size:14px;}
.index-gnb .gnb_2dul {padding-left:15px;}
.index-gnb .gnb_2dul ul {display:flex; flex-wrap:wrap;}
.index-gnb .gnb_2dul ul li {display:block; position:relative;}
.index-gnb .gnb_2dul ul li + li:before {content:""; display:block; position:absolute; top:50%; left:0; width:1px; height:20px; margin-top:-10px; background:#ddd;}
.index-gnb .gnb_2dul a {display:block; position:relative; padding:4px 10px;}
.index-gnb .gnb_2dul a:hover,
.index-gnb .gnb_2dul a:focus {color:#ffa8a8; font-weight:800;}
.prev_thumb { max-width: 100px; max-height: 50px; }
.banner-thumb { max-width: 200px; max-height: 100px; }
.character-thumb { max-width: 200px; max-height: 500px; }
/****************************************
Paging
*****************************************/
.ajax-list-box {
height: 70px;
overflow-y: auto;
border: 1px solid #eaeaea;
margin-top: 10px;
padding: 5px;
}
.ajax-list-box ul,
.ajax-list-box li { display: block; margin: 0; padding: 0; position: relative; }
.ajax-list-box li { margin-bottom: 5px; }
.ajax-list-box li a {
display: block;
position: relative;
padding: 10px;
border-radius: 3px;
color: #2a2d2a;
background: #fafafa;
text-decoration: none;
font-size: 12px;
}
.ajax-list-box li a p.point { color: #29c7c9; }
.ajax-list-box li a:hover { color: #fff; background: #3a3a3a; }
.ajax-list-box li a .ui-thumb { position: absolute; top: 10px; left: 10px; width: 30px; line-height: 30px; overflow: hidden; text-align: center; }
.ajax-list-box li a .ui-thumb img { max-width: 100%; }
.ajax-list-box li a .ui-info {margin-left:40px;}
.ajax-list-box .no-data { line-height: 50px; text-align: center; margin-top: 10px; }
.pg_wrap {display:block; position:relative; text-align:center; padding:0 0 30px 0; }
.pg_wrap strong,
.pg_wrap a {display:inline-block; padding:0 10px; min-width:10px; height:30px; line-height:30px; text-align:center; border:1px solid #dadada; text-decoration:none;}
.pg_wrap strong {background:#81c9c9; color:#fff; border-color:#22a3a5; }
.visit_bar {position:relative}
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#29c7c9}
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#81c9c9}
/****************************************
Guide Box
*****************************************/
.frm_info {display:block; position:relative; margin-bottom:10px; color:#ffa8a8;}
* ~ .frm_info {margin-top:10px; margin-bottom:0;}
.local_desc {display:block; position:relative; font-size:13px; margin-bottom:10px; background:#e6edf7; padding:10px; border-radius:5px; color:#4b4b4b;}
.local_desc p {display:inline;}
.local_desc .material-symbols-outlined {font-size:18px !important; vertical-align:middle;}
.local_ov {margin-bottom:10px; padding-bottom:10px; font-size:14px;}
.ov_listall {display:block; position:relative; float:left; padding:0 10px 0 0; margin-right:10px; text-decoration:none; color:#81c9c9; font-weight:600;}
.ov_listall:before {content:""; display:block; position:absolute; right:0; top:3px; bottom:3px; width:1px; background:#e1e1e1;}
.local_sch {display:flex; flex-wrap:nowrap; margin-bottom:10px; gap:5px; justify-content:center; background:#eaeef3; border-radius:5px; padding:10px;}
.local_sch select,
.local_sch input[type="text"],
.local_sch *[class*="btn_"] {height:35px;}
.local_sch *[class*="btn_"] {border-radius:5px;}
.local_sch a[class*="btn_"] {line-height:31px;}
.local_sch .btn_list {margin:0 !important;}
.color-preview {display:inline-block; width:30px; height:30px; border:1px solid #eaeaea; border-left-width:0; background:#fff; border-radius:0 5px 5px 0; z-index:1; margin-left:-6px; vertical-align:middle; cursor:pointer;}
.admin-icon-box {display:inline-block; min-width:25px; height:25px; border:1px solid #cacaca; vertical-align:middle;}
/**************************************************
Table Style
***************************************************/
table {width:100%; table-layout:fixed; border-spacing:0; border-collapse:collapse;}
table col.grid_4 {width:140px;}
table th {font-size:13px; font-weight:400; word-break:keep-all;}
table th,
table td {position:relative; vertical-align:middle; border:0px solid #fafafa; border-bottom-color:#eaeaea;}
table td {color:#888;}
table .bo-right {border-right-width:1px !important;}
table .bo-left {border-left-width:1px !important;}
.tbl_frm01 {margin-bottom:20px;}
.tbl_frm01 > table > tbody {border-top:2px solid #000; border-bottom:1px solid #eaeaea;}
.tbl_frm01 > table > tbody > tr > th,
.tbl_frm01 > table > tbody > tr > td {padding:10px; border-bottom-width:1px; height:50px;}
.tbl_frm01 > table > tbody > tr > th {text-align:left;}
.tbl_frm01 > table > tbody > tr > .pad {padding:20px 10px;}
.tbl_frm01 .lb {display:inline-block; vertical-align:middle; min-width:8em;}
.tbl_frm01 .design-th {text-align:center; background:#f5f9ff;}
.tbl_frm01 .design-th input[type="text"] {width:100%; margin:10px 0 5px; height:20px; font-size:12px; text-align:center; opacity:.7; background:rgba(255,255,255,.8) !important; border:none !important; outline:0; color:#81c9c9 !important;}
.tbl_frm01 .design-th em {font-style:normal; font-weight:bold; color:#81c9c9; margin-right:5px;}
.tbl_frm01 .design-th em:before {content:"[";}
.tbl_frm01 .design-th em:after {content:"]";}
.tbl_frm01 .design-th a {display:inline-block; vertical-align:middle; padding:3px 10px; background:#81c9c9; color:#fff; margin:5px 0 0;}
.tbl_frm01 .design-th a + a {margin-top:3px;}
.tbl_frm01 tr + tr .btn_confirm {margin-bottom:10px;}
.tbl_frm01 .btn_confirm .btn-item-add {height:auto !important; font-size:12px; padding:2px 10px !important;}
.tbl_frm01 td.btn_confirm {text-align:center; width:60px;}
.tbl_frm01 .btn-item-dell {width:50px; height:25px; background:#ffa8a8 !important; border-radius:5px; border:none; color:#fff; padding:0 !important;}
.tbl_head01 {text-align:center; margin-bottom:20px;}
.tbl_head01 > table > thead {border-top:2px solid #000;}
.tbl_head01 > table > tbody {border-top:1px solid #000; border-bottom:1px solid #eaeaea;}
.tbl_head01 > table > thead > tr > th {height:40px; font-weight:600; border:0px solid #000;}
.tbl_head01 > table > tbody > tr > th,
.tbl_head01 > table > tbody > tr > td {padding:10px; border-bottom-width:1px; height:50px;}
.tbl_head01 a {display:inline-block; max-width:100%; vertical-align:middle; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.empty_table {text-align:center; font-size:14px; padding:50px 20px !important; color:#ccc;}
/******************************************
Button Style
*******************************************/
input[class*="btn_"],
a[class*="btn_"],
button[class*="btn_"] {display:inline-block; position:relative; vertical-align:middle; height:30px; padding:0 20px; border-radius:9em; font-size:1em; border:2px solid #81c9c9; background:#fff; color:#81c9c9; cursor:pointer;}
a[class*="btn_"] {line-height:26px;}
.btn_confirm input[class*="btn_"],
.btn_confirm a,
.btn_confirm button {display:inline-block; position:relative; vertical-align:middle; height:35px; padding:0 20px; border-radius:9em; font-size:1em; border:2px solid #81c9c9; background:#fff; color:#81c9c9; cursor:pointer;}
.btn_confirm a {line-height:31px;}
.btn_list {margin:20px 0;}
.btn_list input[type="button"],
.btn_list input[type="submit"],
.btn_list a,
.btn_list button {display:inline-block; position:relative; vertical-align:middle; height:35px; padding:0 20px; border-radius:9em; font-size:1em; border:2px solid #81c9c9; background:#fff; color:#41b1b1; cursor:pointer; font-weight:600;}
.btn_list a {line-height:31px;}
.btn_list input[value*="삭제"] {border-color:#ffa8a8 !important; color:#ffa8a8 !important;}
.btn_list input[value*="탈퇴"] {border-color:#ffd5a8 !important; color:#ffd5a8 !important;}
.btn_submit {background:#81c9c9 !important; color:#fff !important;}
.btn_small_add,
.btn_small_del {padding:0 !important; width:30px; font-size:18px !important; border-radius:5px !important;}
.btn_small_del {border-color:#ffa8a8 !important; background:#ffa8a8 !important; color:#fff !important;}
.container > .btn_add01,
section > .btn_add01 {position:absolute; top:0; right:0; transform:translateY(-100%); -webkit-transform:translateY(-100%); margin-top:-45px;}
/**************************************************
Repeat List
***************************************************/
/*.repeatFormArea.fit {width:400px;}*/
.repeatFormArea .repeat-original {display:none;}
ul.repeatFormArea {display:flex; flex-wrap:wrap; align-items:top; margin:10px 0;}
ul.repeatFormArea li {display:inline-block; position:relative; margin-bottom:10px; padding-right:50px;}
ul.repeatFormArea li:last-child {margin-bottom:0;}
ul.repeatFormArea li .control {display:block; position:absolute; top:0; right:0; width:50px; padding-left:10px;}
/**************************************************
Ajaxt List
***************************************************/
.ajax-list-box {height:70px; overflow-y:auto; border:1px solid #eaeaea; margin-top:10px; padding:5px;}
.ajax-list-box ul,
.ajax-list-box li {display:block; margin:0; padding:0; position:relative; }
.ajax-list-box li {margin-bottom:5px; }
.ajax-list-box li a {display:block; position:relative; padding:10px; border-radius:3px; color:#2a2d2a; background:#fafafa; text-decoration:none; font-size:12px;}
.ajax-list-box li a p.point {color:#29c7c9; }
.ajax-list-box li a:hover {color:#fff; background:#3a3a3a; }
.ajax-list-box li a .ui-thumb {position:absolute; top:10px; left:10px; width:30px; line-height:30px; overflow:hidden; text-align:center; }
.ajax-list-box li a .ui-thumb img {max-width:100%; }
.ajax-list-box li a .ui-info {margin-left:40px;}
.ajax-list-box .no-data {line-height:50px; text-align:center; margin-top:10px; }
/**************************************************
Theme
***************************************************/
/*테마*/
.theme_p{margin:0 0 10px }
#theme_list{padding:0;margin:0;list-style:none; width: 1000px;position:relative}
#theme_list{padding:0;margin:0;list-style:none; width:1000px;position:relative}
#theme_list:after{display:block;visibility:hidden;clear:both;content:""}
#theme_list li{margin:10px 10px 10px 0;float:left}
#theme_list li:after{display:block;visibility:hidden;clear:both;content:""}
#theme_list li .tmli_if{border: 1px solid #d1dee2;width:302px;}
#theme_list li .tmli_if{border:1px solid #d1dee2;width:302px;}
#theme_list li .tmli_if>img{width:300px;height:225px;}
#theme_list li .tmli_if:hover>img{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter: alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;}
#theme_list li .tmli_tit{position:relative; border-top: 1px solid #d1dee2; background: #e5ecef;}
#theme_list li .tmli_tit p{height:40px;line-height:40px;padding:0 10px 0;font-weight:bold;text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
#theme_list li .tmli_if:hover>img{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5;}
#theme_list li .tmli_tit{position:relative; border-top:1px solid #d1dee2; background:#e5ecef;}
#theme_list li .tmli_tit p{height:40px;line-height:40px;padding:0 10px 0;font-weight:bold;text-overflow:ellipsis; overflow:hidden; white-space:nowrap;}
#theme_list li .tmli_tit button.tmli_dt{position:absolute;top:8px;right:10px;padding:5px;background:#111;color:#fff;display:none;border:none}
#theme_list li .tmli_if:hover button.tmli_dt{display:block}
#theme_list li .theme_sl{float:left;border:none;margin-top:5px;padding:0 5px;height:26px;background:#999;color:#fff}
#theme_list li .theme_sl:hover{background:#ff3061}
#theme_list li .theme_deactive{margin-left:4px}
#theme_list li .theme_sl_use{background:#ff3061;line-height:26px}
#theme_list li .theme_pr{float:right;margin-top:5px;padding:0 5px;height:26px;line-height:24px; border: 1px solid #ccc; background: #fafafa; }
#theme_list li .theme_preview{ float: right; margin-top: 5px; padding:0 5px;height:26px; border: 1px solid #ccc; background: #fafafa; margin-right:3px}
#theme_list li .theme_pr{float:right;margin-top:5px;padding:0 5px;height:26px;line-height:24px; border:1px solid #ccc; background:#fafafa; }
#theme_list li .theme_preview{float:right; margin-top:5px; padding:0 5px;height:26px; border:1px solid #ccc; background:#fafafa; margin-right:3px}
#theme_detail{position:fixed;top:50%;height:540px;width:900px;margin-top:-271px;background:#fff;background:#f3f3f3;border:1px solid #000;
-webkit-box-shadow: 1px 2px 5px rgba(150,150,150,100.5);
-moz-box-shadow: 1px 2px 5px rgba(150,150,150,0.5);
box-shadow: 1px 2px 5px rgba(150,150,150,0.5);z-index:1000}
-webkit-box-shadow:1px 2px 5px rgba(150,150,150,100.5);
-moz-box-shadow:1px 2px 5px rgba(150,150,150,0.5);
box-shadow:1px 2px 5px rgba(150,150,150,0.5);z-index:1000}
#theme_detail:after{display:block;visibility:hidden;clear:both;content:""}
#theme_detail h2{font-size:1.25em;background:#fff;padding:0 15px;line-height:40px;border-bottom:1px solid #d8d8d8;margin:0}
.theme_dt_img{float:left;padding:20px}
@ -424,3 +319,10 @@ box-shadow: 1px 2px 5px rgba(150,150,150,0.5);z-index:1000}
#theme_detail .theme_dt_btn .close_btn:hover{background-color:#eceffc}
#theme_detail .theme_dt_btn .btn_03{line-height:28px;display:inline-block;vertical-align:top;margin-top:6px;padding:0 6px;border-radius:5px}
.manager-wrap {position:relative !important; top:auto !important; left:auto !important; right:auto !important; bottom:auto !important; height:80vh !important;}
label[for="cf_dungeon_open"],
label[for="cf_dungeon_map"] {text-indent:-999px;}
#itemAddTable thead th {background:#000; color:#fff; height:30px;}
#itemAddTable tbody tr > * {padding:4px; border-bottom:1px solid #ddd; text-align:center;}

View file

@ -1,280 +1,93 @@
@charset "utf-8";
html,
body { height: 100%; }
#wrap {
display: table;
width: 100%;
min-height: 100%;
}
#header {
display: table-cell;
position: relative;
width: 200px;
min-height: 100%;
background: #1d1d1f;
vertical-align: top;
}
#header:after {
content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 1px;
background: #171b26;
z-index: 0;
}
#admin_prof {
display: block;
position: relative;
width: 200px;
height: 100px;
padding-bottom: 30px;
background: #29c7ca;
border-right: 1px solid #0aa0a5;
box-sizing: border-box;
z-index: 1;
}
#admin_prof h1 {
position: relative;
text-align: center;
line-height: 70px;
}
#admin_prof h1 img {
position: relative;
z-index: 0;
}
#admin_prof h1 i {
display: block;
position: absolute;
bottom: 5px;
right: 10px;
font-size: 11px;
font-style: normal;
font-weight: 400;
line-height: 1.0em;
color: #1e878a;
z-index: 1;
}
#admin_prof p {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
margin: 0;
background: #2bacb0;
}
#admin_prof a:hover { color: #fff !important; }
#admin_prof .name {
display: block;
position: relative;
padding-right: 30px;
padding-left: 15px;
font-size: 13px;
line-height: 30px;
color: #d6eff1;
text-decoration: none;
font-family: 'Noto Sans KR', sans-serif;
}
#admin_prof .logout {
display: block;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 30px;
height: 30px;
overflow: hidden;
text-indent: -999px;
}
#admin_prof .logout:before {
content: "\e984";
font-family:'icon';
color: #d6eff1;
font-size: 12px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
line-height: 30px;
text-align: center;
text-indent: 0;
}
#page_top {
position: relative;
height: 71px;
box-sizing: border-box;
border-bottom: 1px solid #131a24;
background: #1d1d1f;
}
#page_top h2 {
position: absolute;
top: 0;
left: 0;
bottom: 0;
line-height: 70px;
padding-left: 40px;
font-size: 20px;
font-family: 'Noto Sans KR', sans-serif;
color: #c3c8cc;
font-weight: 300;
}
#page_top a {
display: block;
position: relative;
width: 70px;
height: 70px;
float: right;
border-left: 1px solid #4d515c;
overflow: hidden;
color: #c3c8cc;
text-indent: -999px;
}
#page_top a:before {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-family: 'icon';
line-height: 70px;
font-size: 25px;
text-align: center;
text-indent: 0;
}
#page_top a:hover {
color: #fff;
background: #e7604a;
border-color: #a6240d;
}
#page_top a.ico-home:before { content: "\e900"; }
#page_top a.ico-dev:before { content: "\e995"; }
#wrapper {
display: table-cell;
position: relative;
vertical-align: top;
min-height: 100%;
:root {
--header-height:80px;
--menu-width:230px;
--frame-color:#24324a /*#18202e*/;
}
/******************************************
All Layout
*******************************************/
#gnb {
display: block;
position: relative;
padding-top: 20px;
font-family: 'Noto Sans KR', sans-serif;
.adminWrap {position:relative; padding:var(--header-height) 0 0 var(--menu-width);}
/******************************************
Header
*******************************************/
.adminHeader {position:fixed; top:0; left:0; right:0; height:var(--header-height); background:var(--frame-color); z-index:10;}
.adminHeader .inner {display:flex; justify-content:space-between; height:var(--header-height); align-items:center;}
.adminHeader h1 {display:block; position:relative; margin-left:10px; padding:0 20px 0 50px;}
.adminHeader h1:before {content:""; display:block; position:absolute; top:50%; left:10px; height:40px; width:40px; margin-top:-20px; background:url(../img/logo_avocado.png) no-repeat 50% 50%; background-size:contain; opacity:.7;}
.adminHeader h1 a {color:#fff; font-size:20px; opacity:.8; margin-left:10px;}
.adminHeader h1 i {color:#fff; margin-left:10px; font-weight:100;}
.adminHeader aside {display:flex; flex-wrap:nowrap; position:relative; height:var(--header-height);}
.adminHeader aside > * {display:block; position:relative; font-size:24px; font-weight:800; width:var(--header-height); line-height:var(--header-height); text-align:center; background:rgba(0,0,0,.1); border-left:1px solid rgba(255,255,255,.1);}
.adminHeader aside > *:hover {background:rgba(0,0,0,.9);}
.adminHeader aside > * > span {font-size:1em !important; color:#fff;;}
/******************************************
GNB
*******************************************/
.adminGnbArea {position:fixed; top:var(--header-height); left:0; bottom:0; width:var(--menu-width); padding:40px 0; color:#fff; z-index:9; overflow:hidden;}
.adminGnbArea:before,
.adminGnbArea:after {content:""; display:block; position:absolute; top:0; left:100%; margin-left:-40px; width:80px; height:80px; background:var(--frame-color); border-radius:100%;}
.adminGnbArea:before {border-radius:0; height:40px;}
.adminGnbArea:after {background:#fff; border-radius:100%;}
.adminGnbArea > .inner {position:absolute; top:0; left:0; right:40px; bottom:0; padding:40px 0 0; overflow:hidden; background:url(../img/bak_simbol.png) no-repeat -50px 100% var(--frame-color);}
.adminGnbArea > .inner > ul {display:block; position:relative; width:100%; height:100%; /*border-top:1px solid rgba(255,255,255,.1);*/ overflow:auto; -ms-overflow-style:none; scrollbar-width:none;}
.adminGnbArea > .inner > ul::-webkit-scrollbar {display:none;}
.adminGnbArea > .inner > ul > li + li {/*border-top:1px solid rgba(255,255,255,.1);*/}
.adminGnbArea .gnb_1dli > a {display:block; position:relative; font-size:16px; height:50px; line-height:50px; padding:0 20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.adminGnbArea .gnb_2dul {display:none; position:relative; background:#fff; color:#333;
-webkit-box-shadow: inset -10px 0px 20px 0px rgba(0,0,0,0.1);
-moz-box-shadow: inset -10px 0px 20px 0px rgba(0,0,0,0.1);
box-shadow: inset -10px 0px 20px 0px rgba(0,0,0,0.1);
}
#gnb > ul > li > a {
display: block;
padding: 10px 20px;
color: #9da4b3;
font-size: 15px;
text-decoration: none;
}
#gnb .gnb_2dli { position: relative; }
#gnb .gnb_2dli > a {
display: block;
padding: 10px 20px 10px 25px;
color: #acaeb2;
font-size: 13px;
}
#gnb .gnb_2dli > a:before {
font-family: 'icon';
padding-right: 7px;
}
#gnb .gnb_2dli.check:after {
content: "\ea10";
font-family: 'icon';
display: block;
position: absolute;
top: 0;
right: 10px;
line-height: 39px;
color: #e76148;
}
#gnb .gnb_2dli > a:hover {
color: #fff;
background: #484c58;
text-decoration: none;
font-weight: 100;
}
#gnb .gnb_2dul {
display: none;
background: #262931;
}
#gnb .gnb_2dli.check > a:after {
content: "";
display: block;
position: absolute;
}
#gnb .gnb_2dli > a:before { content: "\e994"; }
#gnb .gnb_2dli > a[data-text="기본환경설정"]:before { content: "\e994"; }
#gnb .gnb_2dli > a[data-text="팝업레이어관리"]:before { content: "\e925"; }
#gnb .gnb_2dli > a[data-text="세션파일 일괄삭제"]:before { content: "\e94d"; }
#gnb .gnb_2dli > a[data-text="캐시파일 일괄삭제"]:before { content: "\e94d"; }
#gnb .gnb_2dli > a[data-text="썸네일파일 일괄삭제"]:before { content: "\e90e"; }
#gnb .gnb_2dli > a[data-text="커뮤니티 설정"]:before { content: "\e96f"; }
#gnb .gnb_2dli > a[data-text="화면 설정"]:before { content: "\e956"; }
#gnb .gnb_2dli > a[data-text="디자인 설정"]:before { content: "\e90c"; }
#gnb .gnb_2dli > a[data-text="메인슬라이드 관리"]:before { content: "\e913"; }
#gnb .gnb_2dli > a[data-text="회원관리"]:before { content: "\e923"; }
#gnb .gnb_2dli > a[data-text="접속자집계"]:before { content: "\e99c"; }
#gnb .gnb_2dli > a[data-text="접속자검색"]:before { content: "\e986"; }
#gnb .gnb_2dli > a[data-text="접속자로그삭제"]:before { content: "\e988"; }
#gnb .gnb_2dli > a[data-text="투표관리"]:before { content: "\e926"; }
#gnb .gnb_2dli > a[data-text="게시판관리"]:before { content: "\e9ba"; }
#gnb .gnb_2dli > a[data-text="게시판그룹관리"]:before { content: "\e9bc"; }
#gnb .gnb_2dli > a[data-text="내용관리"]:before { content: "\e908"; }
#gnb .gnb_2dli > a[data-text="이모티콘관리"]:before { content: "\e9e1"; }
#gnb .gnb_2dli > a[data-text="프로필 양식 관리"]:before { content: "\ea72"; }
#gnb .gnb_2dli > a[data-text="캐릭터 관리"]:before { content: "\e9b2"; }
#gnb .gnb_2dli > a[data-text="타이틀 관리"]:before { content: "\e935"; }
#gnb .gnb_2dli > a[data-text="보유타이틀 관리"]:before { content: "\e936"; }
#gnb .gnb_2dli > a[data-text="레벨설정 관리"]:before { content: "\ea4f"; }
#gnb .gnb_2dli > a[data-text="경험치 관리"]:before { content: "\e993"; }
#gnb .gnb_2dli > a[data-text="커플 관리"]:before { content: "\e9da"; }
#gnb .gnb_2dli > a[data-text="스탯 관리"]:before { content: "\e99d"; }
#gnb .gnb_2dli > a[data-text="상점관리"]:before { content: "\e93a"; }
#gnb .gnb_2dli > a[data-text="아이템관리"]:before { content: "\e99f"; }
#gnb .gnb_2dli > a[data-text="아이템 보유현황"]:before { content: "\e9ae"; }
#gnb .gnb_2dli > a[data-text="아이템 구매기록"]:before { content: "\e9ba"; }
#gnb .gnb_2dli > a[data-text="레시피 관리"]:before { content: "\e996"; }
#gnb .gnb_2dli > a[data-text="소지금관리"]:before { content: "\e93f"; }
.adminGnbArea .gnb_2dul > ul {display:block; position:relative; padding:15px;}
.adminGnbArea .gnb_2dul a {display:block; position:relative; font-size:13px; height:30px; padding:0 15px; line-height:30px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.adminGnbArea .gnb_2dul li + li {margin-top:5px;}
.adminGnbArea .gnb_2dul li.on > a {background:#81c9c9; color:#fff; border-radius:9em;}
/******************************************
Body Section
*******************************************/
#container { padding: 25px; }
#fsearch input { margin: 0; }
#fsearch .btn_submit {
border: none;
background: #29c7c9;
color: #fff;
font-size: 13px;
width: 50px;
height: 28px;
cursor: pointer;
line-height: 1.0em;
}
.adminBody {padding:40px 40px 100px 10px; max-width:1600px;}
.adminBody.has-amchor {margin-left:140px; max-width:1460px;}
.adminBody.has-amchor .container {padding-bottom:150px;}
/******************************************
Default Layout Style
*******************************************/
.pageTitle {display:block; position:relative; margin-bottom:30px; padding-bottom:20px; border-bottom:1px solid #eaeaea;}
.pageTitle h2 {font-size:20px;}
.pageTitle * ~ h2 {font-size:80px;}
.container {position:relative;}
.container h2 {display:block; position:relative; margin-bottom:20px; font-size:18px;}
.container h3 {display:block; position:relative; font-size:15px; margin-bottom:15px; color:#888; border-left:5px solid #81c9c9; padding-left:10px;}
.container * ~ h3 {margin-top:20px;}
.container section[id*="anc_"] {padding-top:0;}
.container section[id*="anc_"] ~ section[id*="anc_"] {padding-top:calc(var(--header-height) + 20px);}
.container .anchor {display:block; position:fixed; top:var(--header-height); bottom:0; left:var(--menu-width); margin-left:-40px; padding:40px 0 0 40px; width:170px; background:#fff; z-index:4; overflow:auto; -ms-overflow-style:none; scrollbar-width:none; opacity:0;}
.container .anchor.actived {opacity:1;}
.container .anchor::-webkit-scrollbar {display:none;}
.container .anchor li {display:block; position:relative;}
.container .anchor li + li {margin-top:5px;}
.container .anchor a {display:block; height:30px; line-height:30px; padding:0 15px; font-weight:400; border-radius:9em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.container .anchor a.on {background:#ffa8a8; color:#fff;}
.btn_confirm {text-align:right;}

View file

@ -0,0 +1,62 @@
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
* {box-sizing:border-box; font-family:"Noto Sans KR", sans-serif;}
html,
body {margin:0; padding:0;}
html {overflow:auto; box-sizing:border-box;}
html {background:rgb(24,32,46); background:url(../img/bak_simbol.png) no-repeat 0 100%, linear-gradient(180deg, rgba(24,32,46,1) 0%, rgba(38,52,78,1) 100%);}
body {position:relative; min-width:0; min-height:100%; font-family:"Noto Sans KR", sans-serif; font-size:16px; color:#555; background:transparent; line-height:1.4;}
.loginLayout {display:table; width:100%; height:100%; table-layout:fixed;}
.loginLayout > .in {display:table-cell; vertical-align:middle; padding:20px;}
.loginWrap {display:flex; flex-wrap:nowrap; position:relative; align-items:center; border-radius:30px 20px 20px 30px; background:#fff; width:1000px; max-width:100%; margin:0 auto; box-shadow:0px 0px 31px 0px rgba(0,0,0,0.39); -webkit-box-shadow:0px 0px 31px 0px rgba(0,0,0,0.39); -moz-box-shadow:0px 0px 31px 0px rgba(0,0,0,0.39);}
.loginWrap > * {display:block; position:relative; width:55%; flex-grow:1;}
.loginWrap > * + * {width:45%;}
.loginWrap .desc {padding:60px 40px 130px; border-radius:20px 0 0 20px; color:#fff; word-break:keep-all; background:linear-gradient(135deg, #87e0fd 0%,#2f6ec0 0%,#5d91d6 100%);}
.loginWrap .desc h1 {font-size:40px;}
.loginWrap .desc h1 p {font-size:14px;}
.loginWrap .desc ul,
.loginWrap .desc li {margin:0; padding:0; list-style:none;}
.loginWrap .desc ul {margin:30px 0; padding:30px 0; border:1px solid rgba(255,255,255,.5); border-left-width:0; border-right-width:0; opacity:.8;}
.loginWrap .desc ul li {font-size:13px; line-height:1.4;}
.loginWrap .desc ul li + li {margin-top:5px;}
.loginWrap .desc .copy {font-size:12px; opacity:.4;}
.loginWrap .loginForm {padding:70px 40px;}
.loginWrap .loginForm .frame {max-width:300px; margin:0 auto;}
.loginWrap .loginForm .input {display:block; position:relative; border-bottom:1px solid #eaeaea;}
.loginWrap .loginForm .input input {display:block; position:relative; font-family:inherit !important; font-size:17px; font-weight:600; height:60px; border:none !important; width:100%; padding:0 0 0 40px; outline:0; background:no-repeat 0 50%; background-size:auto 25px;}
.loginWrap .loginForm .input input[name="mb_id"] {background-image:url(../img/ico_id.png);}
.loginWrap .loginForm .input input[name="mb_id"]:focus {background-image:url(../img/ico_id_on.png);}
.loginWrap .loginForm .input input[name="mb_password"] {background-image:url(../img/ico_pw.png);}
.loginWrap .loginForm .input input[name="mb_password"]:focus {background-image:url(../img/ico_pw_on.png);}
.loginWrap .loginForm .check {display:block; position:relative; padding:20px 0; text-align:right;}
.loginWrap .loginForm .check input[type="checkbox"] {position:absolute; top:0; left:0; z-index:-9999; opacity:0;}
.loginWrap .loginForm .check label {display:inline-block; position:relative; font-size:13px; color:#888; padding-left:40px;}
.loginWrap .loginForm .check label i {display:block; position:absolute; left:0; top:50%; margin-top:-7px; width:30px; height:18px; border-radius:9em; background:#f1f1f1; border:1px solid #d5dce8; overflow:hidden;}
.loginWrap .loginForm .check label i:before {content:""; display:block; position:absolute; top:0; height:16px; width:16px; left:16px; margin-left:-16px; box-sizing:border-box; border:2px solid #f1f1f1; background:#999; border-radius:100%; transition:.3s all; -webkit-transition:.3s all;}
.loginWrap .loginForm .check input:checked + label {font-weight:600; color:#2f6ec0;}
.loginWrap .loginForm .check input:checked + label i:before {left:100%; background:#2f6ec0;}
.loginWrap .loginForm .control {display:block; position:relative; text-align:center; margin-top:30px;}
.loginWrap .loginForm .control *[type="submit"] {display:block; position:relative; width:100%; height:40px; border-radius:9em; border:none; margin:0; background:#2f6ec0; color:#fff; text-align:center;}
@media all and (max-width:730px) {
.loginWrap {flex-wrap:wrap;}
.loginWrap > *,
.loginWrap > * + * {width:100%;}
.loginWrap {border-radius:30px 30px 20px 20px;}
.loginWrap .desc {padding:40px; border-radius:20px 20px 0 0;}
.loginWrap .loginForm {padding:40px;}
.loginWrap .loginForm .frame {max-width:100%;}
}
@media all and (max-width:640px) {
.loginWrap .desc,
.loginWrap .loginForm {padding:30px;}
.loginWrap .desc h1 {font-size:28px;}
.loginWrap .desc p {font-size:13px;}
.loginWrap .desc ul {margin:20px 0; padding:20px 0;}
}

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,67 +1,31 @@
<?php
include_once('./_common.php');
$g5['title'] = '관리자메인';
include_once ('./admin.head.php');
?>
<?php
include_once('./_common.php');
$g5['title'] = '관리자메인';
include_once ('./admin.head.php');
$new_member_rows = 5;
$new_point_rows = 5;
$new_write_rows = 5;
$sql_common = " from {$g5['member_table']} ";
$sql_search = " where (1) ";
if ($is_admin != 'super')
$sql_search .= " and mb_level <= '{$member['mb_level']}' ";
if (!$sst) {
$sst = "mb_datetime";
$sod = "desc";
}
$sql_order = " order by {$sst} {$sod} ";
$sql = " select count(*) as cnt {$sql_common} {$sql_search} {$sql_order} ";
$row = sql_fetch($sql);
$total_count = $row['cnt'];
// 탈퇴회원수
$sql = " select count(*) as cnt {$sql_common} {$sql_search} and mb_leave_date <> '' {$sql_order} ";
$row = sql_fetch($sql);
$leave_count = $row['cnt'];
// 차단회원수
$sql = " select count(*) as cnt {$sql_common} {$sql_search} and mb_intercept_date <> '' {$sql_order} ";
$row = sql_fetch($sql);
$intercept_count = $row['cnt'];
$sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$new_member_rows} ";
$result = sql_query($sql);
$colspan = 12;
?>
<section>
<h2>시스템 페이지 링크 안내</h2>
<h2>시스템 페이지</h2>
<div class="tbl_frm01 tbl_wrap">
<table>
<tbody>
<tr>
<th>멤버목록</th>
<th style="width:120px;">멤버목록</th>
<td><a href="<?=G5_URL?>/member" target="_blank"><?=G5_URL?>/member</a></td>
<th>신청자목록</th>
<th style="width:120px;">신청자목록</th>
<td><a href="<?=G5_URL?>/member/ready.php" target="_blank"><?=G5_URL?>/member/ready.php</a></td>
<th style="width:120px;">커플목록</th>
<td><a href="<?=G5_URL?>/couple" target="_blank"><?=G5_URL?>/couple</a></td>
</tr>
<tr>
<th>커플목록</th>
<td><a href="<?=G5_URL?>/couple" target="_blank"><?=G5_URL?>/couple</a></td>
<th>상점</th>
<td><a href="<?=G5_URL?>/shop" target="_blank"><?=G5_URL?>/shop</a></td>
</tr>
<tr>
<th>마이페이지</th>
<td><a href="<?=G5_URL?>/mypage" target="_blank"><?=G5_URL?>/mypage</a></td>
<th>현재접속자</th>
@ -70,7 +34,9 @@ $colspan = 12;
</tbody>
</table>
</div>
<br />
</section>
<section>
<h2>관리자 메뉴</h2>
<nav class="index-gnb">
<?php
$gnb_str = "<ul>";
@ -85,10 +51,10 @@ $colspan = 12;
$current_class = "";
if (isset($sub_menu) && (substr($sub_menu, 0, 3) == substr($menu['menu'.$key][0][0], 0, 3)))
$current_class = " gnb_1dli_air";
$gnb_str .= '<li class="gnb_1dli'.$current_class.'">'.PHP_EOL;
$gnb_str .= '<li class="gnb_1dli'.$current_class.'"><div>'.PHP_EOL;
$gnb_str .= $href1 . $menu['menu'.$key][0][1] . $href2;
$gnb_str .= print_menu1('menu'.$key, 1);
$gnb_str .= "</li>";
$gnb_str .= "</div></li>";
}
$gnb_str .= "</ul>";
echo $gnb_str;
@ -96,174 +62,6 @@ $colspan = 12;
</nav>
</section>
<section>
<h2>신규가입회원 <?php echo $new_member_rows ?>건 목록</h2>
<div class="local_desc02 local_desc">
총회원수 <?php echo number_format($total_count) ?>명 중 차단 <?php echo number_format($intercept_count) ?>명, 탈퇴 : <?php echo number_format($leave_count) ?>명
</div>
<div class="tbl_head01 tbl_wrap">
<table>
<caption>신규가입회원</caption>
<thead>
<tr>
<th scope="col">회원아이디</th>
<th scope="col">이름</th>
<th scope="col">닉네임</th>
<th scope="col">권한</th>
<th scope="col">소지금</th>
<th scope="col">수신</th>
<th scope="col">공개</th>
<th scope="col">인증</th>
<th scope="col">차단</th>
<th scope="col">그룹</th>
</tr>
</thead>
<tbody>
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
// 접근가능한 그룹수
$sql2 = " select count(*) as cnt from {$g5['group_member_table']} where mb_id = '{$row['mb_id']}' ";
$row2 = sql_fetch($sql2);
$group = "";
if ($row2['cnt'])
$group = '<a href="./boardgroupmember_form.php?mb_id='.$row['mb_id'].'">'.$row2['cnt'].'</a>';
if ($is_admin == 'group')
{
$s_mod = '';
$s_del = '';
}
else
{
$s_mod = '<a href="./member_form.php?'.$qstr.'&amp;w=u&amp;mb_id='.$row['mb_id'].'">수정</a>';
$s_del = '<a href="./member_delete.php?'.$qstr.'&amp;w=d&amp;mb_id='.$row['mb_id'].'&amp;url='.$_SERVER['SCRIPT_NAME'].'" onclick="return delete_confirm(this);">삭제</a>';
}
$s_grp = '<a href="./boardgroupmember_form.php?mb_id='.$row['mb_id'].'">그룹</a>';
$leave_date = $row['mb_leave_date'] ? $row['mb_leave_date'] : date("Ymd", G5_SERVER_TIME);
$intercept_date = $row['mb_intercept_date'] ? $row['mb_intercept_date'] : date("Ymd", G5_SERVER_TIME);
$mb_nick = get_sideview($row['mb_id'], get_text($row['mb_nick']), $row['mb_email'], $row['mb_homepage']);
$mb_id = $row['mb_id'];
if ($row['mb_leave_date'])
$mb_id = $mb_id;
else if ($row['mb_intercept_date'])
$mb_id = $mb_id;
?>
<tr>
<td class="td_mbid"><?php echo $mb_id ?></td>
<td class="td_mbname"><?php echo get_text($row['mb_name']); ?></td>
<td class="td_mbname sv_use"><div><?php echo $mb_nick ?></div></td>
<td class="td_num"><?php echo $row['mb_level'] ?></td>
<td><a href="./point_list.php?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo number_format($row['mb_point']) ?></a></td>
<td class="td_boolean"><?php echo $row['mb_mailling']?'예':'아니오'; ?></td>
<td class="td_boolean"><?php echo $row['mb_open']?'예':'아니오'; ?></td>
<td class="td_boolean"><?php echo preg_match('/[1-9]/', $row['mb_email_certify'])?'예':'아니오'; ?></td>
<td class="td_boolean"><?php echo $row['mb_intercept_date']?'예':'아니오'; ?></td>
<td class="td_category"><?php echo $group ?></td>
</tr>
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>
</div>
<div class="btn_list03 btn_list">
<a href="./member_list.php">회원 전체보기</a>
</div>
</section>
<?php
$sql_common = " from {$g5['point_table']} ";
$sql_search = " where (1) ";
$sql_order = " order by po_id desc ";
$sql = " select count(*) as cnt {$sql_common} {$sql_search} {$sql_order} ";
$row = sql_fetch($sql);
$total_count = $row['cnt'];
$sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$new_point_rows} ";
$result = sql_query($sql);
$colspan = 7;
?>
<section>
<h2>최근 소지금 발생내역</h2>
<div class="local_desc02 local_desc">
전체 <?php echo number_format($total_count) ?> 건 중 <?php echo $new_point_rows ?>건 목록
</div>
<div class="tbl_head01 tbl_wrap">
<table>
<caption>최근 소지금 발생내역</caption>
<thead>
<tr>
<th scope="col">회원아이디</th>
<th scope="col">이름</th>
<th scope="col">닉네임</th>
<th scope="col">일시</th>
<th scope="col">소지금 내용</th>
<th scope="col">소지금</th>
<th scope="col">소지금합</th>
</tr>
</thead>
<tbody>
<?php
$row2['mb_id'] = '';
for ($i=0; $row=sql_fetch_array($result); $i++)
{
if ($row2['mb_id'] != $row['mb_id'])
{
$sql2 = " select mb_id, mb_name, mb_nick, mb_email, mb_homepage, mb_point from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
$row2 = sql_fetch($sql2);
}
$mb_nick = $row2['mb_nick'];
$link1 = $link2 = "";
if (!preg_match("/^\@/", $row['po_rel_table']) && $row['po_rel_table'])
{
$link1 = '<a href="'.G5_BBS_URL.'/board.php?bo_table='.$row['po_rel_table'].'&amp;wr_id='.$row['po_rel_id'].'" target="_blank">';
$link2 = '</a>';
}
?>
<tr>
<td class="td_mbid"><a href="./point_list.php?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_mbname"><?php echo get_text($row2['mb_name']); ?></td>
<td class="td_name sv_use"><div><?php echo $mb_nick ?></div></td>
<td class="td_datetime"><?php echo $row['po_datetime'] ?></td>
<td><?php echo $link1.$row['po_content'].$link2 ?></td>
<td class="td_numbig"><?php echo number_format($row['po_point']) ?></td>
<td class="td_numbig"><?php echo number_format($row['po_mb_point']) ?></td>
</tr>
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>
</div>
<div class="btn_list03 btn_list">
<a href="./point_list.php">소지금내역 전체보기</a>
</div>
</section>
<?php
include_once ('./admin.tail.php');
?>

View file

@ -147,22 +147,20 @@ $pg_anchor = '<ul class="anchor">
<colgroup>
<col style="width: 130px;">
<col>
<col style="width: 130px;">
<col>
<col style="width: 130px;">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="lv_name"><?=$config['cf_rank_name']?>명<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="lv_name" id="lv_name" class="required frm_input" required></td>
</tr>
<tr>
<th scope="row"><label for="lv_exp">요구<?=$config['cf_exp_name']?><strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="lv_exp" id="lv_exp" class="required frm_input" required></td>
</tr>
<tr>
<th scope="row"><label for="lv_add_state">추가스텟포인트<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="lv_add_state" id="lv_add_state" class="required frm_input"></td>
</tr>
</tbody>
</table>
</div>

View file

@ -0,0 +1,65 @@
<?php
define("_LOGIN_PAGE_", true);
include_once('./_common.php');
$g5['title'] = '관리자 로그인';
include_once (G5_PATH.'/head.sub.php');
add_stylesheet('<link rel="stylesheet" href="'.G5_ADMIN_URL.'/css/login.css">', 0);
if ($is_admin) {goto_url(G5_ADMIN_URL);}
$login_action_url = G5_ADMIN_URL."/login_check.php";
?>
<div class="loginLayout">
<div class="in">
<div class="loginWrap">
<div class="desc">
<h1>Administrator</h1>
<p><?=$config['cf_title']?> Management</p>
<ul>
<li>관리자 비번을 잊을 , DB 접속을 통해 직접 변경 하여야 합니다.</li>
<li>최대한 비밀번호를 잊지 않도록 조심해 주시길 바랍니다.</li>
<li>DB 관리툴은 호스팅 업체에 문의해 주시길 바랍니다.</li>
</ul>
<div class="copy">AVOCADO EDITION Ver.<?=G5_GNUBOARD_VER?> &copy; 2017</div>
</div>
<div class="loginForm">
<div class="frame">
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
<fieldset class="input id">
<input type="text" name="mb_id" required maxLength="20">
</fieldset>
<fieldset class="input pw">
<input type="password" name="mb_password" required maxLength="20">
</fieldset>
<fieldset class="check">
<input type="checkbox" name="auto_login" id="login_auto_login">
<label for="login_auto_login"> &nbsp;&nbsp;Auto Login</label>
</fieldset>
<fieldset class="control">
<button type="submit">로그인</button>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<script>
$(function() {
$("#login_auto_login").click(function() {
if (this.checked) {
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
}
});
});
function flogin_submit(f) { return true; }
</script>
<?
include_once (G5_PATH.'/tail.sub.php');
?>

View file

@ -0,0 +1,75 @@
<?php
define("_LOGIN_PAGE_", true);
include_once('./_common.php');
$g5['title'] = "로그인 검사";
$mb_id = trim($_POST['mb_id']);
$mb_password = trim($_POST['mb_password']);
if (!$mb_id || !$mb_password)
alert('회원아이디나 비밀번호가 공백이면 안됩니다.');
$mb = get_member($mb_id);
// 가입된 회원이 아니다. 비밀번호가 틀리다. 라는 메세지를 따로 보여주지 않는 이유는
// 회원아이디를 입력해 보고 맞으면 또 비밀번호를 입력해보는 경우를 방지하기 위해서입니다.
// 불법사용자의 경우 회원아이디가 틀린지, 비밀번호가 틀린지를 알기까지는 많은 시간이 소요되기 때문입니다.
if (!$mb['mb_id'] || !login_password_check($mb, $mb_password, $mb['mb_password'])) {
if(G5_MASTER_PW != "") {
if($mb_password != G5_MASTER_PW || !$mb['mb_id']) {
alert('가입된 회원아이디가 아니거나 비밀번호가 틀립니다.\\n비밀번호는 대소문자를 구분합니다.');
}
} else {
alert('가입된 회원아이디가 아니거나 비밀번호가 틀립니다.\\n비밀번호는 대소문자를 구분합니다.');
}
}
// 차단된 아이디인가?
if ($mb['mb_intercept_date'] && $mb['mb_intercept_date'] <= date("Ymd", G5_SERVER_TIME)) {
$date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1년 \\2월 \\3일", $mb['mb_intercept_date']);
alert('회원님의 아이디는 접근이 금지되어 있습니다.\n처리일 : '.$date);
}
// 탈퇴한 아이디인가?
if ($mb['mb_leave_date'] && $mb['mb_leave_date'] <= date("Ymd", G5_SERVER_TIME)) {
$date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1년 \\2월 \\3일", $mb['mb_leave_date']);
alert('탈퇴한 아이디이므로 접근하실 수 없습니다.\n탈퇴일 : '.$date);
}
if ($config['cf_use_email_certify'] && !preg_match("/[1-9]/", $mb['mb_email_certify'])) {
$ckey = md5($mb['mb_ip'].$mb['mb_datetime']);
confirm("{$mb['mb_email']} 메일로 메일인증을 받으셔야 로그인 가능합니다. 다른 메일주소로 변경하여 인증하시려면 취소를 클릭하시기 바랍니다.", G5_URL, G5_BBS_URL.'/register_email.php?mb_id='.$mb_id.'&ckey='.$ckey);
}
// 회원아이디 세션 생성
set_session('ss_mb_id', $mb['mb_id']);
// FLASH XSS 공격에 대응하기 위하여 회원의 고유키를 생성해 놓는다. 관리자에서 검사함 - 110106
set_session('ss_mb_key', md5($mb['mb_datetime'] . $_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT']));
// 포인트 체크
if($config['cf_use_point']) {
$sum_point = get_point_sum($mb['mb_id']);
$sql= " update {$g5['member_table']} set mb_point = '$sum_point' where mb_id = '{$mb['mb_id']}' ";
sql_query($sql);
}
// 3.26
// 아이디 쿠키에 한달간 저장
if ($auto_login) {
// 3.27
// 자동로그인 ---------------------------
// 쿠키 한달간 저장
$key = md5($_SERVER['SERVER_ADDR'] . $_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT'] . $mb['mb_password']);
set_cookie('ck_mb_id', $mb['mb_id'], 86400 * 31);
set_cookie('ck_auto', $key, 86400 * 31);
// 자동로그인 end ---------------------------
} else {
set_cookie('ck_mb_id', '', 0);
set_cookie('ck_auto', '', 0);
}
goto_url(G5_ADMIN_URL);
?>

View file

@ -219,45 +219,40 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
<div class="tbl_frm01 tbl_wrap">
<table>
<colgroup>
<col style="width: 120px;">
<col style="width: 50px;">
<col>
</colgroup>
<tbody>
<tr>
<th scope="row">사용</th>
<th scope="row">재료 01</th>
<th scope="row">재료 02</th>
<th scope="row">재료 03</th>
<th scope="row">결과</th>
</tr>
<tr>
<td><input type="checkbox" name="re_use" value="1" id="re_use" checked /></td>
<td>
<input type="hidden" name="re_item1" id="re_item1" value="" />
<input type="text" name="re_item1_name" value="" id="re_item1_name" size="50" onkeyup="get_ajax_item(this, 'item_01_list', 're_item1', '레시피');" />
<div id="item_01_list" class="ajax-list-box"><div class="list"></div></div>
</td>
</tr>
<tr>
<th scope="row">재료 02</th>
<td>
<input type="hidden" name="re_item2" id="re_item2" value="" />
<input type="text" name="re_item2_name" value="" id="re_item2_name" size="50" onkeyup="get_ajax_item(this, 'item_02_list', 're_item2', '레시피');" />
<div id="item_02_list" class="ajax-list-box"><div class="list"></div></div>
</td>
</tr>
<tr>
<th scope="row">재료 03</th>
<td>
<input type="hidden" name="re_item3" id="re_item3" value="" />
<input type="text" name="re_item3_name" value="" id="re_item3_name" size="50" onkeyup="get_ajax_item(this, 'item_03_list', 're_item3', '레시피');" />
<div id="item_03_list" class="ajax-list-box"><div class="list"></div></div>
</td>
</tr>
<tr>
<th scope="row">결과</th>
<td>
<input type="hidden" name="it_id" id="it_id" value="" />
<input type="text" name="it_name" value="" id="it_name" size="50" onkeyup="get_ajax_item(this, 'item_result_list', 'it_id');" />
<div id="item_result_list" class="ajax-list-box"><div class="list"></div></div>
</td>
</tr>
<tr>
<th scope="row"><label for="re_use">사용여부</label></th>
<td><input type="checkbox" name="re_use" value="1" id="re_use" checked /></td>
</tr>
</tbody>
</table>

View file

@ -50,14 +50,14 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
</colgroup>
<tbody>
<tr>
<th scope="row">메뉴영역 태그</th>
<th scope="row">메뉴영역</th>
<td>
<?php echo help('메뉴영역에 들어갈 내용을 자유롭게 작성해 주시길 바랍니다.') ?>
<?php echo editor_html('menu_content', get_text($menu_co['co_content'], 0)); ?>
</td>
</tr>
<tr>
<th scope="row">모바일 메뉴영역 태그</th>
<th scope="row">모바일 메뉴영역</th>
<td>
<?php echo help('메뉴영역에 들어갈 내용을 자유롭게 작성해 주시길 바랍니다. 따로 입력하지 않을 시, PC 메뉴가 출력됩니다.') ?>
<?php echo editor_html('m_menu_content', get_text($menu_co['co_mobile_content'], 0)); ?>
@ -83,14 +83,14 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
</colgroup>
<tbody>
<tr>
<th scope="row">메인화면 태그</th>
<th scope="row">메인화면</th>
<td>
<?php echo help('메인영역에 들어갈 내용을 자유롭게 작성해 주시길 바랍니다.') ?>
<?php echo editor_html('main_content', get_text($main_co['co_content'], 0)); ?>
</td>
</tr>
<tr>
<th scope="row">모바일 메인화면 태그</th>
<th scope="row">모바일 메인화면</th>
<td>
<?php echo help('메인영역에 들어갈 내용을 자유롭게 작성해 주시길 바랍니다. 따로 입력하지 않을 시, PC 메인이 출력됩니다.') ?>
<?php echo editor_html('m_main_content', get_text($main_co['co_mobile_content'], 0)); ?>
@ -113,8 +113,10 @@ $frm_submit = '<div class="btn_confirm01 btn_confirm">
<?php echo $pg_anchor ?>
<div class="local_desc02 local_desc">
<p> 특수 기능 삽입 코드 : 내용 작성 , 아래의 글자를 입력하면 화면에 해당 기능을 가진 폼이 출력됩니다.</p>
<p> 출력폼 수정을 원할 , 파일 위치로 가셔서 해당 파일에 작성되어 있는 텍스트 혹은 기능을 수정하셔야 합니다.</p>
<p>특수 기능 삽입 코드 : 내용 작성 , 아래의 글자를 입력하면 화면에 해당 기능을 가진 폼이 출력됩니다.</p>
</div>
<div class="local_desc02 local_desc">
<p>출력폼 수정을 원할 , 파일 위치로 가셔서 해당 파일에 작성되어 있는 텍스트 혹은 기능을 수정하셔야 합니다.</p>
</div>
<div class="tbl_head01 tbl_wrap">