공통: #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

@ -223,8 +223,8 @@ fieldset .btn_submit {height:22px;font-size:1em}
.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;cursor:pointer}
button.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:1.9em}
.btn_cancel:focus, .btn_cancel:hover {text-decoration:none !important}
.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
.btn_frmline2 {display:inline-block;padding:0 7px 0 5px;height:20px;border:1px solid #e9e9e9;background:#f5f6fa;color:#ff3061 !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.7em}
.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:middle;line-height:2em} /* 우편번호검색버튼 등 */
.btn_frmline2 {display:inline-block;padding:0 7px 0 5px;height:20px;border:1px solid #e9e9e9;background:#f5f6fa;color:#ff3061 !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:middle;line-height:1.7em}
button.btn_frmline {font-size:1em;cursor:pointer}
button.btn_frmline2 {font-size:1em;cursor:pointer}
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
@ -302,6 +302,7 @@ td.empty_table {padding:85px 0;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_nick {width:100px;text-align:center}
.td_name {width:100px;text-align:left}
.td_smallname {width:50px;text-align:left}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_smallmng {width:50px;text-align:center}
@ -669,6 +670,9 @@ td.empty_table {padding:85px 0;text-align:center}
#sod_frm_orderer {margin:20px 0 40px}
#sod_frm_addr div {position:relative} /* FF 포지션 */
#sod_frm_addr div div {position:absolute;top:-20px;left:170px}
#sod_frm_same {margin:0 0 10px}
#sod_frm #od_memo {height:50px}

View File

@ -556,7 +556,7 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
.btn_confirm {text-align:center} /* 서식단계 진행 */
.btn_submit {padding:0 1em;height:2.6em;border:1px solid #333;background:#333;color:#fff;font-size:1em;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none}
.btn_cancel {display:inline-block;padding:0 1em;height:2.6em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.6em}
.btn_frmline {display:inline-block;padding:0 0.3em;height:1.9em;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */
.btn_frmline {display:inline-block;padding:0 0.3em;height:1.9em;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:middle;line-height:1.9em} /* 우편번호검색버튼 등 */
.btn_win {clear:both;margin-bottom:1.5em;text-align:center} /* 새창용 */
.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em;cursor:pointer}
/* 게시판용 버튼 */
@ -628,7 +628,8 @@ td.empty_table {padding:5em 0;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_nick {width:100px;text-align:center}
.td_name {width:100px;text-align:left}
.td_date {width:100px;text-align:center}
.td_smallname {width:100px;text-align:left}
.td_date {width:50px;text-align:center}
.td_datetime {width:170px;text-align:center}
.td_smallmng {width:50px;text-align:center}
.td_mng {width:80px;text-align:center}

View File

@ -5,15 +5,17 @@ $g4['title'] = '배송지 목록';
include_once(G4_PATH.'/head.sub.php');
?>
<div>
<table>
<div class="new_win">
<h1 id="new_win_title"><?php echo $g4['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>
@ -23,11 +25,11 @@ 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_bignum"><?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>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?w=d&amp;ad_id=<?php echo $row['ad_id']; ?>" class="del_address">삭제</a>

View File

@ -472,7 +472,7 @@ ob_end_clean();
<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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

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">

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB