모바일 사용자 화면 UI 및 기능 개선

This commit is contained in:
chicpro
2015-07-09 09:48:15 +09:00
parent 7846117b62
commit c7e85d5794
87 changed files with 1854 additions and 1316 deletions

View File

@ -443,6 +443,8 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
.banner_or_img button {display:block;margin:5px 0 0} .banner_or_img button {display:block;margin:5px 0 0}
.txt_active {color:#5d910b} .txt_active {color:#5d910b}
.txt_expired {color:#ccc} .txt_expired {color:#ccc}
#sct_mobileimg{width:125px}
/* 환경설정 */ /* 환경설정 */
.cf_cert_hide {display:none} .cf_cert_hide {display:none}

View File

@ -21,6 +21,13 @@ else
$bn['bn_end_time'] = date("Y-m-d 00:00:00", time()+(60*60*24*31)); $bn['bn_end_time'] = date("Y-m-d 00:00:00", time()+(60*60*24*31));
} }
// 접속기기 필드 추가
if(!sql_query(" select bn_device from {$g5['g5_shop_banner_table']} limit 0, 1 ")) {
sql_query(" ALTER TABLE `{$g5['g5_shop_banner_table']}`
ADD `bn_device` varchar(10) not null default '' AFTER `bn_url` ", true);
sql_query(" update {$g5['g5_shop_banner_table']} set bn_device = 'pc' ", true);
}
include_once (G5_ADMIN_PATH.'/admin.head.php'); include_once (G5_ADMIN_PATH.'/admin.head.php');
?> ?>
@ -52,9 +59,6 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
echo '<input type="checkbox" name="bn_bimg_del" value="1" id="bn_bimg_del"> <label for="bn_bimg_del">삭제</label>'; echo '<input type="checkbox" name="bn_bimg_del" value="1" id="bn_bimg_del"> <label for="bn_bimg_del">삭제</label>';
$bimg_str = '<img src="'.G5_DATA_URL.'/banner/'.$bn['bn_id'].'" width="'.$width.'">'; $bimg_str = '<img src="'.G5_DATA_URL.'/banner/'.$bn['bn_id'].'" width="'.$width.'">';
//$size = getimagesize($bimg);
//echo "<img src='$g5[admin_path]/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('bimg', $size[0], $size[1]);\"><input type=checkbox name=bn_bimg_del value='1'>삭제";
//echo "<div id='bimg' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$bimg' border=1></div>";
} }
if ($bimg_str) { if ($bimg_str) {
echo '<div class="banner_or_img">'; echo '<div class="banner_or_img">';
@ -78,10 +82,21 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
<input type="text" name="bn_url" size="80" value="<?php echo $bn['bn_url']; ?>" id="bn_url" class="frm_input"> <input type="text" name="bn_url" size="80" value="<?php echo $bn['bn_url']; ?>" id="bn_url" class="frm_input">
</td> </td>
</tr> </tr>
<tr>
<th scope="row"><label for="bn_device">접속기기</label></th>
<td>
<?php echo help('배너를 표시할 접속기기를 선택합니다.'); ?>
<select name="bn_device" id="bn_device">
<option value="both"<?php echo get_selected($bn['bn_device'], 'both', true); ?>>PC와 모바일</option>
<option value="pc"<?php echo get_selected($bn['bn_device'], 'pc'); ?>>PC</option>
<option value="mobile"<?php echo get_selected($bn['bn_device'], 'mobile'); ?>>모바일</option>
</select>
</td>
</tr>
<tr> <tr>
<th scope="row"><label for="bn_position">출력위치</label></th> <th scope="row"><label for="bn_position">출력위치</label></th>
<td> <td>
<?php echo help("왼쪽 : 쇼핑몰화면 왼쪽에 출력합니다.\n메인 : 쇼핑몰 메인화면(index.php)에만 출력합니다.", 50); ?> <?php echo help("왼쪽 : 쇼핑몰화면 왼쪽에 출력합니다.\n메인 : 쇼핑몰 메인화면(index.php)에만 출력합니다."); ?>
<select name="bn_position" id="bn_position"> <select name="bn_position" id="bn_position">
<option value="왼쪽" <?php echo get_selected($bn['bn_position'], '왼쪽'); ?>>왼쪽</option> <option value="왼쪽" <?php echo get_selected($bn['bn_position'], '왼쪽'); ?>>왼쪽</option>
<option value="메인" <?php echo get_selected($bn['bn_position'], '메인'); ?>>메인</option> <option value="메인" <?php echo get_selected($bn['bn_position'], '메인'); ?>>메인</option>

View File

@ -26,6 +26,7 @@ if ($w=="")
$sql = " insert into {$g5['g5_shop_banner_table']} $sql = " insert into {$g5['g5_shop_banner_table']}
set bn_alt = '$bn_alt', set bn_alt = '$bn_alt',
bn_url = '$bn_url', bn_url = '$bn_url',
bn_device = '$bn_device',
bn_position = '$bn_position', bn_position = '$bn_position',
bn_border = '$bn_border', bn_border = '$bn_border',
bn_new_win = '$bn_new_win', bn_new_win = '$bn_new_win',
@ -43,6 +44,7 @@ else if ($w=="u")
$sql = " update {$g5['g5_shop_banner_table']} $sql = " update {$g5['g5_shop_banner_table']}
set bn_alt = '$bn_alt', set bn_alt = '$bn_alt',
bn_url = '$bn_url', bn_url = '$bn_url',
bn_device = '$bn_device',
bn_position = '$bn_position', bn_position = '$bn_position',
bn_border = '$bn_border', bn_border = '$bn_border',
bn_new_win = '$bn_new_win', bn_new_win = '$bn_new_win',

View File

@ -34,6 +34,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
<thead> <thead>
<tr> <tr>
<th scope="col" rowspan="2" id="th_id">ID</th> <th scope="col" rowspan="2" id="th_id">ID</th>
<th scope="col" id="th_dvc">접속기기</th>
<th scope="col" id="th_loc">위치</th> <th scope="col" id="th_loc">위치</th>
<th scope="col" id="th_st">시작일시</th> <th scope="col" id="th_st">시작일시</th>
<th scope="col" id="th_end">종료일시</th> <th scope="col" id="th_end">종료일시</th>
@ -42,7 +43,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
<th scope="col" id="th_mng">관리</th> <th scope="col" id="th_mng">관리</th>
</tr> </tr>
<tr> <tr>
<th scope="col" colspan="6" id="th_img">이미지</th> <th scope="col" colspan="7" id="th_img">이미지</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -71,6 +72,18 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
$bn_img .= '<img src="'.G5_DATA_URL.'/banner/'.$row['bn_id'].'" width="'.$width.'" alt="'.$row['bn_alt'].'"></a>'; $bn_img .= '<img src="'.G5_DATA_URL.'/banner/'.$row['bn_id'].'" width="'.$width.'" alt="'.$row['bn_alt'].'"></a>';
} }
switch($row['bn_device']) {
case 'pc':
$bn_device = 'PC';
break;
case 'mobile':
$bn_device = '모바일';
break;
default:
$bn_device = 'PC와 모바일';
break;
}
$bn_begin_time = substr($row['bn_begin_time'], 2, 14); $bn_begin_time = substr($row['bn_begin_time'], 2, 14);
$bn_end_time = substr($row['bn_end_time'], 2, 14); $bn_end_time = substr($row['bn_end_time'], 2, 14);
@ -79,6 +92,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
<tr class="<?php echo $bg; ?>"> <tr class="<?php echo $bg; ?>">
<td headers="th_id" rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td> <td headers="th_id" rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td>
<td headers="th_dvc"><?php echo $bn_device; ?></td>
<td headers="th_loc"><?php echo $row['bn_position']; ?></td> <td headers="th_loc"><?php echo $row['bn_position']; ?></td>
<td headers="th_st" class="td_datetime"><?php echo $bn_begin_time; ?></td> <td headers="th_st" class="td_datetime"><?php echo $bn_begin_time; ?></td>
<td headers="th_end" class="td_datetime"><?php echo $bn_end_time; ?></td> <td headers="th_end" class="td_datetime"><?php echo $bn_end_time; ?></td>
@ -90,7 +104,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
</td> </td>
</tr> </tr>
<tr class="<?php echo $bg; ?>"> <tr class="<?php echo $bg; ?>">
<td headers="th_img" colspan="6" class="td_img_view sbn_img"> <td headers="th_img" colspan="7" class="td_img_view sbn_img">
<div class="sbn_image"><?php echo $bn_img; ?></div> <div class="sbn_image"><?php echo $bn_img; ?></div>
<button type="button" class="sbn_img_view btn_frmline">이미지확인</button> <button type="button" class="sbn_img_view btn_frmline">이미지확인</button>
</td> </td>

View File

