쇼핑몰관리자: 분류관리 분류명 입력 스타일 수정 및 table -> ul 변경 작업 중

This commit is contained in:
whitedot
2013-12-02 15:14:19 +09:00
parent 4c14444ff1
commit 3e19226de2
13 changed files with 240 additions and 216 deletions

View File

@ -17,22 +17,11 @@ $result = sql_query($sql);
?>
<!-- 쿠폰 내역 시작 { -->
<div id="coupon" class="new_win">
<div id="scp_list" class="new_win">
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
<div class="tbl_wrap tbl_head02">
<table>
<thead>
<tr>
<th scope="col" id="th_cname">쿠폰명</th>
<th scope="col" id="th_cperiod">사용기한</th>
</tr>
<tr>
<th scope="col" id="th_ctarget">적용대상</th>
<th scope="col" id="th_cdc">할인금액</th>
</tr>
</thead>
<tbody>
<div class="win_desc">
<ul>
<?php
$cp_count = 0;
for($i=0; $row=sql_fetch_array($result); $i++) {
@ -60,22 +49,23 @@ $result = sql_query($sql);
$cp_count++;
?>
<tr>
<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 headers="th_ctarget"><?php echo $cp_target; ?></td>
<td headers="th_cdc" class="td_numbig"><?php echo $cp_price; ?></td>
</tr>
<li>
<div class="li_title"><?php echo $row['cp_subject']; ?></div>
<div class="li_pd">
<span class="pd_price"><?php echo $cp_price; ?></span>
<span class="pd_date"><?php echo substr($row['cp_start'], 2, 8); ?> ~ <?php echo substr($row['cp_end'], 2, 8); ?></span>
</div>
<div class="li_target">
<?php echo $cp_target; ?>
</div>
</li>
<?php
}
if(!$cp_count)
echo '<tr><td colspan="4" class="empty_table">사용할 수 있는 쿠폰이 없습니다.</td></tr>';
echo '<li class="empty_list">사용할 수 있는 쿠폰이 없습니다.</li>';
?>
</tbody>
</table>
</ul>
</div>
<div class="win_btn"><a href="javascript:;" onclick="window.close();">창닫기</a></div>

View File

@ -69,7 +69,7 @@ $sql = " select it_id, it_name from {$g5['g5_shop_item_table']}
$row = sql_fetch($sql);
if ($row['it_id']) {
$prev_title = '이전상품 <span>'.$row['it_name'].'</span>';
$prev_href = '<a href="'.G5_SHOP_URL.'/item.php?it_id='.$row['it_id'].'">';
$prev_href = '<a href="'.G5_SHOP_URL.'/item.php?it_id='.$row['it_id'].'" id="siblings_prev">';
$prev_href2 = '</a>';
} else {
$prev_title = '';
@ -87,7 +87,7 @@ $sql = " select it_id, it_name from {$g5['g5_shop_item_table']}
$row = sql_fetch($sql);
if ($row['it_id']) {
$next_title = '다음 상품 <span>'.$row['it_name'].'</span>';
$next_href = '<a href="'.G5_SHOP_URL.'/item.php?it_id='.$row['it_id'].'">';
$next_href = '<a href="'.G5_SHOP_URL.'/item.php?it_id='.$row['it_id'].'" id="siblings_next">';
$next_href2 = '</a>';
} else {
$next_title = '';

View File

@ -465,13 +465,13 @@ ob_end_clean();
for($i=0; $row=sql_fetch_array($result); $i++) {
$val1 = $row['ad_name'].$sep.$row['ad_tel'].$sep.$row['ad_hp'].$sep.$row['ad_zip1'].$sep.$row['ad_zip2'].$sep.$row['ad_addr1'].$sep.$row['ad_addr2'].$sep.$row['ad_subject'];
$val2 = '<label for="ad_sel_addr_'.($i+1).'">최근배송지('.($row['ad_subject'] ? $row['ad_subject'] : $row['ad_name']).')</label>';
$addr_list .= '<input type="radio" name="ad_sel_addr" value="'.$val1.'" id="ad_sel_addr_'.($i+1).'"> '.PHP_EOL.$val2.PHP_EOL;
$addr_list .= '<br><input type="radio" name="ad_sel_addr" value="'.$val1.'" id="ad_sel_addr_'.($i+1).'"> '.PHP_EOL.$val2.PHP_EOL;
}
$addr_list .= '<input type="radio" name="ad_sel_addr" value="new" id="od_sel_addr_new">'.PHP_EOL;
$addr_list .= '<br><input type="radio" name="ad_sel_addr" value="new" id="od_sel_addr_new">'.PHP_EOL;
$addr_list .= '<label for="od_sel_addr_new">신규배송지</label>'.PHP_EOL;
$addr_list .='<a href="'.G5_SHOP_URL.'/orderaddress.php" id="order_address" class="btn_frmline">배송지목록</a>';
$addr_list .='<a href="'.G5_SHOP_URL.'/orderaddress.php" id="order_address">배송지목록</a>';
} else {
// 주문자와 동일
$addr_list .= '<input type="checkbox" name="ad_sel_addr" value="same" id="ad_sel_addr_same">'.PHP_EOL;
@ -480,7 +480,7 @@ ob_end_clean();
?>
<tr>
<th scope="row">배송지선택</th>
<td>
<td id="sod_frm_deli">
<?php echo $addr_list; ?>
</td>
</tr>

View File

@ -109,9 +109,12 @@
#sit_btn_rec {background:#888;color:#fff}
/* 상품 상세보기 - 다른 상품 보기 */
#sit_siblings {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9;text-align:center}
#sit_siblings {margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid #e9e9e9;text-align:center}
#sit_siblings:after {display:block;visibility:hidden;clear:both;content:""}
#sit_siblings h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#sit_siblings a {display:inline-block;margin:0 10px}
#sit_siblings a {display:inline-block;padding:8px 12px;background:#383838;color:#fff}
#sit_siblings a#siblings_prev {float:left}
#sit_siblings a#siblings_next {float:right}
#sit_siblings a span {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
/* 상품 상세보기 하단 버튼 */