기타 추적되지 않는 파일들..
This commit is contained in:
@ -31,7 +31,7 @@ $sql = " select *
|
||||
$result = sql_query($sql);
|
||||
|
||||
if(!sql_num_rows($result))
|
||||
alert_close('배송지 목록 자료가 없습니다.');
|
||||
alert_close('주소지 목록이 없습니다.');
|
||||
|
||||
$order_action_url = G5_HTTPS_SHOP_URL.'/orderaddressupdate.php';
|
||||
|
||||
@ -50,21 +50,19 @@ if(defined('G5_THEME_SHOP_PATH')) {
|
||||
}
|
||||
}
|
||||
|
||||
$g5['title'] = '배송지 목록';
|
||||
$g5['title'] = '주소지 목록';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
?>
|
||||
<form name="forderaddress" method="post" action="<?php echo $order_action_url; ?>" autocomplete="off">
|
||||
<div id="sod_addr" class="new_win">
|
||||
|
||||
<h1 id="win_title">배송지 목록</h1>
|
||||
<h1 id="win_title">주소지 목록</h1>
|
||||
<div class="tbl_head03 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">배송지명</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">배송지정보</th>
|
||||
<th scope="col">관리</th>
|
||||
<th scope="col">선택</th>
|
||||
<th scope="col">주소지정보</th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
@ -80,27 +78,27 @@ include_once(G5_PATH.'/head.sub.php');
|
||||
<div class="chk_box">
|
||||
<input type="hidden" name="ad_id[<?php echo $i; ?>]" value="<?php echo $row['ad_id'];?>">
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i;?>" id="chk_<?php echo $i;?>" class="selec_chk">
|
||||
<label for="chk_<?php echo $i;?>"><span></span><b class="sound_only">배송지선택</b></label>
|
||||
<label for="chk_<?php echo $i;?>"><span></span><b class="sound_only">주소지선택</b></label>
|
||||
</div>
|
||||
|
||||
<label for="ad_subject<?php echo $i;?>" class="sound_only">배송지명</label>
|
||||
<input type="text" name="ad_subject[<?php echo $i; ?>]" id="ad_subject<?php echo $i;?>" class="frm_input" size="12" maxlength="20" value="<?php echo get_text($row['ad_subject']); ?>">
|
||||
</td>
|
||||
|
||||
<td class="td_name"><?php echo get_text($row['ad_name']); ?></td>
|
||||
<td class="td_address">
|
||||
<div class="td_mng">
|
||||
<input type="text" name="ad_subject[<?php echo $i; ?>]" id="ad_subject<?php echo $i;?>" class="frm_input" size="12" maxlength="20" value="<?php echo get_text($row['ad_subject']); ?>" placeholder="주소지명">
|
||||
</div>
|
||||
<?php echo get_text($row['ad_name']); ?>
|
||||
<?php echo print_address($row['ad_addr1'], $row['ad_addr2'], $row['ad_addr3'], $row['ad_jibeon']); ?><br>
|
||||
<span class="ad_tel"><?php echo $row['ad_tel']; ?> / <?php echo $row['ad_hp']; ?></span>
|
||||
|
||||
</td>
|
||||
<td class="td_mng">
|
||||
<span class="ad_tel font-B"><?php echo $row['ad_hp']; ?></span>
|
||||
|
||||
<div class="td_mng">
|
||||
<input type="hidden" value="<?php echo $addr; ?>" >
|
||||
<button type="button" class="sel_address mng_btn">선택</button>
|
||||
<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>?w=d&ad_id=<?php echo $row['ad_id']; ?>" class="del_address mng_btn">삭제</a>
|
||||
<input type="radio" name="ad_default" value="<?php echo $row['ad_id'];?>" id="ad_default<?php echo $i;?>" <?php if($row['ad_default']) echo 'checked="checked"';?>>
|
||||
<label for="ad_default<?php echo $i;?>" class="default_lb mng_btn">기본배송지</label>
|
||||
|
||||
<label for="ad_default<?php echo $i;?>" class="default_lb mng_btn">기본주소지</label>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@ -151,7 +149,7 @@ $(function() {
|
||||
});
|
||||
|
||||
$(".del_address").on("click", function() {
|
||||
return confirm("배송지 목록을 삭제하시겠습니까?");
|
||||
return confirm("주소지 목록을 삭제하시겠습니까?");
|
||||
});
|
||||
|
||||
// 전체선택 부분
|
||||
|
||||
Reference in New Issue
Block a user