@ -56,7 +56,8 @@ if ($w == "")
$ca['ca_mobile_img_height'] = $default['de_simg_height']; $ca['ca_mobile_img_height'] = $default['de_simg_height'];
$ca['ca_list_mod'] = 3; $ca['ca_list_mod'] = 3;
$ca['ca_list_row'] = 5; $ca['ca_list_row'] = 5;
$ca['ca_mobile_list_mod'] = 10; $ca['ca_mobile_list_mod'] = 3;
$ca['ca_mobile_list_row'] = 5;
$ca['ca_stock_qty'] = 99999; $ca['ca_stock_qty'] = 99999;
} }
$ca['ca_skin'] = "list.10.skin.php"; $ca['ca_skin'] = "list.10.skin.php";
@ -108,6 +109,12 @@ if(!sql_query(" select ca_order from {$g5['g5_shop_category_table']} limit 1 ",
sql_query(" ALTER TABLE `{$g5['g5_shop_category_table']}` ADD INDEX(`ca_order`) ", true); sql_query(" ALTER TABLE `{$g5['g5_shop_category_table']}` ADD INDEX(`ca_order`) ", true);
} }
// 모바일 상품 출력줄수 필드 추가
if(!sql_query(" select ca_mobile_list_row from {$g5['g5_shop_category_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE `{$g5['g5_shop_category_table']}`
ADD `ca_mobile_list_row` int(11) NOT NULL DEFAULT '0' AFTER `ca_mobile_list_mod` ", true);
}
// 스킨 Path // 스킨 Path
if(!$ca['ca_skin_dir']) if(!$ca['ca_skin_dir'])
$g5_shop_skin_path = G5_SHOP_SKIN_PATH; $g5_shop_skin_path = G5_SHOP_SKIN_PATH;
@ -288,10 +295,17 @@ else
</td> </td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="ca_mobile_list_mod">모바일 이미지 수</label></th> <th scope="row"><label for="ca_mobile_list_mod">모바일 1줄당 이미지 수</label></th>
<td> <td>
<?php echo help("한 페이지에 출력할 이미지 수를 설정합니다."); ?> <?php echo help("한 줄에 설정한 값만큼의 상품을 출력하지만 스킨에 따라 한 줄에 하나의 상품만 출력할 수도 있습니다."); ?>
<input type="text" name="ca_mobile_list_mod" value='<?php echo $ca['ca_mobile_list_mod']; ?>' id="ca_mobile_list_mod" required class="required frm_input" size="3"> <input type="text" name="ca_mobile_list_mod" value='<?php echo $ca['ca_mobile_list_mod']; ?>' id="ca_mobile_list_mod" required class="required frm_input" size="3">
</td>
</tr>
<tr>
<th scope="row"><label for="ca_mobile_list_row">모바일 이미지 줄 수</label></th>
<td>
<?php echo help("한 페이지에 출력할 이미지 줄 수를 설정합니다.\n한 페이지에서 표시하는 상품수는 (1줄당 이미지 수 x 줄 수) 입니다."); ?>
<input type="text" name="ca_mobile_list_row" value='<?php echo $ca['ca_mobile_list_row']; ?>' id="ca_mobile_list_row" required class="required frm_input" size="3"> 줄
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -45,6 +45,7 @@ $sql_common = " ca_order = '$ca_order',
ca_mobile_img_width = '$ca_mobile_img_width', ca_mobile_img_width = '$ca_mobile_img_width',
ca_mobile_img_height = '$ca_mobile_img_height', ca_mobile_img_height = '$ca_mobile_img_height',
ca_mobile_list_mod = '$ca_mobile_list_mod', ca_mobile_list_mod = '$ca_mobile_list_mod',
ca_mobile_list_row = '$ca_mobile_list_row',
ca_sell_email = '$ca_sell_email', ca_sell_email = '$ca_sell_email',
ca_use = '$ca_use', ca_use = '$ca_use',
ca_stock_qty = '$ca_stock_qty', ca_stock_qty = '$ca_stock_qty',

View File

@ -110,7 +110,7 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'" class="ov_listall">전체목
<th scope="col" id="sct_imgw">이미지 폭</th> <th scope="col" id="sct_imgw">이미지 폭</th>
<th scope="col" id="sct_imgh">이미지 높이</th> <th scope="col" id="sct_imgh">이미지 높이</th>
<th scope="col" id="sct_imgcol">1행이미지수</th> <th scope="col" id="sct_imgcol">1행이미지수</th>
<th scope="col" id="sct_mobileimg">모바일이미지수</th> <th scope="col" id="sct_mobileimg">모바일 1행이미지수</th>
<th scope="col" id="sct_pcskin">PC스킨지정</th> <th scope="col" id="sct_pcskin">PC스킨지정</th>
<th scope="col" rowspan="2">관리</th> <th scope="col" rowspan="2">관리</th>
</tr> </tr>
@ -120,7 +120,7 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'" class="ov_listall">전체목
<th scope="col" id="sct_hpcert">본인인증</th> <th scope="col" id="sct_hpcert">본인인증</th>
<th scope="col" id="sct_adultcert">성인인증</th> <th scope="col" id="sct_adultcert">성인인증</th>
<th scope="col" id="sct_imgrow">이미지 행수</th> <th scope="col" id="sct_imgrow">이미지 행수</th>
<th scope="col" id="sct_order">순서</th> <th scope="col" id="sct_mobilerow">모바일 이미지 행수</th>
<th scope="col" id="sct_mskin">모바일스킨지정</th> <th scope="col" id="sct_mskin">모바일스킨지정</th>
</tr> </tr>
</thead> </thead>
@ -192,7 +192,7 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'" class="ov_listall">전체목
<input type="text" name="ca_list_mod[<?php echo $i; ?>]" size="3" value="<?php echo $row['ca_list_mod']; ?>" id="ca_lineimg_num<?php echo $i; ?>" required class="required frm_input"> <span class="sound_only">개</span> <input type="text" name="ca_list_mod[<?php echo $i; ?>]" size="3" value="<?php echo $row['ca_list_mod']; ?>" id="ca_lineimg_num<?php echo $i; ?>" required class="required frm_input"> <span class="sound_only">개</span>
</td> </td>
<td headers="sct_mobileimg" class="td_output"> <td headers="sct_mobileimg" class="td_output">
<label for="ca_mobileimg_num<?php echo $i; ?>" class="sound_only">모바일 이미지 수</label> <label for="ca_mobileimg_num<?php echo $i; ?>" class="sound_only">모바일 1줄당 이미지 수</label>
<input type="text" name="ca_mobile_list_mod[<?php echo $i; ?>]" size="3" value="<?php echo $row['ca_mobile_list_mod']; ?>" id="ca_mobileimg_num<?php echo $i; ?>" required class="required frm_input"> <span class="sound_only">개</span> <input type="text" name="ca_mobile_list_mod[<?php echo $i; ?>]" size="3" value="<?php echo $row['ca_mobile_list_mod']; ?>" id="ca_mobileimg_num<?php echo $i; ?>" required class="required frm_input"> <span class="sound_only">개</span>
</td> </td>
<td headers="sct_pcskin"> <td headers="sct_pcskin">
@ -238,9 +238,9 @@ $listall = '<a href="'.$_SERVER['SCRIPT_NAME'].'" class="ov_listall">전체목
<label for="ca_imgline_num<?php echo $i; ?>" class="sound_only">이미지 줄 수</label> <label for="ca_imgline_num<?php echo $i; ?>" class="sound_only">이미지 줄 수</label>
<input type="text" name="ca_list_row[<?php echo $i; ?>]" value='<?php echo $row['ca_list_row']; ?>' id="ca_imgline_num<?php echo $i; ?>" required class="required frm_input" size="3"> <span class="sound_only">줄</span> <input type="text" name="ca_list_row[<?php echo $i; ?>]" value='<?php echo $row['ca_list_row']; ?>' id="ca_imgline_num<?php echo $i; ?>" required class="required frm_input" size="3"> <span class="sound_only">줄</span>
</td> </td>
<td headers="sct_order" class="td_output"> <td headers="sct_mobilerow" class="td_output">
<label for="ca_order<?php echo $i; ?>" class="sound_only">출력순서</label> <label for="ca_mobileimg_row<?php echo $i; ?>" class="sound_only">모바일 이미지 줄 수</label>
<input type="text" name="ca_order[<?php echo $i; ?>]" value='<?php echo $row['ca_order']; ?>' id="ca_order<?php echo $i; ?>" required class="required frm_input" size="3"> <input type="text" name="ca_mobile_list_row[<?php echo $i; ?>]" value='<?php echo $row['ca_mobile_list_row']; ?>' id="ca_mobileimg_row<?php echo $i; ?>" required class="required frm_input" size="3">
</td> </td>
<td headers="sct_mskin"> <td headers="sct_mskin">
<label for="ca_mobile_skin_dir<?php echo $i; ?>" class="sound_only">모바일스킨폴더</label> <label for="ca_mobile_skin_dir<?php echo $i; ?>" class="sound_only">모바일스킨폴더</label>

View File

@ -18,7 +18,6 @@ for ($i=0; $i<count($_POST['ca_id']); $i++)
$sql = " update {$g5['g5_shop_category_table']} $sql = " update {$g5['g5_shop_category_table']}
set ca_name = '{$_POST['ca_name'][$i]}', set ca_name = '{$_POST['ca_name'][$i]}',
ca_order = '{$_POST['ca_order'][$i]}',
ca_mb_id = '{$_POST['ca_mb_id'][$i]}', ca_mb_id = '{$_POST['ca_mb_id'][$i]}',
ca_use = '{$_POST['ca_use'][$i]}', ca_use = '{$_POST['ca_use'][$i]}',
ca_list_mod = '{$_POST['ca_list_mod'][$i]}', ca_list_mod = '{$_POST['ca_list_mod'][$i]}',
@ -31,7 +30,8 @@ for ($i=0; $i<count($_POST['ca_id']); $i++)
ca_img_width = '{$_POST['ca_img_width'][$i]}', ca_img_width = '{$_POST['ca_img_width'][$i]}',
ca_img_height = '{$_POST['ca_img_height'][$i]}', ca_img_height = '{$_POST['ca_img_height'][$i]}',
ca_list_row = '{$_POST['ca_list_row'][$i]}', ca_list_row = '{$_POST['ca_list_row'][$i]}',
ca_mobile_list_mod = '{$_POST['ca_mobile_list_mod'][$i]}' ca_mobile_list_mod = '{$_POST['ca_mobile_list_mod'][$i]}',
ca_mobile_list_row = '{$_POST['ca_mobile_list_row'][$i]}'
where ca_id = '{$_POST['ca_id'][$i]}' "; where ca_id = '{$_POST['ca_id'][$i]}' ";
sql_query($sql); sql_query($sql);

View File

@ -96,6 +96,28 @@ if(!isset($default['de_include_index'])) {
ADD `de_include_tail` varchar(255) NOT NULL DEFAULT '' AFTER `de_include_head` ", true); ADD `de_include_tail` varchar(255) NOT NULL DEFAULT '' AFTER `de_include_head` ", true);
} }
// 모바일 초기화면 이미지 줄 수 필드 추가
if(!isset($default['de_mobile_type1_list_row'])) {
sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
ADD `de_mobile_type1_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type1_list_mod`,
ADD `de_mobile_type2_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type2_list_mod`,
ADD `de_mobile_type3_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type3_list_mod`,
ADD `de_mobile_type4_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type4_list_mod`,
ADD `de_mobile_type5_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_type5_list_mod` ", true);
}
// 모바일 관련상품 이미지 줄 수 필드 추가
if(!isset($default['de_mobile_rel_list_mod'])) {
sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
ADD `de_mobile_rel_list_mod` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_rel_list_skin` ", true);
}
// 모바일 검색상품 이미지 줄 수 필드 추가
if(!isset($default['de_mobile_search_list_row'])) {
sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
ADD `de_mobile_search_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_search_list_mod` ", true);
}
?> ?>
<form name="fconfig" action="./configformupdate.php" onsubmit="return fconfig_check(this)" method="post" enctype="MULTIPART/FORM-DATA"> <form name="fconfig" action="./configformupdate.php" onsubmit="return fconfig_check(this)" method="post" enctype="MULTIPART/FORM-DATA">
@ -440,8 +462,10 @@ if(!isset($default['de_include_index'])) {
<select name="de_mobile_type1_list_skin" id="de_mobile_type1_list_skin"> <select name="de_mobile_type1_list_skin" id="de_mobile_type1_list_skin">
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type1_list_skin']); ?> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type1_list_skin']); ?>
</select> </select>
<label for="de_mobile_type1_list_mod">출력할 이미지 수</label> <label for="de_mobile_type1_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_type1_list_mod" value="<?php echo $default['de_mobile_type1_list_mod']; ?>" id="de_mobile_type1_list_mod" class="frm_input" size="3"> <input type="text" name="de_mobile_type1_list_mod" value="<?php echo $default['de_mobile_type1_list_mod']; ?>" id="de_mobile_type1_list_mod" class="frm_input" size="3">
<label for="de_mobile_type1_list_row">출력할 줄 수</label>
<input type="text" name="de_mobile_type1_list_row" value="<?php echo $default['de_mobile_type1_list_row']; ?>" id="de_mobile_type1_list_row" class="frm_input" size="3">
<label for="de_mobile_type1_img_width">이미지 폭</label> <label for="de_mobile_type1_img_width">이미지 폭</label>
<input type="text" name="de_mobile_type1_img_width" value="<?php echo $default['de_mobile_type1_img_width']; ?>" id="de_mobile_type1_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_type1_img_width" value="<?php echo $default['de_mobile_type1_img_width']; ?>" id="de_mobile_type1_img_width" class="frm_input" size="3">
<label for="de_mobile_type1_img_height">이미지 높이</label> <label for="de_mobile_type1_img_height">이미지 높이</label>
@ -456,8 +480,10 @@ if(!isset($default['de_include_index'])) {
<select name="de_mobile_type2_list_skin" id="de_mobile_type2_list_skin"> <select name="de_mobile_type2_list_skin" id="de_mobile_type2_list_skin">
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type2_list_skin']); ?> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type2_list_skin']); ?>
</select> </select>
<label for="de_mobile_type2_list_mod">출력할 이미지 수</label> <label for="de_mobile_type2_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_type2_list_mod" value="<?php echo $default['de_mobile_type2_list_mod']; ?>" id="de_mobile_type2_list_mod" class="frm_input" size="3"> <input type="text" name="de_mobile_type2_list_mod" value="<?php echo $default['de_mobile_type2_list_mod']; ?>" id="de_mobile_type2_list_mod" class="frm_input" size="3">
<label for="de_mobile_type2_list_row">출력할 줄 수</label>
<input type="text" name="de_mobile_type2_list_row" value="<?php echo $default['de_mobile_type2_list_row']; ?>" id="de_mobile_type2_list_row" class="frm_input" size="3">
<label for="de_mobile_type2_img_width">이미지 폭</label> <label for="de_mobile_type2_img_width">이미지 폭</label>
<input type="text" name="de_mobile_type2_img_width" value="<?php echo $default['de_mobile_type2_img_width']; ?>" id="de_mobile_type2_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_type2_img_width" value="<?php echo $default['de_mobile_type2_img_width']; ?>" id="de_mobile_type2_img_width" class="frm_input" size="3">
<label for="de_mobile_type2_img_height">이미지 높이</label> <label for="de_mobile_type2_img_height">이미지 높이</label>
@ -473,8 +499,10 @@ if(!isset($default['de_include_index'])) {
<select name="de_mobile_type3_list_skin" id="de_mobile_type3_list_skin"> <select name="de_mobile_type3_list_skin" id="de_mobile_type3_list_skin">
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type3_list_skin']); ?> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type3_list_skin']); ?>
</select> </select>
<label for="de_mobile_type3_list_mod">출력할 이미지 수</label> <label for="de_mobile_type3_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_type3_list_mod" value="<?php echo $default['de_mobile_type3_list_mod']; ?>" id="de_mobile_type3_list_mod" class="frm_input" size="3"> <input type="text" name="de_mobile_type3_list_mod" value="<?php echo $default['de_mobile_type3_list_mod']; ?>" id="de_mobile_type3_list_mod" class="frm_input" size="3">
<label for="de_mobile_type3_list_row">출력할 줄 수</label>
<input type="text" name="de_mobile_type3_list_row" value="<?php echo $default['de_mobile_type3_list_row']; ?>" id="de_mobile_type3_list_row" class="frm_input" size="3">
<label for="de_mobile_type3_img_width">이미지 폭</label> <label for="de_mobile_type3_img_width">이미지 폭</label>
<input type="text" name="de_mobile_type3_img_width" value="<?php echo $default['de_mobile_type3_img_width']; ?>" id="de_mobile_type3_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_type3_img_width" value="<?php echo $default['de_mobile_type3_img_width']; ?>" id="de_mobile_type3_img_width" class="frm_input" size="3">
<label for="de_mobile_type3_img_height">이미지 높이</label> <label for="de_mobile_type3_img_height">이미지 높이</label>
@ -490,8 +518,10 @@ if(!isset($default['de_include_index'])) {
<select name="de_mobile_type4_list_skin" id="de_mobile_type4_list_skin"> <select name="de_mobile_type4_list_skin" id="de_mobile_type4_list_skin">
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type4_list_skin']); ?> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type4_list_skin']); ?>
</select> </select>
<label for="de_mobile_type4_list_mod">출력할 이미지 수</label> <label for="de_mobile_type4_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_type4_list_mod" value="<?php echo $default['de_mobile_type4_list_mod']; ?>" id="de_mobile_type4_list_mod" class="frm_input" size="3"> <input type="text" name="de_mobile_type4_list_mod" value="<?php echo $default['de_mobile_type4_list_mod']; ?>" id="de_mobile_type4_list_mod" class="frm_input" size="3">
<label for="de_mobile_type4_list_row">출력할 줄 수</label>
<input type="text" name="de_mobile_type4_list_row" value="<?php echo $default['de_mobile_type4_list_row']; ?>" id="de_mobile_type4_list_row" class="frm_input" size="3">
<label for="de_mobile_type4_img_width">이미지 폭</label> <label for="de_mobile_type4_img_width">이미지 폭</label>
<input type="text" name="de_mobile_type4_img_width" value="<?php echo $default['de_mobile_type4_img_width']; ?>" id="de_mobile_type4_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_type4_img_width" value="<?php echo $default['de_mobile_type4_img_width']; ?>" id="de_mobile_type4_img_width" class="frm_input" size="3">
<label for="de_mobile_type4_img_height">이미지 높이</label> <label for="de_mobile_type4_img_height">이미지 높이</label>
@ -507,8 +537,10 @@ if(!isset($default['de_include_index'])) {
<select id="de_mobile_type5_list_skin" name="de_mobile_type5_list_skin"> <select id="de_mobile_type5_list_skin" name="de_mobile_type5_list_skin">
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type5_list_skin']); ?> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type5_list_skin']); ?>
</select> </select>
<label for="de_mobile_type5_list_mod">출력할 이미지 수</label> <label for="de_mobile_type5_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_type5_list_mod" value="<?php echo $default['de_mobile_type5_list_mod']; ?>" id="de_mobile_type5_list_mod" class="frm_input" size="3"> <input type="text" name="de_mobile_type5_list_mod" value="<?php echo $default['de_mobile_type5_list_mod']; ?>" id="de_mobile_type5_list_mod" class="frm_input" size="3">
<label for="de_mobile_type5_list_row">출력할 줄 수</label>
<input type="text" name="de_mobile_type5_list_row" value="<?php echo $default['de_mobile_type5_list_row']; ?>" id="de_mobile_type5_list_row" class="frm_input" size="3">
<label for="de_mobile_type5_img_width">이미지 폭</label> <label for="de_mobile_type5_img_width">이미지 폭</label>
<input type="text" name="de_mobile_type5_img_width" value="<?php echo $default['de_mobile_type5_img_width']; ?>" id="de_mobile_type5_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_type5_img_width" value="<?php echo $default['de_mobile_type5_img_width']; ?>" id="de_mobile_type5_img_width" class="frm_input" size="3">
<label for="de_mobile_type5_img_height">이미지 높이</label> <label for="de_mobile_type5_img_height">이미지 높이</label>
@ -930,6 +962,8 @@ if(!isset($default['de_include_index'])) {
<input type="text" name="de_mobile_rel_img_width" value="<?php echo $default['de_mobile_rel_img_width']; ?>" id="de_mobile_rel_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_rel_img_width" value="<?php echo $default['de_mobile_rel_img_width']; ?>" id="de_mobile_rel_img_width" class="frm_input" size="3">
<label for="de_mobile_rel_img_height">이미지높이</label> <label for="de_mobile_rel_img_height">이미지높이</label>
<input type="text" name="de_mobile_rel_img_height" value="<?php echo $default['de_mobile_rel_img_height']; ?>" id="de_mobile_rel_img_height" class="frm_input" size="3"> <input type="text" name="de_mobile_rel_img_height" value="<?php echo $default['de_mobile_rel_img_height']; ?>" id="de_mobile_rel_img_height" class="frm_input" size="3">
<label for="de_mobile_rel_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_rel_list_mod" value="<?php echo $default['de_mobile_rel_list_mod']; ?>" id="de_mobile_rel_list_mod" class="frm_input" size="3">
<label for="de_mobile_rel_list_use">출력</label> <label for="de_mobile_rel_list_use">출력</label>
<input type="checkbox" name="de_mobile_rel_list_use" value="1" id="de_mobile_rel_list_use" <?php echo $default['de_mobile_rel_list_use']?"checked":""; ?>> <input type="checkbox" name="de_mobile_rel_list_use" value="1" id="de_mobile_rel_list_use" <?php echo $default['de_mobile_rel_list_use']?"checked":""; ?>>
</td> </td>
@ -962,8 +996,10 @@ if(!isset($default['de_include_index'])) {
<input type="text" name="de_mobile_search_img_width" value="<?php echo $default['de_mobile_search_img_width']; ?>" id="de_mobile_search_img_width" class="frm_input" size="3"> <input type="text" name="de_mobile_search_img_width" value="<?php echo $default['de_mobile_search_img_width']; ?>" id="de_mobile_search_img_width" class="frm_input" size="3">
<label for="de_mobile_search_img_height">이미지높이</label> <label for="de_mobile_search_img_height">이미지높이</label>
<input type="text" name="de_mobile_search_img_height" value="<?php echo $default['de_mobile_search_img_height']; ?>" id="de_mobile_search_img_height" class="frm_input" size="3"> <input type="text" name="de_mobile_search_img_height" value="<?php echo $default['de_mobile_search_img_height']; ?>" id="de_mobile_search_img_height" class="frm_input" size="3">
<label for="de_mobile_search_list_mod">이미지 수</label> <label for="de_mobile_search_list_mod">1줄당 이미지 수</label>
<input type="text" name="de_mobile_search_list_mod" value="<?php echo $default['de_mobile_search_list_mod']; ?>" id="de_mobile_search_list_mod" class="frm_input" size="3"> <input type="text" name="de_mobile_search_list_mod" value="<?php echo $default['de_mobile_search_list_mod']; ?>" id="de_mobile_search_list_mod" class="frm_input" size="3">
<label for="de_mobile_search_list_row">출력할 줄 수</label>
<input type="text" name="de_mobile_search_list_row" value="<?php echo $default['de_mobile_search_list_row']; ?>" id="de_mobile_search_list_row" class="frm_input" size="3">
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -7,12 +7,12 @@ check_demo();
auth_check($auth[$sub_menu], "w"); auth_check($auth[$sub_menu], "w");
// 로그인을 바로 이 주소로 하는 경우 쇼핑몰설정값이 사라지는 현상을 방지 // 로그인을 바로 이 주소로 하는 경우 쇼핑몰설정값이 사라지는 현상을 방지
if (!$de_admin_company_owner) goto_url("./configform.php"); if (!$_POST['de_admin_company_owner']) goto_url("./configform.php");
if ($logo_img_del) @unlink(G5_DATA_PATH."/common/logo_img"); if ($_POST['logo_img_del']) @unlink(G5_DATA_PATH."/common/logo_img");
if ($logo_img_del2) @unlink(G5_DATA_PATH."/common/logo_img2"); if ($_POST['logo_img_del2']) @unlink(G5_DATA_PATH."/common/logo_img2");
if ($mobile_logo_img_del) @unlink(G5_DATA_PATH."/common/mobile_logo_img"); if ($_POST['mobile_logo_img_del']) @unlink(G5_DATA_PATH."/common/mobile_logo_img");
if ($mobile_logo_img_del2) @unlink(G5_DATA_PATH."/common/mobile_logo_img2"); if ($_POST['mobile_logo_img_del2']) @unlink(G5_DATA_PATH."/common/mobile_logo_img2");
if ($_FILES['logo_img']['name']) upload_file($_FILES['logo_img']['tmp_name'], "logo_img", G5_DATA_PATH."/common"); if ($_FILES['logo_img']['name']) upload_file($_FILES['logo_img']['tmp_name'], "logo_img", G5_DATA_PATH."/common");
if ($_FILES['logo_img2']['name']) upload_file($_FILES['logo_img2']['tmp_name'], "logo_img2", G5_DATA_PATH."/common"); if ($_FILES['logo_img2']['name']) upload_file($_FILES['logo_img2']['tmp_name'], "logo_img2", G5_DATA_PATH."/common");
@ -22,8 +22,8 @@ if ($_FILES['mobile_logo_img2']['name']) upload_file($_FILES['mobile_logo_img2']
$de_kcp_mid = substr($_POST['de_kcp_mid'],0,3); $de_kcp_mid = substr($_POST['de_kcp_mid'],0,3);
// kcp 전자결제를 사용할 때 site key 입력체크 // kcp 전자결제를 사용할 때 site key 입력체크
if($de_pg_service == 'kcp' && ($de_iche_use || $de_vbank_use || $de_hp_use || $de_card_use)) { if($_POST['de_pg_service'] == 'kcp' && ($_POST['de_iche_use'] || $_POST['de_vbank_use'] || $_POST['de_hp_use'] || $_POST['de_card_use'])) {
if(trim($de_kcp_site_key) == '') if(trim($_POST['de_kcp_site_key']) == '')
alert('KCP SITE KEY를 입력해 주십시오.'); alert('KCP SITE KEY를 입력해 주십시오.');
} }
@ -31,168 +31,175 @@ if($de_pg_service == 'kcp' && ($de_iche_use || $de_vbank_use || $de_hp_use || $d
// 영카트 default // 영카트 default
// //
$sql = " update {$g5['g5_shop_default_table']} $sql = " update {$g5['g5_shop_default_table']}
set de_admin_company_owner = '$de_admin_company_owner', set de_admin_company_owner = '{$_POST['de_admin_company_owner']}',
de_admin_company_name = '$de_admin_company_name', de_admin_company_name = '{$_POST['de_admin_company_name']}',
de_admin_company_saupja_no = '$de_admin_company_saupja_no', de_admin_company_saupja_no = '{$_POST['de_admin_company_saupja_no']}',
de_admin_company_tel = '$de_admin_company_tel', de_admin_company_tel = '{$_POST['de_admin_company_tel']}',
de_admin_company_fax = '$de_admin_company_fax', de_admin_company_fax = '{$_POST['de_admin_company_fax']}',
de_admin_tongsin_no = '$de_admin_tongsin_no', de_admin_tongsin_no = '{$_POST['de_admin_tongsin_no']}',
de_admin_company_zip = '$de_admin_company_zip', de_admin_company_zip = '{$_POST['de_admin_company_zip']}',
de_admin_company_addr = '$de_admin_company_addr', de_admin_company_addr = '{$_POST['de_admin_company_addr']}',
de_admin_info_name = '$de_admin_info_name', de_admin_info_name = '{$_POST['de_admin_info_name']}',
de_admin_info_email = '$de_admin_info_email', de_admin_info_email = '{$_POST['de_admin_info_email']}',
de_include_index = '$de_include_index', de_include_index = '{$_POST['de_include_index']}',
de_include_head = '$de_include_head', de_include_head = '{$_POST['de_include_head']}',
de_include_tail = '$de_include_tail', de_include_tail = '{$_POST['de_include_tail']}',
de_root_index_use = '$de_root_index_use', de_root_index_use = '{$_POST['de_root_index_use']}',
de_shop_layout_use = '$de_shop_layout_use', de_shop_layout_use = '{$_POST['de_shop_layout_use']}',
de_shop_skin = '$de_shop_skin', de_shop_skin = '{$_POST['de_shop_skin']}',
de_shop_mobile_skin = '$de_shop_mobile_skin', de_shop_mobile_skin = '{$_POST['de_shop_mobile_skin']}',
de_type1_list_use = '$de_type1_list_use', de_type1_list_use = '{$_POST['de_type1_list_use']}',
de_type1_list_skin = '$de_type1_list_skin', de_type1_list_skin = '{$_POST['de_type1_list_skin']}',
de_type1_list_mod = '$de_type1_list_mod', de_type1_list_mod = '{$_POST['de_type1_list_mod']}',
de_type1_list_row = '$de_type1_list_row', de_type1_list_row = '{$_POST['de_type1_list_row']}',
de_type1_img_width = '$de_type1_img_width', de_type1_img_width = '{$_POST['de_type1_img_width']}',
de_type1_img_height = '$de_type1_img_height', de_type1_img_height = '{$_POST['de_type1_img_height']}',
de_type2_list_use = '$de_type2_list_use', de_type2_list_use = '{$_POST['de_type2_list_use']}',
de_type2_list_skin = '$de_type2_list_skin', de_type2_list_skin = '{$_POST['de_type2_list_skin']}',
de_type2_list_mod = '$de_type2_list_mod', de_type2_list_mod = '{$_POST['de_type2_list_mod']}',
de_type2_list_row = '$de_type2_list_row', de_type2_list_row = '{$_POST['de_type2_list_row']}',
de_type2_img_width = '$de_type2_img_width', de_type2_img_width = '{$_POST['de_type2_img_width']}',
de_type2_img_height = '$de_type2_img_height', de_type2_img_height = '{$_POST['de_type2_img_height']}',
de_type3_list_use = '$de_type3_list_use', de_type3_list_use = '{$_POST['de_type3_list_use']}',
de_type3_list_skin = '$de_type3_list_skin', de_type3_list_skin = '{$_POST['de_type3_list_skin']}',
de_type3_list_mod = '$de_type3_list_mod', de_type3_list_mod = '{$_POST['de_type3_list_mod']}',
de_type3_list_row = '$de_type3_list_row', de_type3_list_row = '{$_POST['de_type3_list_row']}',
de_type3_img_width = '$de_type3_img_width', de_type3_img_width = '{$_POST['de_type3_img_width']}',
de_type3_img_height = '$de_type3_img_height', de_type3_img_height = '{$_POST['de_type3_img_height']}',
de_type4_list_use = '$de_type4_list_use', de_type4_list_use = '{$_POST['de_type4_list_use']}',
de_type4_list_skin = '$de_type4_list_skin', de_type4_list_skin = '{$_POST['de_type4_list_skin']}',
de_type4_list_mod = '$de_type4_list_mod', de_type4_list_mod = '{$_POST['de_type4_list_mod']}',
de_type4_list_row = '$de_type4_list_row', de_type4_list_row = '{$_POST['de_type4_list_row']}',
de_type4_img_width = '$de_type4_img_width', de_type4_img_width = '{$_POST['de_type4_img_width']}',
de_type4_img_height = '$de_type4_img_height', de_type4_img_height = '{$_POST['de_type4_img_height']}',
de_type5_list_use = '$de_type5_list_use', de_type5_list_use = '{$_POST['de_type5_list_use']}',
de_type5_list_skin = '$de_type5_list_skin', de_type5_list_skin = '{$_POST['de_type5_list_skin']}',
de_type5_list_mod = '$de_type5_list_mod', de_type5_list_mod = '{$_POST['de_type5_list_mod']}',
de_type5_list_row = '$de_type5_list_row', de_type5_list_row = '{$_POST['de_type5_list_row']}',
de_type5_img_width = '$de_type5_img_width', de_type5_img_width = '{$_POST['de_type5_img_width']}',
de_type5_img_height = '$de_type5_img_height', de_type5_img_height = '{$_POST['de_type5_img_height']}',
de_mobile_type1_list_use = '$de_mobile_type1_list_use', de_mobile_type1_list_use = '{$_POST['de_mobile_type1_list_use']}',
de_mobile_type1_list_skin = '$de_mobile_type1_list_skin', de_mobile_type1_list_skin = '{$_POST['de_mobile_type1_list_skin']}',
de_mobile_type1_list_mod = '$de_mobile_type1_list_mod', de_mobile_type1_list_mod = '{$_POST['de_mobile_type1_list_mod']}',
de_mobile_type1_img_width = '$de_mobile_type1_img_width', de_mobile_type1_list_row = '{$_POST['de_mobile_type1_list_row']}',
de_mobile_type1_img_height = '$de_mobile_type1_img_height', de_mobile_type1_img_width = '{$_POST['de_mobile_type1_img_width']}',
de_mobile_type2_list_use = '$de_mobile_type2_list_use', de_mobile_type1_img_height = '{$_POST['de_mobile_type1_img_height']}',
de_mobile_type2_list_skin = '$de_mobile_type2_list_skin', de_mobile_type2_list_use = '{$_POST['de_mobile_type2_list_use']}',
de_mobile_type2_list_mod = '$de_mobile_type2_list_mod', de_mobile_type2_list_skin = '{$_POST['de_mobile_type2_list_skin']}',
de_mobile_type2_img_width = '$de_mobile_type2_img_width', de_mobile_type2_list_mod = '{$_POST['de_mobile_type2_list_mod']}',
de_mobile_type2_img_height = '$de_mobile_type2_img_height', de_mobile_type2_list_row = '{$_POST['de_mobile_type2_list_row']}',
de_mobile_type3_list_use = '$de_mobile_type3_list_use', de_mobile_type2_img_width = '{$_POST['de_mobile_type2_img_width']}',
de_mobile_type3_list_skin = '$de_mobile_type3_list_skin', de_mobile_type2_img_height = '{$_POST['de_mobile_type2_img_height']}',
de_mobile_type3_list_mod = '$de_mobile_type3_list_mod', de_mobile_type3_list_use = '{$_POST['de_mobile_type3_list_use']}',
de_mobile_type3_img_width = '$de_mobile_type3_img_width', de_mobile_type3_list_skin = '{$_POST['de_mobile_type3_list_skin']}',
de_mobile_type3_img_height = '$de_mobile_type3_img_height', de_mobile_type3_list_mod = '{$_POST['de_mobile_type3_list_mod']}',
de_mobile_type4_list_use = '$de_mobile_type4_list_use', de_mobile_type3_list_row = '{$_POST['de_mobile_type3_list_row']}',
de_mobile_type4_list_skin = '$de_mobile_type4_list_skin', de_mobile_type3_img_width = '{$_POST['de_mobile_type3_img_width']}',
de_mobile_type4_list_mod = '$de_mobile_type4_list_mod', de_mobile_type3_img_height = '{$_POST['de_mobile_type3_img_height']}',
de_mobile_type4_img_width = '$de_mobile_type4_img_width', de_mobile_type4_list_use = '{$_POST['de_mobile_type4_list_use']}',
de_mobile_type4_img_height = '$de_mobile_type4_img_height', de_mobile_type4_list_skin = '{$_POST['de_mobile_type4_list_skin']}',
de_mobile_type5_list_use = '$de_mobile_type5_list_use', de_mobile_type4_list_mod = '{$_POST['de_mobile_type4_list_mod']}',
de_mobile_type5_list_skin = '$de_mobile_type5_list_skin', de_mobile_type4_list_row = '{$_POST['de_mobile_type4_list_row']}',
de_mobile_type5_list_mod = '$de_mobile_type5_list_mod', de_mobile_type4_img_width = '{$_POST['de_mobile_type4_img_width']}',
de_mobile_type5_img_width = '$de_mobile_type5_img_width', de_mobile_type4_img_height = '{$_POST['de_mobile_type4_img_height']}',
de_mobile_type5_img_height = '$de_mobile_type5_img_height', de_mobile_type5_list_use = '{$_POST['de_mobile_type5_list_use']}',
de_rel_list_use = '$de_rel_list_use', de_mobile_type5_list_skin = '{$_POST['de_mobile_type5_list_skin']}',
de_rel_list_skin = '$de_rel_list_skin', de_mobile_type5_list_mod = '{$_POST['de_mobile_type5_list_mod']}',
de_rel_list_mod = '$de_rel_list_mod', de_mobile_type5_list_row = '{$_POST['de_mobile_type5_list_row']}',
de_rel_img_width = '$de_rel_img_width', de_mobile_type5_img_width = '{$_POST['de_mobile_type5_img_width']}',
de_rel_img_height = '$de_rel_img_height', de_mobile_type5_img_height = '{$_POST['de_mobile_type5_img_height']}',
de_mobile_rel_list_use = '$de_mobile_rel_list_use', de_rel_list_use = '{$_POST['de_rel_list_use']}',
de_mobile_rel_list_skin = '$de_mobile_rel_list_skin', de_rel_list_skin = '{$_POST['de_rel_list_skin']}',
de_mobile_rel_img_width = '$de_mobile_rel_img_width', de_rel_list_mod = '{$_POST['de_rel_list_mod']}',
de_mobile_rel_img_height = '$de_mobile_rel_img_height', de_rel_img_width = '{$_POST['de_rel_img_width']}',
de_search_list_skin = '$de_search_list_skin', de_rel_img_height = '{$_POST['de_rel_img_height']}',
de_search_list_mod = '$de_search_list_mod', de_mobile_rel_list_use = '{$_POST['de_mobile_rel_list_use']}',
de_search_list_row = '$de_search_list_row', de_mobile_rel_list_skin = '{$_POST['de_mobile_rel_list_skin']}',
de_search_img_width = '$de_search_img_width', de_mobile_rel_list_mod = '{$_POST['de_mobile_rel_list_mod']}',
de_search_img_height = '$de_search_img_height', de_mobile_rel_img_width = '{$_POST['de_mobile_rel_img_width']}',
de_mobile_search_list_skin = '$de_mobile_search_list_skin', de_mobile_rel_img_height = '{$_POST['de_mobile_rel_img_height']}',
de_mobile_search_list_mod = '$de_mobile_search_list_mod', de_search_list_skin = '{$_POST['de_search_list_skin']}',
de_mobile_search_img_width = '$de_mobile_search_img_width', de_search_list_mod = '{$_POST['de_search_list_mod']}',
de_mobile_search_img_height = '$de_mobile_search_img_height', de_search_list_row = '{$_POST['de_search_list_row']}',
de_bank_use = '$de_bank_use', de_search_img_width = '{$_POST['de_search_img_width']}',
de_bank_account = '$de_bank_account', de_search_img_height = '{$_POST['de_search_img_height']}',
de_card_test = '$de_card_test', de_mobile_search_list_skin = '{$_POST['de_mobile_search_list_skin']}',
de_card_use = '$de_card_use', de_mobile_search_list_mod = '{$_POST['de_mobile_search_list_mod']}',
de_card_noint_use = '$de_card_noint_use', de_mobile_search_list_row = '{$_POST['de_mobile_search_list_row']}',
de_card_point = '$de_card_point', de_mobile_search_img_width = '{$_POST['de_mobile_search_img_width']}',
de_settle_min_point = '$de_settle_min_point', de_mobile_search_img_height = '{$_POST['de_mobile_search_img_height']}',
de_settle_max_point = '$de_settle_max_point', de_bank_use = '{$_POST['de_bank_use']}',
de_settle_point_unit = '$de_settle_point_unit', de_bank_account = '{$_POST['de_bank_account']}',
de_level_sell = '$de_level_sell', de_card_test = '{$_POST['de_card_test']}',
de_delivery_company = '$de_delivery_company', de_card_use = '{$_POST['de_card_use']}',
de_send_cost_case = '$de_send_cost_case', de_card_noint_use = '{$_POST['de_card_noint_use']}',
de_send_cost_limit = '$de_send_cost_limit', de_card_point = '{$_POST['de_card_point']}',
de_send_cost_list = '$de_send_cost_list', de_settle_min_point = '{$_POST['de_settle_min_point']}',
de_hope_date_use = '$de_hope_date_use', de_settle_max_point = '{$_POST['de_settle_max_point']}',
de_hope_date_after = '$de_hope_date_after', de_settle_point_unit = '{$_POST['de_settle_point_unit']}',
de_baesong_content = '$de_baesong_content', de_level_sell = '{$_POST['de_level_sell']}',
de_change_content = '$de_change_content', de_delivery_company = '{$_POST['de_delivery_company']}',
de_level_sell = '$de_level_sell', de_send_cost_case = '{$_POST['de_send_cost_case']}',
de_point_days = '$de_point_days', de_send_cost_limit = '{$_POST['de_send_cost_limit']}',
de_simg_width = '$de_simg_width', de_send_cost_list = '{$_POST['de_send_cost_list']}',
de_simg_height = '$de_simg_height', de_hope_date_use = '{$_POST['de_hope_date_use']}',
de_mimg_width = '$de_mimg_width', de_hope_date_after = '{$_POST['de_hope_date_after']}',
de_mimg_height = '$de_mimg_height', de_baesong_content = '{$_POST['de_baesong_content']}',
de_pg_service = '$de_pg_service', de_change_content = '{$_POST['de_change_content']}',
de_kcp_mid = '$de_kcp_mid', de_level_sell = '{$_POST['de_level_sell']}',
de_kcp_site_key = '$de_kcp_site_key', de_point_days = '{$_POST['de_point_days']}',
de_inicis_mid = '$de_inicis_mid', de_simg_width = '{$_POST['de_simg_width']}',
de_inicis_admin_key = '$de_inicis_admin_key', de_simg_height = '{$_POST['de_simg_height']}',
de_iche_use = '$de_iche_use', de_mimg_width = '{$_POST['de_mimg_width']}',
de_sms_cont1 = '$de_sms_cont1', de_mimg_height = '{$_POST['de_mimg_height']}',
de_sms_cont2 = '$de_sms_cont2', de_pg_service = '{$_POST['de_pg_service']}',
de_sms_cont3 = '$de_sms_cont3', de_kcp_mid = '{$_POST['de_kcp_mid']}',
de_sms_cont4 = '$de_sms_cont4', de_kcp_site_key = '{$_POST['de_kcp_site_key']}',
de_sms_cont5 = '$de_sms_cont5', de_inicis_mid = '{$_POST['de_inicis_mid']}',
de_sms_use1 = '$de_sms_use1', de_inicis_admin_key = '{$_POST['de_inicis_admin_key']}',
de_sms_use2 = '$de_sms_use2', de_iche_use = '{$_POST['de_iche_use']}',
de_sms_use3 = '$de_sms_use3', de_sms_cont1 = '{$_POST['de_sms_cont1']}',
de_sms_use4 = '$de_sms_use4', de_sms_cont2 = '{$_POST['de_sms_cont2']}',
de_sms_use5 = '$de_sms_use5', de_sms_cont3 = '{$_POST['de_sms_cont3']}',
de_sms_hp = '$de_sms_hp', de_sms_cont4 = '{$_POST['de_sms_cont4']}',
de_item_use_use = '$de_item_use_use', de_sms_cont5 = '{$_POST['de_sms_cont5']}',
de_item_use_write = '$de_item_use_write', de_sms_use1 = '{$_POST['de_sms_use1']}',
de_code_dup_use = '$de_code_dup_use', de_sms_use2 = '{$_POST['de_sms_use2']}',
de_cart_keep_term = '$de_cart_keep_term', de_sms_use3 = '{$_POST['de_sms_use3']}',
de_guest_cart_use = '$de_guest_cart_use', de_sms_use4 = '{$_POST['de_sms_use4']}',
de_admin_buga_no = '$de_admin_buga_no', de_sms_use5 = '{$_POST['de_sms_use5']}',
de_vbank_use = '$de_vbank_use', de_sms_hp = '{$_POST['de_sms_hp']}',
de_taxsave_use = '$de_taxsave_use', de_item_use_use = '{$_POST['de_item_use_use']}',
de_guest_privacy = '$de_guest_privacy', de_item_use_write = '{$_POST['de_item_use_write']}',
de_hp_use = '$de_hp_use', de_code_dup_use = '{$_POST['de_code_dup_use']}',
de_escrow_use = '$de_escrow_use', de_cart_keep_term = '{$_POST['de_cart_keep_term']}',
de_tax_flag_use = '$de_tax_flag_use', de_guest_cart_use = '{$_POST['de_guest_cart_use']}',
de_member_reg_coupon_use = '$de_member_reg_coupon_use', de_admin_buga_no = '{$_POST['de_admin_buga_no']}',
de_member_reg_coupon_term = '$de_member_reg_coupon_term', de_vbank_use = '{$_POST['de_vbank_use']}',
de_member_reg_coupon_price = '$de_member_reg_coupon_price', de_taxsave_use = '{$_POST['de_taxsave_use']}',
de_member_reg_coupon_minimum = '$de_member_reg_coupon_minimum' de_guest_privacy = '{$_POST['de_guest_privacy']}',
de_hp_use = '{$_POST['de_hp_use']}',
de_escrow_use = '{$_POST['de_escrow_use']}',
de_tax_flag_use = '{$_POST['de_tax_flag_use']}',
de_member_reg_coupon_use = '{$_POST['de_member_reg_coupon_use']}',
de_member_reg_coupon_term = '{$_POST['de_member_reg_coupon_term']}',
de_member_reg_coupon_price = '{$_POST['de_member_reg_coupon_price']}',
de_member_reg_coupon_minimum = '{$_POST['de_member_reg_coupon_minimum']}'
"; ";
sql_query($sql); sql_query($sql);
// 환경설정 > 포인트 사용 // 환경설정 > 포인트 사용
sql_query(" update {$g5['config_table']} set cf_use_point = '$cf_use_point' "); sql_query(" update {$g5['config_table']} set cf_use_point = '{$_POST['cf_use_point']}' ");
// LG, 아이코드 설정 // LG, 아이코드 설정
$sql = " update {$g5['config_table']} $sql = " update {$g5['config_table']}
set cf_sms_use = '$cf_sms_use', set cf_sms_use = '{$_POST['cf_sms_use']}',
cf_icode_id = '$cf_icode_id', cf_icode_id = '{$_POST['cf_icode_id']}',
cf_icode_pw = '$cf_icode_pw', cf_icode_pw = '{$_POST['cf_icode_pw']}',
cf_icode_server_ip = '$cf_icode_server_ip', cf_icode_server_ip = '{$_POST['cf_icode_server_ip']}',
cf_icode_server_port = '$cf_icode_server_port', cf_icode_server_port = '{$_POST['cf_icode_server_port']}',
cf_lg_mid = '$cf_lg_mid', cf_lg_mid = '{$_POST['cf_lg_mid']}',
cf_lg_mert_key = '$cf_lg_mert_key' "; cf_lg_mert_key = '{$_POST['cf_lg_mert_key']}' ";
sql_query($sql); sql_query($sql);
goto_url("./configform.php"); goto_url("./configform.php");

View File

@ -3,14 +3,15 @@
/* 초기화 */ /* 초기화 */
html {overflow-y:scroll} html {overflow-y:scroll}
body {margin:0;padding:0;font-size:0.75em} body {margin:0;padding:0;font-size:0.75em;height:100%;font-family:sans-serif; }
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0} 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} h1, h2, h3, h4, h5, h6 {font-size:1em}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none} header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden} legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle} label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-size:1em} input, button {margin:0;padding:0;font-size:1em;}
button,input[type=submit]{cursor:pointer;}
input[type=text], input[type=password], input[type=submit], input[type=image], button {border-radius:0;font-size:1em;-webkit-appearance:none} input[type=text], input[type=password], input[type=submit], input[type=image], button {border-radius:0;font-size:1em;-webkit-appearance:none}
textarea, select {font-size:1em;font-family:dotum} textarea, select {font-size:1em;font-family:dotum}
textarea {border-radius:0;-webkit-appearance:none} textarea {border-radius:0;-webkit-appearance:none}
@ -18,6 +19,7 @@ p {margin:0;padding:0;word-break:break-all}
hr {display:none} hr {display:none}
pre {overflow-x:scroll;font-size:1.1em} pre {overflow-x:scroll;font-size:1.1em}
a:link, a:visited {color:#000;text-decoration:none} a:link, a:visited {color:#000;text-decoration:none}
ul,li{list-style:none;padding:0;margin:0;}
/* 팝업레이어 */ /* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:100%;height:1px} #hd_pop {z-index:1000;position:relative;margin:0 auto;width:100%;height:1px}
@ -28,29 +30,61 @@ a:link, a:visited {color:#000;text-decoration:none}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff} .hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
/* 상단 레이아웃 */ /* 상단 레이아웃 */
#hd {position:relative;margin:0 0 10px;padding:10px 0;border-bottom:1px solid #e9e9e9;text-align:center} #hd {position:relative;margin:0 0 ;padding: 0;text-align:center}
#hd h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #hd h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#logo {padding:10px 0} #hd_tnb{margin-top:-1px}
#hd_tnb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_tnb li{float:left;width:25%;}
#hd_tnb li a{display:block;color:#a8a8a8;background:#f9f9f9;border:1px solid #e9e9e9;border-right:none;height:30px;line-height:30px;font-size:0.92em}
#hd_tnb li a:hover{background:#f1f1f1}
#hd_tnb li:first-child a{border-left:none}
#hd_tnb li .tnb_cart {color:#34b5a1}
#hd_tnb li .tnb_cart span{background:url(../mobile/shop/img/cart.gif) no-repeat;display:inline-block;width:11px;height:9px;margin-right:2px}
#logo{margin:25px 0}
#hd_ct {position:absolute;top:10px;left:10px;padding:10px;border:0;background:#333;color:#fff;font-size:1em;text-decoration:none;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none} #hd_sch_open {position:absolute;top:48px;right:10px;padding:0 10px;height:2.6em;border:0;background:url(../mobile/shop/img/sch.gif) no-repeat 50% 50%;color:#fff;font-size:0.01em;width:30px;height:30px;-webkit-appearance:none;text-indent:-999px;}
#hd_sch {display:none;z-index:10;width:100%;height:100%;background:#f8f8f8;text-align:center;border-top:1px solid #e9e9e9}
#hd_sch_open {position:absolute;top:10px;right:10px;padding:0 10px;height:2.6em;border:0;background:#333;color:#fff;font-size:1em;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none}
#hd_sch {display:none;z-index:10;position:absolute;top:0;left:0;width:100%;height:100%;background:#f2f5f9;text-align:center}
#hd_sch h2 {margin:0 0 10px} #hd_sch h2 {margin:0 0 10px}
#hd_sch .sch_inner {padding:22px 0 0} #hd_sch .sch_inner {padding:10px;position:relative;}
#hd_sch .frm_input {height:2.5em;border-color:#999;background:#fff;line-height:2.5em} #hd_sch .sch_inner h2{position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#hd_sch .btn_submit {height:2.7em} #hd_sch .frm_input {height:30px;border-color:#c2c2c2;background:#fff;line-height:30px;width:100%;text-indent:5px}
#hd_sch .pop_close {position:absolute;bottom:5px;right:5px;padding:7px;border:0;background:#626870;color:#fff} #hd_sch .btn_submit {height:2.7em;position:absolute;top:10px;right:15px;background:url(../mobile/shop/img/sch2.gif) no-repeat 50% 50%;text-indent:-999px;width:30px;height:30px;}
#hd_sch .pop_close {text-align:center;padding:5px;border:0;background:#626870;color:#fff;margin-top:5px}
#hd_mb {margin:10px 10px 0;text-align:center} #hd_ct {position:absolute;top:48px;left:10px;width:30px;height:30px;border:0;background:url(../mobile/shop/img/cate.gif) no-repeat 50% 50%;color:#fff;font-size:1em;text-indent:-9999px;-webkit-appearance:none;}
#hd_mb li {display:inline-block;margin:0 0 5px 10px}
#hd_mb a {display:block;padding:5px;text-decoration:none;letter-spacing:-0.1em} #hd_mb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_mb li{float:left;width:25%;}
#hd_mb li a{display:block;background:#34b5a1;color:#fff;height:40px;line-height:40px;border-left:1px solid #2d9e8c;font-weight:bold}
#hd_mb li a:hover{background:#2d9e8c}
#hd_mb li:first-child a{border-left:none}
/*카테고리*/
#category{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0,0.8);z-index:99999;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-backface-visibility: hidden;}
#category .ct_wr{width:250px;height:100%;overflow-y:auto;background:#fff;}
#category ul.cate_tab{width:100%;}
#category ul.cate_tab:after{display:block;visibility:hidden;clear:both;content:""}
#category ul.cate_tab li{float:left;width:33.3%;font-size:0.92em;}
#category ul.cate_tab li a{display:block;height:30px;line-height:30px;color:#a8a8a8;background:#f9f9f9;border:1px solid #e9e9e9;border-left:none}
#category ul.cate_tab li a.ct_tab_sl{background:#fff;border-bottom-color:#fff;color:#545454}
#category ul.cate{background:#fff;;width:100%;text-align:left;text-indent:10px;}
#category ul.cate>li{line-height:35px;border-bottom:1px solid #e9e9e9;}
#category ul.cate li{position:relative;font-weight:bold;}
#category ul.cate li a{color:#545454;display:block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;padding-right:30px;}
#category ul.cate li .ct_op{display:inline-block;text-indent:-999px;background:url(../mobile/shop/img/cate_op.gif) no-repeat 10px 50% ;height:35px; width:30px;position:absolute;top:0;right:0;border:none}
#category ul.cate li a:hover{color:#34b5a1}
#category ul.cate li .ct_cl{background-position:-12px 50%}
#category ul.sub_cate{display:none}
#category ul.sub_cate1 li{text-indent:14px;background:#fafafa;border-top:1px solid #e9e9e9;font-weight:normal}
#category ul.sub_cate2 li{text-indent:25px;background:#f6f6f6;}
#category ul.sub_cate3 li{text-indent:40px;background:#f3f3f3;}
#category ul.sub_cate4 li{text-indent:55px;background:#efefef;}
#category .pop_close{position:absolute;top:10px;left:260px;width:30px;height:30px; background:url(../mobile/shop/img/close.png) no-repeat 50% 50%;;border:none;text-indent:-99999px}
/* 중간 레이아웃 */ /* 중간 레이아웃 */
#container {padding:10px} #container {padding:0 }
#container_title {margin:0 0 10px;padding:0;font-size:1.333em} #container_title {margin:0 ;padding:0;font-size:1.083em;text-align:center;letter-spacing:0.2em;font-weight:bold;border-bottom:1px solid #e9e9e9;padding:13px;}
/* 내용관리 */ /* 내용관리 */
#ctt {margin:10px 0;padding:10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} #ctt {margin:10px 0;padding:10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
@ -60,44 +94,34 @@ a:link, a:visited {color:#000;text-decoration:none}
.ctt_img {text-align:center} .ctt_img {text-align:center}
/* 하단 레이아웃 */ /* 하단 레이아웃 */
#ft {margin:20px 0 0;padding:20px 0 0;border-top:1px solid #e9e9e9;font-size:0.833em;text-align:center;letter-spacing:-0.1em} #ft {margin:20px 0 0;padding:15px 0 0;border-top:1px solid #e9e9e9;font-size:0.917em;color:#7c7b7b;text-align:center;letter-spacing:-0.1em}
#ft h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #ft h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#ft p {margin:0;padding:10px 0;line-height:1.8em} #ft p {margin:0;padding:10px 0;line-height:1.8em}
#ft_to_top {display:block;margin:10px 10px 20px;padding:10px;background:#f2f5f9} #ft_to_top {display:block;margin:10px 10px ;padding:10px;background:#f2f5f9}
/* 목록 바로가기 */ /* 목록 바로가기 */
.sanchor {margin:0 0 5px;padding:0} .sanchor {margin:0 0 5px;padding:0}
.sanchor:after {display:block;visibility:hidden;clear:both;content:""} .sanchor:after {display:block;visibility:hidden;clear:both;content:""}
.sanchor li {float:left;margin-left:-1px;list-style:none} .sanchor li {float:left;list-style:none;width:25%;border-top:2px solid #000;text-align:center; overflow: hidden; white-space: nowrap;letter-spacing:0.2em;font-size:0.93em}
.sanchor a {display:inline-block;padding:10px;border:1px solid #e9e9e9;background:#f0f1f2;text-decoration:none} .sanchor a {display:block;padding:10px;border-left:1px solid #ededed;border-bottom:1px solid #ededed;background:#fcfcfc;text-decoration:none;color:#484848}
.sanchor a:focus, .sanchor a:hover {background:#626870;color:#fff;text-decoration:none} .sanchor a:focus, .sanchor a:hover {background:#eee;text-decoration:none}
a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} .sanchor a.sanchor_on {background:#fff;text-decoration:none;border-bottom:1px solid #fff;}
/* ########## 쇼핑몰 컨텐츠 ########## */ /* ########## 쇼핑몰 컨텐츠 ########## */
/* 분류:새창 */ /*메인배너*/
#sct_win {} #main_bn{position:relative;margin:0 0 20px;height:auto}
#sct_win h1 {padding:15px 0;text-align:center} #main_bn .bn_img li{width:100%}
#sct_win_nav {margin:0 0 20px} #main_bn .bn_img li img{width:100%}
#sct_win_nav h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #main_bn .bn_img{overflow:hidden}
#sct_win_nav ul {border-top:1px solid #e9e9e9} #main_bn .bn_img li {position:relative;float:left;}
#sct_win_nav li {position:relative;border-bottom:1px solid #e9e9e9;background:#f5f6fa} #main_bn .bn_img li.bn_first{display:block}
#sct_win_nav a {display:block;padding:0.5em 1em;text-decoration:none} #main_bn .bn_silde_btn{width:100%;text-align:center;margin-top:5px}
.sct_ct_view {font-weight:bold} #main_bn .bn_silde_btn button{background:url(../mobile/shop/img/best_btn.gif) no-repeat 5px 5px;border:none;text-indent:-9999px;width:20px;height:20px;}
.sct_list_view {position:absolute;top:0;right:0;width:4em;background:#333;color:#fff !important;text-align:center} #main_bn .bn_silde_btn button.bn_sl{background-position:-11px 5px;border:none;text-indent:-9999px;width:20px;height:20px}
#sct_win_empty {margin:0 0 1em;padding:5em 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa;text-align:center}
#sct_win .win_btn {text-align:center}
#sct_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em}
/* 인덱스 이미지 출력 */ /* 인덱스 이미지 출력 */
#sidx {padding:0} #sidx {padding:0;margin-bottom:20px;margin-top:10px}
#slide_tab {display:none}
/* 인덱스 상품 */
#slide_tab {position:relative;margin:-10px 0 30px;padding:0;width:100%;height:40px;background:#383838;list-style:none;overflow:hidden}
#slide_tab li {position:absolute;top:0;text-align:center}
#slide_tab button {margin:0;padding:0 15px;height:40px;border:0;background:#585858;color:#fff}
#slide_tab .tab_active button {background:transparent;font-weight:bold}
#sidx_slide {position:relative;top:0;left:0;width:100%;overflow:hidden} #sidx_slide {position:relative;top:0;left:0;width:100%;overflow:hidden}
.sidx_slide {position:absolute;top:0;left:0;width:100%} .sidx_slide {position:absolute;top:0;left:0;width:100%}
@ -117,202 +141,243 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none}
} }
/* 사용후기 모음 */ /* 사용후기 모음 */
#sps_sch {margin:0 0 10px} #sps_sch {margin: 10px}
#sps_sch a {display:inline-block;padding:0 8px;height:23px;background:#333;color:#fff;text-decoration:none;vertical-align:middle;line-height:23px} #sps_sch a {display:inline-block;padding:0 8px;height:23px;background:#333;color:#fff;text-decoration:none;vertical-align:middle;line-height:23px}
#sps_sch .btn_submit {padding:0 8px;height:23px;vertical-align:middle} #sps_sch .btn_submit {padding:0 8px;height:23px;vertical-align:middle}
#sps {zoom:1} #sps {zoom:1}
#sps ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none} #sps ol {margin:0;padding:0 10px;border-top:1px solid #e9e9e9;list-style:none}
#sps li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9} #sps li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9}
#sps li:after {display:block;visibility:hidden;clear:both;content:""} #sps li:after {display:block;visibility:hidden;clear:both;content:""}
.sps_img {float:left;width:25%} .sps_img {position:absolute;top:10px;left:0px}
.sps_img span {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} .sps_img span {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sps dl {margin:5px 0 10px} #sps dl {margin:5px 0 10px; color: #888; font-size: 0.917em;overflow:hidden}
#sps dl:after {display:block;visibility:hidden;clear:both;content:""}
#sps dt {float:left;margin:0 0 5px} #sps dt {float:left;margin:0 0 5px}
#sps dd {float:left;margin:0 15px 5px 5px} #sps dd {float:left;margin:0 15px 5px 5px}
#sps dd img {position:relative;top:-2px} #sps dd img {position:relative;top:-2px}
.sps_section {float:right;width:75%} .sps_section {margin-left:80px;display:block;}
.sps_section p {padding:0;width:100%} .sps_section p {padding:0;width:100%}
.sps_con_full {padding:0;height:auto !important} .sps_con_full {padding:0;height:auto !important}
.sps_con_btn {margin:5px 0 0;text-align:right} .sps_con_btn {margin:5px 0 0;text-align:right}
.sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff} .sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff}
/* 상품문의 모음 */ /* 상품문의 모음 */
#sqa_sch {margin:0 0 10px} #sqa_sch {margin:10px 10px}
#sqa_sch #sfl{height:24px}
#sqa_sch a {display:inline-block;padding:0 8px;height:2em;background:#333;color:#fff;text-decoration:none;vertical-align:middle;line-height:1.9em} #sqa_sch a {display:inline-block;padding:0 8px;height:2em;background:#333;color:#fff;text-decoration:none;vertical-align:middle;line-height:1.9em}
#sqa_sch .btn_submit {padding:0 8px;height:23px;vertical-align:middle} #sqa_sch .btn_submit {padding:0 8px;height:23px;vertical-align:middle}
#sqa {zoom:1} #sqa {zoom:1;}
#sqa ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none} #sqa ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none;padding:0 10px}
#sqa li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9} #sqa li {position:relative;padding:10px 0;border-bottom:1px solid #e9e9e9}
#sqa li:after {display:block;visibility:hidden;clear:both;content:""} #sqa li:after {display:block;visibility:hidden;clear:both;content:""}
.sqa_img {float:left;width:25%} .sqa_img {position:absolute;top:10px;left:0px}
.sqa_img span {position:absolute;font-size:0;line-height:0} .sqa_img span {position:absolute;font-size:0;line-height:0;overflow:hidden;width:0;}
#sqa dl {margin:5px 0 10px} #sqa dl {margin:5px 0 10px; color: #888; font-size: 0.917em;overflow:hidden}
#sqa dl:after {display:block;visibility:hidden;clear:both;content:""}
#sqa dt {float:left;margin:0 0 5px} #sqa dt {float:left;margin:0 0 5px}
#sqa dd {float:left;margin:0 15px 5px 5px} #sqa dd {float:left;margin:0 15px 5px 5px}
#sqa dd img {position:relative;top:-2px} #sqa dd img {position:relative;top:-2px}
.sqa_section {float:right;width:75%} .sqa_section {margin-left:80px;display:block}
.sqa_section .sqa_con {padding:10px;background:#f2f5f9;line-height:1.7em} .sqa_section .sqa_con {padding:10px;background:#f2f5f9;line-height:1.7em}
.sqa_section p {padding:0;width:100%} .sqa_section p {padding:0;width:100%}
.sqa_con_full {padding:0;height:auto !important} .sqa_con_full {padding:0;height:auto !important}
.sqa_con_btn {margin:5px 0 0;text-align:right} .sqa_con_btn {margin:5px 0 0;text-align:right}
.sqa_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff} .sqa_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff}
#sqa .sit_qa_qaq,#sqa .sit_qa_qaa {padding:10px 5px 10px ;position:relative}
/* 마이페이지 */ /* 마이페이지 */
#smb_my {} #smb_my {padding:10px;}
#smb_my_ov {margin:0 0 20px} #smb_my_ov {margin:0 0 20px}
#smb_my_ov ul:after {display:block;visibility:hidden;clear:both;content:''}
#smb_my_ov ul li{width:48.5%;float:left;padding:10px 0;background:#f2f2f2;text-indent:10px;height:55px;position:relative;border:1px solid #dbdbdb;margin-bottom:5px}
#smb_my_ov ul li:first-child{float:right;}
#smb_my_ov ul li a{position:absolute;bottom:10px;right:10px;color:#ff3e5e;font-weight:bold;font-size:1.3em}
#smb_my_ov h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #smb_my_ov h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#smb_my_ov dl {margin:0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f2f5f9} #smb_my_ov dl {margin:0;border:1px solid #dbdbdb;font-size:0.92em;color:#666}
#smb_my_ov dl:after {display:block;visibility:hidden;clear:both;content:''} #smb_my_ov dl:after {display:block;visibility:hidden;clear:both;content:''}
#smb_my_ov dt {float:left;padding:10px 3%;width:24%;border-bottom:1px solid #e9e9e9;font-weight:bold} #smb_my_ov dt {float:left;height:34px ;line-height:34px;width:35%;border-bottom:1px solid #e9e9e9;font-weight:bold;text-indent:10px;}
#smb_my_ov dd {float:left;margin:0;padding:10px 0;width:70%;border-bottom:1px solid #e9e9e9} #smb_my_ov dd {float:left;margin:0;height:34px ;line-height:34px;width:65%;border-bottom:1px solid #e9e9e9}
#smb_my_ov .ov_addr {border-bottom:0} #smb_my_ov dt.my_point{background:#f2f2f2;width:49%;}
#smb_my_ov .ov_addr {border-bottom:0;height:auto;line-height:24px;padding: 5px 0}
#smb_my_od {margin:0 0 15px} #smb_my_od {margin:0 0 20px}
#smb_my_od h2 {margin:0 0 10px} #smb_my_od h2 {margin:0 0 10px}
#smb_my_od .td_stat {width:100px} #smb_my_od .td_stat {width:100px}
#smb_my_wish h2 {margin:0 0 10px} #smb_my_wish h2 {margin:0 0 10px}
#smb_my_wish ul {margin:0;padding:0;list-style:none} #smb_my_wish ul {margin:0;padding:0;list-style:none}
#smb_my_wish li {position:relative;padding:5px 0 30px;min-height:35px;border-bottom:1px solid #e9e9e9} #smb_my_wish li {position:relative;padding:5px 0 30px;min-height:35px;border:1px solid #e9e9e9;margin-bottom:5px;}
#smb_my_wish li:nth-of-type(1) {border-top:1px solid #e9e9e9} #smb_my_wish li:nth-of-type(1) {border-top:1px solid #e9e9e9}
#smb_my_wish .wish_img {position:absolute;top:10px;left:0} #smb_my_wish .wish_img {position:absolute;top:10px;left:10px}
#smb_my_wish .info_link {display:block;padding:5px 0;font-size:1.2em;font-weight:bold} #smb_my_wish .info_link {display:block;padding:5px 0;font-size:1.2em;}
#smb_my_wish .info_date {position:absolute;bottom:10px;right:0} #smb_my_wish .info_date {position:absolute;bottom:10px;right:10px;color:#737373}
/* 장바구니 주문서 공통 */ /* 장바구니 주문서 공통 */
#sod_chk {padding:0 0 10px;text-align:right} #sod_chk {padding:0 0 5px;}
.sod_list {position:relative;margin:0;padding:0;list-style:none} .sod_list {position:relative;margin:0;padding:0;list-style:none}
.sod_list .sod_li {position:relative;padding:5px 0;border-top:1px solid #e9e9e9} .sod_list .sod_li {position:relative;padding:0;border:1px solid #e9e9e9;margin:10px 0}
.sod_list .sod_li:after {display:block;visibility:hidden;clear:both;content:""} .sod_list .sod_li:after {display:block;visibility:hidden;clear:both;content:""}
.sod_list .li_chk {position:absolute;top:12px;right:0} .sod_list .li_chk{position:absolute;top:10px;left:10px;}
.sod_list .li_name {margin:0 0 15px} .sod_list .li_name{min-height:130px}
.sod_list .li_name a {display:block;width:90%} .sod_list .li_name a,.sod_list .li_name strong{display:block;padding: 0 10px 0 25px;border-bottom:1px solid #e9e9e9;height:35px;line-height:35px}
.sod_list .li_name strong {display:inline-block;padding:8px 0 10px;font-size:1.167em} .sod_list .li_name strong{padding-left:10px}
.sod_list .li_prqty {margin:0 0 5px;padding:0 0 15px;border-bottom:1px solid #e9e9e9;text-align:Center} .sod_list .total_img{position:absolute;top:45px;left:10px;}
.sod_list .sod_opt{padding:10px 10px 5px;margin-left:90px;color:#9e9e9e;font-size:0.93em}
.sod_list .sod_opt li{margin-bottom:3px}
.sod_list .li_cp{position:relative}
.sod_list .li_cp .cp_btn, .sod_list .li_cp .cp_cancel, .sod_list .li_mod .mod_btn {margin:0;padding:5px 8px;border:0;background:#000;color:#fff;font-size:0.93em}
.sod_list .li_cp .cp_cancel,.odf_tbl #od_coupon_cancel,.odf_tbl #sc_coupon_cancel{border:1px solid #999;color:#777;background:#fafafa;margin-left:3px;padding:4px 5px}
.sod_list .li_prqty{margin:10px;}
.sod_list .li_prqty:after {display:block;visibility:hidden;clear:both;content:""} .sod_list .li_prqty:after {display:block;visibility:hidden;clear:both;content:""}
.sod_list .li_prqty span {display:inline-block;font-weight:bold} .sod_list .li_prqty .li_prqty_sp{width:33%;display:inline-block;float:left;text-align:center;line-height:2.2em;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3;border-left:1px solid #e9e9e9;color:#9e9e9e;font-size:0.93em;margin-left:-1px}
.sod_list .li_prqty span span {margin:0 5px 0 0;font-weight:normal} .sod_list .li_prqty .prqty_price{border-left:1px solid #d3d3d3;}
.sod_list .prqty_qty {margin:0 20px;padding:0 20px;border-right:1px solid #e9e9e9;border-left:1px solid #e9e9e9} .sod_list .li_prqty .prqty_sc{border-right:1px solid #d3d3d3;}
.sod_list .prqty_stat {margin:0 0 0 20px;padding:0 0 0 20px;border-left:1px solid #e9e9e9} .sod_list .li_prqty .li_prqty_sp span{display:block;background:#f2f2f2;}
.sod_list .li_cp, .sod_list .li_mod {margin:5px 0 0} .sod_list .li_total {position:relative;border-top:1px solid #e9e9e9;margin:10px 10px 0;}
.sod_list .li_cp:after {display:block;visibility:hidden;clear:both;content:""} .sod_list .total_span {display:block;position:relative;padding:5px 0;text-align:right;color:#343434}
.sod_list .li_cp .cp_btn, .sod_list .li_cp .cp_cancel, .sod_list .li_mod .mod_btn {margin:0;padding:10px 0;width:100%;border:0;background:#ff882a;color:#fff;font-weight:bold} .sod_list .total_span span{position:absolute;top:5px;left:0}
.sod_list .li_cp button.cp_mod {float:left;width:69%} .sod_list .total_span strong{font-size:1.2em}
.sod_list .li_cp .cp_cancel {float:right;width:30%;background:#626870} #sit_opt_added {margin:0;padding:0;border:1px solid #e9e9e9;border-bottom:0;background:#fff;list-style:none;}
.sod_list .li_total {position:relative} #sit_opt_added li {padding:10px ;border-bottom:1px solid #e9e9e9;margin-bottom:5px}
.sod_list .total_img {position:absolute;top:0;left:0} #sit_opt_added li:after {display:block;visibility:hidden;clear:both;content:""}
.sod_list .total_span {display:block;position:relative;padding:5px 0;text-align:right} #sit_opt_added li div {height:25px;margin:5px 0 0;text-align:right;position:relative;width:111px;float:right}
.sod_list .total_span span {position:absolute;top:5px;left:0} #sit_opt_added .btn_frmline {height:1.85em;line-height:1.85em;background:url(../mobile/shop/img/del_btn.gif) no-repeat 1px 2px;position:absolute;top:0;right:0 ;text-indent:-999px;width:25px;height:25px;padding:0}
.sod_list .total_price {border-bottom:1px solid #e9e9e9} #sit_opt_added li div .sit_qty_plus.sit_qty_plus{position:absolute;top:0;left:57px;background:url(../mobile/shop/img/add.gif) no-repeat -1px -1px;text-indent:-999px;border:1px solid #ccc;width:25px;height:25px}
#sit_opt_added li div .sit_qty_minus{position:absolute;top:0;left:0;background:url(../mobile/shop/img/add.gif) no-repeat -26px -1px ;text-indent:-999px;border:1px solid #ccc;width:25px;height:25px}
#sit_opt_added li div .sit_opt_del{background:url(../mobile/shop/img/del_btn.gif) no-repeat 1px 2px;position:absolute;top:0;right:0 ;text-indent:-999px;width:25px;height:25px;padding:0}
#sit_opt_added li div .frm_input{width:32px;border:1px solid #ccc;height:23px;padding:0 !important;line-height:25px;text-align:center;background:#fff;position:absolute;top:0;left:24px}
#sit_tot_price {margin:15px 0;font-size:1.3em;font-weight:bold;text-align:right;position:relative}
#sit_tot_price span{position:absolute;top:0;left:10px}
select.it_option,select.it_supply { width: 100%;padding: 5px;border: 0;border-radius: 5px;height: 28px;-webkit-appearance: none;border:1px solid #aaa;background: url(../mobile/shop/img/select.gif) no-repeat right #fafafa;}
#sod_list_inq {margin:0 0 10px;border-bottom:1px solid #e9e9e9} /*수량*/
#sod_list_inq div.li_name {margin:0} #sit_opt_added li .sit_opt_qty{position:relative;width:81px;float:right;text-align:center !important;}
#sod_list_inq div.li_opt {margin:0 0 15px;border:1px dashed #e9e9e9;background:#f2f5f9;padding:8px;line-height:2em} #sit_opt_added li .sit_opt_qty .frm_input{width:32px;border:1px solid #ccc;height:23px;padding:0 !important;line-height:25px;text-align:center;background:#fff}
#sit_opt_added li .sit_opt_qty .sit_qty_plus{position:absolute;top:0;right:0;background:url(../mobile/shop/img/add.gif) no-repeat -1px -1px;text-indent:-999px;border:1px solid #ccc;width:25px;height:25px}
.sod_opt {border:1px dashed #e9e9e9;background:#f2f5f9} #sit_opt_added li .sit_opt_qty .sit_qty_minus{position:absolute;top:0;left:0;background:url(../mobile/shop/img/add.gif) no-repeat -26px -1px ;text-indent:-999px;border:1px solid #ccc;width:25px;height:25px}
.sod_opt ul {margin:0;padding:0;list-style:none}
.sod_opt li {padding:8px}
#sit_opt_added {margin:0;padding:0;border:1px solid #e9e9e9;border-bottom:0;background:#fff;list-style:none}
#sit_opt_added li {padding:10px 20px;border-bottom:1px solid #e9e9e9}
#sit_opt_added li div {margin:5px 0 0;text-align:right}
#sit_opt_added .btn_frmline {height:1.85em;line-height:1.85em}
#sit_tot_price {margin:20px 0;font-size:1.3em;font-weight:bold}
/* 장바구니 */ /* 장바구니 */
#sod_bsk {} #sod_bsk {margin:10px}
#sod_bsk_list {position:relative} #sod_bsk_list {position:relative}
#sod_bsk_list #mod_option_frm {z-index:10000;position:absolute;top:0;left:0;padding:20px;width:90%;height:auto !important;height:480px;max-height:480px;border:1px solid #000;background:#f2f5f9;overflow-y:scroll} #sod_bsk_list #mod_option_frm {z-index:10000;position:absolute;top:0;left:0;width:100%}
#sod_bsk_list #mod_option_frm form{border:2px solid #34b5a1;background:#fff;padding:10px;max-height:500px;overflow-y:scroll}
html.no-overflowscrolling #mod_option_frm {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */ html.no-overflowscrolling #mod_option_frm {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#sod_bsk_list #mod_option_frm .sit_ov_tbl{background:#ededed;margin-top:5px}
#sod_bsk_list #mod_option_frm .sit_ov_tbl th,#sod_bsk_list #mod_option_frm .sit_ov_tbl td{border:none;padding-left:5px;font-weight:normal;text-align:left}
#sod_bsk_list #mod_option_frm .sit_ov_tbl th{width:90px}
#sod_bsk_list #mod_option_frm#sit_tot_price{font-size:1.2em}
#sod_bsk_list #mod_option_frm #sit_tot_price span{left:0;}
#sod_bsk_list #mod_option_frm .btn_confirm{overflow:hidden;}
#sod_bsk_list #mod_option_frm .btn_submit{width:49%;float:left;background:#34b5a1;padding:8px 0}
#sod_bsk_list #mod_option_frm .btn_cancel{width:49%;float:right;background:#fff;border:1px solid #34b5a1;color:#34b5a1}
#sod_bsk_tot {margin:0 0 15px;padding:10px;border:1px solid #e9e9e9;background:#f2f5f9} #sod_bsk_tot {margin:0 0 8px;;border:1px solid #e9e9e9;background:#f2f2f2}
#sod_bsk_tot:after {display:block;visibility:hidden;clear:both;content:""} #sod_bsk_tot:after {display:block;visibility:hidden;clear:both;content:""}
#sod_bsk_tot dt, #sod_bsk_tot dd {float:left;padding:10px 0;border-bottom:1px solid #e9e9e9} #sod_bsk_tot dt, #sod_bsk_tot dd {float:left;padding:10px 0;border-bottom:1px solid #e9e9e9}
#sod_bsk_tot dt {padding-left:2%;width:48%;font-weight:bold} #sod_bsk_tot dt {padding-left:2%;width:48%;font-weight:bold}
#sod_bsk_tot dd {margin:0;padding-right:2%;width:47%;text-align:right} #sod_bsk_tot dd {margin:0;padding-right:2%;width:48%;text-align:right}
.sod_bsk_cnt {background:#ff3061;color:#fff} .sod_bsk_cnt {background:#373737;color:#fff}
.sod_bsk_point {border-bottom:0 !important} .sod_bsk_point {border-bottom:0 !important}
#sod_bsk_act {margin:0 0 20px;text-align:center} #sod_bsk_act {margin:0 0 20px;padding-top:40px;text-align:center;position:relative}
#sod_bsk_act a.btn01 {} #sod_bsk_act:after {display:block;visibility:hidden;clear:both;content:""}
#sod_bsk_act button.btn01 {} #sod_bsk_act a.btn01 {width:49%;padding:10px 0;border:1px solid #34b5a1;background:none;color:#34b5a1}
#sod_bsk_act .btn_submit{width:49%;padding:10px 0;;background:#34b5a1;border:1px solid #34b5a1;}
#sod_bsk_act div{position:absolute;top:0;right:0;}
#sod_bsk_act div .btn01 {background:#fff;color:#999;padding:5px;font-size:0.93em}
/* 위시리스트 */ /* 위시리스트 */
#sod_ws {} #sod_ws {margin:10px;}
#sod_ws .tbl_head01 a {padding-right:0;padding-left:0} #sod_ws li{position:relative;padding:10px 0 10px 90px;min-height:35px;border:1px solid #e9e9e9;margin-bottom:5px;height:50px}
.sod_ws_img {width:90px;text-align:center} #sod_ws .wish_img {position:absolute;top:10px;left:30px}
#sod_ws_act {text-align:center} #sod_ws .info_link {display:block;padding:5px 0;font-size:1.2em;font-weight:bold}
#sod_ws .info_date {position:absolute;bottom:10px;right:10px;color:#737373}
#sod_ws .wish_chk{position:absolute;top:10px;left:10px;color:#737373}
#sod_ws .sold_out{position:absolute;top:20px;left:80px;display:inline-block;width:100px;color:#ff3e5e}
#sod_ws .wish_del a{position:absolute;top:10px;right:10px;text-indent:-999px;overflow:hidden;width:25px;height:25px;background:url(../mobile/shop/img/del_btn.gif) no-repeat top right;}
#sod_ws_act {text-align:center;}
#sod_ws_act button{width:49%;height: 40px;letter-spacing: 0.2em; line-height: 40px;padding:0;border:1px solid #34b5a1}
#sod_ws_act .btn01{background: #fff; color: #34b5a1;border:1px solid #34b5a1;}
#sod_ws_act .btn02{background: #34b5a1; color: #fff;}
/* 쿠폰 */ /* 쿠폰 */
#scp_list {} #scp_list .win_desc{padding:10px;padding-top:0}
#scp_list ul {margin:0;padding:0;list-style:none} #scp_list ul {margin:0;padding:0;list-style:none}
#scp_list li {position:relative;padding:5px 0;border-bottom:1px solid #e9e9e9} #scp_list li {position:relative;border:1px solid #e9e9e9;margin-bottom:5px;border-radius:8px}
#scp_list li:nth-of-type(1) {border-top:1px solid #e9e9e9} #scp_list .li_title {display:block;padding:8px 10px;font-size:1.2em;font-weight:bold;background:#f2f2f2}
#scp_list .li_title {display:block;padding:5px 0;font-size:1.2em;font-weight:bold}
#scp_list .li_pd {margin:0 0 5px;zoom:1} #scp_list .li_pd {margin:0 0 5px;zoom:1}
#scp_list .li_pd:after {display:block;visibility:hidden;clear:both;content:""} #scp_list .li_pd:after {display:block;visibility:hidden;clear:both;content:""}
#scp_list .pd_price {float:left} #scp_list .pd_price {padding:10px;display:inline-block}
#scp_list .pd_date {float:right} #scp_list .pd_date {float:right;padding:10px;color:#a4a4a4}
#scp_list .li_target {padding:5px 0} #scp_list .li_target {padding:0 10px 10px;color:#029d9f;display:inline-block}
/* 주문서 작성 */ /* 주문서 작성 */
#sod_frm {} #sod_frm {margin:10px;}
#sod_frm h2 {margin:0 0 10px} #sod_frm section{margin-bottom:10px}
#sod_frm p#sod_frm_pt_alert {margin:20px 0;text-align:center }
#sod_frm p {margin:0 0 10px} #sod_bsk_list #mod_option_frm .sit_ov_tbl{background:#ededed;margin-top:5px}
#sod_bsk_list #mod_option_frm .sit_ov_tbl th,#sod_bsk_list #mod_option_frm .sit_ov_tbl td{border:none;padding-left:5px;font-weight:normal}
#sod_frm #cp_frm {z-index:10000;position:absolute;top:0;left:0;padding:10px;width:90%;height:auto !important;height:480px;max-height:480px;border:1px solid #c9c9c9;background:#f2f5f9;overflow-y:scroll} #sod_bsk_list #mod_option_frm .sit_ov_tbl th{width:90px}
html.no-overflowscrolling #cp_frm {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */ html.no-overflowscrolling #cp_frm {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#sod_frm_deli {position:relative;line-height:2em} #sod_frm_deli {position:relative;line-height:2em}
#sod_frm_deli #order_address {display:block;padding:5px 0;background:#000;color:#fff;text-align:center} #sod_frm_deli #order_address {display:block;;width:100px;background:#333;color:#fff;text-align:center}
#sod_frm_orderer {margin:15px 0 30px} #sod_frm_orderer {margin:15px 0 30px}
#sod_frm_orderer #od_addr_jibeon, #sod_frm_taker #od_b_addr_jibeon {display:inline-block;margin:5px 0 0} #sod_frm_orderer #od_addr_jibeon, #sod_frm_taker #od_b_addr_jibeon {display:inline-block;margin:5px 0 0}
#sod_frm h2{background:#f2f2f2;border:1px solid #e9e9e9;padding:10px;}
#sod_frm .odf_tbl table{width:100%;margin:0;padding:0;border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9;border-collapse:collapse}
#sod_frm .odf_tbl table tbody td,#sod_frm .odf_tbl table tbody th{;border-bottom:1px solid #e9e9e9;padding:5px 0px 5px 10px ;text-align:left;line-height:26px;position:relative;}
#sod_frm .odf_tbl table th{width:90px;color:#343434;font-weight:normal;letter-spacing:-0.1em}
#sod_frm .odf_tbl table .frm_input{background-color:#fff !important;height:24px;line-height:24px;text-indent:5px}
#sod_frm .odf_tbl table .frm_address{margin-top:5px}
#sod_frm .odf_tbl button.btn_frmline{font-size:0.92em;padding:0 8px;height:26px;line-height:26px}
#sod_frm .odf_tbl textarea{width:99%;border:1px solid #e4eaec;}
#sod_frm_same {margin:0 0 10px} #sod_frm_same {margin:0 0 10px}
#sod_frm_pay {position:relative} #sod_frm_pay {position:relative}
#sod_frm_pay .tbl_head01 caption {font-size:0;line-height:0;overflow:hidden} #sod_frm_pay .tbl_head01 caption {font-size:0;line-height:0;overflow:hidden}
#sod_frm_pay .tbl_head01 th {width:auto !important;font-weight:bold;text-align:center !important} #sod_frm_pay .tbl_head01 th {width:auto !important;font-weight:bold;text-align:center !important}
#sod_frm_pay .tbl_head01 td {border-top:1px solid #e9e9e9 !important;border-bottom:1px solid #e9e9e9 !important;line-height:1.5em !important;word-break:break-all !important} #sod_frm_pay .tbl_head01 td {border-top:1px solid #e9e9e9 !important;border-bottom:1px solid #e9e9e9 !important;line-height:1.5em !important;word-break:break-all !important}
#sod_frm_pay #sc_coupon_frm, #sod_frm_pay #od_coupon_frm {z-index:10000;position:absolute;top:0;left:0;padding:20px;width:90%;height:auto !important;height:480px;max-height:480px;border:1px solid #000;background:#f2f5f9;overflow-y:scroll}
#sod_frm_pay #od_coupon_frm th {width:auto}
html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_frm {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_frm {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#sod_frm_pay_info {margin:0 0 10px} #sod_frm_pay_info {margin:0 0 10px}
#sod_frm_paysel {margin:10px 0 ;padding:10px;background:#f2f2f2;border:1px solid #e0e0e0}
#sod_frm_paysel {margin:0 0 15px} #sod_frm_paysel ul {margin:0;padding:0;}
#sod_frm_paysel ul {margin:0;padding:0;border:1px solid #e9e9e9;background:#f2f5f9;list-style:none}
#sod_frm_paysel ul:after {display:block;visibility:hidden;clear:both;content:""} #sod_frm_paysel ul:after {display:block;visibility:hidden;clear:both;content:""}
#sod_frm_paysel li {float:left;padding:10px 2%;width:46%} #sod_frm_paysel li {float:left;padding:5px 2%;width:46%}
#sod_frm_paysel #settle_bank {padding:10px;background:#dbdfe2;line-height:2em} #sod_frm_paysel #settle_bank {padding:10px;background:#fff;line-height:2em;border:1px solid #dbdbdb}
#sod_frm_paysel #settle_bank label {display:inline-block;margin:0 10px 0 0;font-weight:bold} #sod_frm_paysel #settle_bank label {display:inline-block;margin:0 10px 0 0;font-weight:bold}
#sod_frm_paysel #settle_bank .frm_input {background:#fff;text-align:center} #sod_frm_paysel #settle_bank .frm_input {background:#fff;text-align:center}
#sod_frm_escrow {margin:30px 0 0} #sod_frm_escrow {margin:30px 0 0}
#od_addr1, #od_addr2, #od_addr3, #od_email, #od_b_addr1, #od_b_addr2, #od_b_addr3 {width:100%} #od_addr1, #od_addr2, #od_addr3, #od_email, #od_b_addr1, #od_b_addr2, #od_b_addr3 {width:100%}
#sod_frm #od_memo {height:70px} #sod_frm #od_memo {height:70px}
#sod_frm_pt {margin:10px 0 5px} #sod_frm_pt {margin:10px 0 5px}
#sod_frm_pt_alert, #sod_frm_pt_info {margin:0 0 10px} #sod_frm_pt_alert, #sod_frm_pt_info {margin:0 0 10px}
#sod_frm #show_progress {text-align:center} #sod_frm #show_progress {text-align:center}
#sod_frm #show_progress span {display:block;margin:5px 0 0} #sod_frm #show_progress span {display:block;margin:5px 0 0}
#sod_frm #cp_frm,#od_coupon_frm,#sc_coupon_frm{z-index:10000;position:absolute;top:25px;left:0;width:100%;border:2px solid #34b5a1;background:#fff;}
#od_coupon_frm,#sc_coupon_frm{top:33px;left:10px;width:95%}
#sod_frm .odf_tbl button.sc_cp_apply,#sod_frm .odf_tbl button.od_cp_apply{font-size:1em}
#sod_frm #cp_frm .tbl_head02,#od_coupon_frm .tbl_head02,#sc_coupon_frm .tbl_head02{padding:15px;margin:0;}
#sod_frm #cp_frm .tbl_head02 caption,#od_coupon_frm .tbl_head02 caption,#sc_coupon_frm .tbl_head02 caption{background:#34b5a1;color:#fff;position:absolute;top:0;left:0;width:100%;text-indent:10px;padding:0 0 ;height:30px;line-height:28px;}
#sod_frm #cp_frm .tbl_head02 table,#od_coupon_frm .tbl_head02 table,#sc_coupon_frm .tbl_head02 table{margin-top:30px;border:1px solid #d3d3d3;}
#sod_frm #cp_frm .tbl_head02 th,#od_coupon_frm .tbl_head02 thead th,#sc_coupon_frm .tbl_head02 thead th{border-bottom:1px solid #e5e5e5;background:#ededed;text-align:center !important;padding:5px 0;line-height:1.5em !important}
#sod_frm #cp_frm .tbl_head02 th+th+th, #od_coupon_frm .tbl_head02 th+th+th,#sc_coupon_frm .tbl_head02 th+th+th{width:60px}
#sod_frm #cp_frm .tbl_head02 td,#od_coupon_frm .tbl_head02 td,#sc_coupon_frm .tbl_head02 td{border:none;line-height:1.5em !important}
#od_coupon_frm .tbl_head02 td.td_numbig,#od_coupon_frm .tbl_head02 td.td_mngsmall,#sc_coupon_frm .tbl_head02 td.td_mngsmall{text-align:center}
#sod_frm #cp_frm .tbl_head02 td .btn_frmline,#od_coupon_frm .tbl_head02 td,#sc_coupon_frm .tbl_head02 td {font-size:0.92em}
#sod_frm #cp_frm .tbl_head02 td.td_numbig,#od_coupon_frmtd .tbl_head02 .td_numbig,#sc_coupon_frm .tbl_head02 td.td_numbig{width:90px;text-align:center}
#sod_frm #cp_frm .btn_confirm .btn_submit,#od_coupon_frm .btn_confirm .btn_submit,#sc_coupon_frm .btn_confirm .btn_submit{position:absolute;top:0;right:0;background:url(../mobile/shop/img/close_op.jpg) no-repeat 0 10px;text-indent:-9999px; width:25px;height:25px}
#sod_frm #display_pay_button .btn_submit,#sod_frm #display_pay_button .btn_cancel,#sc_coupon_frm #display_pay_button .btn_cancel{width:49%;text-align:center; padding: 10px 0; background: #34b5a1; border:1px solid #34b5a1;-webkit-appearance: none;border-radius:0}
#sod_frm #display_pay_button .btn_cancel{border:1px solid #34b5a1;background:#fff;color:#34b5a1}
/* 배송지 목록 */ /* 배송지 목록 */
#sod_addr {} #sod_addr {}
@ -329,21 +394,26 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
#sod_addr #btn_del {display:inline-block;width:15%;line-height:2.5em;background:#f2f5f9;color:#ff3061;text-align:center} #sod_addr #btn_del {display:inline-block;width:15%;line-height:2.5em;background:#f2f5f9;color:#ff3061;text-align:center}
/* 주문내역 */ /* 주문내역 */
#sod_v {} #sod_v {margin:10px}
#sod_v .td_stat {width:100px} #sod_v .td_stat {width:100px}
#sod_v_info {margin:0 0 10px} #sod_v_info {margin:0 0 10px}
/* 주문상세내역 */ /* 주문상세내역 */
#sod_fin {} #sod_fin {margin:10px}
#sod_fin .sod_list .li_name_od a{display: block; padding: 10px; }
#sod_fin_no {margin:0 0 20px} #sod_fin .sod_list .li_opt{padding:10px;padding-bottom:0;border-top:1px solid #e9e9e9}
#sod_fin .sod_list .li_opt:first-child{border:none}
#sod_fin .sod_list .total_img{top:10px;left:0}
#sod_fin .sod_list .total_span{padding:10px;display:block}
#sod_fin .sod_list .total_span span{top:10px}
#sod_fin .sod_list .li_prqty .li_prqty_sp{width:24.5%;}
#sod_fin .sod_list .li_prqty .prqty_stat{ border-right: 1px solid #d3d3d3;}
#sod_fin section{margin-bottom:20px}
#sod_fin_no {margin:0 0 20px;padding:10px; background:#eaf7f5}
#sod_fin_list h2 {margin:0 0 10px} #sod_fin_list h2 {margin:0 0 10px}
#sod_sts_wrap {margin:0 0 10px;text-align:right} #sod_sts_wrap {margin:0 0 10px;text-align:right}
#sod_sts_explan {display:none} #sod_sts_explan {display:none}
#sod_fin_legend {margin:10px 0;padding:10px 10px ;text-align:left;background:#f6f6f6}
#sod_fin_legend {margin:10px 0;padding:10px 10px 0;border:1px solid #e9e9e9;text-align:left}
#sod_fin_legend:after {display:block;visibility:hidden;clear:both;content:''} #sod_fin_legend:after {display:block;visibility:hidden;clear:both;content:''}
#sod_fin_legend dt {clear:both;float:left;margin:0 0 5px;width:50px;font-weight:bold} #sod_fin_legend dt {clear:both;float:left;margin:0 0 5px;width:50px;font-weight:bold}
#sod_fin_legend dd {float:left;margin:0} #sod_fin_legend dd {float:left;margin:0}
@ -369,65 +439,63 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
.sod_req_log_view p {padding:10px 15px;border-bottom:1px solid #e9e9e9;background:#fff;color:#000} .sod_req_log_view p {padding:10px 15px;border-bottom:1px solid #e9e9e9;background:#fff;color:#000}
.sod_req_log_view button {margin:0;padding:0;border:0;background:transparent;color:#ff3061;text-decoration:underline;vertical-align:middle} .sod_req_log_view button {margin:0;padding:0;border:0;background:transparent;color:#ff3061;text-decoration:underline;vertical-align:middle}
#sod_fin_view {border:1px solid #e9e9e9}
#sod_fin_view h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sod_fin_view h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sod_fin_view h3 {margin:0 0 10px} #sod_fin_view h3 {margin:0 0 10px}
#sod_fin_view .tbl_head01 th {padding:0 10px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f2f5f9;text-align:left} #sod_fin_view .tbl_head01 th {padding:0 10px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f2f5f9;text-align:left}
#sod_fin_pay {padding:10px;border-bottom:1px solid #e9e9e9}
#sod_fin_orderer {padding:10px;border-bottom:1px solid #e9e9e9}
#sod_fin_receiver {padding:10px;border-bottom:1px solid #e9e9e9}
#sod_fin_dvr {padding:10px}
#sod_fin_dvr .dvr_link {color:#ff3061;text-decoration:underline} #sod_fin_dvr .dvr_link {color:#ff3061;text-decoration:underline}
#sod_fin_tot {margin:0 0 30px;padding:10px;border:1px solid #e9e9e9;border-top:0;background:#565e60;color:#fff} #sod_fin_tot {margin:0 0 30px;;border:1px solid #e9e9e9;border-top:0;background:#373737;color:#fff}
#sod_fin_tot h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sod_fin_tot h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sod_fin_tot ul {margin:0;padding:0;list-style:none} #sod_fin_tot ul {margin:0;padding:0;list-style:none}
#sod_fin_tot li {padding:10px;border-bottom:1px solid #6f7a7d} #sod_fin_tot li {padding:10px;border-bottom:1px solid #5d5d5d;padding:10px}
#sod_fin_tot li:after {display:block;visibility:hidden;clear:both;content:""} #sod_fin_tot li:after {display:block;visibility:hidden;clear:both;content:""}
#sod_fin_tot #alrdy {border-bottom:0 !important} #sod_fin_tot #alrdy {border-bottom:0 !important}
#sod_fin_tot strong {float:right} #sod_fin_tot strong {float:right}
#sod_fin_cancel {text-align:center} #sod_fin_cancel {text-align:center}
#sod_fin_cancel h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sod_fin_cancel h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sod_fin_cancel button {padding:10px;border:0;background:#ff3600;color:#fff} #sod_fin_cancel button {padding:8px;border:0;border:1px solid #029d9f;color:#029d9f;background:#fff;}
#sod_fin_cancelfrm {display:none;margin:10px 0 0} #sod_fin_cancelfrm {display:none;margin:10px 0 0;padding:20px 0;background:#f6f6f6}
#sod_fin_cancelfrm .frm_input {background:#fff} #sod_fin_cancelfrm label{color:#888}
#sod_fin_cancelfrm .frm_input {background:#fff !important; height: 24px; line-height: 24px; text-indent: 5px;width:190px}
#sod_fin_cancelfrm .btn_frmline{border:none;background:#3a3a3a;color:#fff;padding:4px}
#sod_fin_test {padding:10px} #sod_fin_test {padding:10px}
#sod_fin h3,#kcp_acc_test table caption{ background: #f2f2f2; border: 1px solid #e9e9e9; padding: 10px;margin:10px 0 0;text-align:left}
#sod_fin .odf_tbl table{width:100%;margin:0;padding:0;border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9;border-collapse:collapse;}
#sod_fin .odf_tbl table tbody td,#sod_fin .odf_tbl table tbody th{;border-bottom:1px solid #e9e9e9;padding:6px 10px;text-align:left;line-height:20px}
#sod_fin .odf_tbl table th{width:80px;color:#343434;font-weight:normal}
#sod_fin .odf_tbl table tbody td.empty_table{text-align:center}
#sod_fin .odf_tbl textarea{width:99%;border:1px solid #e4eaec;}
#sod_fin .odf_tbl table input[type="text"]{background-color:#fff !important;height:24px;line-height:24px;text-indent:5px;border:1px solid #e4eaec}
/* 주문내역 include */ /* 주문내역 include */
#sod_inquiry {} #sod_inquiry li {border:1px solid #e9e9e9;margin-bottom:5px;position:relative}
#sod_inquiry ul {margin:0;padding:0;list-style:none} #sod_inquiry li .inquiry_idtime{background:#f2f2f2;padding:10px;position:relative}
#sod_inquiry li {padding:10px 0;border-bottom:1px solid #e9e9e9} #sod_inquiry li .inquiry_idtime a{font-weight:bold}
#sod_inquiry li:nth-of-type(1) {border-top:1px solid #e9e9e9} #sod_inquiry li .inquiry_idtime .idtime_time{position:absolute;top:10px;right:10px}
#sod_inquiry li div:after {display:block;visibility:hidden;clear:both;content:""} #sod_inquiry li .inquiry_name{clear:both;padding:10px;color:#696969}
#sod_inquiry .idtime_link {float:left;color:#ff3061} #sod_inquiry li .inquiry_price{padding:10px;font-size:1.167em;font-weight:bold;}
#sod_inquiry .idtime_time {float:right} #sod_inquiry li .inquiry_inv{position:absolute;bottom:10px;right:10px;color:#34b5a1;text-align:right}
#sod_inquiry .inquiry_name {margin:5px 0;font-size:1.2em;font-weight:bold} #sod_inquiry li .inquiry_inv .inv_status{display:block;font-weight:bold}
#sod_inquiry .inquiry_price {margin:0 0 5px;font-size:1.2em;text-align:right}
#sod_inquiry .inquiry_inv {padding:5px;background:#f2f5f9;text-align:center}
#sod_inquiry .inv_status {font-weight:bold}
/* 주문상세내역 중 현금영수증 발급 */ /* 주문상세내역 중 현금영수증 발급 */
#scash {} #scash {}
#scash section {padding:10px 0} #scash section {padding:10px 0}
#scash h2 {margin:0 0 10px;text-align:center} #scash h2 {margin:0 0 10px;text-align:center}
#scash .tbl_head01 th {padding:0 10px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f2f5f9;text-align:left} #scash .tbl_head01 th {padding:0 10px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f2f5f9;text-align:left;}
#scash_apply {padding:10px 0 15px;text-align:center} #scash_apply {padding:10px 0 15px;text-align:center}
#scash_apply button {padding:10px;border:0;background:#565e60;color:#fff} #scash_apply button {padding:10px;border:0;background:#565e60;color:#fff}
#scash_copy {text-align:center} #scash_copy {text-align:center}
/* 상품검색 */ /* 상품검색 */
#ssch_frm {padding:20px;border:1px solid #e9e9e9;background:#f2f5f9} #ssch{}
#ssch_frm {padding:10px;border:1px solid #e9e9e9;background:#f2f5f9;margin:10px}
#ssch_frm:after {display:block;visibility:hidden;clear:both;content:""} #ssch_frm:after {display:block;visibility:hidden;clear:both;content:""}
#ssch_frm div {margin:0 0 5px} #ssch_frm div {margin:0 0 5px}
#ssch_frm strong, #ssch_frm .ssch_lbl {display:inline-block;width:100px;font-weight:bold;vertical-align:middle} #ssch_frm strong, #ssch_frm .ssch_lbl {display:inline-block;width:100px;font-weight:bold;vertical-align:middle}
#ssch_frm .frm_input {background:#fff} #ssch_frm .frm_input {background:#fff}
#ssch_frm .btn_submit {padding:0 8px;height:23px} #ssch_frm .btn_submit {padding:0 8px;height:23px;background:#34b5a1;}
#ssch_frm p {padding:10px 0;border-top:1px solid #e9e9e9;line-height:1.5em} #ssch_frm p {padding:10px 0;border-top:1px solid #e9e9e9;line-height:1.5em}
#ssch_frm #ssch_qfrom {width:50px} #ssch_frm #ssch_qfrom {width:50px}
#ssch_frm #ssch_qto {width:50px} #ssch_frm #ssch_qto {width:50px}
@ -443,14 +511,14 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
#ssch_cate ul {margin:10px 0;padding:10px 20px 20px;border-bottom:1px solid #e9e9e9;list-style:none} #ssch_cate ul {margin:10px 0;padding:10px 20px 20px;border-bottom:1px solid #e9e9e9;list-style:none}
#ssch_cate ul:after {display:block;visibility:hidden;clear:both;content:""} #ssch_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#ssch_cate li {float:left;margin:0 10px 0 0;padding:0 10px 0 0;border-right:1px solid #e9e9e9} #ssch_cate li {float:left;margin:0 10px 0 0;padding:0 10px 0 0;border-right:1px solid #e9e9e9}
#ssch_cate a {}
#ssch_cate a span {font-weight:bold} #ssch_cate a span {font-weight:bold}
/* 화면낭독기 사용자용 */ /* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} #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;text-indent:-9999em;line-height:0;border:0 !important;overflow:hidden !important} .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;text-indent:-9999em;line-height:0;border:0 !important;overflow:hidden !important}
/* 본문 바로가기 */ /* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #skip_to_container a {z-index:100000;position:absolute;font-size:0;line-height:0;overflow:hidden;left:0}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:1.5em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em} #skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:1.5em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}
/* 이미지 등비율 리사이징 */ /* 이미지 등비율 리사이징 */
@ -488,15 +556,11 @@ button.btn01 {display:inline-block;margin:0;padding:7px;border:1px solid #ccc;ba
a.btn02 {display:inline-block;padding:8px 7px 7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle} a.btn02 {display:inline-block;padding:8px 7px 7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none} a.btn02:focus, .btn02:hover {text-decoration:none}
button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none} button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none}
.btn_confirm {text-align:center} /* 서식단계 진행 */ .btn_confirm {text-align:center} /* 서식단계 진행 */
.btn_submit {padding:5px;border:0;background:#ff3061;color:#fff;letter-spacing:-0.1em}
.btn_submit {padding:8px;border:0;background:#ff3061;color:#fff;letter-spacing:-0.1em}
fieldset .btn_submit {padding:0 7px;height:24px;line-height:1em} fieldset .btn_submit {padding:0 7px;height:24px;line-height:1em}
a.btn_cancel {display:inline-block;padding:8px 7px 7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle} a.btn_cancel {display:inline-block;padding:8px 7px 7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle}
button.btn_cancel {display:inline-block;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;vertical-align:top;text-decoration:none} button.btn_cancel {display:inline-block;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;vertical-align:top;text-decoration:none}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;height:1.9em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */ a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;height:1.9em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */
button.btn_frmline {font-size:1em} button.btn_frmline {font-size:1em}
@ -505,7 +569,7 @@ a.btn_b01 {display:inline-block;margin:0 0 3px;padding:8px 7px 7px;border:1px so
a.btn_b01:focus, .btn_b01:hover {text-decoration:none} a.btn_b01:focus, .btn_b01:hover {text-decoration:none}
a.btn_b02 {display:inline-block;margin:0 0 3px;padding:8px 7px 7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle} a.btn_b02 {display:inline-block;margin:0 0 3px;padding:8px 7px 7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn_b02:focus, .btn_b02:hover {text-decoration:none} a.btn_b02:focus, .btn_b02:hover {text-decoration:none}
a.btn_admin {display:inline-block;margin:0 0 3px;padding:8px 7px 7px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */ a.btn_admin {display:inline-block;margin:0 0 3px ;padding:8px 7px 7px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
/* 기본테이블 */ /* 기본테이블 */
@ -554,7 +618,7 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
/* 테이블 그리드 padding 0 5px 고려한 넓이 */ /* 테이블 그리드 padding 0 5px 고려한 넓이 */
.grid_1 {width:40px} .grid_1 {width:40px}
.grid_2 {width:90px} .grid_2 {width:90px}
.grid_3 {width:140px} .grid_3 {width:120px}
.grid_4 {width:190px} .grid_4 {width:190px}
.grid_5 {width:240px} .grid_5 {width:240px}
.grid_6 {width:290px} .grid_6 {width:290px}
@ -589,15 +653,8 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
.td_stat {text-align:center} .td_stat {text-align:center}
/* 새창 기본 스타일 */ /* 새창 기본 스타일 */
.new_win {} .new_win #win_title{padding:15px 20px;border-bottom:1px solid #e9e9e9;font-size:1.12em;margin-bottom:10px}
.new_win #win_title {margin:0 0 20px;padding:20px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em}
.new_win .tbl_wrap {margin:0 20px} .new_win .tbl_wrap {margin:0 20px}
.new_win .win_ul {margin:-20px 0 20px 0;padding:0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;margin-left:-1px}
.new_win .win_ul a {display:block;padding:10px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-weight:bold;text-decoration:none}
.new_win .win_desc {margin:0 20px}
.new_win .win_btn {clear:both;margin:20px;text-align:center} .new_win .win_btn {clear:both;margin:20px;text-align:center}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:2.5em;background:#666;color:#fff;text-decoration:none;vertical-align:middle;line-height:2.5em} .new_win .win_btn a {display:inline-block;padding:0 10px;height:2.5em;background:#666;color:#fff;text-decoration:none;vertical-align:middle;line-height:2.5em}
.new_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em} .new_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em}
@ -608,7 +665,7 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
#validation_check h1 {margin-bottom:20px;font-size:1.3em} #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} #validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}
/* 사이드뷰 */ /* 사이드뷰*/
.sv_wrap {display:inline-block;position:relative;font-weight:normal} .sv_wrap {display:inline-block;position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646;background:#111} .sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646;background:#111}
.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:5px !important;width:94px;border-bottom:1px solid #283646;color:#fff !important} .sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:5px !important;width:94px;border-bottom:1px solid #283646;color:#fff !important}
@ -619,13 +676,34 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
/* 페이징 */ /* 페이징 */
.pg_wrap {clear:both;margin:0 0 20px;padding:20px 0 0;text-align:center} .pg_wrap {clear:both;margin:0 0 20px;padding:20px 0 0;text-align:center}
.pg {} .pg {}
.pg_page, .pg_current, .qa_page {display:inline-block;padding:0 8px;height:25px;color:#000;letter-spacing:0;line-height:2.2em;vertical-align:middle} .pg_page, .pg_current, .qa_page {display:inline-block;padding:0 8px;height:25px;color:#888 !important;letter-spacing:0;line-height:25px;vertical-align:middle;font-size:1.2em}
.pg a:focus, .pg a:hover {text-decoration:none} .pg a:focus, .pg a:hover {text-decoration:none}
.pg_page, .qa_page {background:#e4eaec;text-decoration:none} .pg_page, .qa_page {text-decoration:none}
.pg_start, .pg_prev {/* 이전 */} .pg_start, .pg_prev {background:url(../mobile/shop/img/paging.gif) no-repeat 0 0 ;text-indent:-999px;overflow:hidden;width:25px;height:25px;padding:0;}
.pg_end, .pg_next {/* 다음 */} .pg_prev{background-position:-28px 0}
.pg_current {display:inline-block;margin:0 4px 0 0;background:#333;color:#fff;font-weight:normal} .pg_end, .pg_next {background:url(../mobile/shop/img/paging.gif) no-repeat -55px 0;width:25px;height:25px;;width:25px;height:25px;padding:0;text-indent:-999px;overflow:hidden}
.pg_end{background-position:-83px 0}
.pg_current {display:inline-block;margin:0 4px 0 0;;color:#34b5a1 !important;font-weight:bold;}
/* 상품상세 메뉴 floating */ /* 상품상세 메뉴 floating */
#info_top_layer {display:none;position:absolute; top:0; left:0; width:100%; background-color: #eee;} #info_top_layer {display:none;position:absolute; top:0; left:0; width:100%; background-color: #eee;}
#form_btn_layer { display:none;position:absolute; top:0; left: 0; width: 100%; height: 60px; background-color: #eee;} #form_btn_layer { display:none;position:absolute; top:0; left: 0; width: 100%; height: 60px; background-color: #eee;}
/*현금영수증*/
#kcp_req_rx .tbl_head01 tbody th {text-align:left;}
/*배송지목록*/
#sod_addr .win_desc{padding:10px 20px}
/*쇼핑몰레이아웃*/
#mb_login .btn_submit{background:#34b5a1 !important}
#bo_list,#bo_cate{margin-top:10px !important}
#fregisterform{margin:10px}
#bo_w .btn_submit{padding:8px 7px}
#bo_w {padding:10px}
#fqalist {padding:0 10px}
#sit_sms_new #sms_agree{padding:10px 20px !important}
/*이벤트*/
#sev_hhtml,#sev_thtml{padding:10px}
#sev_hhtml img,#sev_thtml img{width:100%}

View File

@ -9,6 +9,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_banner` (
`bn_id` int(11) NOT NULL AUTO_INCREMENT, `bn_id` int(11) NOT NULL AUTO_INCREMENT,
`bn_alt` varchar(255) NOT NULL DEFAULT '', `bn_alt` varchar(255) NOT NULL DEFAULT '',
`bn_url` varchar(255) NOT NULL DEFAULT '', `bn_url` varchar(255) NOT NULL DEFAULT '',
`bn_device` varchar(10) NOT NULL DEFAULT '',
`bn_position` varchar(255) NOT NULL DEFAULT '', `bn_position` varchar(255) NOT NULL DEFAULT '',
`bn_border` tinyint(4) NOT NULL DEFAULT '0', `bn_border` tinyint(4) NOT NULL DEFAULT '0',
`bn_new_win` tinyint(4) NOT NULL DEFAULT '0', `bn_new_win` tinyint(4) NOT NULL DEFAULT '0',
@ -93,6 +94,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_category` (
`ca_list_mod` int(11) NOT NULL DEFAULT '0', `ca_list_mod` int(11) NOT NULL DEFAULT '0',
`ca_list_row` int(11) NOT NULL DEFAULT '0', `ca_list_row` int(11) NOT NULL DEFAULT '0',
`ca_mobile_list_mod` int(11) NOT NULL DEFAULT '0', `ca_mobile_list_mod` int(11) NOT NULL DEFAULT '0',
`ca_mobile_list_row` int(11) NOT NULL DEFAULT '0',
`ca_include_head` varchar(255) NOT NULL DEFAULT '', `ca_include_head` varchar(255) NOT NULL DEFAULT '',
`ca_include_tail` varchar(255) NOT NULL DEFAULT '', `ca_include_tail` varchar(255) NOT NULL DEFAULT '',
`ca_mb_id` varchar(255) NOT NULL DEFAULT '', `ca_mb_id` varchar(255) NOT NULL DEFAULT '',
@ -228,26 +230,31 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_mobile_type1_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_mobile_type1_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_mobile_type1_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_type1_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_type1_list_mod` int(11) NOT NULL DEFAULT '0', `de_mobile_type1_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_type1_list_row` int(11) NOT NULL DEFAULT '0',
`de_mobile_type1_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_type1_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_type1_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_type1_img_height` int(11) NOT NULL DEFAULT '0',
`de_mobile_type2_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_mobile_type2_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_mobile_type2_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_type2_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_type2_list_mod` int(11) NOT NULL DEFAULT '0', `de_mobile_type2_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_type2_list_row` int(11) NOT NULL DEFAULT '0',
`de_mobile_type2_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_type2_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_type2_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_type2_img_height` int(11) NOT NULL DEFAULT '0',
`de_mobile_type3_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_mobile_type3_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_mobile_type3_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_type3_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_type3_list_mod` int(11) NOT NULL DEFAULT '0', `de_mobile_type3_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_type3_list_row` int(11) NOT NULL DEFAULT '0',
`de_mobile_type3_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_type3_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_type3_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_type3_img_height` int(11) NOT NULL DEFAULT '0',
`de_mobile_type4_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_mobile_type4_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_mobile_type4_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_type4_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_type4_list_mod` int(11) NOT NULL DEFAULT '0', `de_mobile_type4_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_type4_list_row` int(11) NOT NULL DEFAULT '0',
`de_mobile_type4_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_type4_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_type4_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_type4_img_height` int(11) NOT NULL DEFAULT '0',
`de_mobile_type5_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_mobile_type5_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_mobile_type5_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_type5_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_type5_list_mod` int(11) NOT NULL DEFAULT '0', `de_mobile_type5_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_type5_list_row` int(11) NOT NULL DEFAULT '0',
`de_mobile_type5_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_type5_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_type5_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_type5_img_height` int(11) NOT NULL DEFAULT '0',
`de_rel_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_rel_list_use` tinyint(4) NOT NULL DEFAULT '0',
@ -257,6 +264,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_rel_img_height` int(11) NOT NULL DEFAULT '0', `de_rel_img_height` int(11) NOT NULL DEFAULT '0',
`de_mobile_rel_list_use` tinyint(4) NOT NULL DEFAULT '0', `de_mobile_rel_list_use` tinyint(4) NOT NULL DEFAULT '0',
`de_mobile_rel_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_rel_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_rel_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_rel_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_rel_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_rel_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_rel_img_height` int(11) NOT NULL DEFAULT '0',
`de_search_list_skin` varchar(255) NOT NULL DEFAULT '', `de_search_list_skin` varchar(255) NOT NULL DEFAULT '',
@ -266,6 +274,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_search_img_height` int(11) NOT NULL DEFAULT '0', `de_search_img_height` int(11) NOT NULL DEFAULT '0',
`de_mobile_search_list_skin` varchar(255) NOT NULL DEFAULT '', `de_mobile_search_list_skin` varchar(255) NOT NULL DEFAULT '',
`de_mobile_search_list_mod` int(11) NOT NULL DEFAULT '0', `de_mobile_search_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_search_list_row` int(11) NOT NULL DEFAULT '0',
`de_mobile_search_img_width` int(11) NOT NULL DEFAULT '0', `de_mobile_search_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_search_img_height` int(11) NOT NULL DEFAULT '0', `de_mobile_search_img_height` int(11) NOT NULL DEFAULT '0',
`de_bank_use` int(11) NOT NULL DEFAULT '0', `de_bank_use` int(11) NOT NULL DEFAULT '0',

View File

@ -265,26 +265,31 @@ if($g5_shop_install) {
de_mobile_type1_list_use = '1', de_mobile_type1_list_use = '1',
de_mobile_type1_list_skin = 'main.10.skin.php', de_mobile_type1_list_skin = 'main.10.skin.php',
de_mobile_type1_list_mod = '3', de_mobile_type1_list_mod = '3',
de_mobile_type1_list_row = '2',
de_mobile_type1_img_width = '$simg_width', de_mobile_type1_img_width = '$simg_width',
de_mobile_type1_img_height = '$simg_height', de_mobile_type1_img_height = '$simg_height',
de_mobile_type2_list_use = '1', de_mobile_type2_list_use = '1',
de_mobile_type2_list_skin = 'main.10.skin.php', de_mobile_type2_list_skin = 'main.10.skin.php',
de_mobile_type2_list_mod = '3', de_mobile_type2_list_mod = '3',
de_mobile_type2_list_row = '2',
de_mobile_type2_img_width = '$simg_width', de_mobile_type2_img_width = '$simg_width',
de_mobile_type2_img_height = '$simg_height', de_mobile_type2_img_height = '$simg_height',
de_mobile_type3_list_use = '1', de_mobile_type3_list_use = '1',
de_mobile_type3_list_skin = 'main.10.skin.php', de_mobile_type3_list_skin = 'main.10.skin.php',
de_mobile_type3_list_mod = '3', de_mobile_type3_list_mod = '3',
de_mobile_type3_list_row = '2',
de_mobile_type3_img_width = '$simg_width', de_mobile_type3_img_width = '$simg_width',
de_mobile_type3_img_height = '$simg_height', de_mobile_type3_img_height = '$simg_height',
de_mobile_type4_list_use = '1', de_mobile_type4_list_use = '1',
de_mobile_type4_list_skin = 'main.10.skin.php', de_mobile_type4_list_skin = 'main.10.skin.php',
de_mobile_type4_list_mod = '3', de_mobile_type4_list_mod = '3',
de_mobile_type4_list_row = '2',
de_mobile_type4_img_width = '$simg_width', de_mobile_type4_img_width = '$simg_width',
de_mobile_type4_img_height = '$simg_height', de_mobile_type4_img_height = '$simg_height',
de_mobile_type5_list_use = '1', de_mobile_type5_list_use = '1',
de_mobile_type5_list_skin = 'main.10.skin.php', de_mobile_type5_list_skin = 'main.10.skin.php',
de_mobile_type5_list_mod = '3', de_mobile_type5_list_mod = '3',
de_mobile_type5_list_row = '2',
de_mobile_type5_img_width = '$simg_width', de_mobile_type5_img_width = '$simg_width',
de_mobile_type5_img_height = '$simg_height', de_mobile_type5_img_height = '$simg_height',
de_bank_use = '1', de_bank_use = '1',
@ -314,6 +319,7 @@ if($g5_shop_install) {
de_rel_img_height = '$simg_height', de_rel_img_height = '$simg_height',
de_mobile_rel_list_use = '1', de_mobile_rel_list_use = '1',
de_mobile_rel_list_skin = 'relation.10.skin.php', de_mobile_rel_list_skin = 'relation.10.skin.php',
de_mobile_rel_list_mod = '3',
de_mobile_rel_img_width = '$simg_width', de_mobile_rel_img_width = '$simg_width',
de_mobile_rel_img_height = '$simg_height', de_mobile_rel_img_height = '$simg_height',
de_search_list_skin = 'list.10.skin.php', de_search_list_skin = 'list.10.skin.php',
@ -324,7 +330,8 @@ if($g5_shop_install) {
de_mobile_search_list_skin = 'list.10.skin.php', de_mobile_search_list_skin = 'list.10.skin.php',
de_mobile_search_img_width = '$simg_width', de_mobile_search_img_width = '$simg_width',
de_mobile_search_img_height = '$simg_height', de_mobile_search_img_height = '$simg_height',
de_mobile_search_list_mod = '10', de_mobile_search_list_mod = '3',
de_mobile_search_list_row = '5',
de_simg_width = '$simg_width', de_simg_width = '$simg_width',
de_simg_height = '$simg_height', de_simg_height = '$simg_height',
de_mimg_width = '$mimg_width', de_mimg_width = '$mimg_width',

View File

@ -443,7 +443,7 @@ function price_calculate()
} }
}); });
$("#sit_tot_price").empty().html("총 금액 : "+number_format(String(total))+"원"); $("#sit_tot_price").empty().html("<span>총 금액 :</span> "+number_format(String(total))+"원");
} }
// php chr() 대응 // php chr() 대응

