쇼핑몰관리자: #232 추가배송비 마크업 및 스타일 완료

This commit is contained in:
whitedot
2013-06-17 18:43:40 +09:00
parent bd6837e4ab
commit 5db134be65
4 changed files with 52 additions and 48 deletions

View File

@ -63,8 +63,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="1" title="내역선택">
</td>
<td><?php echo $row['sc_name']; ?></td>
<td><?php echo preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip1']).' ~ '.preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip2']); ?></td>
<td><?php echo number_format($row['sc_amount']); ?></td>
<td class="td_bigpostal"><?php echo preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip1']).' ~ '.preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip2']); ?></td>
<td class="td_sendcost_add"><?php echo number_format($row['sc_amount']); ?></td>
</tr>
<?php
}
@ -84,7 +84,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<section id="point_mng" class="cbox">
<section id="sendcost_postal" class="cbox">
<h2>추가배송비 등록</h2>
<form name="fsendcost2" method="post" id="fsendcost2" action="./sendcostupdate.php" autocomplete="off">
@ -104,14 +104,14 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<th scope="row"><label for="sc_zip1">우편번호 시작<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="sc_zip1" id="sc_zip1" required class="required frm_input" size="10">
<button type="button" class="sch_zipcode">우편번호검색</button>
<button type="button" class="sch_zipcode btn_frmline">우편번호검색</button>
</td>
</tr>
<tr>
<th scope="row"><label for="sc_zip2">우편번호 끝<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="sc_zip2" id="sc_zip2" required class="required frm_input" size="10">
<button type="button" class="sch_zipcode">우편번호검색</button>
<button type="button" class="sch_zipcode btn_frmline">우편번호검색</button>
</td>
</tr>
<tr>

View File

@ -39,7 +39,7 @@ if($addr) {
foreach($list as $value) {
$code = substr($value, 0, 7);
$result[] = '<input type="hidden" name="code[]" value="'.$code.'">'.$value.' <button type="button" class="select_btn">선택</button>'.PHP_EOL;
$result[] = '<input type="hidden" name="code[]" value="'.$code.'">'.$value.' <button type="button" class="select_btn btn_frmline">선택</button>'.PHP_EOL;
}
}
}
@ -49,46 +49,39 @@ include_once(G4_PATH.'/head.sub.php');
?>
<div>
<form name="fzipcode" id="fzipcode" method="get">
<input type="hidden" name="no" value="<?php echo $no; ?>">
<table>
<tr>
<td>우편번호 찾기</td>
</tr>
<tr>
<td>주소지의 시/군을 입력하세요.</td>
</tr>
<tr>
<td>
<label for="addr">주소</label>
<input type="text" id="addr" name="addr" value="<? echo stripslashes($addr); ?>" size="20" />
<input type="submit" value=" 검색 " />
</td>
</tr>
</table>
</form>
<div id="sendcost_postal_win" class="new_win">
<h1 id="new_win_title"><?php echo $g4['title']; ?></h1>
<?php
if($search_count) {
?>
<p>검색결과<p>
<ul>
<?php
for($i=0; $i<$search_count; $i++) {
?>
<li><?php echo $result[$i]; ?></li>
<?php
}
?>
</ul>
<?php
} else {
?>
<p>검색된 결과가 없습니다.</p>
<?php
}
?>
<form name="fzipcode" id="fzipcode" method="get">
<input type="hidden" name="no" value="<?php echo $no; ?>">
<p class="new_win_desc">주소지의 시/군을 입력하세요.</p>
<fieldset>
<label for="addr">주소</label>
<input type="text" name="addr" value="<?php echo stripslashes($addr); ?>" id="addr" class="frm_input" size="20">
<input type="submit" value=" 검색 " class="btn_frmline">
</fieldset>
</form>
<?php if($search_count) { ?>
<strong class="new_win_desc">검색결과</strong>
<ul>
<?php
for($i=0; $i<$search_count; $i++) {
?>
<li><?php echo $result[$i]; ?></li>
<?php } ?>
</ul>
<?php } else { ?>
<p class="new_win_desc">검색된 결과가 없습니다.</p>
<?php } ?>
<div class="btn_win">
<a href="javascript:window.close();">창닫기</a>
</div>
</div>
<script>

View File

@ -494,6 +494,13 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
#anc_bo_extra .group_setting input {margin:0}
#anc_bo_extra label {display:inline-block;width:100px}
#anc_bo_extra input {margin-right:10px}
/* 추가배송비 관리 */
#sendcost_postal {margin-top:50px}
#sendcost_postal_win {}
#sendcost_postal_win fieldset {text-align:center}
#sendcost_postal_win ul {margin:10px auto;padding:5px 10px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff;list-style:none}
#sendcost_postal_win li {position:relative;padding:8px 0 6px;border-bottom:1px solid #eee}
#sendcost_postal_win button {position:absolute;top:4px;right:0}
/* 게시판그룹관리 목록 */
.tbl_gr_list td {text-align:center}
@ -509,6 +516,7 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.td_category {width:120px;text-align:center}
.visit_bar {position:relative}
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#ddd}
/* 공통 */
.tr_bg {background:#f5f6fa}
@ -525,7 +533,10 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.td_boolean {width:50px;text-align:center}
.td_pt {text-align:right !important}
.td_sendcost_by {width:50px;text-align:center}
.td_sendcost_add {width:100px;text-align:center}
.td_payby {width:80px;text-align:center}
.td_postal {width:60px;text-align:center}
.td_bigpostal {width:140px;text-align:center}
.td_tdiv {border-bottom:1px solid #c9c9c9 !important}
.txt_true {color:#e8180c}
@ -552,7 +563,7 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win_ul li {float:left;margin-left:-1px}
.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none}
.new_win_desc {margin:0 auto;width:93%}
.new_win_desc {display:block;margin:0 auto;width:93%}
/* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px}

View File

@ -632,7 +632,7 @@ td.empty_table {padding:85px 0;text-align:center}
.sod_option_btn .mod_options {margin:0;padding:3px 0;width:100%;border:0;background:#333;color:#fff}
#sod_bsk_list {position:relative}
#sod_bsk_list #mod_option_frm {z-index:10000;position:absolute;top:0;left:99px;padding:20px;width:500px;height:auto !important;height:500px;max-height:500px;border:1px solid #000;background:#f5f6fa;overflow-y:scroll}
#sod_bsk_list #mod_option_frm {z-index:10000;position:absolute;top:0;left:99px;padding:20px;width:500px;height:auto !important;height:500px;max-height:500px;border:1px solid #000;background:#f5f6fa;overflow-y:scroll;overflow-x:none}
#sod_bsk_tot {margin:0;padding:10px;border:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
#sod_bsk_tot:after {display:block;visibility:hidden;clear:both;content:""}
@ -655,7 +655,7 @@ td.empty_table {padding:85px 0;text-align:center}
#sod_frm h2 {margin:0 0 10px}
#sod_list {position:relative}
#sod_list #it_coupon_frm {z-index:10000;position:absolute;top:0;left:99px;padding:20px;width:500px;height:auto !important;height:500px;max-height:500px;border:1px solid #000;background:#f5f6fa;overflow-y:scroll}
#sod_list #it_coupon_frm {z-index:10000;position:absolute;top:0;left:99px;padding:20px;width:500px;height:auto !important;height:500px;max-height:500px;border:1px solid #000;background:#f5f6fa;overflow-y:scroll;overflow-x:none}
#sod_frm_orderer {margin:20px 0 40px}