공통: #289 배송지 목록 마크업 완료

This commit is contained in:
whitedot
2013-09-04 16:46:22 +09:00
parent f90b5d7972
commit 4ed3030713
8 changed files with 48 additions and 34 deletions

View File

@ -28,15 +28,18 @@ $g4['title'] = '배송지 목록';
include_once(G4_PATH.'/head.sub.php');
?>
<div>
<table>
<div id="sod_addr_list" class="new_win">
<h1 id="new_win_title">배송지 목록</h1>
<table class="basic_tbl">
<thead>
<tr>
<td>배송지명</th>
<td>이름</td>
<td>전화번호</td>
<td>주소</td>
<td>관리</td>
<th scope="col">배송지명</th>
<th scope="col">이름</th>
<th scope="col">전화번호</th>
<th scope="col">주소</th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
@ -46,13 +49,13 @@ include_once(G4_PATH.'/head.sub.php');
$addr = $row['ad_name'].$sep.$row['ad_tel'].$sep.$row['ad_hp'].$sep.$row['ad_zip1'].$sep.$row['ad_zip2'].$sep.$row['ad_addr1'].$sep.$row['ad_addr2'].$sep.$row['ad_subject'];
?>
<tr>
<td><?php echo $row['ad_subject']; ?></td>
<td><?php echo $row['ad_name']; ?></td>
<td><?php echo $row['ad_tel']; ?><br><?php echo $row['ad_hp']; ?></td>
<td class="td_name"><?php echo $row['ad_subject']; ?></td>
<td class="td_smallname"><?php echo $row['ad_name']; ?></td>
<td class="td_num"><?php echo $row['ad_tel']; ?><br><?php echo $row['ad_hp']; ?></td>
<td><?php echo sprintf('%s %s', $row['ad_addr1'], $row['ad_addr2']); ?></td>
<td>
<td class="td_mng">
<input type="hidden" value="<?php echo $addr; ?>">
<button type="button" class="sel_address">선택</button>
<button type="button" class="sel_address btn_frmline">선택</button>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?w=d&amp;ad_id=<?php echo $row['ad_id']; ?>" class="del_address">삭제</a>
</td>
</tr>

View File

@ -708,7 +708,7 @@ function get_intall_file()
<th scope="row">배송지선택</th>
<td>
<?php echo $addr_list; ?>
<a href="<?php echo G4_SHOP_URL; ?>/orderaddress.php" id="order_address">배송지목록</a>
<a href="<?php echo G4_SHOP_URL; ?>/orderaddress.php" id="order_address" class="btn_frmline">배송지목록</a>
</td>
</tr>
<tr>
@ -733,7 +733,7 @@ function get_intall_file()
<?php $zip_href = G4_BBS_URL.'/zip.php?frm_name=forderform&amp;frm_zip1=od_b_zip1&amp;frm_zip2=od_b_zip2&amp;frm_addr1=od_b_addr1&amp;frm_addr2=od_b_addr2'; ?>
<tr>
<th scope="row">주소</th>
<td>
<td id="sod_frm_addr">
<label for="od_b_zip1" class="sound_only">우편번호 앞자리<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_b_zip1" id="od_b_zip1" required class="frm_input required" size="2" maxlength="3">
-
@ -741,10 +741,14 @@ function get_intall_file()
<input type="text" name="od_b_zip2" id="od_b_zip2" required class="frm_input required" size="2" maxlength="3">
<span id="od_winb_zip" style="display:block"></span>
<?php if($addr_list) { ?>
<input type="checkbox" name="add_address" id="add_address" value="1">
<label for="add_address">배송지목록에 추가</label>
<input type="checkbox" name="ad_default" id="ad_default" value="1">
<label for="ad_default">기본배송지로 설정</label>
<div>
<div>
<input type="checkbox" name="add_address" id="add_address" value="1">
<label for="add_address">배송지목록에 추가</label>
<input type="checkbox" name="ad_default" id="ad_default" value="1">
<label for="ad_default">기본배송지로 설정</label>
</div>
</div>
<?php } ?>
<label for="od_b_addr1" class="sound_only">주소<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_b_addr1" id="od_b_addr1" required class="frm_input frm_address required" size="50">