47
js/shop.mobile.list.js Normal file
View File

@ -0,0 +1,47 @@
$(function() {
$("#btn_more_item").on("click", function() {
var $this = $(this);
var url = $this.data("url");
var page = $this.data("page");
var $msg = $("#item_load_msg");
if($msg.is(":visible"))
return false;
if($this.hasClass("no_more_item")) {
alert("등록된 상품이 더 이상없습니다.");
return false;
}
$msg.css("display", "block");
$.ajax({
type: "POST",
data: { page: page },
url: url,
cache: false,
async: true,
dataType: "json",
success: function(data) {
if(data.error != "") {
alert(data.error);
return false;
}
var $items = $(data.item).find("li");
var cnt = $items.size();
if(cnt < 1) {
alert("등록된 상품이 더 이상없습니다.");
$msg.css("display", "none");
$this.addClass("no_more_item");
return false;
}
$("#sct_wrap").append($items);
$this.data("page", data.page);
$msg.css("display", "none");
}
});
});
});

View File

@ -3,18 +3,13 @@
{ {
var cfg = { var cfg = {
slides: ".swipe-wrap > div", slides: ".swipe-wrap > div",
header: "header h2", buttons: ".mli_btn > button",
tabWrap: "slide_tab",
tabActive: "tab_active",
tabOffset: 10, tabOffset: 10,
startSlide: 0, startSlide: 0,
auto: 0, auto: 0,
continuous: true, continuous: true,
disableScroll: false, disableScroll: false,
stopPropagation: false, stopPropagation: false,
callback: function(index, element) {
tab_change(index);
},
transitionEnd: function(index, element) { transitionEnd: function(index, element) {
set_height(index); set_height(index);
idx = index; idx = index;
@ -26,94 +21,29 @@
var $wrap = this; var $wrap = this;
var $slides = this.find(""+cfg.slides+""); var $slides = this.find(""+cfg.slides+"");
var $tab = null;
var $tabs;
var $btns; var $btns;
var idx = cfg.startSlide; var idx = cfg.startSlide;
var count = $slides.size(); var count = $slides.size();
var width, height; var width, height;
var tabw_width = 0; var tab = null;
var tab_width = 0;
var pos_left = 0;
if(count < 1) if(count < 1)
return; return;
function tab_make() function tab_make()
{
var subj;
var tabs = "";
$slides.each(function() {
subj = $(this).find(""+cfg.header+"").text();
if(subj.length < 1)
subj = "&nbsp;";
tabs += "<li><button type=\"button\">"+subj+"</button></li>\n";
});
if(tabs != "") {
tabs = "<ul id=\""+cfg.tabWrap+"\">\n"+tabs+"</ul>";
$wrap.before(tabs);
$tab = $("#"+cfg.tabWrap);
$tabs = $tab.find("li");
$btns = $tab.find("button");
$tabs.each(function() {
$(this)
.css("width", $(this).width())
.data("width", $(this).width());
});
$btns.off("click");
}
}
function set_tab_width(idx)
{
$tabs.each(function() {
$(this).css("width", $(this).data("width"));
});
$tabs.eq(idx).css("width", "+="+cfg.tabOffset);
}
function tab_position(idx)
{
$tabs.removeClass(""+cfg.tabActive+" tab_listed tab_left").css("left", "-"+tabw_width+"px");
var $tab_l = $tabs.eq(idx - 1);
var $tab_c = $tabs.eq(idx);
var $tab_r = $tabs.eq((idx + 1) % count);
var w_c = $tab_c.outerWidth();
var w_r = $tab_r.outerWidth();
var pl = 0;
var pc = parseInt((tabw_width - w_c) / 2);
var pr = tabw_width - w_r;
$tab_l.addClass("tab_listed").css("left", pl);
$tab_c.addClass(""+cfg.tabActive+" tab_listed").css("left", pc);
$tab_r.addClass("tab_listed").css("left", pr);
}
function tab_change(idx)
{ {
if(count < 2) if(count < 2)
return; return;
set_height(idx); if(tab == null) {
set_tab_width(idx); tab = "<div class=\"mli_btn\"><button type=\"button\" class=\"mli_pre\">이전 리스트</button><button type=\"button\" class=\"mli_next\">다음 리스트</button></div>";
if(count == 2) { $slides.each(function() {
$tabs.eq(0).css("left", 0); $(this).find("header").append(tab);
$tabs.eq(1).css("right", 0); });
$tabs.removeClass(""+cfg.tabActive+"");
$tabs.eq(idx).addClass(""+cfg.tabActive+""); $btns = $wrap.find(""+cfg.buttons+"");
} else if(count >= 3) {
tab_position(idx);
} }
} }
@ -127,26 +57,8 @@
function init() function init()
{ {
if($tab == null) if(tab == null)
tab_make(); tab_make();
width = $wrap.width();
tabw_width = $tab.width();
set_tab_width(idx);
if(count == 1) {
tab_width = $tabs.eq(0).outerWidth();
pos_left = parseInt((tabw_width - tab_width) / 2);
$tabs.eq(0).css("left", pos_left).addClass(""+cfg.tabActive+"");
} else if(count == 2) {
$tabs.eq(0).css("left", 0);
$tabs.eq(1).css("right", 0);
$tabs.removeClass(""+cfg.tabActive+"");
$tabs.eq(idx).addClass(""+cfg.tabActive+"");
} else if(count >= 3) {
tab_position(idx);
}
} }
init(); init();
@ -161,21 +73,84 @@
transitionEnd: cfg.transitionEnd transitionEnd: cfg.transitionEnd
}); });
$(window).on("resize", function() {
$("#"+cfg.tabWrap).remove();
$tab = null;
init();
});
if(count > 0 && mySwipe) { if(count > 0 && mySwipe) {
$btns.on("click", function() { $btns.on("click", function() {
if($(this).parent().hasClass(""+cfg.tabActive+"")) if($(this).hasClass("mli_next")) {
return false; idx = (idx + 1) % count;
} else {
idx = (idx - 1);
if(idx == -1)
idx = count - 1;
}
idx = $btns.index($(this));
mySwipe.slide(idx); mySwipe.slide(idx);
}); });
} }
} }
}(jQuery));
(function($) {
$.fn.bannerSlide = function(option)
{
var cfg = {
wrap: ".slide-wrap",
slides: ".slide-wrap > li",
buttons: ".silde_btn > button",
btnActive: "bn_sl",
startSlide: 0,
auto: 0,
continuous: true,
disableScroll: false,
stopPropagation: false,
callback: function(index, element) {
button_change(index);
},
transitionEnd: function(index, element) {
idx = index;
}
};
if(typeof option == "object")
cfg = $.extend( cfg, option );
var $wrap = this.find(""+cfg.wrap+"");
var $slides = this.find(""+cfg.slides+"");
var $btns = this.find(""+cfg.buttons+"");
var idx = cfg.startSlide;
var count = $slides.size();
var width, outerW;
if(count < 2)
return;
function button_change(idx)
{
if(count < 2)
return;
$btns.removeClass(cfg.btnActive)
.eq(idx).addClass(cfg.btnActive);
}
window.bnSwipe = Swipe(this[0], {
startSlide: cfg.startSlide,
auto: cfg.auto,
continuous: cfg.continuous,
disableScroll: cfg.disableScroll,
stopPropagation: cfg.stopPropagation,
callback: cfg.callback,
transitionEnd: cfg.transitionEnd
});
if(count > 0 && bnSwipe) {
$btns.on("click", function() {
if($(this).hasClass(""+cfg.btnActive+""))
return false;
idx = $btns.index($(this));
bnSwipe.slide(idx);
});
}
}
}(jQuery)); }(jQuery));

