g5 merge 충돌 수정
This commit is contained in:
@ -24,8 +24,7 @@ function print_menu2($key, $no)
|
||||
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) $gnb_grp_div = 'gnb_grp_div';
|
||||
else if ($menu[$key][$i][4] != 1 && $gnb_grp_style == true) $gnb_grp_div = 'gnb_grp_div';
|
||||
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';
|
||||
|
||||
@ -3,6 +3,7 @@ $menu['menu100'] = array (
|
||||
array('100000', '환경설정', G5_ADMIN_URL.'/config_form.php', 'config'),
|
||||
array('', '기본환경설정', G5_ADMIN_URL.'/config_form.php', 'cf_basic'),
|
||||
array('', '관리권한설정', G5_ADMIN_URL.'/auth_list.php', 'cf_auth'),
|
||||
array('', '메뉴설정', G5_ADMIN_URL.'/menu_list.php', 'cf_menu', 1),
|
||||
array('100300', '메일 테스트', G5_ADMIN_URL.'/sendmail_test.php', 'cf_mailtest'),
|
||||
array('100310', '팝업레이어관리', G5_ADMIN_URL.'/newwinlist.php', 'scf_poplayer'),
|
||||
//array('100400', '버전정보', G5_ADMIN_URL.'/version.php', 'cf_version'),
|
||||
|
||||
@ -88,7 +88,6 @@ $sql = " insert into {$g5['board_table']}
|
||||
bo_upload_size = '{$board[bo_upload_size]}',
|
||||
bo_reply_order = '{$board[bo_reply_order]}',
|
||||
bo_use_search = '{$board[bo_use_search]}',
|
||||
bo_show_menu = '{$board[bo_show_menu]}',
|
||||
bo_order = '{$board[bo_order]}',
|
||||
bo_notice = '{$board['bo_notice']}',
|
||||
bo_upload_count = '{$board[bo_upload_count]}',
|
||||
|
||||
@ -21,10 +21,6 @@ if (!isset($board['bo_device'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_device` ENUM( 'both', 'pc', 'mobile' ) NOT NULL DEFAULT 'both' AFTER `bo_subject` ", false);
|
||||
}
|
||||
|
||||
if (!isset($board['bo_show_menu'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_show_menu` TINYINT NOT NULL DEFAULT '0' AFTER `bo_use_search`, ADD `bo_order` INT NOT NULL DEFAULT '0' AFTER `bo_show_menu` ", false);
|
||||
}
|
||||
|
||||
if (!isset($board['bo_mobile_skin'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `bo_skin` ", false);
|
||||
}
|
||||
@ -120,7 +116,6 @@ if ($w == '') {
|
||||
$board['bo_use_secret'] = 0;
|
||||
$board['bo_include_head'] = '_head.php';
|
||||
$board['bo_include_tail'] = '_tail.php';
|
||||
$board['bo_show_menu'] = true;
|
||||
|
||||
} else if ($w == 'u') {
|
||||
|
||||
@ -769,20 +764,6 @@ $frm_submit .= '</div>';
|
||||
<label for="chk_all_use_search">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_show_menu">메뉴보이기</label></th>
|
||||
<td>
|
||||
<?php echo help("사용에 체크하시면 게시판 제목을 메뉴에 출력합니다.") ?>
|
||||
<input type="checkbox" name="bo_show_menu" value="1" id="bo_show_menu" <?php echo $board['bo_show_menu']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_grp_show_menu" value="1" id="chk_grp_show_menu">
|
||||
<label for="chk_grp_show_menu">그룹적용</label>
|
||||
<input type="checkbox" name="chk_all_show_menu" value="1" id="chk_all_show_menu">
|
||||
<label for="chk_all_show_menu">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_order">출력 순서</label></th>
|
||||
<td>
|
||||
|
||||
@ -107,7 +107,6 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
|
||||
bo_reply_order = '{$_POST['bo_reply_order']}',
|
||||
bo_use_search = '{$_POST['bo_use_search']}',
|
||||
bo_order = '{$_POST['bo_order']}',
|
||||
bo_show_menu = '{$_POST['bo_show_menu']}',
|
||||
bo_write_min = '{$_POST['bo_write_min']}',
|
||||
bo_write_max = '{$_POST['bo_write_max']}',
|
||||
bo_comment_min = '{$_POST['bo_comment_min']}',
|
||||
@ -290,7 +289,6 @@ if (is_checked('chk_grp_mobile_content_tail')) $grp_fields .= " , bo_mob
|
||||
if (is_checked('chk_grp_insert_content')) $grp_fields .= " , bo_insert_content = '{$bo_insert_content}' ";
|
||||
if (is_checked('chk_grp_use_search')) $grp_fields .= " , bo_use_search = '{$bo_use_search}' ";
|
||||
if (is_checked('chk_grp_order')) $grp_fields .= " , bo_order = '{$bo_order}' ";
|
||||
if (is_checked('chk_grp_show_menu')) $grp_fields .= " , bo_show_menu = '{$bo_show_menu}' ";
|
||||
for ($i=1; $i<=10; $i++) {
|
||||
if (is_checked('chk_grp_'.$i)) {
|
||||
$grp_fields .= " , bo_{$i}_subj = '".$_POST['bo_'.$i.'_subj']."' ";
|
||||
@ -374,7 +372,6 @@ if (is_checked('chk_all_mobile_content_tail')) $all_fields .= " , bo_mob
|
||||
if (is_checked('chk_all_insert_content')) $all_fields .= " , bo_insert_content = '{$bo_insert_content}' ";
|
||||
if (is_checked('chk_all_use_search')) $all_fields .= " , bo_use_search = '{$bo_use_search}' ";
|
||||
if (is_checked('chk_all_order')) $all_fields .= " , bo_order = '{$bo_order}' ";
|
||||
if (is_checked('chk_all_show_menu')) $all_fields .= " , bo_show_menu = '{$bo_show_menu}' ";
|
||||
for ($i=1; $i<=10; $i++) {
|
||||
if (is_checked('chk_all_'.$i)) {
|
||||
$all_fields .= " , bo_{$i}_subj = '".$_POST['bo_'.$i.'_subj']."' ";
|
||||
|
||||
@ -51,7 +51,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$g5['title'] = '게시판관리';
|
||||
include_once('./admin.head.php');
|
||||
|
||||
$colspan = 16;
|
||||
$colspan = 15;
|
||||
?>
|
||||
|
||||
<div class="local_ov01 local_ov">
|
||||
@ -107,7 +107,6 @@ $colspan = 16;
|
||||
<th scope="col">다운P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col"><?php echo subject_sort_link('bo_use_sns') ?>SNS<br>사용</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('bo_use_search') ?>검색<br>사용</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('bo_show_menu') ?>메뉴<br>보임</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('bo_order') ?>출력<br>순서</a></th>
|
||||
<th scope="col">접속기기</th>
|
||||
<th scope="col">관리</th>
|
||||
@ -174,10 +173,6 @@ $colspan = 16;
|
||||
<label for="bo_use_search_<?php echo $i; ?>" class="sound_only">검색 사용</label>
|
||||
<input type="checkbox" name="bo_use_search[<?php echo $i ?>]" value="1" id="bo_use_search_<?php echo $i ?>" <?php echo $row['bo_use_search']?"checked":"" ?>>
|
||||
</td>
|
||||
<td class="td_chk">
|
||||
<label for="bo_show_menu_<?php echo $i; ?>" class="sound_only">메인메뉴 보이기</label>
|
||||
<input type="checkbox" name="bo_show_menu[<?php echo $i ?>]" value="1" id="bo_show_menu_<?php echo $i ?>" <?php echo $row['bo_show_menu']?"checked":"" ?>>
|
||||
</td>
|
||||
<td class="td_chk">
|
||||
<label for="bo_order_<?php echo $i; ?>" class="sound_only">출력 순서</label>
|
||||
<input type="text" name="bo_order[<?php echo $i ?>]" value="<?php echo $row['bo_order'] ?>" id="bo_order_<?php echo $i ?>" class="frm_input" size="2">
|
||||
|
||||
@ -39,7 +39,6 @@ if ($_POST['act_button'] == "선택수정") {
|
||||
bo_download_point = '{$_POST['bo_download_point'][$k]}',
|
||||
bo_use_search = '{$_POST['bo_use_search'][$k]}',
|
||||
bo_use_sns = '{$_POST['bo_use_sns'][$k]}',
|
||||
bo_show_menu = '{$_POST['bo_show_menu'][$k]}',
|
||||
bo_order = '{$_POST['bo_order'][$k]}'
|
||||
where bo_table = '{$_POST['board_table'][$k]}' ";
|
||||
sql_query($sql);
|
||||
|
||||
@ -26,9 +26,6 @@ if (!isset($group['gr_device'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['group_table']}` ADD `gr_device` ENUM('both','pc','mobile') NOT NULL DEFAULT 'both' AFTER `gr_subject` ", false);
|
||||
}
|
||||
|
||||
if (!isset($group['gr_show_menu'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['group_table']}` ADD `gr_show_menu` TINYINT NOT NULL DEFAULT '0' AFTER `gr_use_access`, ADD `gr_order` INT NOT NULL DEFAULT '0' AFTER `gr_show_menu` ", false);
|
||||
}
|
||||
|
||||
$g5['title'] = $html_title;
|
||||
include_once('./admin.head.php');
|
||||
@ -52,11 +49,11 @@ include_once('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_id">그룹 ID<?php echo $sound_only ?></label></th>
|
||||
<td><input type="text" name="gr_id" value="<?php echo $group['gr_id'] ?>" id="gr_id" <?php echo $gr_id_attr; ?> class="<?php echo $gr_id_attr; ?> alnum_ frm_input" maxlength="10">
|
||||
<?php
|
||||
<td><input type="text" name="gr_id" value="<?php echo $group['gr_id'] ?>" id="gr_id" <?php echo $gr_id_attr; ?> class="<?php echo $gr_id_attr; ?> alnum_ frm_input" maxlength="10">
|
||||
<?php
|
||||
if ($w=='')
|
||||
echo '영문자, 숫자, _ 만 가능 (공백없이)';
|
||||
else
|
||||
else
|
||||
echo '<a href="'.G5_BBS_URL.'/group.php?gr_id='.$group['gr_id'].'" class="btn_frmline">게시판그룹 바로가기</a>';
|
||||
?>
|
||||
</td>
|
||||
@ -112,14 +109,6 @@ include_once('./admin.head.php');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_show_menu">메뉴보이기</label></th>
|
||||
<td>
|
||||
<?php echo help("사용에 체크하시면 게시판그룹 제목을 메뉴에 출력합니다.") ?>
|
||||
<input type="checkbox" name="gr_show_menu" value="1" id="gr_show_menu" <?php echo $gr['gr_show_menu']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
</tr>
|
||||
<?php for ($i=1;$i<=10;$i++) { ?>
|
||||
<tr>
|
||||
<th scope="row">여분필드<?php echo $i ?></th>
|
||||
|
||||
@ -17,7 +17,6 @@ if (!$gr_subject) alert('그룹 제목을 입력하세요.');
|
||||
$sql_common = " gr_subject = '{$_POST['gr_subject']}',
|
||||
gr_device = '{$_POST['gr_device']}',
|
||||
gr_admin = '{$_POST['gr_admin']}',
|
||||
gr_show_menu = '{$_POST['gr_show_menu']}',
|
||||
gr_1_subj = '{$_POST['gr_1_subj']}',
|
||||
gr_2_subj = '{$_POST['gr_2_subj']}',
|
||||
gr_3_subj = '{$_POST['gr_3_subj']}',
|
||||
@ -38,7 +37,7 @@ $sql_common = " gr_subject = '{$_POST['gr_subject']}',
|
||||
gr_8 = '{$_POST['gr_8']}',
|
||||
gr_9 = '{$_POST['gr_9']}',
|
||||
gr_10 = '{$_POST['gr_10']}' ";
|
||||
if (isset($_POST['gr_use_access']))
|
||||
if (isset($_POST['gr_use_access']))
|
||||
$sql_common .= ", gr_use_access = '{$_POST['gr_use_access']}' ";
|
||||
else
|
||||
$sql_common .= ", gr_use_access = '' ";
|
||||
|
||||
@ -55,7 +55,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">처음</a>';
|
||||
$g5['title'] = '게시판그룹설정';
|
||||
include_once('./admin.head.php');
|
||||
|
||||
$colspan = 11;
|
||||
$colspan = 10;
|
||||
?>
|
||||
|
||||
<div class="local_ov01 local_ov">
|
||||
@ -105,7 +105,6 @@ $colspan = 11;
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">접근<br>사용</th>
|
||||
<th scope="col">접근<br>회원수</th>
|
||||
<th scope="col">메뉴<br>보임</th>
|
||||
<th scope="col"><?php echo subject_sort_link('gr_order') ?>출력<br>순서</a></th>
|
||||
<th scope="col">접속기기</th>
|
||||
<th scope="col">관리</th>
|
||||
@ -153,10 +152,6 @@ $colspan = 11;
|
||||
<input type="checkbox" name="gr_use_access[<?php echo $i ?>]" <?php echo $row['gr_use_access']?'checked':'' ?> value="1" id="gr_use_access_<?php echo $i ?>">
|
||||
</td>
|
||||
<td class="td_numsmall"><a href="./boardgroupmember_list.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo $row1['cnt'] ?></a></td>
|
||||
<td class="td_chk">
|
||||
<label for="gr_show_menu_<?php echo $i; ?>" class="sound_only">메인메뉴에 보이기</label>
|
||||
<input type="checkbox" name="gr_show_menu[<?php echo $i ?>]" <?php echo $row['gr_show_menu']?'checked':'' ?> value="1" id="gr_show_menu_<?php echo $i ?>">
|
||||
</td>
|
||||
<td class="td_chk">
|
||||
<label for="gr_order_<?php echo $i; ?>" class="sound_only">메인메뉴 출력순서</label>
|
||||
<input type="text" name="gr_order[<?php echo $i ?>]" value="<?php echo $row['gr_order'] ?>" id="gr_order_<?php echo $i ?>" class="frm_input" size="2">
|
||||
|
||||
@ -17,14 +17,13 @@ for ($i=0; $i<$count; $i++)
|
||||
{
|
||||
$k = $_POST['chk'][$i];
|
||||
$gr_id = $_POST['group_id'][$k];
|
||||
|
||||
|
||||
if($_POST['act_button'] == '선택수정') {
|
||||
$sql = " update {$g5['group_table']}
|
||||
set gr_subject = '{$_POST['gr_subject'][$k]}',
|
||||
gr_device = '{$_POST['gr_device'][$k]}',
|
||||
gr_admin = '{$_POST['gr_admin'][$k]}',
|
||||
gr_use_access = '{$_POST['gr_use_access'][$k]}',
|
||||
gr_show_menu = '{$_POST['gr_show_menu'][$k]}',
|
||||
gr_order = '{$_POST['gr_order'][$k]}'
|
||||
where gr_id = '{$gr_id}' ";
|
||||
if ($is_admin != 'super')
|
||||
|
||||
@ -134,6 +134,15 @@ if(!isset($config['cf_sms_use'])) {
|
||||
ADD `cf_icode_server_port` varchar(255) NOT NULL DEFAULT '' AFTER `cf_icode_server_ip` ", 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);
|
||||
}
|
||||
|
||||
if(!$config['cf_faq_skin']) $config['cf_faq_skin'] = "basic";
|
||||
if(!$config['cf_mobile_faq_skin']) $config['cf_mobile_faq_skin'] = "basic";
|
||||
|
||||
$g5['title'] = '환경설정';
|
||||
include_once ('./admin.head.php');
|
||||
|
||||
@ -360,6 +369,32 @@ if ($config['cf_icode_id'] && $config['cf_icode_pw']) {
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_faq_skin">FAQ 스킨<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<select name="cf_faq_skin" id="cf_faq_skin" required class="required">
|
||||
<?php
|
||||
$arr = get_skin_dir('faq');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
if ($i == 0) echo "<option value=\"\">선택</option>";
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_faq_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<th scope="row"><label for="cf_mobile_faq_skin">모바일 FAQ 스킨<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<select name="cf_mobile_faq_skin" id="cf_mobile_faq_skin" required class="required">
|
||||
<?php
|
||||
$arr = get_skin_dir('faq', G5_MOBILE_PATH.'/'.G5_SKIN_DIR);
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
if ($i == 0) echo "<option value=\"\">선택</option>";
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_faq_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_editor">에디터 선택</label></th>
|
||||
<td colspan="3">
|
||||
|
||||
@ -39,6 +39,7 @@ $sql = " update {$g5['config_table']}
|
||||
cf_new_rows = '{$_POST['cf_new_rows']}',
|
||||
cf_search_skin = '{$_POST['cf_search_skin']}',
|
||||
cf_connect_skin = '{$_POST['cf_connect_skin']}',
|
||||
cf_faq_skin = '{$_POST['cf_faq_skin']}',
|
||||
cf_read_point = '{$_POST['cf_read_point']}',
|
||||
cf_write_point = '{$_POST['cf_write_point']}',
|
||||
cf_comment_point = '{$_POST['cf_comment_point']}',
|
||||
@ -107,6 +108,7 @@ $sql = " update {$g5['config_table']}
|
||||
cf_mobile_new_skin = '{$_POST['cf_mobile_new_skin']}',
|
||||
cf_mobile_search_skin = '{$_POST['cf_mobile_search_skin']}',
|
||||
cf_mobile_connect_skin = '{$_POST['cf_mobile_connect_skin']}',
|
||||
cf_mobile_faq_skin = '{$_POST['cf_mobile_faq_skin']}',
|
||||
cf_mobile_member_skin = '{$_POST['cf_mobile_member_skin']}',
|
||||
cf_captcha_mp3 = '{$_POST['cf_captcha_mp3']}',
|
||||
cf_editor = '{$_POST['cf_editor']}',
|
||||
|
||||
806
adm/css/admin.css
Normal file
806
adm/css/admin.css
Normal file
@ -0,0 +1,806 @@
|
||||
@charset "utf-8";
|
||||
/* SIR 지운아빠 */
|
||||
|
||||
/* 초기화 */
|
||||
html {overflow-y:scroll}
|
||||
body {margin:0;padding:0;background:#fff;color:#000;font-size:0.75em;font-family:dotum}
|
||||
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
|
||||
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 {font-family:dotum;font-size:1em}
|
||||
|
||||
input {margin:0;padding:0;border-radius:0;font-family:dotum}
|
||||
input[type=text], input[type=password], input[type=submit], input[type=image] {-webkit-appearance:none}
|
||||
button {border-radius:0;font-size:1em;font-family:dotum;-webkit-appearance:none;cursor:pointer}
|
||||
p {margin:0;padding:0 0 10px;line-height:1.7em;word-break:break-all}
|
||||
hr {display:none}
|
||||
pre {overflow-x:scroll;font-size:1.1em}
|
||||
a {color:#000;text-decoration:none}
|
||||
a:focus, a:hover, a:active {text-decoration:underline}
|
||||
|
||||
/* 헤딩 */
|
||||
h1 {margin:0 0 10px;padding:0 20px 10px;min-width:960px;border-bottom:1px solid #e9e9e9;color:#333;font-size:1.5em;font-family:dotum;letter-spacing:-0.1em}
|
||||
h2 {margin:0 0 10px;padding:0 20px;font-size:1.2em}
|
||||
h2.h2_frm {padding-top:15px}
|
||||
h3 {margin:0 20px}
|
||||
|
||||
/* 레이아웃 */
|
||||
#hd {z-index:10;min-width:1000px;background:url('../img/hd_bg.jpg') #383b3f repeat-x}
|
||||
#hd h1, #hd h2 {position:absolute;border:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#hd_wrap {z-index:11;position:relative;margin:0 auto}
|
||||
#logo {position:relative;height:70px}
|
||||
#logo img {position:absolute;top:19px;left:20px}
|
||||
|
||||
#tnb {z-index:2;position:absolute;top:27px;right:20px;zoom:1}
|
||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#tnb {float:right;margin:0;padding:0;zoom:1}
|
||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#tnb li {float:left;margin:0 0 0 10px;padding:0 10px 0 0;border-right:1px solid #444}
|
||||
#tnb #tnb_logout {border-right:0;padding:0}
|
||||
#tnb a {display:inline-block;color:#bbb;text-decoration:none;letter-spacing:-0.1em}
|
||||
#tnb a:focus, #tnb a:hover {color:#fff}
|
||||
#tnb #tnb_logout a {color:#ff3061}
|
||||
#tnb span {position:absolute;bottom:10px;left:0;width:100%;text-align:center}
|
||||
|
||||
/* gnb js off */
|
||||
#gnb {position:relative;z-index:12;min-width:999px;background:#383a3f}
|
||||
#gnb h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#gnb_1dul {position:relative;margin:0 20px;padding:0;zoom:1}
|
||||
#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1dli {z-index:13;position:relative;float:left;margin:0 0 0 -1px;border:1px solid #333;border-top:0;border-bottom:0}
|
||||
.gnb_1da {display:block;width:120px;height:34px;color:#fff;font-weight:bold;text-align:center;text-decoration:none;line-height:2.8em}
|
||||
.gnb_1da:focus, .gnb_1da:hover {text-decoration:none}
|
||||
.gnb_1dli_air .gnb_1da {background:#fff;color:#000}
|
||||
.gnb_1dli_on .gnb_1da {background:#282828;color:#fff}
|
||||
.gnb_2dul {display:none;position:absolute;top:34px;width:180px;border:1px solid #999;border-top:0;background:#fff}
|
||||
.gnb_2da {display:block;padding:8px 10px;background:#fff;color:#000;text-decoration:none}
|
||||
.gnb_grp_style {background:#f7f7f7 !important}
|
||||
.gnb_2da:focus, .gnb_2da:hover {background:#484848 !important;color:#fff !important;text-decoration:none}
|
||||
.gnb_1dli_air .gnb_2da {background:#fff;color:#000}
|
||||
.gnb_1dli_on .gnb_2da {background:#fff;color:#000}
|
||||
.gnb_1dli_over .gnb_2dul {display:block;left:-1px}
|
||||
.gnb_1dli_over2 .gnb_2dul {display:block;right:-1px}
|
||||
|
||||
.gnb_grp_div {border-top:1px solid #eee}
|
||||
|
||||
|
||||
#lnb {margin:0;padding:15px;min-width:970px;border-bottom:1px solid #e9e9e9;list-style:none;zoom:1}
|
||||
|
||||
#lnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#lnb li {float:left}
|
||||
#lnb a {display:inline-block;margin:0 0 0 10px;padding:0 10px 0 0;border-right:1px solid #ccc;font-size:0.95em;letter-spacing:-0.1em}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {z-index:5;margin:20px 0;min-width:1000px;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
|
||||
#container {z-index:4;position:relative}
|
||||
|
||||
/* 텍스트 크기 조절 */
|
||||
#text_size {position:absolute;top:-6px;right:20px}
|
||||
#text_size button {margin:0;padding:0;border:0;background:transparent;cursor:pointer}
|
||||
.ts_up {font-size:1.167em !important}
|
||||
.ts_up2 {font-size:1.3em !important}
|
||||
|
||||
/* 화면낭독기 사용자용 */
|
||||
#hd_login_msg {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden}
|
||||
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;width:1px !important;height:1px !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
|
||||
/* 본문 바로가기 */
|
||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#to_content a:focus, #to_content a:active {width:100%;height:70px;background:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.1em}
|
||||
|
||||
/* 캡챠 자동등록(입력)방지 기본 */
|
||||
#captcha img {border:1px solid #ddd;border-right:0}
|
||||
#captcha_mp3 img {border:1px solid #ddd;border-left:0;background:#494949}
|
||||
|
||||
/* ckeditor 단축키 */
|
||||
.cke_sc {margin:0 0 5px;text-align:right}
|
||||
.btn_cke_sc{display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:1.9em;vertical-align:middle}
|
||||
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
|
||||
.cke_sc_def dl{margin:0 0 5px;text-align:left;zoom:1}
|
||||
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
|
||||
.cke_sc_def dt {width:20%;font-weight:bold}
|
||||
.cke_sc_def dd {width:30%}
|
||||
|
||||
/* 공통박스 */
|
||||
.compare_wrap {margin:0 20px 10px;zoom:1}
|
||||
.compare_wrap:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.compare_wrap section {margin:10px 0;padding:2%;background:#f2f5f9}
|
||||
.compare_wrap h3 {margin:10px 0 20px;text-align:center}
|
||||
.compare_wrap .tbl_frm {margin:0}
|
||||
.compare_wrap .frm_input, .compare_wrap .required {background-color:#fff !important}
|
||||
.compare_wrap .btn_confirm {padding:10px 0 0}
|
||||
.compare_left {float:left;width:45%}
|
||||
.compare_right {float:right;width:45%}
|
||||
|
||||
/* 버튼 */
|
||||
.btn_confirm {margin:0 20px 10px}
|
||||
|
||||
.btn_confirm01 {clear:both;text-align:center}
|
||||
.btn_confirm01 button {padding:0 15px;height:30px;border:0;background:#617d46;color:#fff;line-height:2.2em;vertical-align:middle;cursor:pointer}
|
||||
.btn_confirm01 a {display:inline-block;padding:0 15px;height:30px;background:#617d46;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
|
||||
.btn_confirm01 a:focus {background:#555}
|
||||
|
||||
.btn_confirm02 {clear:both;margin-top:10px;text-align:center}
|
||||
.btn_confirm02 button {padding:0 15px;height:30px;border:0;background:#617d46;color:#fff;line-height:2.2em;vertical-align:middle;cursor:pointer}
|
||||
.btn_confirm02 a {display:inline-block;padding:0 15px;height:30px;background:#617d46;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
|
||||
.btn_confirm02 a:focus {background:#555}
|
||||
|
||||
|
||||
.btn_confirm03 {clear:both;margin-top:10px;text-align:right}
|
||||
|
||||
|
||||
.btn_submit {background:#ff3061;cursor:pointer}
|
||||
.btn_confirm .btn_submit {padding:0 15px;border:0;height:30px;color:#fff}
|
||||
.btn_cancel {display:inline-block;padding:0 15px;height:30px;border:0;background:#617d46;color:#fff;text-decoration:none}
|
||||
a.btn_cancel {line-height:2.5em;vertical-align:middle}
|
||||
.btn_frmline {display:inline-block;padding:0 7px;height:24px;border:0;background:#444;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:middle;line-height:2em} /* 우편번호검색버튼 등 */
|
||||
.btn_frmline:focus, .btn_frmline:hover, .btn_frmline:active {text-decoration:none}
|
||||
|
||||
.btn_win {margin:0 20px 10px} /* 새창용 */
|
||||
|
||||
.btn_win01 {clear:both;text-align:center}
|
||||
.btn_win01 a, .btn_win01 button {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;cursor:pointer}
|
||||
.btn_win01 a:focus, .btn_win01 a:hover {text-decoration:none}
|
||||
|
||||
.btn_list {margin:0 20px 10px} /* 목록용 */
|
||||
|
||||
.btn_list01 {}
|
||||
.btn_list01 input, .btn_list01 button, .btn_list01 a {display:inline-block;padding:10px;border:1px solid #ccc;background:#fafafa;text-decoration:none;cursor:pointer}
|
||||
.btn_list01 a:focus {background:#555}
|
||||
|
||||
.btn_list02 {}
|
||||
.btn_list02 input, .btn_list02 button, .btn_list02 a {display:inline-block;padding:5px 10px;border:1px solid #ccc;background:#fafafa;text-decoration:none;cursor:pointer}
|
||||
.btn_list02 a:focus {background:#555}
|
||||
|
||||
.btn_list03 {text-align:right}
|
||||
.btn_list03 a {display:inline-block;padding:0 15px;height:28px;background:#617d46;color:#fff;text-decoration:none;line-height:2.4em;vertical-align:middle}
|
||||
.btn_list03 a:focus {background:#555}
|
||||
|
||||
.btn_add {margin:0 20px 10px} /* 목록용 추가 */
|
||||
|
||||
|
||||
.btn_add01 {text-align:right}
|
||||
.btn_add01 a, .btn_add01 button {padding:10px;border:1px solid #ccc;background:#f0f0f0;text-decoration:none;cursor:pointer}
|
||||
.btn_add01 a {display:inline-block;vertical-align:middle}
|
||||
.btn_add01 button {margin:0}
|
||||
|
||||
/* 필수입력 */
|
||||
.required {background:url('../../img/wrest.gif') #f6f9fa top right no-repeat !important}
|
||||
|
||||
/* 외부서비스 사이트코드 */
|
||||
.sitecode {display:inline-block;font:bold 15px 'Verdana';vertical-align:middle}
|
||||
|
||||
/* 폼 */
|
||||
textarea, .frm_input {border:1px solid #ced9de;background:#f6f9fa;vertical-align:middle}
|
||||
textarea {padding:2px;width:90%}
|
||||
.frm_input {height:22px;line-height:1.8em}
|
||||
select {border:1px solid #ced9de}
|
||||
legend {position:absolute;width:0;height:0;font-size:0;line-height:0;text-indent:-9999em;border:0;overflow:hidden}
|
||||
|
||||
.readonly {}
|
||||
|
||||
/* 폼 안내글 */
|
||||
.frm_info {display:block;padding:0 0 5px;color:#5b747e}
|
||||
|
||||
/* 목록 바로가기 */
|
||||
.anchor {margin:0 20px 10px 21px;padding:0;zoom:1}
|
||||
.anchor:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.anchor li {float:left;margin-left:-1px;list-style:none}
|
||||
.anchor a {display:inline-block;padding:5px 10px;border:1px solid #c8ced1;background:#d6dde1;text-decoration:none}
|
||||
.anchor a:focus, .anchor a:hover {background:#c8d2d8}
|
||||
|
||||
|
||||
#sort_mb {width:800px}
|
||||
|
||||
#sort_sodr {width:600px}
|
||||
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {margin:20px 0;padding:10px 20px;min-width:960px;border-top:1px solid #d0d6d8}
|
||||
|
||||
/* 페이지 내 검색 */
|
||||
|
||||
.local_sch {min-width:960px}
|
||||
|
||||
.local_sch .btn_submit {padding:0 5px;height:24px;border:0;color:#fff;font-size:0.95em;vertical-align:middle;cursor:pointer}
|
||||
|
||||
|
||||
.local_sch01 {margin:0 0 10px;padding:0 20px 10px;border-bottom:1px solid #e9e9e9}
|
||||
.local_sch01 span {display:block;margin:0 0 5px}
|
||||
|
||||
.local_sch02 {margin:0 0 10px;padding:0 20px 5px;border-bottom:1px solid #e9e9e9}
|
||||
.local_sch02 div {padding:0 0 5px;margin:0 0 5px;border-bottom:1px solid #f4f4f4}
|
||||
.local_sch02 div.sch_last {margin:0;border:0}
|
||||
.local_sch02 strong {display:inline-block;width:80px}
|
||||
.local_sch02 strong.sch_long {width:160px}
|
||||
.local_sch02 label {display:inline-block;margin:0 5px 0 0}
|
||||
.local_sch02 button {margin:0;padding:3px 5px;border:1px solid #ced9de;background:#f6f9fa;font-size:0.95em;cursor:pointer}
|
||||
|
||||
/* 페이지 내 실행 */
|
||||
.local_cmd {min-width:960px}
|
||||
|
||||
.local_cmd01 {margin:0 0 10px;padding:0 20px}
|
||||
.local_cmd01 .cmd_tit {font-weight:bold}
|
||||
.local_cmd01 .btn_submit {padding:3px 5px;border:1px solid #ff3061;color:#fff;font-size:0.95em;vertical-align:middle}
|
||||
|
||||
/* 페이지 내 안내문 */
|
||||
.local_desc {}
|
||||
.local_desc ol, .local_desc ul {margin:0;padding:0 0 10px 21px}
|
||||
.local_desc li {margin:0 0 5px}
|
||||
|
||||
.local_desc01 {margin:0 20px 10px;padding:10px 20px 0;min-width:920px;border:1px solid #f2f2f2;background:#f9f9f9}
|
||||
.local_desc01 strong {color:#ff3061}
|
||||
.local_desc01 a {text-decoration:underline}
|
||||
|
||||
.local_desc02 {margin:0 20px 10px;min-width:960px} /* 주로 온라인 서식 관련 안내 내용에 사용 */
|
||||
.local_desc02 p {padding:0}
|
||||
|
||||
/* 페이지 내 카운트 */
|
||||
.local_ov {min-width:960px}
|
||||
|
||||
.local_ov01 {position:relative;margin:-10px 0 10px;padding:10px 20px;border-bottom:1px solid #e9e9e9;background:#f2f5f9}
|
||||
.local_ov01 .ov_listall {display:inline-block;margin:0 5px 0 0;padding:0 10px 0 0;border-right:1px solid #ccc}
|
||||
.local_ov01 .ov_a {display:inline-block;margin:0 0 0 5px;padding:0 0 0 10px;border-left:1px solid #ccc;color:#ff3061}
|
||||
|
||||
|
||||
/* 테이블 */
|
||||
table {clear:both;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
table caption {height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
tbody td {border:1px solid #ececec}
|
||||
tfoot th, tfoot td {padding:10px 0;border:1px solid #c1d1d5;background:#d7e0e2}
|
||||
tfoot th {}
|
||||
tfoot td {font-weight:bold;text-align:center}
|
||||
|
||||
.tbl_wrap {margin:0 0 10px;padding:0 20px}
|
||||
|
||||
/* thead 한 줄 테이블 */
|
||||
.tbl_head01 {}
|
||||
.tbl_head01 table {clear:both;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.tbl_head01 thead th, .tbl_head01 tbody th {padding:10px 0;border:1px solid #d1dee2;background:#e5ecef;color:#383838;letter-spacing:-0.1em}
|
||||
.tbl_head01 thead th {font-size:0.95em}
|
||||
.tbl_head01 thead input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
.tbl_head01 thead a {color:#383838;text-decoration:underline}
|
||||
.tbl_head01 tbody th {}
|
||||
.tbl_head01 tbody td {padding:10px 5px;line-height:1.4em;word-break:break-all}
|
||||
|
||||
/* thead 두 줄 테이블 */
|
||||
.tbl_head02 {}
|
||||
.tbl_head02 table {clear:both;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.tbl_head02 thead th, .tbl_head02 tbody th {padding:5px 0;border:1px solid #d1dee2;background:#e5ecef;color:#383838;letter-spacing:-0.1em}
|
||||
.tbl_head02 thead th {font-size:0.95em}
|
||||
.tbl_head02 thead input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
.tbl_head02 thead a {color:#383838;text-decoration:underline}
|
||||
.tbl_head02 tbody th {}
|
||||
.tbl_head02 tbody td {padding:7px 5px;line-height:1.4em;word-break:break-all}
|
||||
|
||||
/* UL */
|
||||
.ul_wrap {}
|
||||
|
||||
.ul_01 ul {margin:0;padding:0;list-style:none}
|
||||
.ul_01 li {padding:10px 0;border-bottom:1px solid #e9e9e9}
|
||||
|
||||
/* 자료 없는 목록 */
|
||||
.empty_table {padding:100px 0 !important;text-align:center}
|
||||
.empty_list {padding:20px 0 !important;text-align:center}
|
||||
|
||||
/* 폼 테이블 */
|
||||
.tbl_frm01 th {padding:0;border-top:1px solid #ececec;border-bottom:1px solid #ececec;text-align:left}
|
||||
.tbl_frm01 td {padding:10px 5px;border-right:0;border-left:0}
|
||||
.tbl_frm01 textarea {height:150px}
|
||||
.tbl_frm01 #captcha {margin:0;padding:0;border:0;background:transparent}
|
||||
.tbl_frm01 #captcha input {margin-left:5px;text-align:center}
|
||||
|
||||
/* 자료 없는 목록 */
|
||||
.empty_table {padding:100px 0 !important;text-align:center}
|
||||
.empty_list {padding:20px 0 !important;text-align:center}
|
||||
|
||||
/* 테이블 그리드 */
|
||||
.grid_1 {width:50px}
|
||||
.grid_2 {width:100px}
|
||||
.grid_3 {width:150px}
|
||||
.grid_4 {width:200px}
|
||||
.grid_5 {width:250px}
|
||||
.grid_6 {width:300px}
|
||||
.grid_7 {width:350px}
|
||||
.grid_8 {width:400px}
|
||||
.grid_9 {width:450px}
|
||||
.grid_10 {width:500px}
|
||||
.grid_11 {width:550px}
|
||||
.grid_12 {width:600px}
|
||||
.grid_13 {width:650px}
|
||||
.grid_14 {width:700px}
|
||||
.grid_15 {width:750px}
|
||||
.grid_16 {width:800px}
|
||||
.grid_17 {width:850px}
|
||||
.grid_18 {width:900px}
|
||||
|
||||
/* 목록 홀짝 배경색 */
|
||||
.bg0 {background:#fff}
|
||||
.bg1 {background:#f2f5f9}
|
||||
.bg1 td {border-color:#e9e9e9}
|
||||
.bg0cancel {background:#fdebf3}
|
||||
.bg0cancel td {border-color:#f9d8e6}
|
||||
.bg1cancel {background:#fdebf3}
|
||||
.bg1cancel td {border-color:#f9d8e6}
|
||||
|
||||
/* 회원관리 목록 */
|
||||
.mb_leave_msg {color:#b6b6b6}
|
||||
.mb_intercept_msg {color:#f59fe4}
|
||||
#point_mng {margin-top:50px}
|
||||
|
||||
/* 게시판관리 목록 */
|
||||
#fboardlist .bo_subject {width:90%}
|
||||
|
||||
/* 게시판추가/수정 */
|
||||
#anc_bo_extra .td_grpset label {width:auto}
|
||||
#anc_bo_extra .td_grpset input {margin:0}
|
||||
#anc_bo_extra label {display:inline-block;width:100px}
|
||||
#anc_bo_extra input {margin-right:10px}
|
||||
|
||||
/* 접속자집계 목록 */
|
||||
.tbl_visit_list td {text-align:center}
|
||||
.visit_bar {position:relative}
|
||||
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#ddd}
|
||||
|
||||
/* 추가배송비 관리 */
|
||||
#sendcost_postal {margin-top:50px}
|
||||
#sendcost_postal_win {}
|
||||
#sendcost_postal_win fieldset {text-align:center}
|
||||
#sendcost_postal_win ul {margin:10px auto;padding:5px 10px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff;list-style:none}
|
||||
#sendcost_postal_win li {position:relative;padding:8px 0 6px;border-bottom:1px solid #eee}
|
||||
#sendcost_postal_win button {position:absolute;top:4px;right:0}
|
||||
|
||||
/* 공통 */
|
||||
.td_addr {text-align:left !important}
|
||||
.td_alignc {text-align:center}
|
||||
.td_amount {width:70px;text-align:center}
|
||||
.td_auth {width:100px;text-align:center}
|
||||
.td_auth_mbnick {width:200px}
|
||||
.td_boolean {width:50px;text-align:center}
|
||||
.td_category {width:120px;text-align:center}
|
||||
.td_categorysmall {width:60px;text-align:center}
|
||||
.td_chk {width:30px;text-align:center}
|
||||
.td_cnt {width:100px;font-size:0.95em;text-align:center}
|
||||
.td_cntsmall {width:50px;font-size:0.95em;text-align:center}
|
||||
.td_code {width:120px;text-align:center}
|
||||
.td_confirm {width:90px;text-align:center}
|
||||
.td_date {width:70px;text-align:center}
|
||||
.td_datetime {width:130px;text-align:center}
|
||||
.td_delicom {width:100px}
|
||||
.td_delino {width:130px}
|
||||
.td_device {width:70px;text-align:center}
|
||||
.td_etc {width:80px;text-align:center}
|
||||
.td_extra label {display:inline-block;width:100px}
|
||||
.td_extra input {margin-right:5px;width:130px}
|
||||
.td_grid {width:60px;text-align:center}
|
||||
td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
|
||||
.td_id {width:150px}
|
||||
.td_idsmall {width:75px}
|
||||
.td_itname {text-align:left !important}
|
||||
.td_itopt {width:200px}
|
||||
.td_itopt_tl {text-align:left !important}
|
||||
.td_img {text-align:center}
|
||||
.td_imgline {width:70px;text-align:center}
|
||||
.td_input input {width:94%}
|
||||
.td_mbcert {text-align:center}
|
||||
.td_mbid, .td_name, .td_mbname {width:100px;text-align:left !important}
|
||||
.td_mbstat {text-align:center}
|
||||
.td_mng {width:100px;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
|
||||
.td_mngsmall {width:60px;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
|
||||
.td_mng .mng_mod, .td_mngsmall .mng_mod {}
|
||||
.td_mng .mng_del, .td_mngsmall .mng_del {}
|
||||
.td_num {width:60px;text-align:center}
|
||||
.td_numbig {width:100px;text-align:center}
|
||||
.td_numcancel0 {color:#999;text-align:center}
|
||||
.td_numcancel1 {color:#ff3061;font-weight:bold;text-align:center}
|
||||
.td_numcoupon {color:#86b325;text-align:center}
|
||||
.td_numincome {color:#357dbb;text-align:center}
|
||||
.td_numsmall {width:30px;text-align:center}
|
||||
.td_numsum {font-weight:bold;text-align:center}
|
||||
.td_numrdy {color:#ff3061;text-align:center}
|
||||
.td_odrnum {width:250px;text-align:center}
|
||||
.td_odrnum2 {width:140px;text-align:center}
|
||||
.td_odrnum3 {width:110px;text-align:center}
|
||||
.td_odrstatus {width:70px;letter-spacing:-0.1em;text-align:center}
|
||||
.td_output {width:90px;text-align:center}
|
||||
.td_payby {width:70px;text-align:center;letter-spacing:-0.1em}
|
||||
.td_paybybig {width:140px;text-align:center;letter-spacing:-0.1em}
|
||||
.td_possible {width:70px;text-align:center}
|
||||
.td_postal {width:60px;text-align:center}
|
||||
.td_postalbig {width:140px;text-align:center}
|
||||
.td_price {text-align:right}
|
||||
.td_pt {text-align:right !important}
|
||||
.td_send {width:50px;text-align:center}
|
||||
.td_sendcost_by {width:50px;text-align:center}
|
||||
.td_sendcost_add {width:100px;text-align:center}
|
||||
.td_stat {width:70px;text-align:center}
|
||||
.td_tdiv {border-bottom:1px solid #c9c9c9 !important}
|
||||
.td_tel {width:80px;text-align:center}
|
||||
.td_telbig {width:100px;text-align:center}
|
||||
.td_test {width:50px;text-align:center}
|
||||
|
||||
.txt_true {color:#e8180c}
|
||||
.txt_false {color:#ccc}
|
||||
|
||||
.banner_or_img {margin:10px 0 0}
|
||||
.banner_or_img button {display:block;margin:5px 0 0}
|
||||
.txt_active {color:#5d910b}
|
||||
.txt_expired {color:#ccc}
|
||||
|
||||
/* 환경설정 */
|
||||
.cf_cert_hide {display:none}
|
||||
|
||||
/* 관리권한설정 */
|
||||
#add_admin fieldset {margin-top:20px}
|
||||
|
||||
/* 메일 테스트 */
|
||||
|
||||
#fsendmailtest {margin:50px 0;text-align:center}
|
||||
#fsendmailtest .btn_submit {padding:3px 5px;border:1px solid #ff3061;color:#fff;font-size:0.95em;vertical-align:middle}
|
||||
|
||||
/* ########## 쇼핑몰 사용시 적용 ########## */
|
||||
.sidx {padding:20px 0 30px;zoom:1}
|
||||
.sidx:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.sidx_anchor {position:absolute;margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
/* idx 쇼핑몰 */
|
||||
#anc_sidx_ord {float:left;width:66%}
|
||||
#sidx_graph {position:relative}
|
||||
#sidx_graph_price {position:absolute;top:10px;left:20px;margin:0;padding:0;width:12%;list-style:none}
|
||||
#sidx_graph_price li {position:relative;padding:0 10% 0 0;height:48px;font-family:tahoma;text-align:right}
|
||||
#sidx_graph_price li span {position:absolute;top:7px;right:-10%;width:10px;height:1px;background:#e9e9e9}
|
||||
#sidx_graph_area {position:absolute;top:0;left:15%;margin:0;padding:0;width:85%;height:260px;border:1px solid #e9e9e9;list-style:none}
|
||||
#sidx_graph_area li {position:relative;float:left;padding:0 1% 0 0;width:13%;height:100%}
|
||||
#sidx_graph_area .graph {position:absolute;bottom:0;width:40%;height:0}
|
||||
#sidx_graph_area .order {background:#a0ca30;left:7%}
|
||||
#sidx_graph_area .cancel {background:#ff8db6;right:7%}
|
||||
#sidx_graph_area #price_tooltip {display:none;position:absolute;top:-18px;left:0;background-color:#fff;border:1px solid gray}
|
||||
#sidx_graph_area #price_tooltip div {white-space:nowrap}
|
||||
#sidx_graph_date {position:absolute;top:275px;left:15%;margin:0;padding:0;width:85%;border:1px solid #fff;list-style:none}
|
||||
#sidx_graph_date li {position:relative;float:left;width:14%;font-family:tahoma;text-align:center}
|
||||
#sidx_graph_date li span {position:absolute;top:-19px;right:0;width:1px;height:10px;background:#e9e9e9}
|
||||
#sidx_graph_legend {position:absolute;top:-25px;left:15%}
|
||||
#sidx_graph_legend span {display:inline-block;width:13px;height:13px;vertical-align:middle}
|
||||
#sidx_graph_legend #legend_order {background:#a0ca30}
|
||||
#sidx_graph_legend #legend_cancel {margin:0 0 0 10px;background:#ff8db6}
|
||||
|
||||
#anc_sidx_settle {margin:0 0 30px;padding:30px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
|
||||
#anc_sidx_settle table {text-align:center}
|
||||
|
||||
#sidx_stat {float:right;width:32%}
|
||||
#sidx_stat h2 {padding:0 20px 0 0}
|
||||
#sidx_stat .tbl_wrap {padding:0 20px 0 0}
|
||||
|
||||
/* idx 1:1문의/상품문의/사용후기 */
|
||||
.sidx_cs {}
|
||||
.sidx_cs section {float:left;margin:0 2% 0 0;width:32%}
|
||||
.sidx_cs #anc_sidx_ps {margin:0}
|
||||
.sidx_cs h2 {padding:0}
|
||||
.sidx_cs .ul_wrap {margin:0 0 20px}
|
||||
.sidx_cs .btn_list03 {margin:0}
|
||||
.sidx_cs #anc_sidx_oneq h2 {padding:0 0 0 20px}
|
||||
.sidx_cs #anc_sidx_oneq .ul_wrap {padding:0 0 0 20px}
|
||||
.sidx_cs #anc_sidx_ps h2 {padding:0 20px 0 0}
|
||||
.sidx_cs #anc_sidx_ps .ul_wrap {padding:0 20px 0 0}
|
||||
.sidx_cs #anc_sidx_ps .btn_list03 {margin:0 20px 0 0}
|
||||
|
||||
.sidx_cs #anc_sidx_oneq .oneq_cate {font-weight:bold}
|
||||
.sidx_cs #anc_sidx_oneq .oneq_link {display:block;margin:5px 0}
|
||||
|
||||
.sidx_cs #anc_sidx_qna .qna_link {display:block;margin:5px 0}
|
||||
|
||||
.sidx_cs #anc_sidx_ps .ps_link {display:block;margin:5px 0}
|
||||
|
||||
/* 쇼핑몰 설정 */
|
||||
#anc_scf_payment textarea {height:50px}
|
||||
|
||||
#scf_kcpreg {display:inline-block;margin:5px 0 0;padding:5px 10px;background:#ff4f91;color:#fff;font-weight:normal;text-decoration:none}
|
||||
|
||||
#scf_cardtest {margin:5px 0 0}
|
||||
#scf_cardtest_btn {margin-left:5px;vertical-align:middle}
|
||||
#scf_cardtest_tip {margin:10px 0 0;padding:10px;border:3px solid #ddd}
|
||||
#scf_cardtest_tip strong {display:inline-block;margin:0 0 5px}
|
||||
#scf_cardtest_tip dl {margin:0 0 15px;padding:0;zoom:1}
|
||||
#scf_cardtest_tip dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#scf_cardtest_tip dt {float:left;width:100px}
|
||||
#scf_cardtest_tip dd {padding:0;overflow:hidden}
|
||||
.scf_cardtest_tip {display:none}
|
||||
|
||||
.scf_img {display:none}
|
||||
|
||||
#scf_sms_pre h3 {padding:10px 0}
|
||||
#scf_sms_pre dl {margin:0 0 10px;zoom:1}
|
||||
#scf_sms_pre dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#scf_sms_pre dt {clear:both;float:left;padding:5px 0;width:100px}
|
||||
#scf_sms_pre dd {padding:5px 0;overflow:hidden}
|
||||
#scf_sms {margin:0 20px 30px;padding:20px 0 0;zoom:1}
|
||||
#scf_sms:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.scf_sms_box {float:left;margin:0 8px 0 9px;width:163px;text-align:center}
|
||||
.scf_sms_box h4 {margin:0 0 5px}
|
||||
.scf_sms_img {margin:10px 0;width:163px;height:191px;background:url('../shop_admin/img/sms_back.gif') no-repeat 0 0;text-align:center}
|
||||
.scf_sms_img textarea {margin:54px 0 0;width:115px;height:85px;border:0;background:transparent;font-size:0.95em;overflow:hidden}
|
||||
.scf_sms_img span {display:block}
|
||||
.scf_sms_cnt {display:block}
|
||||
|
||||
/* 주문내역 */
|
||||
#sodr_list td {text-align:center}
|
||||
#sodr_list .td_name {text-align:center !important}
|
||||
#orderitemlist {position:relative}
|
||||
#orderitemlist .itemlist {position:absolute;top:0;left:0}
|
||||
|
||||
#orderitemlist {position:relative}
|
||||
#orderitemlist .itemlist {z-index:2;position:absolute;top:0;left:-41px;width:958px;border:1px solid #a2a5a9;background:#f2f5f9}
|
||||
#orderitemlist td {background:#fff}
|
||||
#orderitemlist #orderitemlist_close {padding:0 20px 10px;text-align:right}
|
||||
|
||||
#sodr_list .list_escrow {display:block;color:#80bc0d;text-align:center}
|
||||
|
||||
/* 주문내역 수정 */
|
||||
.sodr_nonpay {color:#ff6600}
|
||||
strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
|
||||
.sodr_sppay {color:#1f9bff}
|
||||
#anc_sodr_memo textarea {width:98%}
|
||||
#anc_sodr_memo .btn_confirm {margin:10px 0 0}
|
||||
#anc_sodr_orderer #od_addr1, #anc_sodr_orderer #od_addr2, #anc_sodr_orderer #od_addr3 {margin:5px 0 0}
|
||||
#anc_sodr_taker #od_b_addr1, #anc_sodr_taker #od_b_addr2, #anc_sodr_taker #od_b_addr3 {margin:5px 0 0}
|
||||
#anc_sodr_orderer #od_addr_jibeon, #anc_sodr_taker #od_b_addr_jibeon {display:block;margin:5px 0 0}
|
||||
|
||||
#sodr_qty_log h3 {margin:20px 0 10px}
|
||||
#sodr_qty_log div {padding:10px;height:auto !important;height:200px;max-height:200px;border:1px solid #e9e9e9;background:#f5f6fa;line-height:1.8em;overflow-y:scroll}
|
||||
|
||||
#sodr_request_frm h3 {margin:20px 0 0}
|
||||
#sodr_request_item h3 {margin-bottom:10px}
|
||||
#sodr_request_frm #forderrequest {border-top:1px solid #e9e9e9}
|
||||
#sodr_request_log_wrap {padding:10px;height:auto !important;height:200px;max-height:200px;border:1px solid #e9e9e9;background:#f5f6fa;overflow-y:scroll}
|
||||
#sodr_request_log_wrap p {position:relative;padding:5px 0;border-bottom:1px solid #e9e9e9}
|
||||
#sodr_request_log_wrap span {display:inline-block;margin:0 0 0 80px}
|
||||
#sodr_request_log_wrap b {display:inline-block;margin:0 15px 0 0;font-weight:normal}
|
||||
#sodr_request_log_wrap button {position:absolute;top:7px;left:0;margin:0;padding:0;border:0;background:transparent;font-weight:bold}
|
||||
#sodr_request_handle h3 {margin-bottom:10px}
|
||||
|
||||
#anc_sodr_request h3 {margin:20px 0 10px}
|
||||
#sodr_request_list {padding:10px;height:auto !important;height:200px;max-height:200px;border:1px solid #e9e9e9;background:#f5f6fa;overflow-y:scroll}
|
||||
#sodr_request_list p {position:relative;padding:5px 0;border-bottom:1px solid #e9e9e9}
|
||||
|
||||
#anc_sodr_chk .dvr_link {color:#ff3061;text-decoration:underline}
|
||||
|
||||
/* 주문통합내역 */
|
||||
#sodr_sort {margin:0 20px 20px;padding:0;list-style:none;zoom:1}
|
||||
#sodr_sort:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sodr_sort li {float:left;margin:0 10px 0 0}
|
||||
#sodr_sort a {font-size:0.95em;text-decoration:underline;letter-spacing:-0.1em}
|
||||
#sodr_sort a.sort_on {color:#ff3061}
|
||||
|
||||
#sodr_all {margin:0 20px}
|
||||
#sodr_all h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#sodr_all .btn_list {margin:10px 0}
|
||||
|
||||
.sodr_all_list {clear:both;margin:0 0 50px;padding:0;list-style:none}
|
||||
|
||||
.sodr_all_list .sodr_basic {float:left;zoom:1}
|
||||
.sodr_all_list .sodr_basic:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sodr_all_list .sodr_basic dt {float:left;margin:0 10px 0 0}
|
||||
.sodr_all_list .sodr_basic dd {float:left;margin:0 30px 0 0}
|
||||
.sodr_all_list .sodr_basic strong a {color:#ff3061;text-decoration:underline}
|
||||
|
||||
.sodr_all_list .sodr_person {float:right;zoom:1}
|
||||
.sodr_all_list .sodr_person:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sodr_all_list .sodr_person dt {float:left;margin:0 0 0 30px}
|
||||
.sodr_all_list .sodr_person dd {float:left;margin:0 0 0 10px}
|
||||
|
||||
.sodr_all_list .sodr_pay {clear:both;margin:0;border-top:1px solid #d1dee2;zoom:1}
|
||||
.sodr_all_list .sodr_pay:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sodr_all_list .sodr_pay dt {float:left;padding:8px 0;width:15%}
|
||||
.sodr_all_list .sodr_pay dd {float:left;margin:0;padding:8px 0;width:35%}
|
||||
|
||||
#sodr_total table {text-align:center}
|
||||
#sodr_total th {width:125px}
|
||||
|
||||
/* 분류관리 목록 */
|
||||
|
||||
#sct .sct_name div {position:relative}
|
||||
#sct .sct_name .frm_input {width:98%}
|
||||
#sct .sct_name1 {padding-left:25px}
|
||||
#sct .sct_name2 {padding-left:50px}
|
||||
#sct .sct_name3 {padding-left:75px}
|
||||
#sct .sct_name4 {padding-left:100px}
|
||||
#sct .name_lbl {position:absolute;top:0;left:-20px;width:13px;height:13px;background:url('../adm/shop_admin/img/icon_reply.gif') 0 0 no-repeat}
|
||||
|
||||
/* 분류 추가/수정 */
|
||||
.frm_ca_id {display:inline-block;margin:0 10px 0 0;font-weight:bold}
|
||||
|
||||
/* 상품관리 */
|
||||
.sit_odrby {text-align:center}
|
||||
.sit_amt {text-align:right;background-color:#e8fbff !important}
|
||||
.sit_amt2 {text-align:right;border-color:#c3e189 !important;background-color:#f6ffe6 !important}
|
||||
.sit_amt3 {text-align:right;border-color:#f6c8c4 !important;background-color:#ffedeb !important}
|
||||
.sit_camt, .sit_pt, .sit_qty {text-align:right}
|
||||
.frm_sit_title {margin:5px 0 0}
|
||||
|
||||
/* 상품입력/수정 */
|
||||
#sit_compact {margin:0 20px;padding:15px 0;border:1px solid #e9e9e9;background:#f7f7f7;text-align:center}
|
||||
|
||||
.sit_w_opt {height:70px !important}
|
||||
.sit_wimg {display:none}
|
||||
.sit_relation_list {width:100%;background:#f6f6f6}
|
||||
.sit_relation_selected {width:100%;background:#fcfff2}
|
||||
#add_span img, #sel_span img {margin:5px 0}
|
||||
|
||||
.sit_option {margin:0 0 10px;padding:10px 10px 0;border:1px solid #e9e9e9;background:#f7f7f7}
|
||||
.sit_option .frm_input {background:#fff !important;color:#000}
|
||||
.sit_option_frm_wrapper {margin:0 0 10px;height:auto !important;height:500px;max-height:500px;border:1px solid #ccc;overflow-y:scroll}
|
||||
.sit_option_frm_wrapper th {padding:5px 0 !important;text-align:center !important}
|
||||
|
||||
#sit_option_frm .btn_list {margin:0 0 10px}
|
||||
#sit_option_frm fieldset {padding:10px;border:1px solid #e9e9e9;background:#f7f7f7;text-align:center}
|
||||
#sit_option_frm fieldset .frm_input {margin:0 10px 0 5px;background:#fff !important;color:#000}
|
||||
|
||||
#sit_option_addfrm_btn {position:relative}
|
||||
#sit_option_addfrm_btn button {position:absolute;top:-32px;right:0}
|
||||
|
||||
#sit_option_addfrm .btn_list {margin:0 0 10px}
|
||||
#sit_option_addfrm fieldset {padding:10px;border:1px solid #e9e9e9;background:#f7f7f7;text-align:center}
|
||||
#sit_option_addfrm fieldset .frm_input {margin:0 10px 0 5px;background:#fff !important;color:#000}
|
||||
|
||||
/* 상품 복사 */
|
||||
#sit_copy {margin:10px 20px 20px;background:#fff}
|
||||
#sit_copy label {display:inline-block;margin:0 10px 0 0;font-weight:bold}
|
||||
|
||||
/* 상품 일괄 등록 */
|
||||
#excelfile_upload {margin:10px auto 20px;padding:20px;width:86%;border:1px solid #e9e9e9;background:#fff}
|
||||
#excelfile_upload label {font-weight:bold}
|
||||
#excelfile_input {margin:0 0 20px;text-align:center}
|
||||
#excelfile_result {margin:0 20px 20px;border-bottom:1px solid #e9e9e9;zoom:1}
|
||||
#excelfile_result:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#excelfile_result dt {clear:both;float:left;padding:10px 0;width:40%;font-weight:bold}
|
||||
#excelfile_result dd {float:left;margin:0;padding:10px 0;width:60%}
|
||||
#excelfile_result .result_done {color:#5d910b}
|
||||
#excelfile_result .result_fail {color:#ff3061}
|
||||
|
||||
/* 상품옵션재고관리 */
|
||||
.sit_stock_qty_alert {color:#ff1133;font-weight:bold}
|
||||
|
||||
/* 배송일괄처리 */
|
||||
#sdeli_proc_fs {padding:20px 0;border-bottom:1px solid #f7f7f7;text-align:center}
|
||||
|
||||
/* 이벤트 입력/수정 */
|
||||
.frm_ev_id {display:inline-block;margin:0 10px 0 0;font-weight:bold}
|
||||
|
||||
/* 관련 상품, 관련 이벤트 입력/수정 */
|
||||
.srel section ul {margin:0;padding:10px;list-style:none}
|
||||
.srel section li {position:relative;border-bottom:1px solid #e9e9e9}
|
||||
.srel .srel_list {height:auto !important;height:200px;max-height:200px;border:1px solid #ced9de;background:#f6f6f6;overflow-y:scroll}
|
||||
.srel .srel_sel {border:1px solid #ced9de;background:#fcfff2}
|
||||
.srel .srel_list p, .srel .srel_sel p {padding:10px 0;text-align:center}
|
||||
.srel .compare_left ul {margin:0;list-style:none}
|
||||
.srel button {position:absolute;top:12px;right:0}
|
||||
.srel .srel_noneimg li {padding:7px 0}
|
||||
.srel .srel_noneimg button {top:0;right:0}
|
||||
.srel .srel_pad {display:block;height:30px}
|
||||
|
||||
/* 쿠폰관리 */
|
||||
.scp_new_win .empty_table {padding:30px 0}
|
||||
|
||||
#scp_list_find {margin:10px 20px;padding:20px;border:1px solid #e9e9e9;background:#fff}
|
||||
#scp_list_find .btn_frmline {line-height:1.5em !important}
|
||||
#scp_list_find label {font-weight:bold}
|
||||
|
||||
.scp_find_code {width:110px;text-align:center}
|
||||
.scp_find_select {width:50px;text-align:center}
|
||||
|
||||
.scp_target_select {width:50px;text-align:center}
|
||||
|
||||
/* 매출현황 */
|
||||
#ssale_stats {zoom:1}
|
||||
#ssale_stats:after {display:block;clear:both;visibility:hidden;content:''}
|
||||
#ssale_stats div {float:left;padding:2%;width:46%;border-bottom:1px solid #eee;text-align:center}
|
||||
#ssale_stats h3 {margin:30px 0 0;font-size:1.3em;text-align:center}
|
||||
#ssale_stats form {margin:20px 0 10px;padding:10px 0}
|
||||
#ssale_stats .frm_input {padding:0 10px !important;height:24px !important}
|
||||
|
||||
/* 주문내역출력 (새창) */
|
||||
.new_win .sodr_print_pop_list table {width:100%}
|
||||
|
||||
#sodr_print_pop h2 {padding:15px 0;color:#ff3600;text-align:right}
|
||||
#sodr_print_pop h3 {margin:0 0 10px}
|
||||
|
||||
.sodr_print_pop_list {margin:0 20px 10px;padding:0 0 10px;border-bottom:1px dotted #ddd}
|
||||
.sodr_print_pop_list .sodr_print_pop_same {margin:0 0 10px;border:1px solid #e9e9e9;background:#f7f7f7;text-align:center}
|
||||
.sodr_print_pop_list dl {margin:0 0 15px;padding:0;zoom:1}
|
||||
.sodr_print_pop_list dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sodr_print_pop_list dt {float:left;padding:7px 0 6px;width:100px;border-bottom:1px solid #ddd}
|
||||
.sodr_print_pop_list dd {padding:7px 0 6px;border-bottom:1px solid #ddd;overflow:hidden}
|
||||
|
||||
#sodr_print_pop_total {padding:20px 0;text-align:center}
|
||||
#sodr_print_pop_total span {display:block;margin:0 0 10px;font-size:1.5em}
|
||||
#sodr_print_pop_total strong {color:#ff3600}
|
||||
|
||||
/* 배너관리 */
|
||||
.sbn_img {text-align:center}
|
||||
.sbn_image {display:none;margin:0 0 10px;text-align:left}
|
||||
|
||||
/* SMS문자전송 */
|
||||
#sms_send {padding-bottom:100px;zoom:1}
|
||||
#sms_send:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
#sms_frm {float:left;width:650px}
|
||||
#sms_frm table {margin:0 0 30px}
|
||||
#sms_frm textarea {height:70px}
|
||||
|
||||
#sms_sm {position:relative;float:left;width:229px;height:418px;background:url('../shop_admin/img/mobilebg.jpg') no-repeat}
|
||||
#sms_sm_text {position:absolute;top:75px;left:27px;width:180px;color:#fff;font-size:2em;word-break:break-all}
|
||||
#sms_sm p {position:absolute;bottom:-70px;left:0;font-size:0.95em;letter-spacing:-0.1em}
|
||||
|
||||
#sms_send .local_desc01 {min-width:320px}
|
||||
|
||||
/* 가격비교사이트 */
|
||||
#anc_pricecompare_info li {margin:5px 0 5px -1px}
|
||||
|
||||
#anc_pricecompare_engine dt a {font-weight:bold}
|
||||
#anc_pricecompare_engine dd {margin:0 0 30px}
|
||||
#anc_pricecompare_engine li {margin:5px 0 5px -1px}
|
||||
|
||||
/* 새창 기본 스타일 */
|
||||
.new_win {}
|
||||
.new_win h1 {margin-bottom:20px;padding:0 20px;min-width:320px/* 적정값으로 변경하여 사용하세요. */;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em}
|
||||
.new_win h2 {margin:0 20px 10px}
|
||||
.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #515151;background:#484848;list-style:none;zoom:1}
|
||||
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.new_win_ul li {float:left;margin-left:-1px}
|
||||
|
||||
.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none}
|
||||
.new_win .anchor {margin:0 auto 5px;width:93%}
|
||||
.new_win .tbl_wrap {margin:0 20px 20px;padding:0}
|
||||
|
||||
.new_win .local_sch, .new_win .local_cmd, .new_win .local_desc01, .new_win .local_desc02, .new_win .local_ov {min-width:320px}
|
||||
|
||||
/* 자바스크립트 alert 대안 */
|
||||
#validation_check {margin:100px auto;width:500px}
|
||||
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
|
||||
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}
|
||||
|
||||
/* 관리자 비밀번호 확인 */
|
||||
#admin_confirm {padding:0 0 10px;background:#222;text-align:center}
|
||||
#admin_confirm p {margin:0 0 10px;color:#9ab9c5;background:#383a3f}
|
||||
#admin_confirm label {color:#fff}
|
||||
#admin_confirm .frm_input {border-color:#000}
|
||||
|
||||
/* 사이드뷰 */
|
||||
.sv_wrap {display:inline-block;position:relative;font-weight:normal;font-size:1em}
|
||||
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #383838}
|
||||
.sv_wrap .sv a {display:inline-block;margin:0;padding:3px;width:94px;border-bottom:1px solid #383838;background:#111;color:#fff;text-decoration:none}
|
||||
.sv_wrap .sv a:focus, .sv_wrap .sv a:hover {background:#393939}
|
||||
.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto}
|
||||
.sv_nojs .sv {display:block}
|
||||
|
||||
/* 페이징 */
|
||||
.pg_wrap {clear:both;margin:0 0 20px;padding:20px 0 0;text-align:center}
|
||||
.pg {}
|
||||
.pg_page, .pg_current {display:inline-block;padding:0 8px;height:25px;color:#000;letter-spacing:0;line-height:2.2em;vertical-align:middle}
|
||||
.pg a:focus, .pg a:hover {text-decoration:none}
|
||||
.pg_page {background:#e4eaec;text-decoration:none}
|
||||
.pg_start, .pg_prev {/* 이전 */}
|
||||
.pg_end, .pg_next {/* 다음 */}
|
||||
.pg_current {display:inline-block;margin:0 4px 0 0;background:#333;color:#fff;font-weight:normal}
|
||||
|
||||
/* 우편번호 검색 */
|
||||
#post_code p {margin:0 20px 10px}
|
||||
#post_code #code_sch {margin:0 20px}
|
||||
#post_code #code_sch .btn_submit {padding:2px 8px 1px;border:0;color:#fff}
|
||||
#post_code #result {margin:0 20px 20px}
|
||||
#post_code #result_b4 {display:block;padding:30px 0;border-bottom:1px solid #dde4e9;text-align:center}
|
||||
#post_code #result .result_msg {padding:15px 0}
|
||||
#post_code #result .result_fail {border:1px solid #dde4e9;background:#f0f5fc;color:#ff3061;text-align:center}
|
||||
#post_code #result ul {margin:0;padding:0;border-bottom:1px solid #dde4e9;background:#f0f5fc;list-style:none}
|
||||
#post_code #result li {padding:10px;border:1px solid #dde4e9;border-bottom:0}
|
||||
#post_code #result li div {margin:4px 0 0;color:#738D94}
|
||||
#post_code #result li div:before {content:"▶ "}
|
||||
@ -22,6 +22,13 @@ else
|
||||
$html_title .= ' 입력';
|
||||
}
|
||||
|
||||
// 모바일 상하단 내용 필드추가
|
||||
if(!sql_query(" select fm_mobile_head_html from {$g5['faq_master_table']} limit 1 ", false)) {
|
||||
sql_query(" ALTER TABLE `{$g5['faq_master_table']}`
|
||||
ADD `fm_mobile_head_html` text NOT NULL AFTER `fm_tail_html`,
|
||||
ADD `fm_mobile_tail_html` text NOT NULL AFTER `fm_mobile_head_html` ", true);
|
||||
}
|
||||
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
@ -37,6 +44,13 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="fm_order">출력순서</label></th>
|
||||
<td>
|
||||
<?php echo help('숫자가 작을수록 FAQ 분류에서 먼저 출력됩니다.'); ?>
|
||||
<input type="text" name="fm_order" value="<?php echo $fm['fm_order']; ?>" id="fm_order" class="frm_input" maxlength="10" size="10">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fm_subject">제목</label></th>
|
||||
<td>
|
||||
@ -107,6 +121,18 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
<?php echo editor_html('fm_tail_html', $fm['fm_tail_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일상단 내용</th>
|
||||
<td>
|
||||
<?php echo editor_html('fm_mobile_head_html', $fm['fm_mobile_head_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">모바일하단 내용</th>
|
||||
<td>
|
||||
<?php echo editor_html('fm_mobile_tail_html', $fm['fm_mobile_tail_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -123,6 +149,8 @@ function frmfaqmasterform_check(f)
|
||||
{
|
||||
<?php echo get_editor_js('fm_head_html'); ?>
|
||||
<?php echo get_editor_js('fm_tail_html'); ?>
|
||||
<?php echo get_editor_js('fm_mobile_head_html'); ?>
|
||||
<?php echo get_editor_js('fm_mobile_tail_html'); ?>
|
||||
}
|
||||
|
||||
// document.frmfaqmasterform.fm_subject.focus();
|
||||
|
||||
@ -18,7 +18,10 @@ if ($fm_timg_del) @unlink(G5_DATA_PATH."/faq/{$fm_id}_t");
|
||||
|
||||
$sql_common = " set fm_subject = '$fm_subject',
|
||||
fm_head_html = '$fm_head_html',
|
||||
fm_tail_html = '$fm_tail_html' ";
|
||||
fm_tail_html = '$fm_tail_html',
|
||||
fm_mobile_head_html = '$fm_mobile_head_html',
|
||||
fm_mobile_tail_html = '$fm_mobile_tail_html',
|
||||
fm_order = '$fm_order' ";
|
||||
|
||||
if ($w == "")
|
||||
{
|
||||
|
||||
@ -59,7 +59,7 @@ $total_page = ceil($total_count / $rows); // 전체 페이지 계산
|
||||
if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||
$from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
|
||||
$sql = "select * $sql_common order by fm_id desc limit $from_record, {$config['cf_page_rows']} ";
|
||||
$sql = "select * $sql_common order by fm_order, fm_id limit $from_record, {$config['cf_page_rows']} ";
|
||||
$result = sql_query($sql);
|
||||
?>
|
||||
|
||||
@ -88,6 +88,7 @@ $result = sql_query($sql);
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">FAQ수</th>
|
||||
<th scope="col">순서</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -102,6 +103,7 @@ $result = sql_query($sql);
|
||||
<td class="td_num"><?php echo $row['fm_id']; ?></td>
|
||||
<td><a href="./faqlist.php?fm_id=<?php echo $row['fm_id']; ?>&fm_subject=<?php echo $row['fm_subject']; ?>"><?php echo stripslashes($row['fm_subject']); ?></a></td>
|
||||
<td class="td_num"><?php echo $cnt; ?></td>
|
||||
<td class="td_num"><?php echo $row['fm_order']?></td>
|
||||
<td class="td_mng">
|
||||
<a href="<?php echo G5_BBS_URL; ?>/faq.php?fm_id=<?php echo $row['fm_id']; ?>"><span class="sound_only"><?php echo stripslashes($row['fm_subject']); ?> </span>보기</a>
|
||||
<a href="./faqmasterform.php?w=u&fm_id=<?php echo $row['fm_id']; ?>"><span class="sound_only"><?php echo stripslashes($row['fm_subject']); ?> </span>수정</a>
|
||||
|
||||
148
adm/menu_form.php
Normal file
148
adm/menu_form.php
Normal file
@ -0,0 +1,148 @@
|
||||
<?php
|
||||
$sub_menu = "100290";
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($is_admin != 'super')
|
||||
alert_close('최고관리자만 접근 가능합니다.');
|
||||
|
||||
$g5['title'] = '메뉴 추가';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
// 코드
|
||||
if($new == 'new' || $code == 0) {
|
||||
$code = base_convert(substr($code,0, 2), 36, 10);
|
||||
$code += 36;
|
||||
$code = base_convert($code, 10, 36);
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="new_win">
|
||||
<h1><?php echo $g5['title']; ?></h1>
|
||||
|
||||
<form name="fmenuform" id="fmenuform">
|
||||
|
||||
<div class="local_sch01 local_sch">
|
||||
<label for="me_type">대상선택</label>
|
||||
<select name="me_type" id="me_type">
|
||||
<option value="">직접입력</option>
|
||||
<option value="group">게시판그룹</option>
|
||||
<option value="board">게시판</option>
|
||||
<option value="content">내용관리</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="menu_result"></div>
|
||||
|
||||
<div class="btn_confirm01 btn_confirm">
|
||||
<button type="button" class="btn_cancel" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#menu_result").load(
|
||||
"./menu_form_search.php"
|
||||
);
|
||||
|
||||
$("#me_type").on("change", function() {
|
||||
var type = $(this).val();
|
||||
|
||||
$("#menu_result").empty().load(
|
||||
"./menu_form_search.php",
|
||||
{ type : type }
|
||||
);
|
||||
});
|
||||
|
||||
$("#add_manual").live("click", function() {
|
||||
var me_name = $.trim($("#me_name").val());
|
||||
var me_link = $.trim($("#me_link").val());
|
||||
|
||||
add_menu_list(me_name, me_link, "<?php echo $code; ?>");
|
||||
});
|
||||
|
||||
$(".add_select").live("click", function() {
|
||||
var me_name = $.trim($(this).siblings("input[name='subject[]']").val());
|
||||
var me_link = $.trim($(this).siblings("input[name='link[]']").val());
|
||||
|
||||
add_menu_list(me_name, me_link, "<?php echo $code; ?>");
|
||||
});
|
||||
});
|
||||
|
||||
function add_menu_list(name, link, code)
|
||||
{
|
||||
var $menulist = $("#menulist", opener.document);
|
||||
var ms = new Date().getTime();
|
||||
var sub_menu_class = "";
|
||||
|
||||
var list = "<tr class=\"menu_list menu_group_<?php echo $code; ?>\">\n";
|
||||
list += "<td"+sub_menu_class+">\n";
|
||||
list += "<label for=\"me_name_"+ms+"\" class=\"sound_only\">메뉴</label>\n";
|
||||
list += "<input type=\"hidden\" name=\"code[]\" value=\"<?php echo $code; ?>\">\n";
|
||||
list += "<input type=\"text\" name=\"me_name[]\" value=\""+name+"\" id=\"me_name_"+ms+"\" required class=\"required frm_input\">\n";
|
||||
list += "</td>\n";
|
||||
list += "<td>\n";
|
||||
list += "<label for=\"me_link_"+ms+"\" class=\"sound_only\">링크</label>\n";
|
||||
list += "<input type=\"text\" name=\"me_link[]\" value=\""+link+"\" id=\"me_link_"+ms+"\" required class=\"required frm_input\">\n";
|
||||
list += "</td>\n";
|
||||
list += "<td>\n";
|
||||
list += "<label for=\"me_target_"+ms+"\" class=\"sound_only\">새창</label>\n";
|
||||
list += "<select name=\"me_target[]\" id=\"me_target_"+ms+"\">\n";
|
||||
list += "<option value=\"self\">사용안함</option>\n";
|
||||
list += "<option value=\"blank\">사용함</option>\n";
|
||||
list += "</select>\n";
|
||||
list += "</td>\n";
|
||||
list += "<td>\n";
|
||||
list += "<label for=\"me_order_"+ms+"\" class=\"sound_only\">순서</label>\n";
|
||||
list += "<input type=\"text\" name=\"me_order[]\" value=\"0\" id=\"me_order_"+ms+"\" required class=\"required frm_input\" size=\"5\">\n";
|
||||
list += "</td>\n";
|
||||
list += "<td>\n";
|
||||
list += "<label for=\"me_use_"+ms+"\" class=\"sound_only\">PC사용</label>\n";
|
||||
list += "<select name=\"me_use[]\" id=\"me_use_"+ms+"\">\n";
|
||||
list += "<option value=\"1\">사용함</option>\n";
|
||||
list += "<option value=\"0\">사용안함</option>\n";
|
||||
list += "</select>\n";
|
||||
list += "</td>\n";
|
||||
list += "<td>\n";
|
||||
list += "<label for=\"me_mobile_use_"+ms+"\" class=\"sound_only\">모바일사용</label>\n";
|
||||
list += "<select name=\"me_mobile_use[]\" id=\"me_mobile_use_"+ms+"\">\n";
|
||||
list += "<option value=\"1\">사용함</option>\n";
|
||||
list += "<option value=\"0\">사용안함</option>\n";
|
||||
list += "</select>\n";
|
||||
list += "</td>\n";
|
||||
list += "<td>\n";
|
||||
<?php if($new == 'new') { ?>
|
||||
list += "<button type=\"button\" class=\"btn_add_submenu\">추가</button>\n";
|
||||
<?php } ?>
|
||||
list += "<button type=\"button\" class=\"btn_del_menu\">삭제</button>\n";
|
||||
list += "</td>\n";
|
||||
list += "</tr>\n";
|
||||
|
||||
var $menu_last = null;
|
||||
|
||||
if(code)
|
||||
$menu_last = $menulist.find("tr.menu_group_"+code+":last");
|
||||
else
|
||||
$menu_last = $menulist.find("tr.menu_list:last");
|
||||
|
||||
if($menu_last.size() > 0) {
|
||||
$menu_last.after(list);
|
||||
} else {
|
||||
$("#menulist", opener.document).find("#empty_menu_list").remove()
|
||||
.end().find("table tbody").append(list);
|
||||
}
|
||||
|
||||
$("#menulist", opener.document).find("tr.menu_list").each(function(index) {
|
||||
$(this).removeClass("bg0 bg1")
|
||||
.addClass("bg"+(index % 2));
|
||||
});
|
||||
|
||||
window.close();
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH.'/tail.sub.php');
|
||||
?>
|
||||
75
adm/menu_form_search.php
Normal file
75
adm/menu_form_search.php
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($is_admin != 'super')
|
||||
die('최고관리자만 접근 가능합니다.');
|
||||
|
||||
switch($type) {
|
||||
case 'group':
|
||||
$sql = " select gr_id as id, gr_subject as subject
|
||||
from {$g5['group_table']}
|
||||
order by gr_order, gr_id ";
|
||||
break;
|
||||
case 'board':
|
||||
$sql = " select bo_table as id, bo_subject as subject
|
||||
from {$g5['board_table']}
|
||||
order by bo_order, bo_table ";
|
||||
break;
|
||||
case 'content':
|
||||
$sql = " select co_id as id, co_subject as subject
|
||||
from {$g5['content_table']}
|
||||
order by co_id ";
|
||||
break;
|
||||
default:
|
||||
$sql = '';
|
||||
break;
|
||||
}
|
||||
|
||||
if($sql) {
|
||||
$result = sql_query($sql);
|
||||
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
if($i == 0) echo '<ul>'.PHP_EOL;
|
||||
|
||||
switch($type) {
|
||||
case 'group':
|
||||
$link = G5_BBS_URL.'/group.php?gr_id='.$row['id'];
|
||||
break;
|
||||
case 'board':
|
||||
$link = G5_BBS_URL.'/board.php?bo_table='.$row['id'];
|
||||
break;
|
||||
case 'content':
|
||||
$link = G5_BBS_URL.'/content.php?co_id='.$row['id'];
|
||||
break;
|
||||
default:
|
||||
$link = '';
|
||||
break;
|
||||
}
|
||||
|
||||
echo '<li>'.PHP_EOL;
|
||||
echo '<input type="hidden" name="subject[]" value="'.preg_replace('/[\'\"]/', '', $row['subject']).'">'.PHP_EOL;
|
||||
echo '<input type="hidden" name="link[]" value="'.$link.'">'.PHP_EOL;
|
||||
echo '<span>'.$row['subject'].'</span>';
|
||||
echo '<button type="button" class="add_select">선택</button>'.PHP_EOL;
|
||||
echo '</li>'.PHP_EOL;
|
||||
}
|
||||
} else { ?>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><label for="me_name">메뉴</label></th>
|
||||
<td><input type="text" name="me_name" id="me_name" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="me_link">링크</label></th>
|
||||
<td>
|
||||
<input type="text" name="me_link" id="me_link" class="frm_input"><br>
|
||||
링크는 http://를 포함해서 입력해 주세요.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><button type="button" id="add_manual">추가</button>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } ?>
|
||||
201
adm/menu_list.php
Normal file
201
adm/menu_list.php
Normal file
@ -0,0 +1,201 @@
|
||||
<?php
|
||||
$sub_menu = "100290";
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($is_admin != 'super')
|
||||
alert('최고관리자만 접근 가능합니다.');
|
||||
|
||||
$token = get_token();
|
||||
|
||||
// 메뉴테이블 생성
|
||||
if( !isset($g5['menu_table']) ){
|
||||
die('<meta charset="utf-8">dbconfig.php 파일에 <strong>$g5[\'menu_table\'] = G5_TABLE_PREFIX.\'menu\';</strong> 를 추가해 주세요.');
|
||||
}
|
||||
|
||||
if(!sql_query(" DESCRIBE {$g5['menu_table']} ", false)) {
|
||||
sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['menu_table']}` (
|
||||
`me_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`me_code` varchar(255) NOT NULL DEFAULT '',
|
||||
`me_name` varchar(255) NOT NULL DEFAULT '',
|
||||
`me_link` varchar(255) NOT NULL DEFAULT '',
|
||||
`me_target` varchar(255) NOT NULL DEFAULT '0',
|
||||
`me_order` int(11) NOT NULL DEFAULT '0',
|
||||
`me_use` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`me_mobile_use` tinyint(4) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`me_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ", true);
|
||||
}
|
||||
|
||||
$sql = " select * from {$g5['menu_table']} order by me_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$g5['title'] = "메뉴설정";
|
||||
include_once('./admin.head.php');
|
||||
|
||||
$colspan = 7;
|
||||
?>
|
||||
|
||||
<div class="local_desc01 local_desc">
|
||||
<p><strong>주의!</strong> 메뉴설정 작업 후 반드시 <strong>확인</strong>을 누르셔야 저장됩니다.</p>
|
||||
</div>
|
||||
|
||||
<form name="fmenulist" id="fmenulist" method="post" action="./menu_list_update.php" onsubmit="return fmenulist_submit(this);">
|
||||
<input type="hidden" name="token" value="<?php echo $token ?>">
|
||||
|
||||
<div class="btn_add01 btn_add">
|
||||
<button type="button" onclick="return add_menu();">메뉴추가<span class="sound_only"> 새창</span></button>
|
||||
</div>
|
||||
|
||||
<div id="menulist" class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption><?php echo $g5['title']; ?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">메뉴</th>
|
||||
<th scope="col">링크</th>
|
||||
<th scope="col">새창</th>
|
||||
<th scope="col">순서</th>
|
||||
<th scope="col">PC사용</th>
|
||||
<th scope="col">모바일사용</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$bg = 'bg'.($i%2);
|
||||
$sub_menu_class = '';
|
||||
if(strlen($row['me_code']) == 4)
|
||||
$sub_menu_class = ' class="sub_menu_class"';
|
||||
?>
|
||||
<tr class="<?php echo $bg; ?> menu_list menu_group_<?php echo substr($row['me_code'], 0, 2); ?>">
|
||||
<td<?php echo $sub_menu_class; ?>>
|
||||
<input type="hidden" name="code[]" value="<?php echo substr($row['me_code'], 0, 2) ?>">
|
||||
<label for="me_name_<?php echo $i; ?>" class="sound_only">메뉴</label>
|
||||
<input type="text" name="me_name[]" value="<?php echo $row['me_name'] ?>" id="me_name_<?php echo $i; ?>" required class="required frm_input">
|
||||
</td>
|
||||
<td>
|
||||
<label for="me_link_<?php echo $i; ?>" class="sound_only">링크</label>
|
||||
<input type="text" name="me_link[]" value="<?php echo $row['me_link'] ?>" id="me_link_<?php echo $i; ?>" required class="required frm_input">
|
||||
</td>
|
||||
<td>
|
||||
<label for="me_target_<?php echo $i; ?>" class="sound_only">새창</label>
|
||||
<select name="me_target[]" id="me_target_<?php echo $i; ?>">
|
||||
<option value="self"<?php echo get_selected($row['me_target'], 'self', true); ?>>사용안함</option>
|
||||
<option value="blank"<?php echo get_selected($row['me_target'], 'blank', true); ?>>사용함</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label for="me_order_<?php echo $i; ?>" class="sound_only">순서</label>
|
||||
<input type="text" name="me_order[]" value="<?php echo $row['me_order'] ?>" id="me_order_<?php echo $i; ?>" class="frm_input" size="5">
|
||||
</td>
|
||||
<td>
|
||||
<label for="me_use_<?php echo $i; ?>" class="sound_only">PC사용</label>
|
||||
<select name="me_use[]" id="me_use_<?php echo $i; ?>">
|
||||
<option value="1"<?php echo get_selected($row['me_use'], '1', true); ?>>사용함</option>
|
||||
<option value="0"<?php echo get_selected($row['me_use'], '0', true); ?>>사용안함</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label for="me_mobile_use_<?php echo $i; ?>" class="sound_only">모바일사용</label>
|
||||
<select name="me_mobile_use[]" id="me_mobile_use_<?php echo $i; ?>">
|
||||
<option value="1"<?php echo get_selected($row['me_mobile_use'], '1', true); ?>>사용함</option>
|
||||
<option value="0"<?php echo get_selected($row['me_mobile_use'], '0', true); ?>>사용안함</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<?php if(strlen($row['me_code']) == 2) { ?>
|
||||
<button type="button" class="btn_add_submenu">추가</button>
|
||||
<?php } ?>
|
||||
<button type="button" class="btn_del_menu">삭제</button>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo '<tr id="empty_menu_list"><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm01 btn_confirm">
|
||||
<input type="submit" name="act_button" value="확인" class="btn_submit">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".btn_add_submenu").live("click", function() {
|
||||
var code = $(this).closest("tr").find("input[name='code[]']").val().substr(0, 2);
|
||||
add_submenu(code);
|
||||
});
|
||||
|
||||
$(".btn_del_menu").live("click", function() {
|
||||
if(!confirm("메뉴를 삭제하시겠습니까?"))
|
||||
return false;
|
||||
|
||||
var $tr = $(this).closest("tr");
|
||||
if($tr.find("td.sub_menu_class").size() > 0) {
|
||||
$tr.remove();
|
||||
} else {
|
||||
var code = $(this).closest("tr").find("input[name='code[]']").val().substr(0, 2);
|
||||
$("tr.menu_group_"+code).remove();
|
||||
}
|
||||
|
||||
if($("#menulist tr.menu_list").size() < 1) {
|
||||
var list = "<tr id=\"empty_menu_list\"><td colspan=\"<?php echo $colspan; ?>\" class=\"empty_table\">자료가 없습니다.</td></tr>\n";
|
||||
$("#menulist table tbody").append(list);
|
||||
} else {
|
||||
$("#menulist tr.menu_list").each(function(index) {
|
||||
$(this).removeClass("bg0 bg1")
|
||||
.addClass("bg"+(index % 2));
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function add_menu()
|
||||
{
|
||||
var max_code = base_convert(0, 10, 36);
|
||||
$("#menulist tr.menu_list").each(function() {
|
||||
var me_code = $(this).find("input[name='code[]']").val().substr(0, 2);
|
||||
if(max_code < me_code)
|
||||
max_code = me_code;
|
||||
});
|
||||
|
||||
var url = "./menu_form.php?code="+max_code+"&new=new";
|
||||
window.open(url, "add_menu", "left=100,top=100,width=550,height=650");
|
||||
return false;
|
||||
}
|
||||
|
||||
function add_submenu(code)
|
||||
{
|
||||
var url = "./menu_form.php?code="+code;
|
||||
window.open(url, "add_menu", "left=100,top=100,width=550,height=650");
|
||||
return false;
|
||||
}
|
||||
|
||||
function base_convert(number, frombase, tobase) {
|
||||
// discuss at: http://phpjs.org/functions/base_convert/
|
||||
// original by: Philippe Baumann
|
||||
// improved by: Rafał Kukawski (http://blog.kukawski.pl)
|
||||
// example 1: base_convert('A37334', 16, 2);
|
||||
// returns 1: '101000110111001100110100'
|
||||
|
||||
return parseInt(number + '', frombase | 0)
|
||||
.toString(tobase | 0);
|
||||
}
|
||||
|
||||
function fmenulist_submit(f)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once ('./admin.tail.php');
|
||||
?>
|
||||
70
adm/menu_list_update.php
Normal file
70
adm/menu_list_update.php
Normal file
@ -0,0 +1,70 @@
|
||||
<?php
|
||||
$sub_menu = "100290";
|
||||
include_once('./_common.php');
|
||||
|
||||
check_demo();
|
||||
|
||||
if ($is_admin != 'super')
|
||||
alert('최고관리자만 접근 가능합니다.');
|
||||
|
||||
check_token();
|
||||
|
||||
// 이전 메뉴정보 삭제
|
||||
$sql = " delete from {$g5['menu_table']} ";
|
||||
sql_query($sql);
|
||||
|
||||
$group_code = null;
|
||||
$primary_code = null;
|
||||
$count = count($_POST['code']);
|
||||
|
||||
for ($i=0; $i<$count; $i++)
|
||||
{
|
||||
$_POST = array_map_deep('trim', $_POST);
|
||||
|
||||
$code = $_POST['code'][$i];
|
||||
$me_name = $_POST['me_name'][$i];
|
||||
$me_link = $_POST['me_link'][$i];
|
||||
|
||||
if(!$code || !$me_name || !$me_link)
|
||||
continue;
|
||||
|
||||
$sub_code = '';
|
||||
if($group_code == $code) {
|
||||
$sql = " select MAX(SUBSTRING(me_code,3,2)) as max_me_code
|
||||
from {$g5['menu_table']}
|
||||
where SUBSTRING(me_code,1,2) = '$primary_code' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
$sub_code = base_convert($row['max_me_code'], 36, 10);
|
||||
$sub_code += 36;
|
||||
$sub_code = base_convert($sub_code, 10, 36);
|
||||
|
||||
$me_code = $primary_code.$sub_code;
|
||||
} else {
|
||||
$sql = " select MAX(SUBSTRING(me_code,1,2)) as max_me_code
|
||||
from {$g5['menu_table']}
|
||||
where LENGTH(me_code) = '2' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
$me_code = base_convert($row['max_me_code'], 36, 10);
|
||||
$me_code += 36;
|
||||
$me_code = base_convert($me_code, 10, 36);
|
||||
|
||||
$group_code = $code;
|
||||
$primary_code = $me_code;
|
||||
}
|
||||
|
||||
// 메뉴 등록
|
||||
$sql = " insert into {$g5['menu_table']}
|
||||
set me_code = '$me_code',
|
||||
me_name = '$me_name',
|
||||
me_link = '$me_link',
|
||||
me_target = '{$_POST['me_target'][$i]}',
|
||||
me_order = '{$_POST['me_order'][$i]}',
|
||||
me_use = '{$_POST['me_use'][$i]}',
|
||||
me_mobile_use = '{$_POST['me_mobile_use'][$i]}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
goto_url('./menu_list.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user