쇼핑몰: #205 주문상세 상품리스트 마크업 및 스타일 완료

This commit is contained in:
whitedot
2013-05-30 14:52:20 +09:00
parent e5ec1cb6b8
commit 74362a11d3
2 changed files with 19 additions and 9 deletions

View File

@ -287,7 +287,7 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col
.td_group {width:100px;text-align:center} .td_group {width:100px;text-align:center}
.td_board {width:120px;text-align:center} .td_board {width:120px;text-align:center}
.td_num {width:50px;text-align:center} .td_num {width:50px;text-align:center}
.td_bignum {width:80px;text-align:center} .td_bignum {width:100px;text-align:center}
.td_mb_id {width:100px;text-align:center} .td_mb_id {width:100px;text-align:center}
.td_nick {width:100px;text-align:center} .td_nick {width:100px;text-align:center}
.td_name {width:100px;text-align:left} .td_name {width:100px;text-align:left}
@ -691,6 +691,14 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col
#sod_fin_list dt {clear:both;float:left;margin:0 0 5px;width:50px;font-weight:bold} #sod_fin_list dt {clear:both;float:left;margin:0 0 5px;width:50px;font-weight:bold}
#sod_fin_list dd {float:left;margin:0} #sod_fin_list dd {float:left;margin:0}
#sod_ul {margin:10px 0;padding:0;border-top:1px solid #565e60;list-style:none}
#sod_ul li {border-bottom:1px solid #565e60}
#sod_ul table {margin:0}
#sod_ul th {text-align:center}
#sod_ul td {background:#fff;color:#000}
#sod_ul p {padding:5px 14px}
#sod_ul p a {font-weight:bold;text-decoration:none}
#sod_fin_view {border:1px solid #e9e9e9} #sod_fin_view {border:1px solid #e9e9e9}
#sod_fin_view h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #sod_fin_view h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#sod_fin_view h3 {margin:0 0 10px} #sod_fin_view h3 {margin:0 0 10px}

View File

@ -63,14 +63,16 @@ if(openwin != null) {
order by ct_id "; order by ct_id ";
$result = sql_query($sql); $result = sql_query($sql);
?> ?>
<ul> <ul id="sod_ul">
<?php <?php
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
$image = get_it_image($row['it_id'], 70, 70); $image = get_it_image($row['it_id'], 70, 70);
?> ?>
<li> <li>
<span><?php echo $image; ?></span> <p>
<span><a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><b><?php echo $row['it_name']; ?></b></a></span> <a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo $image; ?><?php echo $row['it_name']; ?></a>
</p>
<table class="basic_tbl"> <table class="basic_tbl">
<thead> <thead>
<tr> <tr>
@ -102,11 +104,11 @@ if(openwin != null) {
?> ?>
<tr> <tr>
<td><?php echo $opt['ct_option']; ?></td> <td><?php echo $opt['ct_option']; ?></td>
<td><?php echo number_format($opt['ct_qty']); ?></td> <td class="td_smallmng"><?php echo number_format($opt['ct_qty']); ?></td>
<td><?php echo number_format($opt_price); ?></td> <td class="td_bignum"><?php echo number_format($opt_price); ?></td>
<td><?php echo number_format($sell_amount); ?></td> <td class="td_num"><?php echo number_format($sell_amount); ?></td>
<td><?php echo number_format($point); ?></td> <td class="td_num"><?php echo number_format($point); ?></td>
<td><?php echo $opt['ct_status']; ?></td> <td class="td_smallmng"><?php echo $opt['ct_status']; ?></td>
</tr> </tr>
<?php <?php
if ($opt['ct_status'] == '취소' || $opt['ct_status'] == '반품' || $opt['ct_status'] == '품절') { if ($opt['ct_status'] == '취소' || $opt['ct_status'] == '반품' || $opt['ct_status'] == '품절') {