View File

@ -1116,10 +1116,17 @@ function display_banner($position, $skin='')
if (!$skin) $skin = 'boxbanner.skin.php'; if (!$skin) $skin = 'boxbanner.skin.php';
$skin_path = G5_SHOP_SKIN_PATH.'/'.$skin; $skin_path = G5_SHOP_SKIN_PATH.'/'.$skin;
if(G5_IS_MOBILE)
$skin_path = G5_MSHOP_SKIN_PATH.'/'.$skin;
if(file_exists($skin_path)) { if(file_exists($skin_path)) {
// 접속기기
$sql_device = " and ( bn_device = 'both' or bn_device = 'pc' ) ";
if(G5_IS_MOBILE)
$sql_device = " and ( bn_device = 'both' or bn_device = 'mobile' ) ";
// 배너 출력 // 배너 출력
$sql = " select * from {$g5['g5_shop_banner_table']} where '".G5_TIME_YMDHIS."' between bn_begin_time and bn_end_time and bn_position = '$position' order by bn_order, bn_id desc "; $sql = " select * from {$g5['g5_shop_banner_table']} where '".G5_TIME_YMDHIS."' between bn_begin_time and bn_end_time $sql_device and bn_position = '$position' order by bn_order, bn_id desc ";
$result = sql_query($sql); $result = sql_query($sql);
include $skin_path; include $skin_path;

View File

@ -34,6 +34,7 @@ $cart_count = mysql_num_rows($result);
<div id="sod_chk"> <div id="sod_chk">
<label for="ct_all" class="sound_only">상품 전체</label> <label for="ct_all" class="sound_only">상품 전체</label>
<input type="checkbox" name="ct_all" value="1" id="ct_all" checked> <input type="checkbox" name="ct_all" value="1" id="ct_all" checked>
전체상품 선택
</div> </div>
<?php } ?> <?php } ?>
@ -60,14 +61,14 @@ $cart_count = mysql_num_rows($result);
$a1 = '<a href="./item.php?it_id='.$row['it_id'].'"><strong>'; $a1 = '<a href="./item.php?it_id='.$row['it_id'].'"><strong>';
$a2 = '</strong></a>'; $a2 = '</strong></a>';
$image_width = 50; $image_width = 80;
$image_height = 50; $image_height = 80;
$image = get_it_image($row['it_id'], $image_width, $image_height); $image = get_it_image($row['it_id'], $image_width, $image_height);
$it_name = $a1 . stripslashes($row['it_name']) . $a2; $it_name = $a1 . stripslashes($row['it_name']) . $a2;
$it_options = print_item_options($row['it_id'], $s_cart_id); $it_options = print_item_options($row['it_id'], $s_cart_id);
if($it_options) { if($it_options) {
$mod_options = '<div class="li_mod"><button type="button" id="mod_opt_'.$row['it_id'].'" class="mod_btn mod_options">선택사항수정</button></div>'; $mod_options = '<button type="button" id="mod_opt_'.$row['it_id'].'" class="mod_btn mod_options">선택사항수정</button>';
$it_name .= '<div class="sod_opt">'.$it_options.'</div>'; $it_name .= '<div class="sod_opt">'.$it_options.'</div>';
} }
@ -106,18 +107,19 @@ $cart_count = mysql_num_rows($result);
</div> </div>
<div class="li_name"> <div class="li_name">
<?php echo $it_name; ?> <?php echo $it_name; ?>
<span class="total_img"><?php echo $image; ?></span>
<div class="li_mod" style="padding-left:<?php echo $image_width + 20; ?>px;"><?php echo $mod_options; ?></div>
</div> </div>
<div class="li_prqty"> <div class="li_prqty">
<span class="prqty_price"><span>판매가 </span><?php echo number_format($row['ct_price']); ?></span> <span class="prqty_price li_prqty_sp"><span>판매가 </span><?php echo number_format($row['ct_price']); ?></span>
<span class="prqty_qty"><span>수량 </span><?php echo number_format($sum['qty']); ?></span> <span class="prqty_qty li_prqty_sp"><span>수량 </span><?php echo number_format($sum['qty']); ?></span>
<span class="prqty_sc"><span>배송비 </span><?php echo $ct_send_cost; ?></span> <span class="prqty_sc li_prqty_sp"><span>배송비 </span><?php echo $ct_send_cost; ?></span>
</div> </div>
<div class="li_total" style="padding-left:<?php echo $image_width + 10; ?>px;height:auto !important;height:<?php echo $image_height; ?>px;min-height:<?php echo $image_height; ?>px"> <div class="li_total">
<span class="total_img"><?php echo $image; ?></span>
<span class="total_price total_span"><span>소계 </span><strong><?php echo number_format($sell_price); ?></strong></span> <span class="total_price total_span"><span>소계 </span><strong><?php echo number_format($sell_price); ?></strong></span>
<span class="total_point total_span"><span>적립포인트 </span><strong><?php echo number_format($sum['point']); ?></strong></span> <span class="total_point total_span"><span>적립포인트 </span><strong><?php echo number_format($sum['point']); ?></strong></span>
</div> </div>
<div class="li_mod"><?php echo $mod_options; ?></div>
</li> </li>
<?php <?php
@ -162,8 +164,8 @@ $cart_count = mysql_num_rows($result);
<input type="hidden" name="records" value="<?php echo $i; ?>"> <input type="hidden" name="records" value="<?php echo $i; ?>">
<a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=<?php echo $continue_ca_id; ?>" class="btn01">쇼핑 계속하기</a> <a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=<?php echo $continue_ca_id; ?>" class="btn01">쇼핑 계속하기</a>
<button type="button" onclick="return form_check('buy');" class="btn_submit">주문하기</button> <button type="button" onclick="return form_check('buy');" class="btn_submit">주문하기</button>
<button type="button" onclick="return form_check('seldelete');" class="btn01">선택삭제</button> <div><button type="button" onclick="return form_check('seldelete');" class="btn01">선택삭제</button>
<button type="button" onclick="return form_check('alldelete');" class="btn01">비우기</button> <button type="button" onclick="return form_check('alldelete');" class="btn01">비우기</button></div>
<?php } ?> <?php } ?>
</div> </div>

