쇼핑몰: #224 선택주문 기능 마크업 보완
This commit is contained in:
@ -52,7 +52,10 @@ include_once('./_head.php');
|
|||||||
<th scope="col">판매가</th>
|
<th scope="col">판매가</th>
|
||||||
<th scope="col">소계</th>
|
<th scope="col">소계</th>
|
||||||
<th scope="col">포인트</th>
|
<th scope="col">포인트</th>
|
||||||
<th scope="col"><input type="checkbox" name="ct_all" value="1" checked="checked"></th>
|
<th scope="col">
|
||||||
|
<label for="ct_all" class="sound_only">상품 전체</label>
|
||||||
|
<input type="checkbox" name="ct_all" value="1" id="ct_all" checked="checked">
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -128,7 +131,10 @@ include_once('./_head.php');
|
|||||||
<td class="td_bignum"><?php echo number_format($row['ct_price']); ?></td>
|
<td class="td_bignum"><?php echo number_format($row['ct_price']); ?></td>
|
||||||
<td class="td_bignum"><span id="sell_amount_<?php echo $i; ?>"><?php echo number_format($sell_amount); ?></span></td>
|
<td class="td_bignum"><span id="sell_amount_<?php echo $i; ?>"><?php echo number_format($sell_amount); ?></span></td>
|
||||||
<td class="td_bignum"><?php echo number_format($point); ?></td>
|
<td class="td_bignum"><?php echo number_format($point); ?></td>
|
||||||
<td class="td_smallmng"><input type="checkbox" name="ct_chk[<?php echo $i; ?>]" value="1" checked="checked"></td>
|
<td class="td_chk">
|
||||||
|
<label for="ct_chk_<?php echo $i; ?>" class="sound_only">상품</label>
|
||||||
|
<input type="checkbox" name="ct_chk[<?php echo $i; ?>]" value="1" id="ct_chk_<?php echo $i; ?>" checked="checked">
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@ -31,7 +31,7 @@ else
|
|||||||
<th scope="col">포인트</th>
|
<th scope="col">포인트</th>
|
||||||
<?php
|
<?php
|
||||||
if ($s_page == 'cart.php')
|
if ($s_page == 'cart.php')
|
||||||
echo '<th scope="col"><input type="checkbox" name="ct_all" value="1"></th>';
|
echo '<th scope="col"><label for="ct_all" class="sound_only">상품 전체</label><input type="checkbox" name="ct_all" value="1" id="ct_all"></th>';
|
||||||
else if ($s_page == 'orderinquiryview.php')
|
else if ($s_page == 'orderinquiryview.php')
|
||||||
echo '<th scope="col">상태</th>';
|
echo '<th scope="col">상태</th>';
|
||||||
?>
|
?>
|
||||||
@ -167,7 +167,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($s_page == 'cart.php')
|
if ($s_page == 'cart.php')
|
||||||
echo '<td class="td_smallmng"><input type="checkbox" name="ct_chk['.$i.']" value="1"></td>';
|
echo '<td class="td_chk"><label for="ct_chk_'.$i.'" class="sound_only">상품</label><input type="checkbox" name="ct_chk['.$i.']" value="1" id="ct_chk_'.$i.'"></td>';
|
||||||
else if ($s_page == 'orderinquiryview.php')
|
else if ($s_page == 'orderinquiryview.php')
|
||||||
echo '<td class="td_smallmng">'.$row['ct_status'].'</td>';
|
echo '<td class="td_smallmng">'.$row['ct_status'].'</td>';
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -923,7 +923,7 @@ $(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(".cp_apply").live("click", function() {
|
$(".cp_apply").live("click", function() {
|
||||||
var $el = $(this).closest("li");
|
var $el = $(this).closest("tr");
|
||||||
var cp_id = $el.find("input[name='f_cp_id[]']").val();
|
var cp_id = $el.find("input[name='f_cp_id[]']").val();
|
||||||
var amount = $el.find("input[name='f_cp_amt[]']").val();
|
var amount = $el.find("input[name='f_cp_amt[]']").val();
|
||||||
var subj = $el.find("input[name='f_cp_subj[]']").val();
|
var subj = $el.find("input[name='f_cp_subj[]']").val();
|
||||||
|
|||||||
@ -50,7 +50,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($i == 0)
|
if ($i == 0)
|
||||||
echo '<tr><td colspan="6" class="empty_table">주문 내역이 없습니다.</td></tr>';
|
echo '<tr><td colspan="7" class="empty_table">주문 내역이 없습니다.</td></tr>';
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user