주문서를 이렇게 했는데 좀더 깔끔하게 정리를 어떻게 할까요? 채택완료

3797d933d701ce16d13bb92c74fdd211_1497601449_1777.jpg
해당 소스 입니다.

Copy
<div class="panel panel-success"> <div class="panel-heading"><strong><i class="fa fa-star fa-lg"></i> 결제정보</strong></div> <div class="table-responsive">  <table class="div-table table bsk-tbl bg-white">  <col width="120">  <tbody>  <tr>   <th scope="col">주문번호</th>   <td><?php echo $od_id; ?></td>   <th scope="col">주문일시</th>   <td><?php echo $od['od_time']; ?></td>   <th scope="col">결제방식</th>   <td><?php echo ($easy_pay_name ? $easy_pay_name.'('.$od['od_settle_case'].')' : $od['od_settle_case']); ?></td>  </tr>  <tr class="active">   <th scope="col">결제금액</th>   <td><?php echo $od_receipt_price; ?></td>   <th scope="col">결제일시</th>   <td><?php echo $od['od_receipt_time']; ?></td>   <th scope="col"><?php echo $app_no_subj; ?></th>   <td><?php echo $app_no; ?></td>  </tr>  <?php if($od['od_receipt_price'] > 0) { ?>  <?php } ?>  <?php if($app_no_subj) { // 승인번호, 휴대폰번호, 거래번호 ?>  <?php } ?>  <?php if($disp_bank) { // 계좌정보 ?>   <tr>    <th scope="col">입금자명</th>    <td><?php echo get_text($od['od_deposit_name']); ?></td>    <th scope="col">입금계좌</th>    <td><?php echo get_text($od['od_bank_account']); ?></td>   </tr>  <?php } ?>  <?php if($disp_receipt_href) { ?>   <tr>    <th scope="row">영수증</th>    <td><a <?php echo $disp_receipt_href;?>>영수증 출력</a></td>   </tr>  <?php } ?>  <?php if ($od['od_receipt_point'] > 0) { ?>   <tr>    <th scope="col">포인트사용</th>    <td><?php echo display_point($od['od_receipt_point']); ?></td>    <th scope="col">환불 금액</th>    <td><?php echo display_price($od['od_refund_price']); ?></td>   </tr>  <?php } ?>  <?php if ($od['od_refund_price'] > 0) { ?>  <?php } ?>  <?php if($taxsave_href) { ?>   <tr>    <th scope="row">현금영수증</th>    <td>     <a <?php echo $taxsave_href;?> class="btn btn-black btn-xs">      <?php echo ($taxsave_confirm) ? '현금영수증 확인하기' : '현금영수증을 발급하시려면 클릭하십시오.';?>     </a>    </td>   </tr>  <?php } ?>  </tbody>  </table> </div></div><?php if($is_orderform) { ?> <div class="panel panel-default">  <div class="panel-heading"><strong><i class="fa fa-user fa-lg"></i> 주문하신 분</strong></div>  <div class="table-responsive">   <table class="div-table table bsk-tbl bg-white">   <col width="120">   <tbody>   <tr>    <th scope="col">이 름</th>    <td><?php echo get_text($od['od_name']); ?></td>    <th scope="col">전화번호</th>    <td><?php echo get_text($od['od_tel']); ?></td>    <th scope="col">핸드폰</th>    <td><?php echo get_text($od['od_hp']); ?></td>   </tr>   <tr>    <th scope="col">주 소</th>    <td><?php echo get_text(sprintf("(%s%s)", $od['od_zip1'], $od['od_zip2']).' '.print_address($od['od_addr1'], $od['od_addr2'], $od['od_addr3'], $od['od_addr_jibeon'])); ?></td>   </tr>   <tr>    <th scope="col">E-mail</th>    <td><?php echo get_text($od['od_email']); ?></td>   </tr>   </tbody>   </table>  </div> </div> <div class="panel panel-default">  <div class="panel-heading"><strong><i class="fa fa-gift fa-lg"></i> 받으시는 분</strong></div>  <div class="table-responsive">   <table class="div-table table bsk-tbl bg-white">   <col width="120">   <tbody>   <tr>    <th scope="col">이 름</th>    <td><?php echo get_text($od['od_b_name']); ?></td>    <th scope="col">전화번호</th>    <td><?php echo get_text($od['od_b_tel']); ?></td>    <th scope="col">핸드폰</th>    <td><?php echo get_text($od['od_b_hp']); ?></td>   </tr>   <tr>    <th scope="col">주 소</th>    <td><?php echo get_text(sprintf("(%s%s)", $od['od_b_zip1'], $od['od_b_zip2']).' '.print_address($od['od_b_addr1'], $od['od_b_addr2'], $od['od_b_addr3'], $od['od_b_addr_jibeon'])); ?></td>   </tr>   <?php if ($default['de_hope_date_use']) { // 희망배송일을 사용한다면 ?>    <tr>     <th scope="col">희망배송일</th>     <td><?php echo substr($od['od_hope_date'],0,10).' ('.get_yoil($od['od_hope_date']).')' ;?></td>    </tr>   <?php } ?>   <?php if ($od['od_memo']) { ?>    <tr>     <th scope="col">전하실 말씀</th>     <td><?php echo conv_content($od['od_memo'], 0); ?></td>    </tr>   <?php } ?>   </tbody>   </table>  </div> </div> <div class="panel panel-default">  <div class="panel-heading"><strong><i class="fa fa-truck fa-lg"></i> 배송정보</strong></div>  <div class="table-responsive">   <table class="div-table table bsk-tbl bg-white">   <col width="120">   <tbody>   <?php if ($od['od_invoice'] && $od['od_delivery_company']) {?>    <tr>     <th scope="row">배송회사</th>     <td><?php echo $od['od_delivery_company']; ?> <?php echo get_delivery_inquiry($od['od_delivery_company'], $od['od_invoice'], 'dvr_link'); ?></td>     <th scope="row">운송장번호</th>     <td><?php echo $od['od_invoice']; ?></td>     <th scope="row">배송일시</th>     <td><?php echo $od['od_invoice_time']; ?></td>   <?php } else { ?>    <tr>     <td>아직 배송하지 않았거나 배송정보를 입력하지 못하였습니다.</td>    </tr>   <?php } ?>   </tbody>   </table>  </div> </div><?php } ?><div class="panel panel-primary"> <div class="panel-heading"><strong><i class="fa fa-money fa-lg"></i> 결제합계</strong></div> <div class="table-responsive">  <table class="div-table table bsk-tbl bg-white">  <col width="120">  <tbody>  <tr>    <th scope="row">총구매액</th>   <td class="text-right"><strong><?php echo display_price($tot_price); ?></strong></td>  </tr>  <?php if ($misu_price > 0) { ?>   <tr class="active">    <th scope="row">미결제액</th>    <td class="text-right"><strong><?php echo display_price($misu_price);?></strong></td>    <th scope="row" id="alrdy">결제금액</th>    <td class="text-right"><strong><?php echo $wanbul; ?></strong></td>   </tr>  <?php } ?>   </tbody>  </table> </div></div>
 

제가 배열이 너무 서툴러서 이후에는 뭘 넣어야 할지 모르겠더라구요... 고수님들 이쁜게 정렬 좀 도와 주세요..

파일의 위치는 skin\apms\order\basic\orderinquiryview.skin.php 입니다.

그리고, 세로창의 크기는 어디서 줄여야 하나여? 이쁘게 꾸밀라해도 이건 이거대로 막히네여.. ㅎㅎ

답변 1개

채택된 답변
+20 포인트

지금 딱 이대로가 전 멋지다고 봅니다.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고