공통: #334 마크업 체크 및 tbl_head02 추가 등 작업

This commit is contained in:
whitedot
2013-11-22 15:44:13 +09:00
parent cd53bb96b7
commit b3292e57d2
9 changed files with 73 additions and 52 deletions

View File

@ -256,6 +256,17 @@ button.btn_frmline2 {font-size:1em;cursor:pointer}
.tbl_head01 a {}
.tbl_head01 .empty_table {padding:50px 0;text-align:center}
.tbl_head02 {margin:0 0 10px}
.tbl_head02 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head02 thead th {padding:5px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;letter-spacing:-0.1em}
.tbl_head02 thead a {color:#383838}
.tbl_head02 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th, .tbl_head02 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head02 tbody th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.4em;word-break:break-all}
.tbl_head02 a {}
.tbl_head02 .empty_table {padding:50px 0;text-align:center}
/* 폼 테이블 */
.tbl_frm01 {margin:0 0 20px}
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
@ -298,21 +309,22 @@ fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7
.grid_18 {width:890px}
/* 테이블 항목별 정의 */
.td_chk {width:30px;text-align:center}
.td_group {width:100px;text-align:center}
.td_board {width:120px;text-align:center}
.td_statsmall {width:50px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_default {width:60px;text-align:center}
.td_group {width:100px;text-align:center}
.td_imgsmall {width:60px;text-align:center}
.td_num {width:50px;text-align:center}
.td_numbig {width:100px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_nick {width:100px;text-align:center}
.td_name {width:100px;text-align:left}
.td_namesmall {width:50px;text-align:left}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_mngsmall {width:50px;text-align:center}
.td_default {width:60px;text-align:center}
.td_statsmall {width:50px;text-align:center}
/* 새창 기본 스타일 */
.new_win {}
@ -325,9 +337,9 @@ fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7
.new_win_desc {margin:0 auto;width:93%}
.new_win .win_btn {clear:both;margin:20px;text-align:center} /* 새창용 */
.new_win .win_btn button {display:inline-block;padding:0 10px;height:30px;border:0;background:#666;color:#fff;vertical-align:top;line-height:2em;cursor:pointer}
.new_win .win_btn button {display:inline-block;padding:0 10px;height:30px;border:0;background:#666;color:#fff;line-height:2em;cursor:pointer}
.new_win .win_btn input {height:30px;line-height:2em}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:28px;border:1px solid #ccc;background:#fafafa;vertical-align:top;line-height:2.4em}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#666;color:#fff;vertical-align:middle;line-height:2.4em}
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}
/* 자바스크립트 alert 대안 */
@ -750,6 +762,9 @@ fieldset .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7
.sod_req_log_view .sod_req_it {width:270px}
.sod_req_log_view button {margin:0;padding:0;border:0;background:transparent;color:#ff3061;text-decoration:underline;vertical-align:middle;cursor:pointer}
#sod_fin_list h2 {margin:0 0 10px}
#sod_fin_list td {height:30px}
#sod_fin_view {border:1px solid #e9e9e9}
#sod_fin_view h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#sod_fin_view h3 {margin:0 0 10px}

View File

@ -587,16 +587,15 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
.tbl_head01 td {padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
.tbl_head01 .empty_table {padding:10px 0;text-align:center}
/* thead 두 줄 테이블 */
.tbl_head02 {}
.tbl_head02 table {clear:both;width:100%;border-collapse:collapse;border-spacing:0}
.tbl_head02 thead th {padding:5px 0;border:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;letter-spacing:-0.1em}
.tbl_head02 thead input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 thead a {color:#383838;text-decoration:underline}
.tbl_head01 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head01 tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head02 caption {padding:0 0 10px;color:#777;text-align:left}
.tbl_head02 thead th {padding:5px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;letter-spacing:-0.1em}
.tbl_head02 thead a {color:#383838}
.tbl_head02 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head02 tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head02 tbody th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head02 tbody td {padding:5px 3px;line-height:1.4em;word-break:break-all}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.4em;word-break:break-all}
.tbl_head02 .empty_table {padding:10px 0;text-align:center}
/* 폼 테이블 */
@ -661,8 +660,8 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
.new_win_desc {margin:0 auto;width:93%}
.new_win .win_btn {clear:both;margin:20px;text-align:center}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em}
.new_win .win_btn button {display:inline-block;padding:0 10px;height:2.65em;border:0;background:#666;color:#fff;text-decoration:none;vertical-align:middle;line-height:2.65em}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:2.5em;background:#666;color:#fff;vertical-align:middle;text-decoration:none;line-height:2.5em}
.new_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em}
.new_win .win_btn input {height:2.65em;line-height:2.65em}
/* 자바스크립트 alert 대안 */

View File

@ -20,16 +20,16 @@ $result = sql_query($sql);
<div id="coupon" class="new_win">
<h1 id="new_win_title"><?php echo $g5['title'] ?></h1>
<div class="tbl_wrap tbl_head01">
<div class="tbl_wrap tbl_head02">
<table>
<thead>
<tr>
<th scope="col">쿠폰명</th>
<th scope="col">사용기한</th>
<th scope="col" id="th_cname">쿠폰명</th>
<th scope="col" id="th_cperiod">사용기한</th>
</tr>
<tr>
<th scope="col">적용대상</th>
<th scope="col">할인금액</th>
<th scope="col" id="th_ctarget">적용대상</th>
<th scope="col" id="th_cdc">할인금액</th>
</tr>
</thead>
<tbody>
@ -61,12 +61,12 @@ $result = sql_query($sql);
$cp_count++;
?>
<tr>
<td><?php echo $row['cp_subject']; ?></td>
<td class="td_datetime"><?php echo substr($row['cp_start'], 2, 8); ?> ~ <?php echo substr($row['cp_end'], 2, 8); ?></td>
<td headers="th_cname"><?php echo $row['cp_subject']; ?></td>
<td headers="th_cperiod" class="td_datetime"><?php echo substr($row['cp_start'], 2, 8); ?> ~ <?php echo substr($row['cp_end'], 2, 8); ?></td>
</tr>
<tr>
<td><?php echo $cp_target; ?></td>
<td class="td_numbig"><?php echo $cp_price; ?></td>
<td headers="th_ctarget"><?php echo $cp_target; ?></td>
<td headers="th_cdc" class="td_numbig"><?php echo $cp_price; ?></td>
</tr>
<?php
}

View File

@ -29,7 +29,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
$list->set_view('sns', true);
echo $list->run();
?>
<div><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">더 보기</a></div>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">더 보기</a></div>
</section>
<section class="sct_wrap">
@ -49,7 +49,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
$list->set_view('sns', true);
echo $list->run();
?>
<div><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">더 보기</a></div>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">더 보기</a></div>
</section>
<section class="sct_wrap">
@ -69,7 +69,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
$list->set_view('sns', true);
echo $list->run();
?>
<div><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">더 보기</a></div>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">더 보기</a></div>
</section>
<section class="sct_wrap">
@ -89,7 +89,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
$list->set_view('sns', true);
echo $list->run();
?>
<div><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=4">더 보기</a></div>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=4">더 보기</a></div>
</section>
<section class="sct_wrap">
@ -109,7 +109,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
$list->set_view('sns', true);
echo $list->run();
?>
<div><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">더 보기</a></div>
<div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">더 보기</a></div>
</section>
<?php

View File

@ -59,7 +59,7 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
<section id="smb_my_wish">
<h2><a href="<?php echo G5_SHOP_URL; ?>/wishlist.php">최근 위시리스트</a></h2>
<div class="tbl_wrap tbl_head01">
<div class="tbl_wrap tbl_head02">
<table>
<thead>
<tr>

View File

@ -6,7 +6,7 @@ if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가
<?php if (!$limit) { ?>총 <?php echo $cnt; ?> 건<?php } ?>
<div class="tbl_head01 tbl_wrap">
<div class="tbl_head02 tbl_wrap">
<table>
<thead>
<tr>

View File

@ -4,7 +4,7 @@ include_once('./_common.php');
if (!$is_member)
goto_url(G5_BBS_URL."/login.php?url=".urlencode(G5_SHOP_URL.'/mypage.php'));
$g5['title'] = "보관함";
$g5['title'] = "위시리스트";
include_once(G5_MSHOP_PATH.'/_head.php');
?>
@ -77,7 +77,7 @@ include_once(G5_MSHOP_PATH.'/_head.php');
}
if ($i == 0)
echo '<tr><td colspan="5" class="empty_table">보관함이 비었습니다.</td></tr>';
echo '<tr><td colspan="5" class="empty_table">위시리스트가 비었습니다.</td></tr>';
?>
</tr>
</table>

View File

@ -14,6 +14,9 @@
.sct_li {position:relative}
.sct_noitem {padding:100px 0;text-align:center}
.sct_more {margin:30px 0 0}
.sct_more a {display:block;padding:10px 0;background:#383838;color:#fff;font-weight:bold;text-align:center}
/* 상품 목록 스킨 10 */
.sct_10 .sct_li {float:left;padding:0 25px 15px 0;}
.sct_10 .sct_last {margin:0 0 15px !important}

View File

@ -54,16 +54,20 @@ if(openwin != null) {
order by ct_id ";
$result = sql_query($sql);
?>
<div class="tbl_head01 tbl_wrap">
<div class="tbl_head02 tbl_wrap">
<table>
<thead>
<tr>
<th scope="col" colspan="2">상품/옵션</th>
<th scope="col">수량</th>
<th scope="col">판매가</th>
<th scope="col">소계</th>
<th scope="col">포인트</th>
<th scope="col">상태</th>
<th scope="col" rowspan="2">이미지</th>
<th scope="col" colspan="6" id="th_itname">상품명</th>
</tr>
<tr>
<th scope="col" id="th_itopt">옵션명</th>
<th scope="col" id="th_itqty">수량</th>
<th scope="col" id="th_itprice">판매가</th>
<th scope="col" id="th_itsum">소계</th>
<th scope="col" id="th_itpt">포인트</th>
<th scope="col" id="th_itst">상태</th>
</tr>
</thead>
<tbody>
@ -91,17 +95,17 @@ if(openwin != null) {
if($k == 0) {
?>
<tr>
<td rowspan="<?php echo $rowspan; ?>"><?php echo $image; ?></td>
<td colspan="6"><a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo $row['it_name']; ?></a></td>
<td rowspan="<?php echo $rowspan; ?>" class="td_imgsmall"><?php echo $image; ?></td>
<td headers="th_itname" colspan="6"><a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo $row['it_name']; ?></a></td>
</tr>
<?php } ?>
<tr>
<td><?php echo $opt['ct_option']; ?></td>
<td class="td_mngsmall"><?php echo number_format($opt['ct_qty']); ?></td>
<td class="td_numbig"><?php echo number_format($opt_price); ?></td>
<td class="td_num"><?php echo number_format($sell_price); ?></td>
<td class="td_num"><?php echo number_format($point); ?></td>
<td class="td_mngsmall"><?php echo $opt['ct_status']; ?></td>
<td headers="th_itopt"><?php echo $opt['ct_option']; ?></td>
<td headers="th_itqty" class="td_mngsmall"><?php echo number_format($opt['ct_qty']); ?></td>
<td headers="th_itprice" class="td_numbig"><?php echo number_format($opt_price); ?></td>
<td headers="th_itsum" class="td_numbig"><?php echo number_format($sell_price); ?></td>
<td headers="th_itpt" class="td_num"><?php echo number_format($point); ?></td>
<td headers="th_itst" class="td_mngsmall"><?php echo $opt['ct_status']; ?></td>
</tr>
<?php
$tot_point += $point;