공통관리자: 너비 가변 변경 작업 중
This commit is contained in:
@ -34,46 +34,50 @@ $g5['title'] = '추가배송비관리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<section id="scp_list" class="cbox">
|
||||
<section id="scp_list">
|
||||
<h2>추가배송비 내역</h2>
|
||||
|
||||
<form name="fsendcost" id="fsendcost" method="post" action="./sendcostupdate.php" onsubmit="return fsendcost_submit(this);">
|
||||
<input type="hidden" name="w" value="d">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
||||
<table class="tbl_pt_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">
|
||||
<label for="chkall" class="sound_only">내역 전체</label>
|
||||
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
|
||||
</th>
|
||||
<th scope="col">지역명</th>
|
||||
<th scope="col">우편번호</th>
|
||||
<th scope="col">추가배송비</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="sc_id_<?php echo $i; ?>" name="sc_id[<?php echo $i; ?>]" value="<?php echo $row['sc_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="1" title="내역선택">
|
||||
</td>
|
||||
<td><?php echo $row['sc_name']; ?></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_price']); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>추가배송비 내역</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">
|
||||
<label for="chkall" class="sound_only">내역 전체</label>
|
||||
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
|
||||
</th>
|
||||
<th scope="col">지역명</th>
|
||||
<th scope="col">우편번호</th>
|
||||
<th scope="col">추가배송비</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="sc_id_<?php echo $i; ?>" name="sc_id[<?php echo $i; ?>]" value="<?php echo $row['sc_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="1" title="내역선택">
|
||||
</td>
|
||||
<td><?php echo $row['sc_name']; ?></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_price']); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list">
|
||||
<input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
|
||||
@ -84,42 +88,45 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<section id="sendcost_postal" class="cbox">
|
||||
<h2>추가배송비 등록</h2>
|
||||
<section id="sendcost_postal">
|
||||
<h2 class="h2_frm">추가배송비 등록</h2>
|
||||
|
||||
<form name="fsendcost2" method="post" id="fsendcost2" action="./sendcostupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="sc_name">지역명<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="sc_name" value="" id="sc_name" class="required frm_input" size="30" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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 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 btn_frmline">우편번호검색</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="sc_price">추가배송비<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="sc_price" id="sc_price" size="8" required class="required frm_input"> 원</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<table>
|
||||
<caption>추가배송비 등록</caption>
|
||||
<colgroup>
|
||||
<col class="grid_4">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="sc_name">지역명<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="sc_name" value="" id="sc_name" class="required frm_input" size="30" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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 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 btn_frmline">우편번호검색</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="sc_price">추가배송비<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="sc_price" id="sc_price" size="8" required class="required frm_input"> 원</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit">
|
||||
|
||||
Reference in New Issue
Block a user