쇼핑몰관리자: #232 추가배송비 마크업 및 스타일 완료
This commit is contained in:
@ -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&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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user