쇼핑몰: #139 상품주문 주문조회 표준화 및 스타일 완료
This commit is contained in:
@ -4,24 +4,20 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table width=98% align=center cellpadding=0 cellspacing=0 border=0>
|
||||
<colgroup width=100>
|
||||
<colgroup width=''>
|
||||
<colgroup width=80>
|
||||
<colgroup width=120>
|
||||
<colgroup width=120>
|
||||
<colgroup width=120>
|
||||
<?php if (!$limit) { echo "<tr><td colspan=6 align=right>총 {$cnt} 건</td></tr>"; } ?>
|
||||
<tr><td height=2 colspan=6 class=c1></td></tr>
|
||||
<tr align=center height=28 class=c2>
|
||||
<td>주문서번호</td>
|
||||
<td>주문일시</td>
|
||||
<td>상품수</td>
|
||||
<td>주문금액</td>
|
||||
<td>입금액</td>
|
||||
<td>미입금액</td>
|
||||
<?php if (!$limit) { ?>총 <?php echo $cnt; ?> 건<?php } ?>
|
||||
|
||||
<table class="basic_tbl">
|
||||
<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>
|
||||
<tr><td height=1 colspan=6 class=c1></td></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
@ -34,23 +30,25 @@ $sql = " select a.od_id,
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
if ($i > 0)
|
||||
echo "<tr><td colspan=6 height=1 background='".G4_SHOP_URL."/img/dot_line.gif'></td></tr>\n";
|
||||
?>
|
||||
|
||||
echo "<tr height=28>\n";
|
||||
echo "<td align=center>";
|
||||
echo "<input type=hidden name='ct_id[$i]' value='{$row['ct_id']}'>\n";
|
||||
echo "<a href='".G4_SHOP_URL."/orderinquiryview.php?od_id={$row['od_id']}&uq_id={$row['uq_id']}'><U>{$row['od_id']}</U></a></td>\n";
|
||||
echo "<td align=center>".substr($row['od_time'],0,16)." (".get_yoil($row['od_time']).")</td>\n";
|
||||
echo "<td align=center>{$row['itemcount']}</td>\n";
|
||||
echo "<td align=right>".display_amount($row['orderamount'])." </td>\n";
|
||||
echo "<td align=right>".display_amount($row['receiptamount'])." </td>\n";
|
||||
echo "<td align=right>".display_amount($row['misu'])." </td>\n";
|
||||
echo "</tr>\n";
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="ct_id[<?php echo $i; ?>]" value="<?php echo $row['ct_id']; ?>">
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/orderinquiryview.php?od_id=<?php echo $row['od_id']; ?>&uq_id=<?php echo $row['uq_id']; ?>"><?php echo $row['od_id']; ?></a>
|
||||
</td>
|
||||
<td><?php echo substr($row['od_time'],0,16); ?> (<?php echo get_yoil($row['od_time']); ?>)</td>
|
||||
<td class="td_bignum"><?php echo $row['itemcount']; ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($row['orderamount']); ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($row['receiptamount']); ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($row['misu']); ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=20 height=100 align=center><span class=point>주문 내역이 없습니다.</span></td></tr>";
|
||||
echo '<tr><td colspan="6" class="empty_table">주문 내역이 없습니다.</td></tr>';
|
||||
?>
|
||||
<tr><td colspan=20 height=1 bgcolor=#94D7E7></td></tr>
|
||||
</table><br>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user