쇼핑몰: #224 선택주문 기능 마크업 보완

This commit is contained in:
whitedot
2013-06-12 16:41:49 +09:00
parent 1455af54b8
commit 3480057487
4 changed files with 12 additions and 6 deletions

View File

@ -52,7 +52,10 @@ include_once('./_head.php');
<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>
</thead>
<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"><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_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>
<?php

View File

@ -31,7 +31,7 @@ else
<th scope="col">포인트</th>
<?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')
echo '<th scope="col">상태</th>';
?>
@ -167,7 +167,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<?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')
echo '<td class="td_smallmng">'.$row['ct_status'].'</td>';
?>

View File

@ -923,7 +923,7 @@ $(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 amount = $el.find("input[name='f_cp_amt[]']").val();
var subj = $el.find("input[name='f_cp_subj[]']").val();

View File

@ -50,7 +50,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
}
if ($i == 0)
echo '<tr><td colspan="6" class="empty_table">주문 내역이 없습니다.</td></tr>';
echo '<tr><td colspan="7" class="empty_table">주문 내역이 없습니다.</td></tr>';
?>
</tbody>
</table>