View File

@ -1,69 +1,155 @@
<?php <?php
include_once('./_common.php'); if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$g5['title'] = '카테고리'; function get_mshop_category($ca_id, $len)
include_once(G5_PATH.'/head.sub.php'); {
global $g5;
$ca = $_GET['ca']; $sql = " select ca_id, ca_name from {$g5['g5_shop_category_table']}
where ca_use = '1' ";
if($ca_id)
$sql .= " and ca_id like '$ca_id%' ";
$sql .= " and length(ca_id) = '$len' order by ca_order, ca_id ";
if($ca) { return $sql;
$ca_len = strlen($ca) + 2;
$sql_where = " where ca_id like '$ca%' and length(ca_id) = $ca_len ";
} else {
$sql_where = " where length(ca_id) = '2' ";
} }
$sql = " select ca_id, ca_name from {$g5['g5_shop_category_table']}
$sql_where
and ca_use = '1'
order by ca_order, ca_id ";
$result = sql_query($sql);
?> ?>
<div id="sct_win"> <button type="button" id="hd_ct">분류</button>
<div id="category">
<div class="ct_wr">
<ul class="cate_tab">
<li><a href="#" class="ct_tab_sl">CATEGORY</a></li>
<li><a href="<?php echo G5_SHOP_URL; ?>/mypage.php">MY PAGE</a></li>
<li><a href="<?php echo G5_SHOP_URL; ?>/cart.php">CART</a></li>
</ul>
<?php
$mshop_ca_href = G5_SHOP_URL.'/list.php?ca_id=';
$mshop_ca_res1 = sql_query(get_mshop_category('', 2));
for($i=0; $mshop_ca_row1=sql_fetch_array($mshop_ca_res1); $i++) {
if($i == 0)
echo '<ul class="cate">'.PHP_EOL;
?>
<li>
<a href="<?php echo $mshop_ca_href.$mshop_ca_row1['ca_id']; ?>"><?php echo get_text($mshop_ca_row1['ca_name']); ?></a>
<?php
$mshop_ca_res2 = sql_query(get_mshop_category($mshop_ca_row1['ca_id'], 4));
if(mysql_num_rows($mshop_ca_res2))
echo '<button class="sub_ct_toggle ct_op">'.get_text($mshop_ca_row1['ca_name']).' 하위분류 열기</button>'.PHP_EOL;
<h1><?php echo $config['cf_title']; ?> 카테고리</h1> for($j=0; $mshop_ca_row2=sql_fetch_array($mshop_ca_res2); $j++) {
if($j == 0)
echo '<ul class="sub_cate sub_cate1">'.PHP_EOL;
?>
<li>
<a href="<?php echo $mshop_ca_href.$mshop_ca_row2['ca_id']; ?>">- <?php echo get_text($mshop_ca_row2['ca_name']); ?></a>
<?php
$mshop_ca_res3 = sql_query(get_mshop_category($mshop_ca_row2['ca_id'], 6));
if(mysql_num_rows($mshop_ca_res3))
echo '<button type="button" class="sub_ct_toggle ct_op">'.get_text($mshop_ca_row2['ca_name']).' 하위분류 열기</button>'.PHP_EOL;
<?php for($k=0; $mshop_ca_row3=sql_fetch_array($mshop_ca_res3); $k++) {
for($i=0; $row=sql_fetch_array($result); $i++) { if($k == 0)
if($i == 0) echo '<ul class="sub_cate sub_cate2">'.PHP_EOL;
echo '<nav id="sct_win_nav"><h2>카테고리 목록</h2><ul>'; ?>
<li>
<a href="<?php echo $mshop_ca_href.$mshop_ca_row3['ca_id']; ?>">- <?php echo get_text($mshop_ca_row3['ca_name']); ?></a>
<?php
$mshop_ca_res4 = sql_query(get_mshop_category($mshop_ca_row3['ca_id'], 8));
if(mysql_num_rows($mshop_ca_res4))
echo '<button type="button" class="sub_ct_toggle ct_op">'.get_text($mshop_ca_row3['ca_name']).' 하위분류 열기</button>'.PHP_EOL;
$ca_href = G5_SHOP_URL.'/category.php?ca='.$row['ca_id']; for($m=0; $mshop_ca_row4=sql_fetch_array($mshop_ca_res4); $m++) {
$list_href = G5_SHOP_URL.'/list.php?ca_id='.$row['ca_id']; if($m == 0)
?> echo '<ul class="sub_cate sub_cate3">'.PHP_EOL;
<li> ?>
<a href="<?php echo $ca_href; ?>" class="sct_ct_view"><?php echo $row['ca_name']; ?></a> <li>
<a href="<?php echo $list_href; ?>" class="sct_list_view">상품보기</a> <a href="<?php echo $mshop_ca_href.$mshop_ca_row4['ca_id']; ?>">- <?php echo get_text($mshop_ca_row4['ca_name']); ?></a>
</li> <?php
<?php $mshop_ca_res5 = sql_query(get_mshop_category($mshop_ca_row4['ca_id'], 10));
} if(mysql_num_rows($mshop_ca_res5))
echo '<button type="button" class="sub_ct_toggle ct_op">'.get_text($mshop_ca_row4['ca_name']).' 하위분류 열기</button>'.PHP_EOL;
if($i > 0) for($n=0; $mshop_ca_row5=sql_fetch_array($mshop_ca_res5); $n++) {
echo '</ul></nav>'; if($n == 0)
echo '<ul class="sub_cate sub_cate4">'.PHP_EOL;
?>
<li>
<a href="<?php echo $mshop_ca_href.$mshop_ca_row5['ca_id']; ?>">- <?php echo get_text($mshop_ca_row5['ca_name']); ?></a>
</li>
<?php
}
if($i ==0) { if($n > 0)
echo '<p id="sct_win_empty">하위 분류가 없습니다.</p>'; echo '</ul>'.PHP_EOL;
} ?>
?> </li>
<?php
}
<div class="win_btn"> if($m > 0)
<?php if ($i == 0 || $ca) { ?><button onclick="javascript:history.back(-1);" class="btn02">돌아가기</button><?php } ?> echo '</ul>'.PHP_EOL;
<button onclick="javascript:window.close();">창닫기</button> ?>
</li>
<?php
}
if($k > 0)
echo '</ul>'.PHP_EOL;
?>
</li>
<?php
}
if($j > 0)
echo '</ul>'.PHP_EOL;
?>
</li>
<?php
}
if($i > 0)
echo '</ul>'.PHP_EOL;
else
echo '<p>등록된 분류가 없습니다.</p>'.PHP_EOL;
?>
<button type="button" class="pop_close"><span class="sound_only">카테고리 </span>닫기</button>
</div> </div>
</div> </div>
<script> <script>
$(function() { $(function (){
$(".sct_list_view").click(function() { var $category = $("#category");
window.opener.location = $(this).attr("href");
window.close(); $("#hd_ct").on("click", function() {
return false; $category.css("display","block");
});
$("#category .pop_close").on("click", function(){
$category.css("display","none");
});
$("button.sub_ct_toggle").on("click", function() {
var $this = $(this);
$sub_ul = $(this).closest("li").children("ul.sub_cate");
if($sub_ul.size() > 0) {
var txt = $this.text();
if($sub_ul.is(":visible")) {
txt = txt.replace(/닫기$/, "열기");
$this
.removeClass("ct_cl")
.text(txt);
} else {
txt = txt.replace(/열기$/, "닫기");
$this
.addClass("ct_cl")
.text(txt);
}
$sub_ul.toggle();
}
}); });
}); });
</script> </script>
<?php
include_once(G5_PATH.'/tail.sub.php');
?>

BIN
mobile/shop/img/add.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

BIN
mobile/shop/img/cart.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 B

BIN
mobile/shop/img/cate.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 B

BIN
mobile/shop/img/cate_op.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

BIN
mobile/shop/img/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

BIN
mobile/shop/img/del_btn.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

BIN
mobile/shop/img/paging.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

BIN
mobile/shop/img/sch.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

BIN
mobile/shop/img/sch2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

BIN
mobile/shop/img/select.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

View File

@ -9,13 +9,14 @@ include_once(G5_MSHOP_PATH.'/_head.php');
<script src="<?php echo G5_JS_URL; ?>/swipe.js"></script> <script src="<?php echo G5_JS_URL; ?>/swipe.js"></script>
<script src="<?php echo G5_JS_URL; ?>/shop.mobile.main.js"></script> <script src="<?php echo G5_JS_URL; ?>/shop.mobile.main.js"></script>
<div id="sidx" class="swipe"> <?php echo display_banner('메인', 'mainbanner.10.skin.php'); ?>
<div id="sidx" class="swipe">
<div id="sidx_slide" class="swipe-wrap"> <div id="sidx_slide" class="swipe-wrap">
<?php if($default['de_mobile_type1_list_use']) { ?> <?php if($default['de_mobile_type1_list_use']) { ?>
<div class="sct_wrap"> <div class="sct_wrap">
<header> <header>
<h2>히트상품</h2> <h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">HIT ITEM</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p> <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
</header> </header>
<?php <?php
@ -24,20 +25,19 @@ include_once(G5_MSHOP_PATH.'/_head.php');
$list->set_type(1); $list->set_type(1);
$list->set_view('it_id', false); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_cust_price', true); $list->set_view('it_cust_price', false);
$list->set_view('it_price', true); $list->set_view('it_price', true);
$list->set_view('it_icon', true); $list->set_view('it_icon', false);
$list->set_view('sns', true); $list->set_view('sns', false);
echo $list->run(); echo $list->run();
?> ?>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">더 보기</a></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if($default['de_mobile_type2_list_use']) { ?> <?php if($default['de_mobile_type2_list_use']) { ?>
<div class="sct_wrap"> <div class="sct_wrap">
<header> <header>
<h2>추천상품</h2> <h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">RECOMMEND ITEM</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p> <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
</header> </header>
<?php <?php
@ -46,20 +46,19 @@ include_once(G5_MSHOP_PATH.'/_head.php');
$list->set_type(2); $list->set_type(2);
$list->set_view('it_id', false); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_cust_price', true); $list->set_view('it_cust_price', false);
$list->set_view('it_price', true); $list->set_view('it_price', true);
$list->set_view('it_icon', true); $list->set_view('it_icon', false);
$list->set_view('sns', true); $list->set_view('sns', false);
echo $list->run(); echo $list->run();
?> ?>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">더 보기</a></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if($default['de_mobile_type3_list_use']) { ?> <?php if($default['de_mobile_type3_list_use']) { ?>
<div class="sct_wrap"> <div class="sct_wrap">
<header> <header>
<h2>최신상품</h2> <h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">NEW ITEM</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p> <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
</header> </header>
<?php <?php
@ -68,42 +67,40 @@ include_once(G5_MSHOP_PATH.'/_head.php');
$list->set_type(3); $list->set_type(3);
$list->set_view('it_id', false); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_cust_price', true); $list->set_view('it_cust_price', false);
$list->set_view('it_price', true); $list->set_view('it_price', true);
$list->set_view('it_icon', true); $list->set_view('it_icon', false);
$list->set_view('sns', true); $list->set_view('sns', false);
echo $list->run(); echo $list->run();
?> ?>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">더 보기</a></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if($default['de_mobile_type4_list_use']) { ?> <?php if($default['de_mobile_type4_list_use']) { ?>
<div class="sct_wrap"> <div class="sct_wrap">
<header> <header>
<h2>인기상품</h2> <h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=4">BEST ITEM</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p> <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
</header> </header>
<?php <?php
$list = new item_list(); $list = new item_list();
$list->set_mobile(true); $list->set_mobile(true);
$list->set_type(4); $list->set_type(4);
$list->set_view('it_id', false); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_cust_price', true); $list->set_view('it_cust_price', false);
$list->set_view('it_price', true); $list->set_view('it_price', true);
$list->set_view('it_icon', true); $list->set_view('it_icon', false);
$list->set_view('sns', true); $list->set_view('sns', false);
echo $list->run(); echo $list->run();
?> ?>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=4">더 보기</a></div>
</div> </div>
<?php } ?> <?php } ?>
<?php if($default['de_mobile_type5_list_use']) { ?> <?php if($default['de_mobile_type5_list_use']) { ?>
<div class="sct_wrap"> <div class="sct_wrap">
<header> <header>
<h2>할인상품</h2> <h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">SALE ITEM</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p> <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p>
</header> </header>
<?php <?php
@ -112,45 +109,26 @@ include_once(G5_MSHOP_PATH.'/_head.php');
$list->set_type(5); $list->set_type(5);
$list->set_view('it_id', false); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_cust_price', true); $list->set_view('it_cust_price', false);
$list->set_view('it_price', true); $list->set_view('it_price', true);
$list->set_view('it_icon', true); $list->set_view('it_icon', false);
$list->set_view('sns', true); $list->set_view('sns', false);
echo $list->run(); echo $list->run();
?> ?>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">더 보기</a></div>
</div> </div>
<?php } ?> <?php } ?>
<?php
$hsql = " select ev_id, ev_subject, ev_subject_strong from {$g5['g5_shop_event_table']} where ev_use = '1' order by ev_id desc ";
$hresult = sql_query($hsql);
if(mysql_num_rows($hresult)) {
?>
<div class="sct_wrap">
<header>
<h2>이벤트</h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 이벤트 모음</p>
</header>
<?php include_once(G5_MSHOP_SKIN_PATH.'/main.event.skin.php'); ?>
</div>
<?php
}
?>
</div> </div>
</div> </div>
<?php include_once(G5_MSHOP_SKIN_PATH.'/main.event.skin.php'); // 이벤트 ?>
<script> <script>
$(function() { $(function() {
$("#sidx").swipeSlide({ $("#sidx").swipeSlide({
slides: ".swipe-wrap > div", slides: ".swipe-wrap > div",
header: "header h2", buttons: ".mli_btn > button",
tabWrap: "slide_tab",
tabActive: "tab_active",
tabOffset: 10,
startSlide: 0, startSlide: 0,
auto: 0 auto: 0
}); });

View File

@ -24,7 +24,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<?php } ?> <?php } ?>
<div id="display_pay_button" class="btn_confirm"> <div id="display_pay_button" class="btn_confirm">
<span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록"class="btn_submit"></span> <span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록" class="btn_submit"></span>
<span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span> <span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span>
<a href="<?php echo G5_SHOP_URL; ?>" class="btn_cancel">취소</a> <a href="<?php echo G5_SHOP_URL; ?>" class="btn_cancel">취소</a>
</div> </div>

View File

@ -182,13 +182,6 @@ $g5['title'] = $it['it_name'].' &gt; '.$it['ca_name'];
include_once(G5_MSHOP_PATH.'/_head.php'); include_once(G5_MSHOP_PATH.'/_head.php');
// 분류 위치
// HOME > 1단계 > 2단계 ... > 5단계 분류
$ca_id = $it['ca_id'];
$nav_skin = $skin_dir.'/navigation.skin.php';
if(!is_file($nav_skin))
$nav_skin = G5_MSHOP_SKIN_PATH.'/navigation.skin.php';
include $nav_skin;
// 상단 HTML // 상단 HTML
echo '<div id="sit_hhtml">'.conv_content($it['it_mobile_head_html'], 1).'</div>'; echo '<div id="sit_hhtml">'.conv_content($it['it_mobile_head_html'], 1).'</div>';

View File

@ -40,16 +40,6 @@ $sql = " select count(*) as cnt from `{$g5['g5_shop_item_qa_table']}` where it_i
$row = sql_fetch($sql); $row = sql_fetch($sql);
$item_qa_count = $row['cnt']; $item_qa_count = $row['cnt'];
if ($default['de_mobile_rel_list_use']) {
// 관련상품의 개수를 얻음
$sql = " select count(*) as cnt
from {$g5['g5_shop_item_relation_table']} a
left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id and b.it_use='1')
where a.it_id = '{$it['it_id']}' ";
$row = sql_fetch($sql);
$item_relation_count = $row['cnt'];
}
function pg_anchor($info) { function pg_anchor($info) {
global $default; global $default;
global $it_id, $item_use_count, $item_qa_count, $item_relation_count; global $it_id, $item_use_count, $item_qa_count, $item_relation_count;
@ -57,21 +47,17 @@ function pg_anchor($info) {
$href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id; $href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id;
?> ?>
<ul class="sanchor"> <ul class="sanchor">
<li><a href="<?php echo $href; ?>" <?php if ($info == '') echo 'class="sanchor_on"'; ?>>상품정보</a></li> <li><a href="<?php echo $href; ?>" <?php if ($info == '') echo 'class="sanchor_on"'; ?>>DETAIL</a></li>
<li><a href="<?php echo $href; ?>&amp;info=use" <?php if ($info == 'use') echo 'class="sanchor_on"'; ?>>사용후기 <span class="item_use_count"><?php echo $item_use_count; ?></span></a></li> <?php if ($default['de_baesong_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=dvr" <?php if ($info == 'dvr') echo 'class="sanchor_on"'; ?>>INFO</a></li><?php } ?>
<li><a href="<?php echo $href; ?>&amp;info=qa" <?php if ($info == 'qa') echo 'class="sanchor_on"'; ?>>상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></a></li> <li><a href="<?php echo $href; ?>&amp;info=use" <?php if ($info == 'use') echo 'class="sanchor_on"'; ?>>REVIEW<span class="item_use_count"><?php echo $item_use_count; ?></span></a></li>
<?php if ($default['de_baesong_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=dvr" <?php if ($info == 'dvr') echo 'class="sanchor_on"'; ?>>배송정보</a></li><?php } ?> <li><a href="<?php echo $href; ?>&amp;info=qa" <?php if ($info == 'qa') echo 'class="sanchor_on"'; ?>>Q&amp;A<span class="item_qa_count"><?php echo $item_qa_count; ?></span></a></li>
<?php if ($default['de_change_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=ex" <?php if ($info == 'ex') echo 'class="sanchor_on"'; ?>>교환정보</a></li><?php } ?>
<?php if ($default['de_mobile_rel_list_use']) { ?>
<li><a href="<?php echo $href; ?>&amp;info=rel" <?php if ($info == 'rel') echo 'class="sanchor_on"'; ?>>관련상품 <span class="item_relation_count"><?php echo $item_relation_count; ?></span></a></li>
<?php } ?>
<li><button type="button" id="iteminfo_close" onclick="self.close();">창닫기</button></li>
</ul> </ul>
<?php <?php
} }
?> ?>
<div id="menu_list">
<script src="<?php echo G5_JS_URL; ?>/jquery.nicescroll.min.js"></script> <?php echo pg_anchor($info); ?>
</div>
<div id="info_content" class="new_win"> <div id="info_content" class="new_win">
<?php <?php
@ -88,87 +74,13 @@ switch($info) {
case 'ex': case 'ex':
include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.change.skin.php'); include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.change.skin.php');
break; break;
case 'rel':
include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.relation.skin.php');
break;
default: default:
include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.info.skin.php'); include_once(G5_MSHOP_SKIN_PATH.'/iteminfo.info.skin.php');
break; break;
} }
?> ?>
</div> </div>
<div class="close_btn"><button type="button" id="iteminfo_close" onclick="self.close();">창닫기</button></div>
<div id="menu_button" class="menu_hidden">
<button type="button">메뉴열기</button>
</div>
<div id="menu_list">
<?php echo pg_anchor($info); ?>
</div>
<script>
$(function() {
$("#menu_button button").on("click", function(e) {
if($("#menu_button").is(":animated") || $("#menu_list").is(":animated"))
return false;
var $this = $(this);
var mlh = $("#menu_list").outerHeight(true);
var duration = 200;
var ani_direction;
var button_text;
if($this.hasClass("menu_opened")) {
ani_direction = "-="+mlh;
button_text = "메뉴열기";
} else {
ani_direction = "+="+mlh;
button_text = "메뉴닫기";
}
$("#menu_button").animate(
{ bottom: ani_direction }, duration
);
$("#menu_list").animate(
{ bottom: ani_direction }, duration,
function() {
$this.toggleClass("menu_opened").html("<span></span>"+button_text);
}
);
});
});
$(window).on("load resize", function() {
content_scroll();
});
function content_scroll()
{
var sw = $(window).width();
var sh = $(window).height();
if (/iP(hone|od|ad)/.test(navigator.platform)) {
if(window.innerHeight - $(window).outerHeight(true) > 0)
sh += (window.innerHeight - $(window).outerHeight(true));
}
var mbh = $("#menu_button").outerHeight();
var mlh = $("#menu_list").outerHeight(true);
var pad = parseInt($("#info_content").css("padding-bottom"));
var ch = sh - pad;
$("#menu_button")
.css("bottom", 0)
.removeClass("menu_hidden")
.children().removeClass("menu_opened").html("<span></span>메뉴열기");
$("#menu_list")
.css("bottom", "-"+mlh+"px")
.removeClass("menu_hidden");
$("#info_content")
.height(ch)
.niceScroll();
}
</script>
<?php <?php
include_once(G5_PATH.'/tail.sub.php'); include_once(G5_PATH.'/tail.sub.php');

View File

@ -4,7 +4,7 @@ include_once('./_common.php');
$sfl = trim($_REQUEST['sfl']); $sfl = trim($_REQUEST['sfl']);
$stx = trim($_REQUEST['stx']); $stx = trim($_REQUEST['stx']);
$g5['title'] = '상품문의'; $g5['title'] = 'Q&amp;A';
include_once(G5_MSHOP_PATH.'/_head.php'); include_once(G5_MSHOP_PATH.'/_head.php');
$sql_common = " from `{$g5['g5_shop_item_qa_table']}` a join `{$g5['g5_shop_item_table']}` b on (a.it_id=b.it_id) "; $sql_common = " from `{$g5['g5_shop_item_qa_table']}` a join `{$g5['g5_shop_item_table']}` b on (a.it_id=b.it_id) ";

View File

@ -4,7 +4,7 @@ include_once('./_common.php');
$sfl = trim($_REQUEST['sfl']); $sfl = trim($_REQUEST['sfl']);
$stx = trim($_REQUEST['stx']); $stx = trim($_REQUEST['stx']);
$g5['title'] = '사용후기'; $g5['title'] = 'REVIEW';
include_once(G5_MSHOP_PATH.'/_head.php'); include_once(G5_MSHOP_PATH.'/_head.php');
$sql_common = " from `{$g5['g5_shop_item_use_table']}` a join `{$g5['g5_shop_item_table']}` b on (a.it_id=b.it_id) "; $sql_common = " from `{$g5['g5_shop_item_use_table']}` a join `{$g5['g5_shop_item_table']}` b on (a.it_id=b.it_id) ";

View File

@ -34,7 +34,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<?php } ?> <?php } ?>
<div id="display_pay_button" class="btn_confirm"> <div id="display_pay_button" class="btn_confirm">
<span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록요청"class="btn_submit"></span> <span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록요청" class="btn_submit"></span>
<span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span> <span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span>
<a href="<?php echo G5_SHOP_URL; ?>" class="btn_cancel">취소</a> <a href="<?php echo G5_SHOP_URL; ?>" class="btn_cancel">취소</a>
</div> </div>

View File

@ -14,7 +14,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<?php } ?> <?php } ?>
<div id="display_pay_button" class="btn_confirm"> <div id="display_pay_button" class="btn_confirm">
<span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록요청"class="btn_submit"></span> <span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록요청" class="btn_submit"></span>
<span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span> <span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span>
<a href="<?php echo G5_SHOP_URL; ?>" class="btn_cancel">취소</a> <a href="<?php echo G5_SHOP_URL; ?>" class="btn_cancel">취소</a>
</div> </div>

View File

@ -16,7 +16,7 @@ if(!$is_admin) {
alert($msg, G5_SHOP_URL); alert($msg, G5_SHOP_URL);
} }
$g5['title'] = $ca['ca_name'].' 상품리스트'; $g5['title'] = $ca['ca_name'];
include_once(G5_MSHOP_PATH.'/_head.php'); include_once(G5_MSHOP_PATH.'/_head.php');
@ -39,17 +39,45 @@ if($ca['ca_mobile_skin_dir']) {
define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir)); define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
?> ?>
<script>
var g5_shop_url = "<?php echo G5_SHOP_URL; ?>";
</script>
<script src="<?php echo G5_JS_URL; ?>/shop.mobile.list.js"></script>
<div id="sct"> <div id="sct">
<?php <?php
$nav_skin = $skin_dir.'/navigation.skin.php';
if(!is_file($nav_skin))
$nav_skin = G5_MSHOP_SKIN_PATH.'/navigation.skin.php';
include $nav_skin;
// 상단 HTML // 상단 HTML
echo '<div id="sct_hhtml">'.conv_content($ca['ca_mobile_head_html'], 1).'</div>'; echo '<div id="sct_hhtml">'.conv_content($ca['ca_mobile_head_html'], 1).'</div>';
$cate_skin = $skin_dir.'/listcategory.skin.php';
if(!is_file($cate_skin))
$cate_skin = G5_MSHOP_SKIN_PATH.'/listcategory.skin.php';
include $cate_skin;
// 분류 Best Item
$list_mod = 3;
$list_row = 3;
$limit = $list_mod * $list_row;
$best_skin = G5_MSHOP_SKIN_PATH.'/list.best.10.skin.php';
$sql = " select *
from {$g5['g5_shop_item_table']}
where ( ca_id like '$ca_id%' or ca_id2 like '$ca_id%' or ca_id3 like '$ca_id%' )
and it_use = '1'
and it_type4 = '1'
order by it_order, it_id desc
limit 0, $limit ";
$list = new item_list($best_skin, $list_mod, $list_row, $ca['ca_mobile_img_width'], $ca['ca_mobile_img_height']);
$list->set_query($sql);
$list->set_mobile(true);
$list->set_view('it_img', true);
$list->set_view('it_id', false);
$list->set_view('it_name', true);
$list->set_view('it_price', true);
echo $list->run();
// 상품 출력순서가 있다면 // 상품 출력순서가 있다면
if ($sort != "") if ($sort != "")
$order_by = $sort.' '.$sortodr.' , it_order, it_id desc'; $order_by = $sort.' '.$sortodr.' , it_order, it_id desc';
@ -68,13 +96,13 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
include $sort_skin; include $sort_skin;
// 총몇개 // 총몇개
$items = $ca['ca_mobile_list_mod']; $items = $ca['ca_mobile_list_mod'] * $ca['ca_mobile_list_row'];
// 페이지가 없으면 첫 페이지 (1 페이지) // 페이지가 없으면 첫 페이지 (1 페이지)
if ($page < 1) $page = 1; if ($page < 1) $page = 1;
// 시작 레코드 구함 // 시작 레코드 구함
$from_record = ($page - 1) * $items; $from_record = ($page - 1) * $items;
$list = new item_list($skin_file, $ca['ca_mobile_list_mod'], 1, $ca['ca_mobile_img_width'], $ca['ca_mobile_img_height']); $list = new item_list($skin_file, $ca['ca_mobile_list_mod'], $ca['ca_mobile_list_row'], $ca['ca_mobile_img_width'], $ca['ca_mobile_img_height']);
$list->set_category($ca['ca_id'], 1); $list->set_category($ca['ca_id'], 1);
$list->set_category($ca['ca_id'], 2); $list->set_category($ca['ca_id'], 2);
$list->set_category($ca['ca_id'], 3); $list->set_category($ca['ca_id'], 3);
@ -85,16 +113,11 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
$list->set_view('it_img', true); $list->set_view('it_img', true);
$list->set_view('it_id', false); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_cust_price', true);
$list->set_view('it_price', true); $list->set_view('it_price', true);
$list->set_view('it_icon', true);
$list->set_view('sns', true);
echo $list->run(); echo $list->run();
// where 된 전체 상품수 // where 된 전체 상품수
$total_count = $list->total_count; $total_count = $list->total_count;
// 전체 페이지 계산
$total_page = ceil($total_count / $items);
} }
else else
{ {
@ -103,15 +126,23 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
?> ?>
<?php <?php
$qstr1 .= 'ca_id='.$ca_id; if($i > 0 && $total_count > $items) {
$qstr1 .='&amp;sort='.$sort.'&amp;sortodr='.$sortodr; $qstr1 .= 'ca_id='.$ca_id;
echo get_paging($config['cf_mobile_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$qstr1.'&amp;page='); $qstr1 .='&sort='.$sort.'&sortodr='.$sortodr;
$ajax_url = G5_SHOP_URL.'/ajax.list.php?'.$qstr1;
?> ?>
<div class="li_more">
<p id="item_load_msg"><img src="<?php echo G5_SHOP_CSS_URL; ?>/img/loading.gif" alt="로딩이미지" ><br>잠시만 기다려주세요.</p>
<div class="li_more_btn">
<button type="button" id="btn_more_item" data-url="<?php echo $ajax_url; ?>" data-page="<?php echo $page; ?>">MORE ITEM +</button>
</div>
</div>
<?php } ?>
<?php <?php
// 하단 HTML // 하단 HTML
echo '<div id="sct_thtml">'.conv_content($ca['ca_mobile_tail_html'], 1).'</div>'; echo '<div id="sct_thtml">'.conv_content($ca['ca_mobile_tail_html'], 1).'</div>';
?> ?>
</div> </div>
<?php <?php

View File

@ -6,7 +6,7 @@ if ($type == 1) $g5['title'] = '히트상품';
else if ($type == 2) $g5['title'] = '추천상품'; else if ($type == 2) $g5['title'] = '추천상품';
else if ($type == 3) $g5['title'] = '최신상품'; else if ($type == 3) $g5['title'] = '최신상품';
else if ($type == 4) $g5['title'] = '인기상품'; else if ($type == 4) $g5['title'] = '인기상품';
else if ($type == 5) $g5['title'] = '할인상품'; else if ($type == 5) $g5['title'] = '세일상품';
else else
alert('상품유형이 아닙니다.'); alert('상품유형이 아닙니다.');
@ -14,8 +14,8 @@ include_once(G5_MSHOP_PATH.'/_head.php');
// 한페이지에 출력하는 이미지수 = $list_mod * $list_row // 한페이지에 출력하는 이미지수 = $list_mod * $list_row
// 모바일에서는 계산된 이미지수가 중요함 // 모바일에서는 계산된 이미지수가 중요함
$list_mod = 1; // 한줄에 이미지 몇개씩 출력? 단, 모바일환경에서는 사용되지 않음. $list_mod = 3; // 한줄에 이미지 몇개씩 출력? 단, 모바일환경에서는 사용되지 않음.
$list_row = 10; // 한 페이지에 몇라인씩 출력? $list_row = 5; // 한 페이지에 몇라인씩 출력?
$img_width = 230; // 출력이미지 폭 $img_width = 230; // 출력이미지 폭
$img_height = 230; // 출력이미지 높이 $img_height = 230; // 출력이미지 높이

View File

@ -26,12 +26,13 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
<section id="smb_my_ov"> <section id="smb_my_ov">
<h2>회원정보 개요</h2> <h2>회원정보 개요</h2>
<ul>
<li class="my_cou">보유쿠폰<a href="<?php echo G5_SHOP_URL; ?>/coupon.php" target="_blank" class="win_coupon"><?php echo number_format($cp_count); ?></a></li>
<li class="my_point">보유포인트
<a href="<?php echo G5_BBS_URL; ?>/point.php" target="_blank" class="win_point"><?php echo number_format($member['mb_point']); ?>점</a></li>
</ul>
<dl> <dl>
<dt>보유포인트</dt>
<dd><a href="<?php echo G5_BBS_URL; ?>/point.php" target="_blank" class="win_point"><?php echo number_format($member['mb_point']); ?>점</a></dd>
<dt>보유쿠폰</dt>
<dd><a href="<?php echo G5_SHOP_URL; ?>/coupon.php" target="_blank" class="win_coupon"><?php echo number_format($cp_count); ?></a></dd>
<dt>연락처</dt> <dt>연락처</dt>
<dd><?php echo ($member['mb_tel'] ? $member['mb_tel'] : '미등록'); ?></dd> <dd><?php echo ($member['mb_tel'] ? $member['mb_tel'] : '미등록'); ?></dd>
<dt>E-Mail</dt> <dt>E-Mail</dt>
@ -77,7 +78,7 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
$list_left_pad = $image_w + 10; $list_left_pad = $image_w + 10;
?> ?>
<li style="padding-left:<?php echo $list_left_pad; ?>px"> <li style="padding-left:<?php echo $list_left_pad + 10; ?>px">
<div class="wish_img"><?php echo $image; ?></div> <div class="wish_img"><?php echo $image; ?></div>
<div class="wish_info"> <div class="wish_info">
<a href="./item.php?it_id=<?php echo $row['it_id']; ?>" class="info_link"><?php echo stripslashes($row['it_name']); ?></a> <a href="./item.php?it_id=<?php echo $row['it_id']; ?>" class="info_link"><?php echo stripslashes($row['it_name']); ?></a>

View File

@ -115,8 +115,8 @@ ob_start();
$a1 = '<strong>'; $a1 = '<strong>';
$a2 = '</strong>'; $a2 = '</strong>';
$image_width = 50; $image_width = 80;
$image_height = 50; $image_height = 80;
$image = get_it_image($row['it_id'], $image_width, $image_height); $image = get_it_image($row['it_id'], $image_width, $image_height);
$it_name = $a1 . stripslashes($row['it_name']) . $a2; $it_name = $a1 . stripslashes($row['it_name']) . $a2;
@ -200,18 +200,22 @@ ob_start();
<?php } ?> <?php } ?>
<input type="hidden" name="cp_id[<?php echo $i; ?>]" value=""> <input type="hidden" name="cp_id[<?php echo $i; ?>]" value="">
<input type="hidden" name="cp_price[<?php echo $i; ?>]" value="0"> <input type="hidden" name="cp_price[<?php echo $i; ?>]" value="0">
<div class="li_name"><?php echo $it_name; ?></div> <div class="li_name">
<div class="li_prqty"> <?php echo $it_name; ?>
<span class="prqty_price"><span>판매가 </span><?php echo number_format($row['ct_price']); ?></span> <div class="li_mod" style="padding-left:<?php echo $image_width + 20; ?>px;"><?php echo $cp_button; ?></div>
<span class="prqty_qty"><span>수량 </span><?php echo number_format($sum['qty']); ?></span>
<span class="prqty_sc"><span>배송비 </span><?php echo $ct_send_cost; ?></span>
</div>
<div class="li_total" style="padding-left:<?php echo $image_width + 10; ?>px;height:auto !important;height:<?php echo $image_height; ?>px;min-height:<?php echo $image_height; ?>px">
<span class="total_img"><?php echo $image; ?></span> <span class="total_img"><?php echo $image; ?></span>
</div>
<div class="li_prqty">
<span class="prqty_price li_prqty_sp"><span>판매가 </span><?php echo number_format($row['ct_price']); ?></span>
<span class="prqty_qty li_prqty_sp"><span>수량 </span><?php echo number_format($sum['qty']); ?></span>
<span class="prqty_sc li_prqty_sp"><span>배송비 </span><?php echo $ct_send_cost; ?></span>
</div>
<div class="li_total">
<span class="total_price total_span"><span>주문금액 </span><strong><?php echo number_format($sell_price); ?></strong></span> <span class="total_price total_span"><span>주문금액 </span><strong><?php echo number_format($sell_price); ?></strong></span>
<span class="total_point total_span"><span>적립포인트 </span><strong><?php echo number_format($sum['point']); ?></strong></span> <span class="total_point total_span"><span>적립포인트 </span><strong><?php echo number_format($sum['point']); ?></strong></span>
</div> </div>
<?php echo $cp_button; ?>
</li> </li>
<?php <?php
@ -276,10 +280,10 @@ require_once(G5_MSHOP_PATH.'/'.$default['de_pg_service'].'/orderform.1.php');
<?php echo $content; ?> <?php echo $content; ?>
<section id="sod_frm_orderer"> <section id="sod_frm_orderer" >
<h2>주문하시는 분</h2> <h2>주문하시는 분</h2>
<div class="tbl_frm01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<tbody> <tbody>
<tr> <tr>
@ -353,7 +357,7 @@ require_once(G5_MSHOP_PATH.'/'.$default['de_pg_service'].'/orderform.1.php');
<section id="sod_frm_taker"> <section id="sod_frm_taker">
<h2>받으시는 분</h2> <h2>받으시는 분</h2>
<div class="tbl_frm01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<tbody> <tbody>
<?php <?php
@ -503,7 +507,7 @@ require_once(G5_MSHOP_PATH.'/'.$default['de_pg_service'].'/orderform.1.php');
<section id="sod_frm_pay"> <section id="sod_frm_pay">
<h2>결제정보 입력</h2> <h2>결제정보 입력</h2>
<div class="tbl_frm01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<tbody> <tbody>
<?php if($oc_cnt > 0) { ?> <?php if($oc_cnt > 0) { ?>

View File

@ -96,7 +96,7 @@ if($od['od_pg'] == 'lg') {
} }
?> ?>
<li class="sod_li"> <li class="sod_li">
<div class="li_name"> <div class="li_name_od">
<a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><strong><?php echo $row['it_name']; ?></strong></a> <a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><strong><?php echo $row['it_name']; ?></strong></a>
</div> </div>
<?php <?php
@ -111,10 +111,10 @@ if($od['od_pg'] == 'lg') {
?> ?>
<div class="li_opt"><?php echo $opt['ct_option']; ?></div> <div class="li_opt"><?php echo $opt['ct_option']; ?></div>
<div class="li_prqty"> <div class="li_prqty">
<span class="prqty_price"><span>판매가 </span><?php echo number_format($opt_price); ?></span> <span class="prqty_price li_prqty_sp"><span>판매가 </span><?php echo number_format($opt_price); ?></span>
<span class="prqty_qty"><span>수량 </span><?php echo number_format($opt['ct_qty']); ?></span> <span class="prqty_qty li_prqty_sp"><span>수량 </span><?php echo number_format($opt['ct_qty']); ?></span>
<span class="prqty_sc"><span>배송비 </span><?php echo $ct_send_cost; ?></span> <span class="prqty_sc li_prqty_sp"><span>배송비 </span><?php echo $ct_send_cost; ?></span>
<span class="prqty_stat"><span>상태 </span><?php echo $opt['ct_status']; ?></span> <span class="prqty_stat li_prqty_sp"><span>상태 </span><?php echo $opt['ct_status']; ?></span>
</div> </div>
<div class="li_total" style="padding-left:<?php echo $image_width + 10; ?>px;height:auto !important;height:<?php echo $image_height; ?>px;min-height:<?php echo $image_height; ?>px"> <div class="li_total" style="padding-left:<?php echo $image_width + 10; ?>px;height:auto !important;height:<?php echo $image_height; ?>px;min-height:<?php echo $image_height; ?>px">
<a href="./item.php?it_id=<?php echo $row['it_id']; ?>" class="total_img"><?php echo $image; ?></a> <a href="./item.php?it_id=<?php echo $row['it_id']; ?>" class="total_img"><?php echo $image; ?></a>
@ -256,10 +256,10 @@ if($od['od_pg'] == 'lg') {
<section id="sod_fin_pay"> <section id="sod_fin_pay">
<h3>결제정보</h3> <h3>결제정보</h3>
<div class="tbl_head01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>
@ -446,10 +446,10 @@ if($od['od_pg'] == 'lg') {
<section id="sod_fin_orderer"> <section id="sod_fin_orderer">
<h3>주문하신 분</h3> <h3>주문하신 분</h3>
<div class="tbl_head01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>
@ -482,10 +482,10 @@ if($od['od_pg'] == 'lg') {
<section id="sod_fin_receiver"> <section id="sod_fin_receiver">
<h3>받으시는 분</h3> <h3>받으시는 분</h3>
<div class="tbl_head01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>
@ -531,10 +531,10 @@ if($od['od_pg'] == 'lg') {
<section id="sod_fin_dvr"> <section id="sod_fin_dvr">
<h3>배송정보</h3> <h3>배송정보</h3>
<div class="tbl_head01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>
@ -560,7 +560,7 @@ if($od['od_pg'] == 'lg') {
{ {
?> ?>
<tr> <tr>
<td class="empty_table">아직 배송하지 않았거나 배송정보를 입력하지 못하였습니다.</td> <td class="empty_table" colspan="2">아직 배송하지 않았거나 배송정보를 입력하지 못하였습니다.</td>
</tr> </tr>
<?php <?php
} }
@ -609,7 +609,7 @@ if($od['od_pg'] == 'lg') {
<input type="hidden" name="token" value="<?php echo $token; ?>"> <input type="hidden" name="token" value="<?php echo $token; ?>">
<label for="cancel_memo">취소사유</label> <label for="cancel_memo">취소사유</label>
<input type="text" name="cancel_memo" id="cancel_memo" required class="frm_input required"maxlength="100"> <input type="text" name="cancel_memo" id="cancel_memo" required class="frm_input required" maxlength="100">
<input type="submit" value="확인" class="btn_frmline"> <input type="submit" value="확인" class="btn_frmline">
</form> </form>
@ -627,12 +627,12 @@ if($od['od_pg'] == 'lg') {
$deposit_no = trim($matchs[1]); $deposit_no = trim($matchs[1]);
?> ?>
<p>관리자가 가상계좌 테스트를 한 경우에만 보입니다.</p> <p>관리자가 가상계좌 테스트를 한 경우에만 보입니다.</p>
<div class="tbl_frm01 tbl_wrap"> <div id="kcp_acc_test" class="odf_tbl">
<form method="post" action="http://devadmin.kcp.co.kr/Modules/Noti/TEST_Vcnt_Noti_Proc.jsp" target="_blank"> <form method="post" action="http://devadmin.kcp.co.kr/Modules/Noti/TEST_Vcnt_Noti_Proc.jsp" target="_blank">
<table> <table>
<caption>모의입금처리</caption> <caption>모의입금처리</caption>
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>

View File

@ -13,7 +13,8 @@ include_once(G5_MSHOP_PATH.'/_head.php');
$list_file = G5_MSHOP_SKIN_PATH.'/personalpay.skin.php'; $list_file = G5_MSHOP_SKIN_PATH.'/personalpay.skin.php';
if (file_exists($list_file)) { if (file_exists($list_file)) {
$list_mod = 10; $list_mod = 3;
$list_row = 5;
$img_width = 230; $img_width = 230;
$img_height = 230; $img_height = 230;
@ -22,7 +23,7 @@ include_once(G5_MSHOP_PATH.'/_head.php');
and pp_tno = '' "; and pp_tno = '' ";
// 총몇개 = 한줄에 몇개 * 몇줄 // 총몇개 = 한줄에 몇개 * 몇줄
$items = $list_mod; $items = $list_mod * $list_row;
$sql = "select COUNT(*) as cnt $sql_common "; $sql = "select COUNT(*) as cnt $sql_common ";
$row = sql_fetch($sql); $row = sql_fetch($sql);
@ -45,17 +46,9 @@ include_once(G5_MSHOP_PATH.'/_head.php');
} }
else else
{ {
$i = 0; echo '<p class="sct_nofile">personalpay.skin.php 파일을 찾을 수 없습니다.<br>관리자에게 알려주시면 감사하겠습니다.</p>';
$error = '<p class="sct_nofile">personalpay.skin.php 파일을 찾을 수 없습니다.<br>관리자에게 알려주시면 감사하겠습니다.</p>';
} }
if ($i==0)
{
echo '<p class="sct_noitem">등록된 개인결제가 없습니다.</p>';
}
?>
<?php
echo get_paging($config['cf_mobile_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$qstr.'&amp;page='); echo get_paging($config['cf_mobile_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$qstr.'&amp;page=');
?> ?>
</div> </div>

View File

@ -54,7 +54,7 @@ $goods = $pp['pp_name'].'님 개인결제';
<section id="sod_frm_orderer"> <section id="sod_frm_orderer">
<h2>개인결제정보</h2> <h2>개인결제정보</h2>
<div class="tbl_frm01 tbl_wrap"> <div class="odf_tbl">
<table> <table>
<tbody> <tbody>
<?php if(trim($pp['pp_content'])) { ?> <?php if(trim($pp['pp_content'])) { ?>
@ -95,37 +95,39 @@ $goods = $pp['pp_name'].'님 개인결제';
if ($default['de_vbank_use'] || $default['de_iche_use'] || $default['de_card_use'] || $default['de_hp_use']) { if ($default['de_vbank_use'] || $default['de_iche_use'] || $default['de_card_use'] || $default['de_hp_use']) {
echo '<fieldset id="sod_frm_paysel">'; echo '<fieldset id="sod_frm_paysel">';
echo '<legend>결제방법 선택</legend>'; echo '<legend>결제방법 선택</legend>';
echo '<ul>';
} }
// 가상계좌 사용 // 가상계좌 사용
if ($default['de_vbank_use']) { if ($default['de_vbank_use']) {
$multi_settle++; $multi_settle++;
echo '<input type="radio" id="pp_settle_vbank" name="pp_settle_case" value="가상계좌" '.$checked.'> <label for="pp_settle_vbank">'.$escrow_title.'가상계좌</label>'.PHP_EOL; echo '<li><input type="radio" id="pp_settle_vbank" name="pp_settle_case" value="가상계좌" '.$checked.'> <label for="pp_settle_vbank">'.$escrow_title.'가상계좌</label></li>'.PHP_EOL;
$checked = ''; $checked = '';
} }
// 계좌이체 사용 // 계좌이체 사용
if ($default['de_iche_use']) { if ($default['de_iche_use']) {
$multi_settle++; $multi_settle++;
echo '<input type="radio" id="pp_settle_iche" name="pp_settle_case" value="계좌이체" '.$checked.'> <label for="pp_settle_iche">'.$escrow_title.'계좌이체</label>'.PHP_EOL; echo '<li><input type="radio" id="pp_settle_iche" name="pp_settle_case" value="계좌이체" '.$checked.'> <label for="pp_settle_iche">'.$escrow_title.'계좌이체</label></li>'.PHP_EOL;
$checked = ''; $checked = '';
} }
// 휴대폰 사용 // 휴대폰 사용
if ($default['de_hp_use']) { if ($default['de_hp_use']) {
$multi_settle++; $multi_settle++;
echo '<input type="radio" id="pp_settle_hp" name="pp_settle_case" value="휴대폰" '.$checked.'> <label for="pp_settle_hp">휴대폰</label>'.PHP_EOL; echo '<li><input type="radio" id="pp_settle_hp" name="pp_settle_case" value="휴대폰" '.$checked.'> <label for="pp_settle_hp">휴대폰</label></li>'.PHP_EOL;
$checked = ''; $checked = '';
} }
// 신용카드 사용 // 신용카드 사용
if ($default['de_card_use']) { if ($default['de_card_use']) {
$multi_settle++; $multi_settle++;
echo '<input type="radio" id="pp_settle_card" name="pp_settle_case" value="신용카드" '.$checked.'> <label for="pp_settle_card">신용카드</label>'.PHP_EOL; echo '<li><input type="radio" id="pp_settle_card" name="pp_settle_case" value="신용카드" '.$checked.'> <label for="pp_settle_card">신용카드</label></li>'.PHP_EOL;
$checked = ''; $checked = '';
} }
if ($default['de_vbank_use'] || $default['de_iche_use'] || $default['de_card_use'] || $default['de_hp_use']) { if ($default['de_vbank_use'] || $default['de_iche_use'] || $default['de_card_use'] || $default['de_hp_use']) {
echo '</ul>';
echo '</fieldset>'; echo '</fieldset>';
} }

View File

@ -71,7 +71,7 @@ if($pp['pp_pg'] == 'lg') {
<section id="sod_fin_pay"> <section id="sod_fin_pay">
<h3>결제정보</h3> <h3>결제정보</h3>
<div class="tbl_wrap tbl_head01"> <div class="odf_tbl">
<table> <table>
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_3">

View File

@ -100,7 +100,7 @@ if (($qsort == "it_sum_qty" || $qsort == "it_price" || $qsort == "it_use_avg" ||
} }
// 총몇개 = 한줄에 몇개 * 몇줄 // 총몇개 = 한줄에 몇개 * 몇줄
$items = $default['de_mobile_search_list_mod']; $items = $default['de_mobile_search_list_mod'] * $default['de_mobile_search_list_row'];
// 페이지가 없으면 첫 페이지 (1 페이지) // 페이지가 없으면 첫 페이지 (1 페이지)
if ($page < 1) $page = 1; if ($page < 1) $page = 1;
// 시작 레코드 구함 // 시작 레코드 구함
@ -133,7 +133,7 @@ $total_page = ceil($total_count / $items); // 전체 페이지 계산
<strong>상품가격 (원)</strong> <strong>상품가격 (원)</strong>
<label for="ssch_qfrom" class="sound_only">최소 가격</label> <label for="ssch_qfrom" class="sound_only">최소 가격</label>
<input type="text" name="qfrom" value="<?php echo $qfrom; ?>" id="ssch_qfrom" class="frm_input"> ~ <input type="text" name="qfrom" value="<?php echo $qfrom; ?>" id="ssch_qfrom" class="frm_input"> ~
<label for="ssch_ qto" class="sound_only">최대 가격</label> <label for="ssch_qto" class="sound_only">최대 가격</label>
<input type="text" name="qto" value="<?php echo $qto; ?>" id="ssch_qto" class="frm_input"> 까지<br> <input type="text" name="qto" value="<?php echo $qto; ?>" id="ssch_qto" class="frm_input"> 까지<br>
</div> </div>
<div> <div>
@ -186,12 +186,12 @@ $total_page = ceil($total_count / $items); // 전체 페이지 계산
define('G5_SHOP_CSS_URL', G5_MSHOP_SKIN_URL); define('G5_SHOP_CSS_URL', G5_MSHOP_SKIN_URL);
$list_file = G5_MSHOP_SKIN_PATH.'/'.$default['de_mobile_search_list_skin']; $list_file = G5_MSHOP_SKIN_PATH.'/'.$default['de_mobile_search_list_skin'];
if (file_exists($list_file)) { if (file_exists($list_file)) {
$list = new item_list($list_file, $default['de_mobile_search_list_mod'], 1, $default['de_mobile_search_img_width'], $default['de_mobile_search_img_height']); $list = new item_list($list_file, $default['de_mobile_search_list_mod'], $default['de_mobile_search_list_row'], $default['de_mobile_search_img_width'], $default['de_mobile_search_img_height']);
$list->set_query(" select * $sql_common $sql_where {$order_by} limit $from_record, $items "); $list->set_query(" select * $sql_common $sql_where {$order_by} limit $from_record, $items ");
$list->set_is_page(true); $list->set_is_page(true);
$list->set_mobile(true); $list->set_mobile(true);
$list->set_view('it_img', true); $list->set_view('it_img', true);
$list->set_view('it_id', true); $list->set_view('it_id', false);
$list->set_view('it_name', true); $list->set_view('it_name', true);
$list->set_view('it_basic', true); $list->set_view('it_basic', true);
$list->set_view('it_cust_price', false); $list->set_view('it_cust_price', false);

View File

@ -17,10 +17,28 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
<?php if(defined('_INDEX_')) { // index에서만 실행 <?php if(defined('_INDEX_')) { // index에서만 실행
include G5_MOBILE_PATH.'/newwin.inc.php'; // 팝업레이어 include G5_MOBILE_PATH.'/newwin.inc.php'; // 팝업레이어
} ?> } ?>
<ul id="hd_tnb">
<?php if ($is_member) { ?>
<?php if ($is_admin) { ?>
<li><a href="<?php echo G5_ADMIN_URL ?>/shop_admin/"><b>관리자</b></a></li>
<?php } else { ?>
<li><a href="<?php echo G5_BBS_URL; ?>/member_confirm.php?url=register_form.php">정보수정</a></li>
<?php } ?>
<li><a href="<?php echo G5_BBS_URL; ?>/logout.php?url=shop">LOGOUT</a></li>
<?php } else { ?>
<li><a href="<?php echo G5_BBS_URL; ?>/login.php?url=<?php echo $urlencode; ?>">LOGIN</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/register.php" id="snb_join">JOIN</a></li>
<?php } ?>
<li><a href="<?php echo G5_SHOP_URL; ?>/mypage.php">MY PAGE</a></li>
<li><a href="<?php echo G5_SHOP_URL; ?>/cart.php" class="tnb_cart"><span></span>CART</a></li>
</ul>
<div id="logo"><a href="<?php echo $default['de_root_index_use'] ? G5_URL : G5_SHOP_URL; ?>/"><img src="<?php echo G5_DATA_URL; ?>/common/mobile_logo_img" alt="<?php echo $config['cf_title']; ?> 메인"></a></div> <div id="logo"><a href="<?php echo $default['de_root_index_use'] ? G5_URL : G5_SHOP_URL; ?>/"><img src="<?php echo G5_DATA_URL; ?>/common/mobile_logo_img" alt="<?php echo $config['cf_title']; ?> 메인"></a></div>
<a href="<?php echo G5_SHOP_URL; ?>/category.php" target="_blank" id="hd_ct">분류</a> <?php include_once(G5_MSHOP_PATH.'/category.php'); // 분류 ?>
<button type="button" id="hd_sch_open">검색<span class="sound_only"> 열기</span></button> <button type="button" id="hd_sch_open">검색<span class="sound_only"> 열기</span></button>
<form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search.php" onsubmit="return search_submit(this);"> <form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search.php" onsubmit="return search_submit(this);">
@ -55,22 +73,10 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
return true; return true;
} }
</script> </script>
<ul id="hd_mb"> <ul id="hd_mb">
<?php if ($is_member) { ?>
<?php if ($is_admin) { ?>
<li><a href="<?php echo G5_ADMIN_URL ?>/shop_admin/"><b>관리자</b></a></li>
<?php } ?>
<li><a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php">정보수정</a></li>
<li><a href="<?php echo G5_BBS_URL; ?>/logout.php?url=shop">로그아웃</a></li>
<?php } else { ?>
<li><a href="<?php echo G5_BBS_URL ?>/register.php" id="snb_join">회원가입</a></li>
<li><a href="<?php echo G5_BBS_URL; ?>/login.php?url=<?php echo $urlencode; ?>">로그인</a></li>
<?php } ?>
<li><a href="<?php echo G5_SHOP_URL; ?>/mypage.php">마이페이지</a></li>
<li><a href="<?php echo G5_SHOP_URL; ?>/cart.php">장바구니</a></li>
<li><a href="<?php echo G5_SHOP_URL; ?>/personalpay.php">개인결제</a></li>
<li><a href="<?php echo G5_BBS_URL; ?>/faq.php">FAQ</a></li> <li><a href="<?php echo G5_BBS_URL; ?>/faq.php">FAQ</a></li>
<li><a href="<?php echo G5_BBS_URL; ?>/qalist.php">1:1문의</a></li> <li><a href="<?php echo G5_BBS_URL; ?>/qalist.php">1:1문의</a></li>
<?php <?php
@ -91,8 +97,11 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
unset($com_name); unset($com_name);
} }
?> ?>
<li><a href="<?php echo G5_SHOP_URL; ?>/personalpay.php">개인결제</a></li>
<?php if($default['de_root_index_use']) { ?>
<li><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">세일상품</a></li>
<?php } ?>
</ul> </ul>
</header> </header>
<div id="container"> <div id="container">

View File

@ -11,16 +11,15 @@ $admin = get_admin("super");
<div id="ft"> <div id="ft">
<h2><?php echo $config['cf_title']; ?> 정보</h2> <h2><?php echo $config['cf_title']; ?> 정보</h2>
<a href="<?php echo $default['de_root_index_use'] ? G5_URL : G5_SHOP_URL; ?>/"><img src="<?php echo G5_DATA_URL; ?>/common/mobile_logo_img2" alt="처음으로"></a>
<p> <p>
<span><b>회사명</b> <?php echo $default['de_admin_company_name']; ?></span> <span><b>회사명</b> <?php echo $default['de_admin_company_name']; ?></span>
<span><b>주소</b> <?php echo $default['de_admin_company_addr']; ?></span><br> <span><b>주소</b> <?php echo $default['de_admin_company_addr']; ?></span><br>
<span><b>사업자 등록번호</b> <?php echo $default['de_admin_company_saupja_no']; ?></span> <span><b>사업자 등록번호</b> <?php echo $default['de_admin_company_saupja_no']; ?></span><br>
<span><b>대표</b> <?php echo $default['de_admin_company_owner']; ?></span> <span><b>대표</b> <?php echo $default['de_admin_company_owner']; ?></span>
<span><b>전화</b> <?php echo $default['de_admin_company_tel']; ?></span> <span><b>전화</b> <?php echo $default['de_admin_company_tel']; ?></span>
<span><b>팩스</b> <?php echo $default['de_admin_company_fax']; ?></span><br> <span><b>팩스</b> <?php echo $default['de_admin_company_fax']; ?></span><br>
<!-- <span><b>운영자</b> <?php echo $admin['mb_name']; ?></span><br> --> <!-- <span><b>운영자</b> <?php echo $admin['mb_name']; ?></span><br> -->
<span><b>통신판매업신고번호</b> <?php echo $default['de_admin_tongsin_no']; ?></span> <span><b>통신판매업신고번호</b> <?php echo $default['de_admin_tongsin_no']; ?></span><br>
<span><b>개인정보관리책임자</b> <?php echo $default['de_admin_info_name']; ?></span> <span><b>개인정보관리책임자</b> <?php echo $default['de_admin_info_name']; ?></span>
<?php if ($default['de_admin_buga_no']) echo '<span><b>부가통신사업신고번호</b> '.$default['de_admin_buga_no'].'</span>'; ?><br> <?php if ($default['de_admin_buga_no']) echo '<span><b>부가통신사업신고번호</b> '.$default['de_admin_buga_no'].'</span>'; ?><br>

View File

@ -14,19 +14,8 @@ include_once(G5_MSHOP_PATH.'/_head.php');
<input type="hidden" name="act" value="multi"> <input type="hidden" name="act" value="multi">
<input type="hidden" name="sw_direct" value=""> <input type="hidden" name="sw_direct" value="">
<input type="hidden" name="prog" value="wish"> <input type="hidden" name="prog" value="wish">
<ul id="wish_li">
<div class="tbl_wrap tbl_head01"> <?php
<table>
<thead>
<tr>
<th scope="col">이미지</th>
<th scope="col">상품명</th>
<th scope="col">선택</th>
<th scope="col">삭제</th>
</tr>
</thead>
<tbody>
<?php
$sql = " select a.wi_id, a.wi_time, b.* $sql = " select a.wi_id, a.wi_time, b.*
from {$g5['g5_shop_wish_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id ) from {$g5['g5_shop_wish_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id )
where a.mb_id = '{$member['mb_id']}' where a.mb_id = '{$member['mb_id']}'
@ -45,45 +34,45 @@ include_once(G5_MSHOP_PATH.'/_head.php');
if ($row['it_tel_inq']) $out_cd = 'tel_inq'; if ($row['it_tel_inq']) $out_cd = 'tel_inq';
$image = get_it_image($row['it_id'], 50, 50); $image = get_it_image($row['it_id'], 50, 50);
?> ?>
<tr> <li>
<td class="sod_ws_img"><?php echo $image; ?></td> <div class="wish_img"><?php echo $image; ?></div>
<td> <div class="wish_info">
<a href="<?php echo G5_SHOP_URL; ?>/item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo stripslashes($row['it_name']); ?></a> <a href="<?php echo G5_SHOP_URL; ?>/item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo stripslashes($row['it_name']); ?></a>
<br><small>보관일 <?php echo substr($row['wi_time'], 2, 8); ?></small> <span class="info_date">보관일 <?php echo substr($row['wi_time'], 2, 8); ?></span>
</td> </div>
<td class="td_chk"> <div class="wish_chk">
<?php <?php
// 품절검사 // 품절검사
if(is_soldout($row['it_id'])) if(is_soldout($row['it_id']))
{ {
?> ?>
품절 <span class="sold_out">품절</span>
<?php } else { //품절이 아니면 체크할수 있도록한다 ?> <?php } else { //품절이 아니면 체크할수 있도록한다 ?>
<input type="checkbox" name="chk_it_id[<?php echo $i; ?>]" value="1" onclick="out_cd_check(this, '<?php echo $out_cd; ?>');"> <input type="checkbox" name="chk_it_id[<?php echo $i; ?>]" value="1" onclick="out_cd_check(this, '<?php echo $out_cd; ?>');">
<?php } ?> <?php } ?>
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>"> <input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
<input type="hidden" name="io_type[<?php echo $row['it_id']; ?>][0]" value="0"> <input type="hidden" name="io_type[<?php echo $row['it_id']; ?>][0]" value="0">
<input type="hidden" name="io_id[<?php echo $row['it_id']; ?>][0]" value=""> <input type="hidden" name="io_id[<?php echo $row['it_id']; ?>][0]" value="">
<input type="hidden" name="io_value[<?php echo $row['it_id']; ?>][0]" value="<?php echo $row['it_name']; ?>"> <input type="hidden" name="io_value[<?php echo $row['it_id']; ?>][0]" value="<?php echo $row['it_name']; ?>">
<input type="hidden" name="ct_qty[<?php echo $row['it_id']; ?>][0]" value="1"> <input type="hidden" name="ct_qty[<?php echo $row['it_id']; ?>][0]" value="1">
</td> </div>
<td class="td_mngsmall"><a href="<?php echo G5_SHOP_URL; ?>/wishupdate.php?w=d&amp;wi_id=<?php echo $row['wi_id']; ?>">삭제</a></td> <span class="wish_del"><a href="<?php echo G5_SHOP_URL; ?>/wishupdate.php?w=d&amp;wi_id=<?php echo $row['wi_id']; ?>">삭제</a></span>
</tr>
</li>
<?php <?php
} }
if ($i == 0) if ($i == 0)
echo '<tr><td colspan="5" class="empty_table">위시리스트가 비었습니다.</td></tr>'; echo '<li class="empty_table">위시리스트가 비었습니다.</li>';
?> ?>
</tr> </ul>
</table>
</div>
<div id="sod_ws_act"> <div id="sod_ws_act">
<button type="submit" class="btn01" onclick="return fwishlist_check(document.fwishlist,'');">장바구니 담기</button> <button type="submit" class="btn02" onclick="return fwishlist_check(document.fwishlist,'direct_buy');">BUY NOW</button>
<button type="submit" class="btn02" onclick="return fwishlist_check(document.fwishlist,'direct_buy');">주문하기</button> <button type="submit" class="btn01" onclick="return fwishlist_check(document.fwishlist,'');">CART</button>
</div> </div>
</form> </form>
</div> </div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

View File

@ -5,7 +5,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
?> ?>
<script src="<?php echo G5_JS_URL; ?>/jquery.nicescroll.min.js"></script>
<?php if($config['cf_kakao_js_apikey']) { ?> <?php if($config['cf_kakao_js_apikey']) { ?>
<script src="https://developers.kakao.com/sdk/js/kakao.min.js"></script> <script src="https://developers.kakao.com/sdk/js/kakao.min.js"></script>
<script src="<?php echo G5_JS_URL; ?>/kakaolink.js"></script> <script src="<?php echo G5_JS_URL; ?>/kakaolink.js"></script>
@ -43,8 +42,8 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
if ($thumb_img) if ($thumb_img)
{ {
echo '<div id="sit_pvi">'.PHP_EOL; echo '<div id="sit_pvi">'.PHP_EOL;
echo '<button type="button" id="sit_pvi_prev" class="sit_pvi_btn" style="height:'.$thumb_img_h.'px">이전</button>'.PHP_EOL; echo '<button type="button" id="sit_pvi_prev" class="sit_pvi_btn" >이전</button>'.PHP_EOL;
echo '<button type="button" id="sit_pvi_next" class="sit_pvi_btn" style="height:'.$thumb_img_h.'px">다음</button>'.PHP_EOL; echo '<button type="button" id="sit_pvi_next" class="sit_pvi_btn">다음</button>'.PHP_EOL;
echo '<ul id="sit_pvi_slide" style="width:'.$thumb_img_w.'px;height:'.$thumb_img_h.'px">'.PHP_EOL; echo '<ul id="sit_pvi_slide" style="width:'.$thumb_img_w.'px;height:'.$thumb_img_h.'px">'.PHP_EOL;
echo $thumb_img; echo $thumb_img;
echo '</ul>'.PHP_EOL; echo '</ul>'.PHP_EOL;
@ -54,14 +53,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
<section id="sit_ov"> <section id="sit_ov">
<h2>상품간략정보 및 구매기능</h2> <h2>상품간략정보 및 구매기능</h2>
<strong id="sit_title"><?php echo stripslashes($it['it_name']); ?></strong><br> <strong id="sit_title"><?php echo stripslashes($it['it_name']); ?></strong>
<span id="sit_desc"><?php echo $it['it_basic']; ?></span>
<?php if($is_orderable) { ?> <?php if($is_orderable) { ?>
<p id="sit_opt_info"> <p id="sit_opt_info">
상품 선택옵션 <?php echo $option_count; ?> 개, 추가옵션 <?php echo $supply_count; ?> 개 상품 선택옵션 <?php echo $option_count; ?> 개, 추가옵션 <?php echo $supply_count; ?> 개
</p> </p>
<?php } ?> <?php } ?>
<div id="sit_star_sns"> <div id="sit_star">
<?php <?php
$sns_title = get_text($it['it_name']).' | '.get_text($config['cf_title']); $sns_title = get_text($it['it_name']).' | '.get_text($config['cf_title']);
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$it['it_id']; $sns_url = G5_SHOP_URL.'/item.php?it_id='.$it['it_id'];
@ -70,140 +68,138 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
고객선호도 <span>별<?php echo $score?>개</span> 고객선호도 <span>별<?php echo $score?>개</span>
<img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $score?>.png" alt="" class="sit_star"> <img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $score?>.png" alt="" class="sit_star">
<?php } ?> <?php } ?>
<?php echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png'); ?>
<?php echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png'); ?>
<?php echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png'); ?>
<?php echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png'); ?>
</div> </div>
<table class="sit_ov_tbl"> <div class="sit_ov_tbl">
<colgroup> <table >
<col class="grid_3"> <colgroup>
<col> <col class="grid_2">
</colgroup> <col>
<tbody> </colgroup>
<?php if ($it['it_maker']) { ?> <tbody>
<tr> <?php if ($it['it_maker']) { ?>
<th scope="row">제조사</th> <tr>
<td><?php echo $it['it_maker']; ?></td> <th scope="row">제조사</th>
</tr> <td><?php echo $it['it_maker']; ?></td>
<?php } ?> </tr>
<?php } ?>
<?php if ($it['it_origin']) { ?> <?php if ($it['it_origin']) { ?>
<tr> <tr>
<th scope="row">원산지</th> <th scope="row">원산지</th>
<td><?php echo $it['it_origin']; ?></td> <td><?php echo $it['it_origin']; ?></td>
</tr> </tr>
<?php } ?> <?php } ?>
<?php if ($it['it_brand']) { ?> <?php if ($it['it_brand']) { ?>
<tr> <tr>
<th scope="row">브랜드</th> <th scope="row">브랜드</th>
<td><?php echo $it['it_brand']; ?></td> <td><?php echo $it['it_brand']; ?></td>
</tr> </tr>
<?php } ?> <?php } ?>
<?php if ($it['it_model']) { ?> <?php if ($it['it_model']) { ?>
<tr> <tr>
<th scope="row">모델</th> <th scope="row">모델</th>
<td><?php echo $it['it_model']; ?></td> <td><?php echo $it['it_model']; ?></td>
</tr> </tr>
<?php } ?> <?php } ?>
<?php if (!$it['it_use']) { // 판매가능이 아닐 경우 ?> <?php if (!$it['it_use']) { // 판매가능이 아닐 경우 ?>
<tr> <tr>
<th scope="row">판매가격</th> <th scope="row">판매가격</th>
<td>판매중지</td> <td>판매중지</td>
</tr> </tr>
<?php } else if ($it['it_tel_inq']) { // 전화문의일 경우 ?> <?php } else if ($it['it_tel_inq']) { // 전화문의일 경우 ?>
<tr> <tr>
<th scope="row">판매가격</th> <th scope="row">판매가격</th>
<td>전화문의</td> <td>전화문의</td>
</tr> </tr>
<?php } else { // 전화문의가 아닐 경우?> <?php } else { // 전화문의가 아닐 경우?>
<?php if ($it['it_cust_price']) { // 1.00.03?> <?php if ($it['it_cust_price']) { // 1.00.03?>
<tr> <tr>
<th scope="row">시중가격</th> <th scope="row">시중가격</th>
<td><?php echo display_price($it['it_cust_price']); ?></td> <td><?php echo display_price($it['it_cust_price']); ?></td>
</tr> </tr>
<?php } ?> <?php } ?>
<tr> <tr>
<th scope="row">판매가격</th> <th scope="row">판매가격</th>
<td> <td>
<?php echo display_price(get_price($it)); ?> <?php echo display_price(get_price($it)); ?>
<input type="hidden" id="it_price" value="<?php echo get_price($it); ?>"> <input type="hidden" id="it_price" value="<?php echo get_price($it); ?>">
</td> </td>
</tr> </tr>
<?php } ?> <?php } ?>
<?php <?php
/* 재고 표시하는 경우 주석 해제 /* 재고 표시하는 경우 주석 해제
<tr> <tr>
<th scope="row">재고수량</th> <th scope="row">재고수량</th>
<td><?php echo number_format(get_it_stock_qty($it_id)); ?> 개</td> <td><?php echo number_format(get_it_stock_qty($it_id)); ?> 개</td>
</tr> </tr>
*/ */
?> ?>
<?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?> <?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
<tr> <tr>
<th scope="row"><label for="disp_point">포인트</label></th> <th scope="row"><label for="disp_point">포인트</label></th>
<td> <td>
<?php <?php
if($it['it_point_type'] == 2) { if($it['it_point_type'] == 2) {
echo '구매금액(추가옵션 제외)의 '.$it['it_point'].'%'; echo '구매금액(추가옵션 제외)의 '.$it['it_point'].'%';
} else { } else {
$it_point = get_item_point($it); $it_point = get_item_point($it);
echo number_format($it_point).'점'; echo number_format($it_point).'점';
}
?>
</td>
</tr>
<?php } ?>
<?php
$ct_send_cost_label = '배송비결제';
if($it['it_sc_type'] == 1)
$sc_method = '무료배송';
else {
if($it['it_sc_method'] == 1)
$sc_method = '수령후 지불';
else if($it['it_sc_method'] == 2) {
$ct_send_cost_label = '<label for="ct_send_cost">배송비결제</label>';
$sc_method = '<select name="ct_send_cost" id="ct_send_cost">
<option value="0">주문시 결제</option>
<option value="1">수령후 지불</option>
</select>';
} }
?> else
</td> $sc_method = '주문시 결제';
</tr>
<?php } ?>
<?php
$ct_send_cost_label = '배송비결제';
if($it['it_sc_type'] == 1)
$sc_method = '무료배송';
else {
if($it['it_sc_method'] == 1)
$sc_method = '수령후 지불';
else if($it['it_sc_method'] == 2) {
$ct_send_cost_label = '<label for="ct_send_cost">배송비결제</label>';
$sc_method = '<select name="ct_send_cost" id="ct_send_cost">
<option value="0">주문시 결제</option>
<option value="1">수령후 지불</option>
</select>';
} }
else ?>
$sc_method = '주문시 결제'; <tr>
} <th><?php echo $ct_send_cost_label; ?></th>
?> <td><?php echo $sc_method; ?></td>
<tr> </tr>
<th><?php echo $ct_send_cost_label; ?></th> <?php if($it['it_buy_min_qty']) { ?>
<td><?php echo $sc_method; ?></td> <tr>
</tr> <th>최소구매수량</th>
<?php if($it['it_buy_min_qty']) { ?> <td><?php echo number_format($it['it_buy_min_qty']); ?> 개</td>
<tr> </tr>
<th>최소구매수량</th> <?php } ?>
<td><?php echo number_format($it['it_buy_min_qty']); ?> 개</td> <?php if($it['it_buy_max_qty']) { ?>
</tr> <tr>
<?php } ?> <th>최대구매수량</th>
<?php if($it['it_buy_max_qty']) { ?> <td><?php echo number_format($it['it_buy_max_qty']); ?> 개</td>
<tr> </tr>
<th>최대구매수량</th> <?php } ?>
<td><?php echo number_format($it['it_buy_max_qty']); ?> 개</td> </tbody>
</tr> </table>
<?php } ?> </div>
</tbody>
</table>
<?php <?php
if($option_item) { if($option_item) {
?> ?>
<section> <section>
<h3>선택옵션</h3> <h3>선택옵션</h3>
<table class="sit_ov_tbl"> <table class="sit_op_sl">
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>
@ -222,9 +218,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
?> ?>
<section> <section>
<h3>추가옵션</h3> <h3>추가옵션</h3>
<table class="sit_ov_tbl"> <table class="sit_op_sl">
<colgroup> <colgroup>
<col class="grid_3"> <col class="grid_2">
<col> <col>
</colgroup> </colgroup>
<tbody> <tbody>
@ -254,10 +250,10 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
<input type="hidden" class="io_stock" value="<?php echo $it['it_stock_qty']; ?>"> <input type="hidden" class="io_stock" value="<?php echo $it['it_stock_qty']; ?>">
<span class="sit_opt_subj"><?php echo $it['it_name']; ?></span> <span class="sit_opt_subj"><?php echo $it['it_name']; ?></span>
<span class="sit_opt_prc">(+0원)</span> <span class="sit_opt_prc">(+0원)</span>
<div> <div class="sit_opt_qty">
<input type="text" name="ct_qty[<?php echo $it_id; ?>][]" value="<?php echo $it['it_buy_min_qty']; ?>" class="frm_input" size="5"> <input type="text" name="ct_qty[<?php echo $it_id; ?>][]" value="<?php echo $it['it_buy_min_qty']; ?>" class="frm_input" size="5">
<button type="button" class="sit_qty_plus btn_frmline">증가</button> <button type="button" class="sit_qty_plus">증가</button>
<button type="button" class="sit_qty_minus btn_frmline">감소</button> <button type="button" class="sit_qty_minus">감소</button>
</div> </div>
</li> </li>
</ul> </ul>
@ -278,18 +274,27 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
<div id="sit_ov_btn"> <div id="sit_ov_btn">
<?php if ($is_orderable) { ?> <?php if ($is_orderable) { ?>
<input type="submit" onclick="document.pressed=this.value;" value="바로구매" id="sit_btn_buy"> <input type="submit" onclick="document.pressed=this.value;" value="CART" id="sit_btn_cart">
<input type="submit" onclick="document.pressed=this.value;" value="장바구니" id="sit_btn_cart"> <input type="submit" onclick="document.pressed=this.value;" value="BUY NOW" id="sit_btn_buy">
<?php } ?> <?php } ?>
<?php if(!$is_orderable && $it['it_soldout'] && $it['it_stock_sms']) { ?> <?php if(!$is_orderable && $it['it_soldout'] && $it['it_stock_sms']) { ?>
<a href="javascript:popup_stocksms('<?php echo $it['it_id']; ?>');" id="sit_btn_buy">재입고알림</a> <a href="javascript:popup_stocksms('<?php echo $it['it_id']; ?>');" id="sit_btn_buy">재입고알림</a>
<?php } ?> <?php } ?>
<a href="javascript:item_wish(document.fitem, '<?php echo $it['it_id']; ?>');" id="sit_btn_wish">위시리스트</a> <a href="javascript:item_wish(document.fitem, '<?php echo $it['it_id']; ?>');" id="sit_btn_wish">WISH</a>
<a href="javascript:popup_item_recommend('<?php echo $it['it_id']; ?>');" id="sit_btn_rec">추천하기</a>
</div> </div>
</section> </section>
</div> </div>
<div id="sit_sns">
<?php echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png'); ?>
<?php echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png'); ?>
<?php echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png'); ?>
<?php echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png'); ?>
<a href="javascript:popup_item_recommend('<?php echo $it['it_id']; ?>');" id="sit_btn_rec">추천하기</a>
<?php
$href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id;
?>
</div>
<aside id="sit_siblings"> <aside id="sit_siblings">
<h2>다른 상품 보기</h2> <h2>다른 상품 보기</h2>
<?php <?php
@ -302,24 +307,37 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
?> ?>
</aside> </aside>
<?php <ul id="sit_more">
$href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id; <li><a href="<?php echo $href; ?>" target="_blank">DETAIL</a></li>
?> <?php if ($default['de_baesong_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=dvr" target="_blank">INFO</a></li><?php } ?>
<div id="sit_more">
<ul class="sanchor"> <li><a href="<?php echo $href; ?>&amp;info=use" target="_blank">REVIEW<span class="item_use_count"><?php echo $item_use_count; ?></span></a></li>
<li><a href="<?php echo $href; ?>" target="_blank">상품정보</a></li> <li><a href="<?php echo $href; ?>&amp;info=qa" target="_blank">Q&amp;A<span class="item_qa_count"><?php echo $item_qa_count; ?></span></a></li>
<li><a href="<?php echo $href; ?>&amp;info=use" target="_blank">사용후기 <span class="item_use_count"><?php echo $item_use_count; ?></span></a></li>
<li><a href="<?php echo $href; ?>&amp;info=qa" target="_blank">상품문의 <span class="item_qa_count"><?php echo $item_qa_count; ?></span></a></li>
<?php if ($default['de_baesong_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=dvr" target="_blank">배송정보</a></li><?php } ?>
<?php if ($default['de_change_content']) { ?><li><a href="<?php echo $href; ?>&amp;info=ex" target="_blank">교환정보</a></li><?php } ?>
<?php if($default['de_mobile_rel_list_use']) {?>
<li><a href="<?php echo $href; ?>&amp;info=rel" target="_blank">관련상품 <span class="item_relation_count"><?php echo $item_relation_count; ?></span></a></li>
<?php } ?>
</ul> </ul>
</div>
</form> </form>
<!-- 관련상품 시작 { -->
<section id="sit_rel">
<h2>WITH ITEM</h2>
<div class="sct_wrap">
<?php
$rel_skin_file = $skin_dir.'/'.$default['de_mobile_rel_list_skin'];
if(!is_file($rel_skin_file))
$rel_skin_file = G5_MSHOP_SKIN_PATH.'/'.$default['de_mobile_rel_list_skin'];
$sql = " select b.* from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' ";
$list = new item_list($rel_skin_file, $default['de_mobile_rel_list_mod'], 0, $default['de_mobile_rel_img_width'], $default['de_mobile_rel_img_height']);
$list->set_query($sql);
echo $list->run();
?>
</div>
</section>
<!-- } 관련상품 끝 -->
<script> <script>
$(window).bind("pageshow", function(event) { $(window).bind("pageshow", function(event) {
if (event.originalEvent.persisted) { if (event.originalEvent.persisted) {
@ -416,7 +434,7 @@ function popup_stocksms(it_id)
// 바로구매, 장바구니 폼 전송 // 바로구매, 장바구니 폼 전송
function fitem_submit(f) function fitem_submit(f)
{ {
if (document.pressed == "장바구니") { if (document.pressed == "CART") {
f.sw_direct.value = 0; f.sw_direct.value = 0;
} else { // 바로구매 } else { // 바로구매
f.sw_direct.value = 1; f.sw_direct.value = 1;

View File

@ -5,8 +5,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<h1 id="win_title">배송정보</h1> <h2 class="if_tit">배송정보</h2>
<div class="win_desc"> <div class="win_desc_if">
<?php echo conv_content($default['de_baesong_content'], 1); ?> <?php echo conv_content($default['de_baesong_content'], 1); ?>
</div>
<h2 class="if_tit">교환/반품</h2>
<div class="win_desc_if">
<?php echo conv_content($default['de_change_content'], 1); ?>
</div> </div>

View File

@ -7,7 +7,7 @@ include_once(G5_LIB_PATH.'/iteminfo.lib.php');
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<h1 id="win_title">상품설명</h1> <h1>상품설명</h1>
<div id="sit_inf" class="win_desc"> <div id="sit_inf" class="win_desc">
<?php if ($it['it_basic']) { // 상품 기본설명 ?> <?php if ($it['it_basic']) { // 상품 기본설명 ?>

View File

@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<h1 id="win_title">상품문의</h1> <h1 class="tit_no">상품문의</h1>
<div id="itemqa" class="win_desc"> <div id="itemqa" class="win_desc">
<?php include_once('./itemqa.php'); ?> <?php include_once('./itemqa.php'); ?>

View File

@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<h1 id="win_title">사용후기</h1> <h1 class="tit_no">사용후기</h1>
<div id="itemuse" class="win_desc"> <div id="itemuse" class="win_desc">
<?php include_once('./itemuse.php'); ?> <?php include_once('./itemuse.php'); ?>

View File

@ -6,6 +6,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
?> ?>
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script> <script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
<a href="<?php echo $itemqa_form; ?>" class="itemqa_form qa_wr">상품문의 쓰기<span class="sound_only"> 새 창</span></a>
<!-- 상품문의 목록 시작 { --> <!-- 상품문의 목록 시작 { -->
<div id="sit_qa_list"> <div id="sit_qa_list">
@ -70,11 +71,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
<div id="sit_qa_con_<?php echo $i; ?>" class="sit_qa_con"> <div id="sit_qa_con_<?php echo $i; ?>" class="sit_qa_con">
<div class="sit_qa_p"> <div class="sit_qa_p">
<div class="sit_qa_qaq"> <div class="sit_qa_qaq">
<span class="sit_alp">Q</span>
<strong>문의내용</strong><br> <strong>문의내용</strong><br>
<?php echo $iq_question; // 상품 문의 내용 ?> <?php echo $iq_question; // 상품 문의 내용 ?>
</div> </div>
<?php if(!$is_secret) { ?> <?php if(!$is_secret) { ?>
<div class="sit_qa_qaa"> <div class="sit_qa_qaa">
<span class="sit_alp">A</span>
<strong>답변</strong><br> <strong>답변</strong><br>
<?php echo $iq_answer; ?> <?php echo $iq_answer; ?>
</div> </div>
@ -85,8 +88,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
<div class="sit_qa_cmd"> <div class="sit_qa_cmd">
<a href="<?php echo $itemqa_form."&amp;iq_id={$row['iq_id']}&amp;w=u"; ?>" class="itemqa_form btn01" onclick="return false;">수정</a> <a href="<?php echo $itemqa_form."&amp;iq_id={$row['iq_id']}&amp;w=u"; ?>" class="itemqa_form btn01" onclick="return false;">수정</a>
<a href="<?php echo $itemqa_formupdate."&amp;iq_id={$row['iq_id']}&amp;w=d&amp;hash={$hash}"; ?>" class="itemqa_delete btn01">삭제</a> <a href="<?php echo $itemqa_formupdate."&amp;iq_id={$row['iq_id']}&amp;w=d&amp;hash={$hash}"; ?>" class="itemqa_delete btn01">삭제</a>
<!-- <button type="button" onclick="javascript:itemqa_update(<?php echo $i; ?>);" class="btn01">수정</button>
<button type="button" onclick="javascript:itemqa_delete(fitemqa_password<?php echo $i; ?>, <?php echo $i; ?>);" class="btn01">삭제</button> -->
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
@ -107,9 +108,7 @@ echo itemqa_page($config['cf_mobile_pages'], $page, $total_page, "./itemqa.php?i
?> ?>
<div id="sit_qa_wbtn"> <div id="sit_qa_wbtn">
<!-- <a href="javascript:itemqawin('it_id=<?php echo $it_id; ?>');">상품문의 쓰기<span class="sound_only"> 새 창</span></a> --> <a href="<?php echo $itemqa_list; ?>" id="itemqa_list" class="btn01">더보기 +</a>
<a href="<?php echo $itemqa_form; ?>" class="btn02 itemqa_form">상품문의 쓰기<span class="sound_only"> 새 창</span></a>
<a href="<?php echo $itemqa_list; ?>" id="itemqa_list" class="btn01">더보기</a>
</div> </div>
<script> <script>

View File

@ -6,6 +6,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
?> ?>
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script> <script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
<a href="<?php echo $itemuse_form; ?>" class="qa_wr itemuse_form " onclick="return false;">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
<!-- 상품 사용후기 시작 { --> <!-- 상품 사용후기 시작 { -->
<div id="sit_use_list"> <div id="sit_use_list">
@ -67,8 +68,7 @@ echo itemuse_page($config['cf_mobile_pages'], $page, $total_page, "./itemuse.php
?> ?>
<div id="sit_use_wbtn"> <div id="sit_use_wbtn">
<a href="<?php echo $itemuse_form; ?>" class="btn02 itemuse_form" onclick="return false;">사용후기 쓰기<span class="sound_only"> 새 창</span></a> <a href="<?php echo $itemuse_list; ?>" id="itemuse_list" class="btn01">더보기 +</a>
<a href="<?php echo $itemuse_list; ?>" id="itemuse_list" class="btn01">더보기</a>
</div> </div>
<script> <script>

View File

@ -5,7 +5,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
?> ?>
<script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script>
<?php if($config['cf_kakao_js_apikey']) { ?> <?php if($config['cf_kakao_js_apikey']) { ?>
<script src="https://developers.kakao.com/sdk/js/kakao.min.js"></script> <script src="https://developers.kakao.com/sdk/js/kakao.min.js"></script>
<script src="<?php echo G5_JS_URL; ?>/kakaolink.js"></script> <script src="<?php echo G5_JS_URL; ?>/kakaolink.js"></script>
@ -17,6 +16,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
<!-- 상품진열 10 시작 { --> <!-- 상품진열 10 시작 { -->
<?php <?php
$li_width = intval(100 / $this->list_mod);
$li_width_style = ' style="width:'.$li_width.'%;"';
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i == 0) { if ($i == 0) {
if ($this->css) { if ($this->css) {
@ -26,7 +28,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
} }
echo "<li class=\"sct_li\" style=\"width:{$this->img_width}px\">\n"; if($i % $this->list_mod == 0)
$li_clear = ' sct_clear';
else
$li_clear = '';
echo "<li class=\"sct_li{$li_clear}\"$li_width_style>\n";
if ($this->href) { if ($this->href) {
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n"; echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
@ -40,9 +47,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a></div>\n"; echo "</a></div>\n";
} }
if ($this->view_it_icon) {
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
}
if ($this->view_it_id) { if ($this->view_it_id) {
echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n"; echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n";
@ -60,39 +64,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a></div>\n"; echo "</a></div>\n";
} }
if ($this->view_it_basic && $row['it_basic']) { if ($this->view_it_price) {
echo "<div class=\"sct_basic\">".stripslashes($row['it_basic'])."</div>\n";
}
if ($this->view_it_cust_price || $this->view_it_price) {
echo "<div class=\"sct_cost\">\n"; echo "<div class=\"sct_cost\">\n";
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
}
echo "</div>\n"; echo "</div>\n";
}
if ($this->view_sns) {
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png');
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png');
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
} }
echo "</li>\n"; echo "</li>\n";
@ -103,9 +78,3 @@ if ($i > 0) echo "</ul>\n";
if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n"; if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
?> ?>
<!-- } 상품진열 10 끝 --> <!-- } 상품진열 10 끝 -->
<script>
$(function() {
$("#sct_wrap").fancyList("li.sct_li", "sct_clear");
});
</script>

View File

@ -0,0 +1,173 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?>
<?php
if($this->total_count > 0) {
$li_width = intval(100 / $this->list_mod);
$li_width_style = ' style="width:'.$li_width.'%;"';
$k = 1;
$slide_btn = '<button type="button" class="bst_sl">'.$k.'번째 리스트</button>';
for ($i=0; $row=sql_fetch_array($result); $i++) {
if($i == 0) {
echo '<script src="'.G5_JS_URL.'/swipe.js"></script>'.PHP_EOL;
echo '<section id="best_item">'.PHP_EOL;
echo '<h2>베스트상품</h2>'.PHP_EOL;
echo '<div id="sbest_list" class="swipe">'.PHP_EOL;
echo '<div id="sbest_slide" class="slide-wrap">'.PHP_EOL;
echo '<ul class="sct_best">'.PHP_EOL;
}
if($i > 0 && ($i % $this->list_mod == 0)) {
echo '</ul>'.PHP_EOL;
echo '<ul class="sct_best">'.PHP_EOL;
$k++;
$slide_btn .= '<button type="button">'.$k.'번째 리스트</button>';
}
echo '<li class="sct_li"'.$li_width_style.'>'.PHP_EOL;
if ($this->href) {
echo '<div class="sct_img"><a href="'.$this->href.$row['it_id'].'" class="sct_a">'.PHP_EOL;
}
if ($this->view_it_img) {
echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name'])).PHP_EOL;
}
if ($this->href) {
echo '</a><span class="best_icon">베스트상품</span></div>'.PHP_EOL;
}
if ($this->view_it_id) {
echo '<div class="sct_id">&lt;'.stripslashes($row['it_id']).'&gt;</div>'.PHP_EOL;
}
if ($this->href) {
echo '<div class="sct_txt"><a href="'.$this->href.$row['it_id'].'" class="sct_a">'.PHP_EOL;
}
if ($this->view_it_name) {
echo stripslashes($row['it_name']).PHP_EOL;
}
if ($this->href) {
echo '</a></div>'.PHP_EOL;
}
if ($this->view_it_price) {
echo '<div class="sct_cost">'.display_price(get_price($row), $row['it_tel_inq']).'</div>'.PHP_EOL;
}
echo '</li>'.PHP_EOL;
}
if($i > 0) {
echo '</ul>'.PHP_EOL;
echo '</div>'.PHP_EOL;
echo '<div class="bst_silde_btn">'.$slide_btn.'</div>'.PHP_EOL;
echo '</div>'.PHP_EOL;
echo '</section>'.PHP_EOL;
}
?>
<script>
(function($) {
$.fn.BestSlide = function(option)
{
var cfg = {
wrap: ".slide-wrap",
slides: ".slide-wrap > ul",
buttons: ".bst_silde_btn > button",
btnActive: "bst_sl",
startSlide: 0,
auto: 0,
continuous: true,
disableScroll: false,
stopPropagation: false,
callback: function(index, element) {
button_change(index);
},
transitionEnd: function(index, element) {
idx = index;
}
};
if(typeof option == "object")
cfg = $.extend( cfg, option );
var $wrap = this.find(""+cfg.wrap+"");
var $slides = this.find(""+cfg.slides+"");
var $btns = this.find(""+cfg.buttons+"");
var idx = cfg.startSlide;
var count = $slides.size();
var width, outerW;
if(count < 2)
return;
function button_change(idx)
{
if(count < 2)
return;
$btns.removeClass(cfg.btnActive)
.eq(idx).addClass(cfg.btnActive);
}
function init()
{
width = $slides.eq(0).width();
outerW = $slides.eq(0).outerWidth(true);
$slides.width(width);
}
init();
window.mySwipe = Swipe(this[0], {
startSlide: cfg.startSlide,
auto: cfg.auto,
continuous: cfg.continuous,
disableScroll: cfg.disableScroll,
stopPropagation: cfg.stopPropagation,
callback: cfg.callback,
transitionEnd: cfg.transitionEnd
});
$(window).on("resize", function() {
init();
});
if(count > 0 && mySwipe) {
$btns.on("click", function() {
if($(this).hasClass(""+cfg.btnActive+""))
return false;
idx = $btns.index($(this));
mySwipe.slide(idx);
});
}
}
}(jQuery));
$(function() {
$("#sbest_list").BestSlide({
wrap: ".slide-wrap",
slides: ".slide-wrap > ul",
buttons: ".bst_silde_btn > button",
btnActive: "bst_sl",
startSlide: 0,
auto: 0
});
});
</script>
<?php
}
?>

View File

@ -0,0 +1,36 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$str = '';
$exists = false;
$ca_id_len = strlen($ca_id);
$len2 = $ca_id_len + 2;
$len4 = $ca_id_len + 4;
$sql = " select ca_id, ca_name from {$g5['g5_shop_category_table']} where ca_id like '$ca_id%' and length(ca_id) = $len2 and ca_use = '1' order by ca_order, ca_id ";
$result = sql_query($sql);
while ($row=sql_fetch_array($result)) {
$row2 = sql_fetch(" select count(*) as cnt from {$g5['g5_shop_item_table']} where (ca_id like '{$row['ca_id']}%' or ca_id2 like '{$row['ca_id']}%' or ca_id3 like '{$row['ca_id']}%') and it_use = '1' ");
$str .= '<li><a href="./list.php?ca_id='.$row['ca_id'].'">'.$row['ca_name'].' ('.$row2['cnt'].')</a></li>';
$exists = true;
}
if ($exists) {
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
?>
<!-- 상품분류 1 시작 { -->
<aside id="sct_ct_1" class="sct_ct">
<h2>현재 상품 분류와 관련된 분류</h2>
<ul>
<?php echo $str; ?>
</ul>
</aside>
<!-- } 상품분류 1 끝 -->
<?php } ?>

View File

@ -17,16 +17,24 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
<!-- 상품진열 10 시작 { --> <!-- 상품진열 10 시작 { -->
<?php <?php
$li_width = intval(100 / $this->list_mod);
$li_width_style = ' style="width:'.$li_width.'%;"';
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i == 0) { if ($i == 0) {
if ($this->css) { if ($this->css) {
echo "<ul class=\"sct_wrap {$this->css}\">\n"; echo "<ul id=\"sct_wrap\" class=\"{$this->css}\">\n";
} else { } else {
echo "<ul class=\"sct_wrap sct sct_10\">\n"; echo "<ul id=\"sct_wrap\" class=\"sct sct_10\">\n";
} }
} }
echo "<li class=\"sct_li\" style=\"width:{$this->img_width}px\">\n"; if($i % $this->list_mod == 0)
$li_clear = ' sct_clear';
else
$li_clear = '';
echo "<li class=\"sct_li{$li_clear}\"$li_width_style>\n";
if ($this->href) { if ($this->href) {
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n"; echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
@ -40,9 +48,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a></div>\n"; echo "</a></div>\n";
} }
if ($this->view_it_icon) {
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
}
if ($this->view_it_id) { if ($this->view_it_id) {
echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n"; echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n";
@ -60,34 +65,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a></div>\n"; echo "</a></div>\n";
} }
if ($this->view_it_basic && $row['it_basic']) { if ($this->view_it_price) {
echo "<div class=\"sct_basic\">".stripslashes($row['it_basic'])."</div>\n";
}
if ($this->view_it_cust_price || $this->view_it_price) {
echo "<div class=\"sct_cost\">\n"; echo "<div class=\"sct_cost\">\n";
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
}
echo "</div>\n";
}
if ($this->view_sns) {
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png');
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png');
echo "</div>\n"; echo "</div>\n";
} }
@ -99,9 +79,3 @@ if ($i > 0) echo "</ul>\n";
if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n"; if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
?> ?>
<!-- } 상품진열 10 끝 --> <!-- } 상품진열 10 끝 -->
<script>
$(function() {
$("ul.sct_wrap").fancyList("li.sct_li", "sct_clear");
});
</script>

View File

@ -1,36 +1,48 @@
<?php <?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 // 이벤트 정보
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0); $hsql = " select ev_id, ev_subject, ev_subject_strong from {$g5['g5_shop_event_table']} where ev_use = '1' order by ev_id desc ";
$hresult = sql_query($hsql);
if(mysql_num_rows($hresult)) {
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<div class="sct_wrap">
<header>
<h2>EVENT</h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 이벤트 모음</p>
</header>
<!-- 쇼핑몰 이벤트 시작 { --> <ul id="sev">
<ul id="sev"> <?php
<?php for ($i=0; $row=sql_fetch_array($hresult); $i++)
for ($i=0; $row=sql_fetch_array($hresult); $i++) {
{
echo '<li>'; echo '<li>';
$href = G5_SHOP_URL.'/event.php?ev_id='.$row['ev_id']; $href = G5_SHOP_URL.'/event.php?ev_id='.$row['ev_id'];
$event_img = G5_DATA_PATH.'/event/'.$row['ev_id'].'_m'; // 이벤트 이미지 $event_img = G5_DATA_PATH.'/event/'.$row['ev_id'].'_m'; // 이벤트 이미지
if (file_exists($event_img)) { // 이벤트 이미지가 있다면 이미지 출력
echo '<a href="'.$href.'" class="sev_img"><img src="'.G5_DATA_URL.'/event/'.$row['ev_id'].'_m" alt="'.$row['ev_subject'].'"></a>'.PHP_EOL;
} else { // 없다면 텍스트 출력
echo '<a href="'.$href.'" class="sev_text">';
if ($row['ev_subject_strong']) echo '<strong>';
echo $row['ev_subject'];
if ($row['ev_subject_strong']) echo '</strong>';
echo '</a>'.PHP_EOL;
}
echo '</li>'.PHP_EOL;
if (file_exists($event_img)) { // 이벤트 이미지가 있다면 이미지 출력
echo '<a href="'.$href.'" class="sev_img"><img src="'.G5_DATA_URL.'/event/'.$row['ev_id'].'_m" alt="'.$row['ev_subject'].'"></a>'.PHP_EOL;
} else { // 없다면 텍스트 출력
echo '<a href="'.$href.'" class="sev_text">';
if ($row['ev_subject_strong']) echo '<strong>';
echo $row['ev_subject'];
if ($row['ev_subject_strong']) echo '</strong>';
echo '</a>'.PHP_EOL;
} }
echo '</li>'.PHP_EOL;
if ($i==0)
echo '<li id="sev_empty">이벤트 없음</li>'.PHP_EOL;
?>
</ul>
</div>
<?php
} }
?>
if ($i==0)
echo '<li id="sev_empty">이벤트 없음</li>'.PHP_EOL;
?>
</ul>
<!-- } 쇼핑몰 이벤트 끝 -->

View File

@ -0,0 +1,76 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?>
<?php
$max_width = $max_height = 0;
$bn_first_class = ' class="bn_first"';
$bn_slide_btn = '';
$bn_sl = ' class="bn_sl"';
for ($i=0; $row=sql_fetch_array($result); $i++)
{
if ($i==0) echo '<div id="main_bn" class="swipe">'.PHP_EOL.'<ul class="slide-wrap bn_img">'.PHP_EOL;
//print_r2($row);
// 테두리 있는지
$bn_border = ($row['bn_border']) ? ' class="sbn_border"' : '';;
// 새창 띄우기인지
$bn_new_win = ($row['bn_new_win']) ? ' target="_blank"' : '';
$bimg = G5_DATA_PATH.'/banner/'.$row['bn_id'];
if (file_exists($bimg))
{
$banner = '';
$size = getimagesize($bimg);
if($size[2] < 1 || $size[2] > 16)
continue;
if($max_width < $size[0])
$max_width = $size[0];
if($max_height < $size[1])
$max_height = $size[1];
echo '<li'.$bn_first_class.'>'.PHP_EOL;
if ($row['bn_url'][0] == '#')
$banner .= '<a href="'.$row['bn_url'].'">';
else if ($row['bn_url'] && $row['bn_url'] != 'http://') {
$banner .= '<a href="'.G5_SHOP_URL.'/bannerhit.php?bn_id='.$row['bn_id'].'&amp;url='.urlencode($row['bn_url']).'"'.$bn_new_win.'>';
}
echo $banner.'<img src="'.G5_DATA_URL.'/banner/'.$row['bn_id'].'" width="'.$size[0].'" alt="'.$row['bn_alt'].'"'.$bn_border.'>';
if($banner)
echo '</a>'.PHP_EOL;
echo '</li>'.PHP_EOL;
$bn_first_class = '';
$bn_slide_btn .= '<button type="button"'.$bn_sl.'>'.$row['bn_alt'].' 배너이미지</button>'.PHP_EOL;
$bn_sl = '';
}
}
if ($i > 0) {
echo '</ul>'.PHP_EOL;
echo '<div class="bn_silde_btn">'.$bn_slide_btn.'</div>'.PHP_EOL;
echo '</div>'.PHP_EOL;
?>
<script>
$(function() {
$("#main_bn").bannerSlide({
wrap: ".slide-wrap",
slides: ".slide-wrap > li",
buttons: ".bn_silde_btn > button",
btnActive: "bn_sl",
startSlide: 0,
auto: 0
});
});
</script>
<?php
}
?>

View File

@ -5,18 +5,24 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script>
<!-- 개인결제진열 시작 { --> <!-- 개인결제진열 시작 { -->
<?php <?php
$li_width = intval(100 / $list_mod);
$li_width_style = ' style="width:'.$li_width.'%;"';
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i == 0) { if ($i == 0) {
echo "<ul id=\"sct_wrap\" class=\"sct sct_pv\">\n"; echo "<ul id=\"sct_wrap\" class=\"sct sct_pv\">\n";
} }
if($i % $list_mod == 0)
$li_clear = ' sct_clear';
else
$li_clear = '';
$href = G5_SHOP_URL.'/personalpayform.php?pp_id='.$row['pp_id'].'&amp;page='.$page; $href = G5_SHOP_URL.'/personalpayform.php?pp_id='.$row['pp_id'].'&amp;page='.$page;
?> ?>
<li class="sct_li" style="width:<?php echo $img_width; ?>px"> <li class="sct_li<?php echo $li_clear; ?>"<?php echo $li_width_style; ?>>
<div class="sct_img"><a href="<?php echo $href; ?>" class="sct_a"><img src="<?php echo G5_MSHOP_SKIN_URL; ?>/img/personal.jpg" alt=""></a></div> <div class="sct_img"><a href="<?php echo $href; ?>" class="sct_a"><img src="<?php echo G5_MSHOP_SKIN_URL; ?>/img/personal.jpg" alt=""></a></div>
<div class="sct_txt"><a href="<?php echo $href; ?>" class="sct_a"><?php echo get_text($row['pp_name']).'님 개인결제'; ?></a></div> <div class="sct_txt"><a href="<?php echo $href; ?>" class="sct_a"><?php echo get_text($row['pp_name']).'님 개인결제'; ?></a></div>
<div class="sct_cost"><?php echo display_price($row['pp_price']); ?></div> <div class="sct_cost"><?php echo display_price($row['pp_price']); ?></div>
@ -29,9 +35,3 @@ if ($i > 0) echo "</ul>\n";
if($i == 0) echo "<p class=\"sct_noitem\">등록된 개인결제가 없습니다.</p>\n"; if($i == 0) echo "<p class=\"sct_noitem\">등록된 개인결제가 없습니다.</p>\n";
?> ?>
<!-- } 개인결제진열 끝 --> <!-- } 개인결제진열 끝 -->
<script>
$(function() {
$("#sct_wrap").fancyList("li.sct_li", "sct_clear");
});
</script>

View File

@ -2,7 +2,7 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0); add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?> ?>
<script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script> <script src="<?php echo G5_JS_URL ?>/jquery.fancylist.js"></script>
@ -17,6 +17,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
<!-- 상품진열 10 시작 { --> <!-- 상품진열 10 시작 { -->
<?php <?php
$li_width = intval(100 / $this->list_mod);
$li_width_style = ' style="width:'.$li_width.'%;"';
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i == 0) { if ($i == 0) {
if ($this->css) { if ($this->css) {
@ -26,7 +29,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
} }
} }
echo "<li class=\"sct_li\" style=\"width:{$this->img_width}px\">\n"; if($i % $this->list_mod == 0)
$li_clear = ' sct_clear';
else
$li_clear = '';
echo "<li class=\"sct_li{$li_clear}\"$li_width_style>\n";
if ($this->href) { if ($this->href) {
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n"; echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
@ -40,9 +48,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a></div>\n"; echo "</a></div>\n";
} }
if ($this->view_it_icon) {
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
}
if ($this->view_it_id) { if ($this->view_it_id) {
echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n"; echo "<div class=\"sct_id\">&lt;".stripslashes($row['it_id'])."&gt;</div>\n";
@ -60,39 +65,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</a></div>\n"; echo "</a></div>\n";
} }
if ($this->view_it_basic && $row['it_basic']) { if ($this->view_it_price) {
echo "<div class=\"sct_basic\">".stripslashes($row['it_basic'])."</div>\n";
}
if ($this->view_it_cust_price || $this->view_it_price) {
echo "<div class=\"sct_cost\">\n"; echo "<div class=\"sct_cost\">\n";
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
}
echo "</div>\n"; echo "</div>\n";
}
if ($this->view_sns) {
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png');
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png');
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
} }
echo "</li>\n"; echo "</li>\n";
@ -100,12 +76,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i > 0) echo "</ul>\n"; if ($i > 0) echo "</ul>\n";
if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n"; if($i == 0) echo "<p class=\"sct_noitem\">등록된 관련상품이 없습니다.</p>\n";
?> ?>
<!-- } 상품진열 10 끝 --> <!-- } 상품진열 10 끝 -->
<script>
$(function() {
$("#sct_wrap").fancyList("li.sct_li", "sct_clear");
});
</script>

View File

@ -7,56 +7,82 @@
.sct_wrap:after {display:block;visibility:hidden;clear:both;content:""} .sct_wrap:after {display:block;visibility:hidden;clear:both;content:""}
.sct_wrap header {margin:0 0 20px;zoom:1} .sct_wrap header {margin:0 0 20px;zoom:1}
.sct_wrap header:after {display:block;visibility:hidden;clear:both;content:""} .sct_wrap header:after {display:block;visibility:hidden;clear:both;content:""}
.sct_wrap h2 {float:left;margin:0 20px 0 0;padding:0;line-height:1em} .sct_wrap h2 {padding:10px 0 0;line-height:1em;text-align:center;font-weight:bold; letter-spacing:0.3em}
.sct_wrap h2 a {text-decoration:none} .sct_wrap h2 a {text-decoration:none}
.sct_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em} .sct_wrap h2 a:hover{color:#34b5a1}
.sct_wrap_hdesc {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.sct {margin:0;padding:0;list-style:none;zoom:1;clear:both} .sct {margin:10px 5px 0 ;padding:0;list-style:none;zoom:1;clear:both;}
.sct:after {display:block;visibility:hidden;clear:both;content:""} .sct:after {display:block;visibility:hidden;clear:both;content:""}
.sct_li {position:relative} .sct_li {position:relative;text-align:center}
.sct_noitem {padding:100px 0;text-align:center} .sct_noitem {padding:50px 0;text-align:center}
.sct_icon img {margin:0 1px 0 0} .sct_icon img {margin:0 1px 0 0}
.sct_sns a {display:inline-block;margin:0 4px 0 0} .sct_sns a {display:inline-block;margin:0 4px 0 0}
.sct_sns button {margin:0 4px 0 0;padding:0;border:0} .sct_sns button {margin:0 4px 0 0;padding:0;border:0}
.sct_more {margin:30px 0 0} .mli_btn button{background:url(img/mainlist_btn.gif) no-repeat; width:30px; height:30px;border:none;text-indent:-9999px}
.sct_more a {display:block;padding:10px 0;background:#383838;color:#fff;font-weight:bold;text-align:center} .mli_btn button.mli_pre{position:absolute;top:0;left:10px}
.mli_btn button.mli_next{background-position: -33px 0;position:absolute;top:0;right:10px}
/* 상품 목록 스킨 10 */ /* 상품 목록 스킨 10 */
.sct_10 .sct_li {position:relative;float:left;padding:0 25px 15px 0} .sct_10 .sct_li {position:relative;float:left;margin-bottom:10px}
.sct_10 .sct_last {margin:0 0 15px !important} .sct_10 .sct_last {margin:0 0 15px !important}
.sct_10 .sct_clear {clear:both} .sct_10 .sct_clear {clear:both;}
.sct_10 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none} .sct_10 .sct_a {display:block;text-decoration:none;font-weight:bold; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;line-height:20px}
.sct_10 .sct_a img{width:100%;height:auto}
.sct_10 .sct_id {display:block;margin:0 0 5px} .sct_10 .sct_id {display:block;margin:0 0 5px}
.sct_10 .sct_basic {margin:0 0 10px} .sct_10 .sct_basic {margin:0 0 10px}
.sct_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} .sct_10 .sct_cost {display:block;margin:0 0 5px;font-size:0.917em}
.sct_10 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal} .sct_10 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.sct_10 .sct_icon {margin:0 0 10px} .sct_10 .sct_icon {margin:0 0 10px}
.sct_10 .sct_sns {margin:15px 0 0} .sct_10 .sct_sns {margin:15px 0 0}
.sct_10 .sct_img{margin:0 5px 5px ;}
.li_more{text-align:center}
.li_more img{width:30px;margin:5px 0}
.li_more p{color:#aaa;margin-top:5px;display:none;}
.li_more button{background:#fff;border:3px double #e9e9e9;width:205px;padding:8px 0 ;font-size:0.917em;color:#797979;margin-top:15px}
/* 관련상품 목록 스킨 10 */ /* 관련상품 목록 스킨 10 */
.scr_10 .sct_li {position:relative;float:left;padding:0 25px 15px 0} #sit_rel h2{text-align:center;margin:20px 0;letter-spacing:0.3em}
.scr_10 .sct_last {margin:0 0 15px !important}
.scr_10 .sct_clear {clear:both} /* 베스트상품 스킨 10 */
.scr_10 .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none} #best_item{border-bottom:1px solid #e9e9e9;padding:20px 0 10px 5px;overflow:hidden;position:relative}
.scr_10 .sct_id {display:block;margin:0 0 5px} #best_item h2{position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.scr_10 .sct_basic {margin:0 0 10px} #best_item #sbest_list{width:100%;overflow:hidden;}
.scr_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} #best_item .slide-wrap{margin:0px;overflow:hidden;position:relative;top:0;left:0;float:left;}
.scr_10 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal} #best_item .sct_best{width:100%;position:relative;padding:0;float:left;}
.scr_10 .sct_icon {margin:0 0 10px} #best_item .best_on{}
.scr_10 .sct_sns {margin:15px 0 0} .sct_best .sct_li {position:relative;float:left;}
.sct_best .sct_last {margin:0 0 15px !important}
.sct_best .sct_clear {clear:both;margin-left:0}
.sct_best .sct_a {display:block;position:relative;text-decoration:none;font-weight:bold; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
.sct_best .sct_txt .sct_a {margin:0 0 5px;}
.sct_best .sct_a img{width:100%;height:auto}
.sct_best .sct_id {display:block;margin:0 0 5px}
.sct_best .sct_basic {margin:0 0 10px}
.sct_best .sct_cost {display:block;margin:0 0 10px;font-size:0.917em}
.sct_best .sct_icon {margin:0 0 10px}
.sct_best .sct_sns {margin:15px 0 0}
.sct_best .sct_img{position:relative;margin:0 5px 5px ;}
.sct_best .best_icon{background:url(img/prd_icon.png) no-repeat;position:absolute;top:0;left:0;font-size:0;width:25px;height:25px; display:inline-block;z-index:999;overflow:hidden;text-indent:-99999px}
.bst_silde_btn{text-align:center;margin:5px 0 10px}
.bst_silde_btn button{background:url(img/best_btn.gif) no-repeat 5px 5px; width:20px;height:20px;text-indent:-999px;font-size:0;border:none;}
.bst_silde_btn button.bst_sl{background-position:-11px 5px }
/* 개인결제 목록 */ /* 개인결제 목록 */
.sct_pv .sct_li {position:relative;float:left;padding:0 25px 15px 0} .sct_pv {margin-top:10px}
.sct_pv .sct_li {position:relative;float:left;position:relative;float:left;margin-bottom:10px;}
.sct_pv .sct_img{padding:0 5px}
.sct_pv .sct_img a{border:1px solid #e2edef}
.sct_pv .sct_img img{width:100%;}
.sct_pv .sct_last {margin:0 0 15px !important} .sct_pv .sct_last {margin:0 0 15px !important}
.sct_pv .sct_clear {clear:both} .sct_pv .sct_clear {clear:both}
.sct_pv .sct_a {display:inline-block;position:relative;margin:0 0 5px;text-decoration:none} .sct_pv .sct_a {display:block;position:relative;margin:0 0 5px;text-decoration:none; font-weight: bold; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; line-height: 20px;}
.sct_pv .sct_id {display:block;margin:0 0 5px} .sct_pv .sct_id {display:block;margin:0 0 5px}
.sct_pv .sct_basic {margin:0 0 10px} .sct_pv .sct_basic {margin:0 0 10px}
.sct_pv .sct_cost {display:block;margin:0 0 10px;font-weight:bold} .sct_pv .sct_cost {display:block;margin:0 0 10px;}
.sct_pv .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal} .sct_pv .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
.sct_pv .sct_icon {margin:0 0 10px} .sct_pv .sct_icon {margin:0 0 10px}
.sct_pv .sct_sns {margin:15px 0 0}
/* ##### maint.(nn).skin.php, list.(nn).skin.php 공통 적용 끝 ##### */ /* ##### maint.(nn).skin.php, list.(nn).skin.php 공통 적용 끝 ##### */
/* 상품 목록 */ /* 상품 목록 */
@ -70,26 +96,28 @@
.sct_bg {padding-right:13px !important;background:url('img/sct_bg_toright.gif') right 8px no-repeat} .sct_bg {padding-right:13px !important;background:url('img/sct_bg_toright.gif') right 8px no-repeat}
/* 상품 목록 카테고리 목록 */ /* 상품 목록 카테고리 목록 */
.sct_ct {} .sct_ct {text-align:center;width:100%;border-bottom:1px solid #e9e9e9; background:#f9f9f9;}
.sct_ct h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} .sct_ct h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.sct_ct ul {margin:0 0 10px;padding:10px;border-bottom:1px solid #e9e9e9;list-style:none} .sct_ct ul {list-style:none;display:inline-block;margin:0;padding:5px 0}
.sct_ct ul:after {display:block;visibility:hidden;clear:both;content:""} .sct_ct ul:after {display:block;visibility:hidden;clear:both;content:""}
.sct_ct a {text-decoration:none} .sct_ct ul li {display:inline-block;background:url(img/sbmn_bg.gif) no-repeat left 50%;padding:0 15px 0 20px;letter-spacing:0.2em;font-size:0.917em;line-height:30px}
.sct_ct ul li:first-child{background:none}
.sct_ct a {text-decoration:none;color:#656565}
.sct_ct_parent {font-weight:bold} .sct_ct_parent {font-weight:bold}
.sct_ct_here {color:#ff3600 !important} .sct_ct_here {color:#ff3600 !important}
#sct_ct_1 li {float:left;margin:0 10px 10px 0;width:120px}
#sct_ct_2 li {margin:0 0 10px} #sct_ct_2 li {margin:0 0 10px}
#sct_ct_2 a {display:inline-block;width:120px} #sct_ct_2 a {display:inline-block;width:120px}
#sct_ct_3 li {float:left;margin:0 10px 10px 0;width:120px} #sct_ct_3 li {float:left;margin:0 10px 10px 0;width:120px}
/* 상품 정렬 */ /* 상품 정렬 */
#sct_sort {float:left;margin:10px 0} #sct_sort {padding:10px 10px 0;clear:both}
#sct_sort:after {display:block;visibility:hidden;clear:both;content:""} #sct_sort:after {display:block;visibility:hidden;clear:both;content:""}
#sct_sort h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sct_sort h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sct_sort ul {margin:0;padding:0 0 0 1px;list-style:none} #sct_sort ul {margin:0;padding:0 0 0 1px;list-style:none;}
#sct_sort ul:after {display:block;visibility:hidden;clear:both;content:""} #sct_sort ul:after {display:block;visibility:hidden;clear:both;content:""}
#sct_sort li {float:left;position:relative;margin-left:-1px} #sct_sort li {float:left;position:relative;margin-left:-1px;width:33.33%}
#sct_sort li a{display:block;text-align:center;color:#8d8d8d;background:#fff;border-color:#e9e9e9;font-size:0.917em}
/* 상품 리스트 스타일 선택 */ /* 상품 리스트 스타일 선택 */
#sct_lst {float:right;margin:10px 0;padding:0;list-style:none} #sct_lst {float:right;margin:10px 0;padding:0;list-style:none}
@ -103,29 +131,29 @@
#sct_lst button.sct_lst_gallery span.sct_lst_on {background-position:-30px -30px} #sct_lst button.sct_lst_gallery span.sct_lst_on {background-position:-30px -30px}
/* 상품 상세보기 */ /* 상품 상세보기 */
#sit {margin:5px 0;border-top:1px solid #e9e9e9} #sit {margin: 0;border-top:1px solid #e9e9e9}
.sit_admin {margin:10px 10px 0;text-align:right} .sit_admin {margin:10px 10px 0;text-align:right}
.sit_empty {padding:30px 0;text-align:center} .sit_empty {padding:30px 0;text-align:center}
/* 상품상세 */ /* 상품상세 */
#info_content {padding:0 0 50px;width:100%;height:100%;zoom:1} #info_content {padding:0 10px 30px;zoom:1}
#info_content:after {display:block;visibility:hidden;clear:both;content:""} #info_content:after {display:block;visibility:hidden;clear:both;content:""}
#info_content h2, #info_content h3 {margin:0 0 10px} #info_content h3 {margin:0 0 10px}
.if_tit{text-align:center;margin-top:10px;padding:10px;background:#f5f5f5;border:1px solid #e9e9e9;}
.win_desc_if{border:1px solid #e9e9e9;padding:10px;border-top:none;}
.win_desc{margin-top:10px}
/* 상품 상세보기 - 개요 */ /* 상품 상세보기 - 개요 */
#sit_ov_wrap {margin:0 0 20px;border-bottom:1px solid #e9e9e9} #sit_ov_wrap {margin:0 0 20px;}
#sit_ov_wrap:after {display:block;visibility:hidden;clear:both;content:""} #sit_ov_wrap:after {display:block;visibility:hidden;clear:both;content:""}
/* 상품 상세보기 - 이미지 미리보기 */ /* 상품 상세보기 - 이미지 미리보기 */
#sit_pvi {position:relative;border-bottom:1px solid #e9e9e9;text-align:center} #sit_pvi {position:relative;border-bottom:1px solid #e9e9e9;text-align:center}
#sit_pvi_prev {position:absolute;top:50%;left:0;background:url(img/item_btn.png) no-repeat;width:27px;height:45px;text-indent:-9999px;margin-top:-20px;}
#sit_pvi_prev {position:absolute;top:0;left:0} #sit_pvi_next {position:absolute;top:50%;right:0;background:url(img/item_btn.png) no-repeat -40px 0;margin-top:-20px;width:27px;height:45px;text-indent:-9999px}
#sit_pvi_next {position:absolute;top:0;right:0}
.sit_pvi_btn {display:none;z-index:10;width:20px;border:0;background:#f2f5f9} .sit_pvi_btn {display:none;z-index:10;width:20px;border:0;background:#f2f5f9}
#sit_pvi_slide {position:relative;margin:0 auto;padding:0;list-style:none;overflow-x:hidden} #sit_pvi_slide {position:relative;margin:0 auto;padding:0;list-style:none;overflow-x:hidden}
#sit_pvi_slide li {display:none;position:absolute;left:0;top:0} #sit_pvi_slide li {display:none;position:absolute;left:0;top:0}
#sit_pvi_nw h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sit_pvi_nw h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sit_pvi_nwbig {padding:10px 0;text-align:center} #sit_pvi_nwbig {padding:10px 0;text-align:center}
#sit_pvi_nwbig span {display:none} #sit_pvi_nwbig span {display:none}
@ -136,88 +164,99 @@
#sit_pvi_nw li img {width:60px;height:60px} #sit_pvi_nw li img {width:60px;height:60px}
/* 상품 상세보기 - 간략정보 및 구매기능 */ /* 상품 상세보기 - 간략정보 및 구매기능 */
#sit_ov {position:relative;padding:50px 13px 13px;height:auto !important;height:355px;min-height:355px;background:#f2f5f9} #sit_ov {position:relative;padding: 0;height:auto !important;}
#sit_ov h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sit_ov h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sit_ov h3 {margin:0 0 10px} #sit_ov h3 {margin:0 0 10px}
#sit_ov section{margin: 10px;padding-bottom:10px}
#sit_title {display:inline-block;margin:0 0 5px;font-size:1.3em} #sit_title {display:block;margin:10px 10px 0;font-size:1.2em;}
#sit_desc {display:inline-block;margin:0 0 10px;color:#999} #sit_desc {display:inline-block;margin:0 0 10px;color:#999}
#sit_opt_info {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sit_opt_info {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.sit_icon {display:block;margin:5px 0 0} .sit_icon {display:block;margin: 0 0;}
.sit_icon img {margin:0 1px 0 0} .sit_icon img {margin:0 1px 0 0;vertical-align:top;margin:0 1px}
#sit_star_sns {position:absolute;top:15px;right:15px;color:#b8afa2;font-size:0.95em;letter-spacing:-0.1em} #sit_star {color:#b8afa2;font-size:0.95em;padding:0 10px;line-height:2.2em}
#sit_star_sns span {display:inline-block;margin:0 5px 0 0;color:#666;letter-spacing:0} #sit_star span {display:inline-block;margin:0 5px 0 0;color:#666;letter-spacing:0}
#sit_star_sns .sit_star {position:relative;top:-2px;margin:0 5px 0 0} #sit_star .sit_star {position:relative;top:-2px;margin:0 5px 0 0}
#sit_star_sns a {display:inline-block;vertical-align:middle} #sit_star a {display:inline-block;vertical-align:middle}
#sit_star_sns button {margin:0;padding:0;border:0} #sit_star button {margin:0;padding:0;border:0}
.sit_ov_tbl {margin-bottom:20px;width:100%;border:0;border-collapse:collapse} .sit_ov_tbl {margin:10px 10px;background:#f6f6f6;padding:0 10px;border-top:1px solid #e9e9e9;border:1px solid #e9e9e9;}
.sit_ov_tbl th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-weight:normal;text-align:left} .sit_ov_tbl table{border-collapse:collapse;width:100%;border:0;font-size:0.917em}
.sit_ov_tbl td {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} .sit_ov_tbl th {border-top:1px solid #e9e9e9;font-weight:normal;text-align:left;padding:9px 0;}
.sit_ov_tbl td {padding:5px 0;border-top:1px solid #e9e9e9}
.sit_ov_tbl tr:first-child td,.sit_ov_tbl tr:first-child th{border:none}
.sit_ov_ro {padding:2px 2px 3px;border:0;background:transparent;text-align:right;vertical-align:middle} .sit_ov_ro {padding:2px 2px 3px;border:0;background:transparent;text-align:right;vertical-align:middle}
.sit_ov_opt {padding:2px 2px 3px;border:0;background:transparent;vertical-align:middle} .sit_ov_opt {padding:2px 2px 3px;border:0;background:transparent;vertical-align:middle}
.sit_ov_input {height:1.8em;border:1px solid #b8c9c2;background:transparent;vertical-align:middle} .sit_ov_input {height:1.8em;border:1px solid #b8c9c2;background:transparent;vertical-align:middle}
.sit_ov_tbl button {margin:0} .sit_ov_tbl button {margin:0}
.sit_op_sl{width:100%;border-collapse:collapse;border:1px solid #e9e9e9;}
.sit_op_sl th{font-weight:normal;text-align:left;padding:0 0 0 10px;}
.sit_op_sl td{text-align:left;padding:9px 10px 9px 0}
.sit_sel_btn {position:relative;top:-15px;right:-2px} /* 선택옵션용 추가 버튼 */ .sit_sel_btn {position:relative;top:-15px;right:-2px} /* 선택옵션용 추가 버튼 */
.sit_sel_btn button {width:100%} .sit_sel_btn button {width:100%}
#sit_ov_soldout {margin:0 0 20px;color:#ff3061;font-weight:bold;text-align:center} #sit_ov_soldout {margin:0 0 20px;color:#ff3061;font-weight:bold;text-align:center}
#sit_ov_btn {margin:0;padding:0 10px;text-align:center;}
#sit_ov_btn {margin:0;padding:0;text-align:center} #sit_ov_btn:after {display:block;visibility:hidden;clear:both;content:""}
#sit_ov_btn a {display:inline-block;padding:10px;vertical-align:middle;text-decoration:none;letter-spacing:-0.1em} #sit_ov_btn a {display:inline-block;padding: 0;vertical-align:middle;text-decoration:none;letter-spacing:0.3em;line-height:40px;height:40px}
#sit_ov_btn input {margin:0;padding:10px;border:0;letter-spacing:-0.1em} #sit_ov_btn input {padding:0;border:none;letter-spacing:0.3em;height:42px;line-height:42px}
#sit_btn_buy {background:#ff5b89;color:#fff} #sit_btn_cart{background:#34b5a1;color:#fff;width:100%}
#sit_btn_cart, #sit_btn_wish {background:#555;color:#fff} #sit_btn_buy, #sit_btn_wish {border:1px solid #34b5a1 !important;color:#34b5a1;width:49%;background:#fff;margin-top:5px}
#sit_btn_rec {background:#888;color:#fff} #sit_btn_buy{float:left}
#sit_btn_wish{float:right }
#sit_btn_rec {background:#333;font-size:0.92em;color:#fff;padding:0 3px;height:25px;line-height:25px;display:inline-block;vertical-align:middle}
#sit_sns{text-align:center; padding-bottom:20px;border-bottom:1px solid #e9e9e9;}
#sit_sel_option,#sit_tot_price{padding:0 10px}
/* 상품 상세보기 - 다른 상품 보기 */ /* 상품 상세보기 - 다른 상품 보기 */
#sit_siblings {margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid #e9e9e9;text-align:center} #sit_siblings {text-align:center;position:relative}
#sit_siblings:after {display:block;visibility:hidden;clear:both;content:""}
#sit_siblings h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sit_siblings h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sit_siblings a {display:inline-block;padding:8px 12px;background:#383838;color:#fff} #sit_siblings a {display:inline-block;background:#383838;color:#fff}
#sit_siblings a#siblings_prev {float:left} #sit_siblings a#siblings_prev {position:absolute;bottom:20px;left:10px;background: url(img/mainlist_btn.gif) no-repeat; width: 30px; height: 30px;text-indent:-999px;overflow:hidden}
#sit_siblings a#siblings_next {float:right} #sit_siblings a#siblings_next {position:absolute;bottom:20px;right:10px;background: url(img/mainlist_btn.gif) no-repeat -33px 0; width: 30px; height: 30px;text-indent:-999px;overflow:hidden}
#sit_siblings a span {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #sit_siblings a span {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
/* 상품 상세보기 하단 버튼 */ /* 상품 상세보기 하단 버튼 */
#sit_more {padding:0 0 0 1px} #sit_more {-webkit-backface-visibility: hidden;padding:0;background-color: rgba(0, 0, 0, 0.8);position:fixed;bottom:0;left:0;width:100%;z-index:9999}
#sit_more li {position:relative;margin:-1px 0 0 -1px;width:33%} #sit_more:after {display:block;visibility:hidden;clear:both;content:""}
#sit_more li:nth-of-type(3n) {width:34%} #sit_more li {position:relative;width:25%;float:left;letter-spacing:0.2em;background:url(img/item_bg.gif) no-repeat left 17px;}
#sit_more a {display:block;padding:15px 0;text-align:center} #sit_more li:first-child{background:none}
#sit_more a {display:block;padding:15px 0 15px 2px;text-align:center;color:#fff}
.item_use_count,.item_qa_count{color:#999;padding-left:2px}
/* 상품 상세보기 - 상품정보 */ /* 상품 상세보기 - 상품정보 */
#sit_inf_basic {margin:0 0 10px} .close_btn{margin:30px 10px 10px;}
#sit_inf_explan {margin:0 0 10px} #iteminfo_close{width:100%;background:#000;border:none;color:#fff;padding:10px 0;}
#sit_inf_basic {margin:0 0 20px}
#sit_inf_explan {margin:0 0 10px;line-height:1.5em}
#sit_inf_explan img {max-width:100%;height:auto} #sit_inf_explan img {max-width:100%;height:auto}
#sit_inf_open {margin:0;padding:0;list-style:none} #sit_inf_open {margin:0;padding:0;list-style:none}
#sit_inf_open li {margin:0 0 1px;padding:8px 0;background:#f2f5f9} #sit_inf_open li {margin:0 0 1px;padding:8px 0;background:#fff;border:1px solid #f2f2f2;border-top:none;color:#727272}
#sit_inf_open li:nth-last-of-type(1) {border-bottom:0}
#sit_inf_open li:after {display:block;visibility:hidden;clear:both;content:""} #sit_inf_open li:after {display:block;visibility:hidden;clear:both;content:""}
#sit_inf_open strong {clear:both;float:left;padding:0 1%;width:38%;letter-spacing:-0.1em} #sit_inf_open strong {clear:both;float:left;padding:0 1%;width:28%;letter-spacing:-0.1em}
#sit_inf_open span {float:left;margin:0;padding:0 1%;width:58%} #sit_inf_open span {float:left;margin:0;padding:0 1%;width:68%}
#sit_inf h2{background:#f5f5f5;color:#444;padding:10px; border:1px solid #e9e9e9;text-align:center;}
/* 상품 상세보기 - 사용후기 */ /* 상품 상세보기 - 사용후기 */
.tit_no{position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sit_use {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9} #sit_use {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
#sit_use_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none} #sit_use_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
.sit_use_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f2f5f9} .sit_use_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;}
.sit_use_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left} .sit_use_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left}
.sit_use_li_title b{font-weight:normal;margin-right:2px}
.sit_use_dl {margin:0;padding:0 10px} .sit_use_dl {margin:0;padding:0 10px;position:relative}
.sit_use_dl:after {display:block;visibility:hidden;clear:both;content:""} .sit_use_dl:after {display:block;visibility:hidden;clear:both;content:""}
.sit_use_dl dt {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} .sit_use_dl dt {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.sit_use_dl dd {float:left;margin:3px 15px 0 0} .sit_use_dl dd {float:left;margin:0 10px 0 0;color:#888;font-size:0.917em}
.sit_use_star {margin:0 !important} .sit_use_star {margin:0 !important;position:absolute;bottom:0;right:10px}
.sit_use_con {display:none;padding:10px 10px 0} .sit_use_con {display:none;padding:10px 10px 0}
.sit_use_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} .sit_use_p {margin:0 0 10px;padding:10px;background:#f2f2f2}
.sit_use_cmd {text-align:right} .sit_use_cmd {text-align:right}
.sit_use_cmd a.btn01{padding: 5px;}
#sit_use_wbtn {margin:0 0 5px;text-align:right} #sit_use_wbtn {margin:0 0 5px;text-align:center}
#sit_use_write {} #sit_use_write {}
#sit_use_write #is_subject {width:100%} #sit_use_write #is_subject {width:100%}
#sit_use_write ul {margin:5px 0 0} #sit_use_write ul {margin:5px 0 0}
@ -227,55 +266,42 @@
/* 상품 상세보기 - 상품문의 */ /* 상품 상세보기 - 상품문의 */
#sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9} #sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
#sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none} #sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
.sit_qa_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f2f5f9} .sit_qa_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;}
.sit_qa_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left} .sit_qa_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left}
.sit_qa_li_title b{font-weight:normal;margin-right:2px}
.sit_qa_dl {margin:0;padding:0 10px} .sit_qa_dl {margin:0;padding:0 10px;position:relative}
.sit_qa_dl:after {display:block;visibility:hidden;clear:both;content:""} .sit_qa_dl:after {display:block;visibility:hidden;clear:both;content:""}
.sit_qa_dl dt {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} .sit_qa_dl dt {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.sit_qa_dl dd {float:left;margin:0 15px 0 0} .sit_qa_dl dd {float:left;margin:0 10px 0 0;color:#888;font-size:0.917em}
.sit_qa_dl dd.sit_qaa_yet,.sit_qa_dl dd.sit_qaa_done{position:absolute;bottom:0;right:0;background:#eee;padding:5px 8px;color:#888;border-radius:15px}
.sit_qa_dl dd.sit_qaa_done{background:#ff3e5e;color:#fff}
.sit_qa_con {display:none;padding:10px 10px 0} .sit_qa_con {display:none;padding:10px 10px 0}
.sit_qa_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} .sit_qa_p {margin:0 0 10px;border:1px solid #e9e9e9;background:#fff;padding:0 10px;background:#f2f2f2;}
.sit_qa_p strong {display:inline-block;margin:0 0 10px} .sit_qa_p strong {display:inline-block;margin:0 0 10px;}
.sit_qa_qaq {margin:0 0 20px} .sit_qa_p span.sit_alp{position:absolute;top:10px;left:0;background:#000;color:#fff;color:#fff;font-size:1.2em;font-weight:bold;width:25px;height:25px;line-height:25px;display:inline-block;border-radius:15px;text-align:center;}
.sit_qa_qaq,.sit_qa_qaa {padding:10px 0 10px 30px;position:relative}
.sit_qa_qaa {border-top:1px dotted #ddd}
.sit_qa_qaa span.sit_alp{background:#5b5b5b}
.sit_qa_con textarea {display:none} .sit_qa_con textarea {display:none}
.sit_qa_cmd {text-align:right} .sit_qa_cmd {text-align:right}
.sit_qa_cmd a.btn01{padding:5px;}
.sit_qa_pw {display:none;position:absolute;top:30px;left:175px;padding:10px;width:348px;border:1px solid #000;background:#fff;text-align:center} .sit_qa_pw {display:none;position:absolute;top:30px;left:175px;padding:10px;width:348px;border:1px solid #000;background:#fff;text-align:center}
.sit_qa_pw span {display:block;margin:0 0 5px} .sit_qa_pw span {display:block;margin:0 0 5px}
#sit_qa_wbtn {margin:0 0 5px;text-align:right} #sit_qa_wbtn {margin:0 0 5px;text-align:center}
#sit_qa_w {display:none} #sit_qa_w {display:none}
a.qa_wr{padding:10px 0;display:block;width:100%;text-align:center;background:#34b5a1;color:#fff;margin:10px 0}
#itemqa_list,#itemuse_list{ background: #fff; border: 3px double #e9e9e9; width: 205px; padding: 8px 0; font-size: 0.917em; color: #797979; margin-top: 15px;}
/* 쇼핑몰 이벤트 */ /* 쇼핑몰 이벤트 */
#sev {margin:0;padding:0;min-height:150px;list-style:none} #sev {margin:0 10px;padding:0 15px;list-style:none;border:3px double #d6d6d6}
#sev li {position:relative;margin:-1px 0 0;border-bottom:1px solid #e9e9e9} #sev li {border-top:1px solid #f2f2f2;padding:10px 0 ;text-align:center}
#sev a {display:block;padding:10px;border:1px solid #e9e9e9;border-bottom:0;background:#f2f5f9} #sev li:first-child{border:none}
.sev_admin {text-align:right} #sev li a{display:block}
#sev li a:hover{color:#34b5a1;}
/* 하단 펼침메뉴 */ #sev li img{width:100%}
#menu_button {position:fixed;left:0;bottom:0;width:100%;height:40px;text-align:center} .sev_admin{padding:10px 10px 0}
#menu_button button {position:relative;margin:0;padding:0;width:20%;height:40px;border:0;background:transparent}
#menu_button button span {display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;background:url('img/arr_up01.gif') #000 center 15px no-repeat}
#menu_button button.menu_opened {background:#ff3061;color:#fff}
#menu_button button.menu_opened span {background:url('img/arr_down01.gif') #000 center 15px no-repeat}
#menu_list {position:fixed;left:0;bottom:0;width:100%;border-top:1px solid #000;background:#f0f1f2}
#menu_list ul {margin:0;padding:0;border:0}
#menu_list li {margin:0;padding:0;width:19%}
#menu_list li:nth-of-type(1) {width:15%}
#menu_list li:nth-of-type(4), #menu_list li:nth-of-type(5) {width:14%}
#menu_list a {display:block;padding:15px 0;border:0;border-right:1px solid #e9e9e9;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
#menu_list a:focus, #menu_list a:hover {background:#f0f1f2;color:#000}
#menu_list li:nth-of-type(6) a {border:0}
#menu_list li:nth-last-of-type(1) {width:100%}
#menu_list button {margin:0;padding:15px 0;width:100%;border:0;border-top:1px solid #e9e9e9;background:#fff;color:#000}
.menu_hidden {display:none}
/* 로딩안내 레이어 */ /* 로딩안내 레이어 */
#loading_message {z-index:10000;position:absolute;top:0;left:0;background:#fff;opacity:0.7} #loading_message {z-index:10000;position:absolute;top:0;left:0;background:#fff;opacity:0.7}
@ -287,4 +313,6 @@
#fancyalert_inner div {display:table-cell;vertical-align:middle;text-align:center} #fancyalert_inner div {display:table-cell;vertical-align:middle;text-align:center}
#fancyalert_inner span {display:block;margin:0 auto;padding:30px;width:200px;background:#1f1f1f;color:#f0f1f2} #fancyalert_inner span {display:block;margin:0 auto;padding:30px;width:200px;background:#1f1f1f;color:#f0f1f2}
#fancyalert_inner button {margin:15px 0 0;padding:10px 30px;border:0;background:#000;color:#fff} #fancyalert_inner button {margin:15px 0 0;padding:10px 30px;border:0;background:#000;color:#fff}
#fancyalert_bg {z-index:0;position:absolute;top:0;left:0;width:100%;height:100%;vertical-align:middle;background:#000;text-align:center;opacity: 0.7} #fancyalert_bg {z-index:0;position:absolute;top:0;left:0;width:100%;height:100%;vertical-align:middle;background:#000;text-align:center;opacity: 0.7}
#sit_sms_new .tbl_frm01 th {width:100px}

73
shop/ajax.list.php Normal file
View File

@ -0,0 +1,73 @@
<?php
include_once('./_common.php');
include_once(G5_LIB_PATH.'/json.lib.php');
$data = array();
$sql = " select *
from {$g5['g5_shop_category_table']}
where ca_id = '$ca_id'
and ca_use = '1' ";
$ca = sql_fetch($sql);
if (!$ca['ca_id'])
die(json_encode($data['error'] = '등록된 분류가 없습니다.'));
// 스킨경로
$skin_dir = G5_MSHOP_SKIN_PATH;
if($ca['ca_mobile_skin_dir']) {
$skin_dir = G5_MOBILE_PATH.'/'.G5_SKIN_DIR.'/shop/'.$ca['ca_mobile_skin_dir'];
if(is_dir($skin_dir)) {
$skin_file = $skin_dir.'/'.$ca['ca_mobile_skin'];
if(!is_file($skin_file))
$skin_dir = G5_MSHOP_SKIN_PATH;
} else {
$skin_dir = G5_MSHOP_SKIN_PATH;
}
}
$skin_file = $skin_dir.'/'.$ca['ca_mobile_skin'];
// 상품 출력순서가 있다면
if ($sort != "")
$order_by = $sort.' '.$sortodr.' , it_order, it_id desc';
else
$order_by = 'it_order, it_id desc';
// 총몇개
$items = $ca['ca_mobile_list_mod'] * $ca['ca_mobile_list_row'];
// 페이지가 없으면 첫 페이지 (1 페이지)
if ($page < 1) $page = 1;
$page++;
// 시작 레코드 구함
$from_record = ($page - 1) * $items;
ob_start();
$list = new item_list($skin_file, $ca['ca_mobile_list_mod'], $ca['ca_mobile_list_row'], $ca['ca_mobile_img_width'], $ca['ca_mobile_img_height']);
$list->set_category($ca['ca_id'], 1);
$list->set_category($ca['ca_id'], 2);
$list->set_category($ca['ca_id'], 3);
$list->set_is_page(true);
$list->set_mobile(true);
$list->set_order_by($order_by);
$list->set_from_record($from_record);
$list->set_view('it_img', true);
$list->set_view('it_id', false);
$list->set_view('it_name', true);
$list->set_view('it_price', true);
echo $list->run();
$content = ob_get_contents();
ob_end_clean();
$data['item'] = $content;
$data['error'] = '';
$data['page'] = $page;
die(json_encode($data));
?>

View File

@ -1,9 +0,0 @@
<?php
include_once('./_common.php');
// 모바일 쇼핑몰 카테고리 선택시에만 사용함
if (G5_IS_MOBILE) {
include_once(G5_MSHOP_PATH.'/category.php');
return;
}
?>

View File

@ -104,7 +104,7 @@ $PAY_METHOD = array(
// 플러그인 호출 URL // 플러그인 호출 URL
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') {
$ini_js_url = 'https://plugin.inicis.com/pay61_secunissl_crossl.js'; $ini_js_url = 'https://plugin.inicis.com/pay61_secunissl_cross.js';
} else { } else {
$ini_js_url = 'http://plugin.inicis.com/pay61_secuni_cross.js'; $ini_js_url = 'http://plugin.inicis.com/pay61_secuni_cross.js';
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 20 KiB