쇼핑몰관리자: 쇼핑몰현황 작업 중 목록 홀짝 배경색 클래스명 수정
This commit is contained in:
@ -74,10 +74,10 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
$bn_begin_time = substr($row['bn_begin_time'], 2, 14);
|
||||
$bn_end_time = substr($row['bn_end_time'], 2, 14);
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td headers="th_id" rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td>
|
||||
<td headers="th_loc"><?php echo $row['bn_position']; ?></td>
|
||||
<td headers="th_st" class="td_datetime"><?php echo $bn_begin_time; ?></td>
|
||||
@ -89,7 +89,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
<a href="./bannerformupdate.php?w=d&bn_id=<?php echo $row['bn_id']; ?>" onclick="return delete_confirm();">삭제</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td headers="th_img" colspan="6" class="td_img_view"><?php echo $bn_img; ?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -144,9 +144,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
or ca_id3 = '{$row['ca_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_idsmall" rowspan="2">
|
||||
<input type="hidden" name="ca_id[<?php echo $i; ?>]" value="<?php echo $row['ca_id']; ?>">
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=<?php echo $row['ca_id']; ?>"><?php echo $row['ca_id']; ?></a>
|
||||
@ -178,7 +178,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<?php echo $s_del; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_possible">
|
||||
<input type="checkbox" name="ca_use[<?php echo $i; ?>]" value="1" id="ca_use<?php echo $i; ?>" <?php echo ($row['ca_use'] ? "checked" : ""); ?>>
|
||||
<label for="ca_use<?php echo $i; ?>">판매</label>
|
||||
|
||||
@ -44,9 +44,9 @@ $result = sql_query($sql);
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_id"><?php echo $row['co_id']; ?></td>
|
||||
<td><?php echo htmlspecialchars2($row['co_subject']); ?></td>
|
||||
<td class="td_mng">
|
||||
|
||||
@ -127,10 +127,10 @@ $colspan = 8;
|
||||
$tmp = sql_fetch($sql);
|
||||
$used_count = $tmp['cnt'];
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="cp_id_<?php echo $i; ?>" name="cp_id[<?php echo $i; ?>]" value="<?php echo $row['cp_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="<?php echo $i; ?>" title="내역선택">
|
||||
|
||||
@ -60,10 +60,10 @@ $result = sql_query($sql);
|
||||
|
||||
$num = $i + 1;
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td><?php echo stripslashes($row['fa_subject']); ?></td>
|
||||
<td class="td_num"><?php echo $row['fa_order']; ?></td>
|
||||
|
||||
@ -56,9 +56,9 @@ $result = sql_query($sql);
|
||||
$sql1 = " select COUNT(*) as cnt from {$g5['g5_shop_faq_table']} where fm_id = '{$row['fm_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
$cnt = $row1['cnt'];
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_num"><?php echo $row['fm_id']; ?></td>
|
||||
<td><a href="./faqlist.php?fm_id=<?php echo $row['fm_id']; ?>&fm_subject=<?php echo $row['fm_subject']; ?>"><?php echo stripslashes($row['fm_subject']); ?></a></td>
|
||||
<td class="td_num"><?php echo $cnt; ?></td>
|
||||
|
||||
@ -7,7 +7,7 @@ $max_limit = 7; // 몇행 출력할 것인지?
|
||||
$g5['title'] = ' 쇼핑몰관리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$pg_anchor = '<ul class="anchor">
|
||||
$pg_anchor = '<ul class="anchor sidx_anchor">
|
||||
<li><a href="#anc_sidx_ord">주문현황</a></li>
|
||||
<li><a href="#anc_sidx_rdy">입금완료미배송내역</a></li>
|
||||
<li><a href="#anc_sidx_wait">미입금주문내역</a></li>
|
||||
@ -113,188 +113,344 @@ function get_max_value($arr)
|
||||
}
|
||||
?>
|
||||
|
||||
<section id="anc_sidx_stock">
|
||||
<?php
|
||||
// 재고부족 상품
|
||||
$item_noti = 0;
|
||||
$sql = " select count(*) as cnt
|
||||
from {$g5['g5_shop_item_table']}
|
||||
where it_use = '1'
|
||||
and it_option_subject = ''
|
||||
and it_stock_qty <= it_noti_qty ";
|
||||
$row = sql_fetch($sql);
|
||||
$item_noti = (int)$row['cnt'];
|
||||
<div class="sidx">
|
||||
<section id="anc_sidx_ord">
|
||||
<h2>주문현황</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
// 재고부족 옵션
|
||||
$option_noti = 0;
|
||||
$sql = " select count(*) as cnt
|
||||
from {$g5['g5_shop_item_option_table']}
|
||||
where io_use = '1'
|
||||
and io_stock_qty <= io_noti_qty ";
|
||||
$row = sql_fetch($sql);
|
||||
$option_noti = (int)$row['cnt'];
|
||||
<?php
|
||||
$arr_order = array();
|
||||
$x_val = array();
|
||||
for($i=6; $i>=0; $i--) {
|
||||
$date = date('Y-m-d', strtotime('-'.$i.' days', G5_SERVER_TIME));
|
||||
|
||||
// SMS 정보
|
||||
if ($config['cf_icode_id'] && $config['cf_icode_pw']) {
|
||||
$res = get_sock('http://www.icodekorea.com/res/userinfo.php?userid='.$config['cf_icode_id'].'&userpw='.$config['cf_icode_pw']);
|
||||
$res = explode(';', $res);
|
||||
$userinfo = array(
|
||||
'code' => $res[0], // 결과코드
|
||||
'coin' => $res[1], // 고객 잔액 (충전제만 해당)
|
||||
'gpay' => $res[2], // 고객의 건수 별 차감액 표시 (충전제만 해당)
|
||||
'payment' => $res[3] // 요금제 표시, A:충전제, C:정액제
|
||||
);
|
||||
}
|
||||
?>
|
||||
<div id="sidx_stock">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>재고부족 상품</th>
|
||||
<th>재고부족 옵션</th>
|
||||
<th>SMS 잔여금액</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="./itemstocklist.php"><?php echo number_format($item_noti); ?></a></td>
|
||||
<td><a href="./optionstocklist.php"><?php echo number_format($option_noti); ?></a></td>
|
||||
<td><?php echo display_price($userinfo['coin']); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
$x_val[] = $date;
|
||||
$arr_order[] = get_order_date_sum($date);
|
||||
}
|
||||
|
||||
<section id="anc_sidx_act">
|
||||
<h2>처리해야할 주문</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
$max_y = get_max_value($arr_order);
|
||||
$max_y = ceil(($max_y) / 1000) * 1000;
|
||||
$y_val = array();
|
||||
$y_val[] = $max_y;
|
||||
|
||||
for($i=4; $i>=1; $i--) {
|
||||
$y_val[] = $max_y * (($i * 2) / 10);
|
||||
}
|
||||
|
||||
$max_height = 240;
|
||||
$h_val = array();
|
||||
$js_val = array();
|
||||
$offset = 10; // 금액이 상대적으로 작아 높이가 0일 때 기본 높이로 사용
|
||||
foreach($arr_order as $val) {
|
||||
if($val['order'] > 0)
|
||||
$h1 = intval(($max_height * $val['order']) / $max_y) + $offset;
|
||||
else
|
||||
$h1 = 0;
|
||||
|
||||
if($val['cancel'] > 0)
|
||||
$h2 = intval(($max_height * $val['cancel']) / $max_y) + $offset;
|
||||
else
|
||||
$h2 = 0 ;
|
||||
|
||||
$h_val['order'][] = $h1;
|
||||
$h_val['cancel'][] = $h2;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="sidx_graph">
|
||||
<ul id="sidx_graph_price">
|
||||
<?php
|
||||
foreach($y_val as $val) {
|
||||
?>
|
||||
<li><?php echo number_format($val); ?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<ul id="sidx_graph_area">
|
||||
<?php
|
||||
for($i=0; $i<count($x_val); $i++) {
|
||||
$order_title = date("n월 j일", strtotime($x_val[$i])).' 주문: '.display_price($arr_order[$i]['order']);
|
||||
$cancel_title = date("n월 j일", strtotime($x_val[$i])).' 취소: '.display_price($arr_order[$i]['cancel']);
|
||||
$k = 10 - $i;
|
||||
$li_bg = 'bg'.($i%2);
|
||||
?>
|
||||
<li class="<?php echo $li_bg; ?>" style="z-index:<?php echo $k; ?>">
|
||||
<div class="graph order" title="<?php echo $order_title; ?>"></div>
|
||||
<div class="graph cancel" title="<?php echo $cancel_title; ?>"></div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<ul id="sidx_graph_date">
|
||||
<?php
|
||||
foreach($x_val as $val) {
|
||||
?>
|
||||
<li><span></span><?php echo substr($val, 5, 5); ?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div id="sidx_stat">
|
||||
<section id="anc_sidx_act">
|
||||
<h2>처리할 주문</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div id="sidx_take_act" class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="td_mng">상태변경</th>
|
||||
<th scope="col">건수</th>
|
||||
<th scope="col">금액</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('주문');
|
||||
?>
|
||||
<th scope="row">주문 -> 입금</th>
|
||||
<td class="td_numbig"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td class="td_price"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('입금');
|
||||
?>
|
||||
<th scope="row">입금 -> 준비</th>
|
||||
<td class="td_numbig"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td class="td_price"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('준비');
|
||||
?>
|
||||
<th scope="row">준비 -> 배송</th>
|
||||
<td class="td_numbig"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td class="td_price"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('배송');
|
||||
?>
|
||||
<th scope="row">배송 -> 완료</th>
|
||||
<td class="td_numbig"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td class="td_price"><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_stock">
|
||||
<h2>재고현황</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div id="sidx_take_act">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>상태변경</th>
|
||||
<th>건수</th>
|
||||
<th>금액</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('주문');
|
||||
?>
|
||||
<th>주문 -> 입금</th>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('입금');
|
||||
?>
|
||||
<th>입금 -> 준비</th>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('준비');
|
||||
?>
|
||||
<th>준비 -> 배송</th>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
$info = get_order_status_sum('배송');
|
||||
?>
|
||||
<th>배송 -> 완료</th>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['count']); ?></a></td>
|
||||
<td><a href="<?php echo $info['href']; ?>"><?php echo number_format($info['price']); ?></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
// 재고부족 상품
|
||||
$item_noti = 0;
|
||||
$sql = " select count(*) as cnt
|
||||
from {$g5['g5_shop_item_table']}
|
||||
where it_use = '1'
|
||||
and it_option_subject = ''
|
||||
and it_stock_qty <= it_noti_qty ";
|
||||
$row = sql_fetch($sql);
|
||||
$item_noti = (int)$row['cnt'];
|
||||
|
||||
<section id="anc_sidx_ord">
|
||||
<h2>주문현황</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
// 재고부족 옵션
|
||||
$option_noti = 0;
|
||||
$sql = " select count(*) as cnt
|
||||
from {$g5['g5_shop_item_option_table']}
|
||||
where io_use = '1'
|
||||
and io_stock_qty <= io_noti_qty ";
|
||||
$row = sql_fetch($sql);
|
||||
$option_noti = (int)$row['cnt'];
|
||||
|
||||
<?php
|
||||
$arr_order = array();
|
||||
$x_val = array();
|
||||
for($i=6; $i>=0; $i--) {
|
||||
$date = date('Y-m-d', strtotime('-'.$i.' days', G5_SERVER_TIME));
|
||||
|
||||
$x_val[] = $date;
|
||||
$arr_order[] = get_order_date_sum($date);
|
||||
}
|
||||
|
||||
$max_y = get_max_value($arr_order);
|
||||
$max_y = ceil(($max_y) / 1000) * 1000;
|
||||
$y_val = array();
|
||||
$y_val[] = $max_y;
|
||||
|
||||
for($i=4; $i>=1; $i--) {
|
||||
$y_val[] = $max_y * (($i * 2) / 10);
|
||||
}
|
||||
|
||||
$max_height = 240;
|
||||
$h_val = array();
|
||||
$js_val = array();
|
||||
$offset = 10; // 금액이 상대적으로 작아 높이가 0일 때 기본 높이로 사용
|
||||
foreach($arr_order as $val) {
|
||||
if($val['order'] > 0)
|
||||
$h1 = intval(($max_height * $val['order']) / $max_y) + $offset;
|
||||
else
|
||||
$h1 = 0;
|
||||
|
||||
if($val['cancel'] > 0)
|
||||
$h2 = intval(($max_height * $val['cancel']) / $max_y) + $offset;
|
||||
else
|
||||
$h2 = 0 ;
|
||||
|
||||
$h_val['order'][] = $h1;
|
||||
$h_val['cancel'][] = $h2;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="sidx_graph">
|
||||
<ul id="sidx_graph_price">
|
||||
<?php
|
||||
foreach($y_val as $val) {
|
||||
?>
|
||||
<li><?php echo number_format($val); ?></li>
|
||||
<?php
|
||||
// SMS 정보
|
||||
if ($config['cf_icode_id'] && $config['cf_icode_pw']) {
|
||||
$res = get_sock('http://www.icodekorea.com/res/userinfo.php?userid='.$config['cf_icode_id'].'&userpw='.$config['cf_icode_pw']);
|
||||
$res = explode(';', $res);
|
||||
$userinfo = array(
|
||||
'code' => $res[0], // 결과코드
|
||||
'coin' => $res[1], // 고객 잔액 (충전제만 해당)
|
||||
'gpay' => $res[2], // 고객의 건수 별 차감액 표시 (충전제만 해당)
|
||||
'payment' => $res[3] // 요금제 표시, A:충전제, C:정액제
|
||||
);
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<ul id="sidx_graph_area">
|
||||
<?php
|
||||
for($i=0; $i<count($x_val); $i++) {
|
||||
$order_title = date("n월 j일", strtotime($x_val[$i])).' 주문: '.display_price($arr_order[$i]['order']);
|
||||
$cancel_title = date("n월 j일", strtotime($x_val[$i])).' 취소: '.display_price($arr_order[$i]['cancel']);
|
||||
?>
|
||||
<li>
|
||||
<div class="graph order" title="<?php echo $order_title; ?>"></div>
|
||||
<div class="graph cancel" title="<?php echo $cancel_title; ?>"></div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<ul id="sidx_graph_date">
|
||||
<?php
|
||||
foreach($x_val as $val) {
|
||||
?>
|
||||
<li><?php echo substr($val, 5, 5); ?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<div id="sidx_stock" class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">재고부족 상품</th>
|
||||
<th scope="col">재고부족 옵션</th>
|
||||
<th scope="col">SMS 잔여금액</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="td_numbig"><a href="./itemstocklist.php"><?php echo number_format($item_noti); ?></a></td>
|
||||
<td class="td_numbig"><a href="./optionstocklist.php"><?php echo number_format($option_noti); ?></a></td>
|
||||
<td class="td_price"><?php echo display_price($userinfo['coin']); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="sidx sidx_cs">
|
||||
<section id="anc_sidx_oneq">
|
||||
<h2>1:1문의</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>1:1문의 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">분류</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">작성자</th>
|
||||
<th scope="col">보기</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5['qa_content_table']}
|
||||
where qa_status = '0'
|
||||
and qa_type = '0'
|
||||
order by qa_num
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row['mb_id'], get_text($row['qa_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_categorysmall"><?php echo get_text($row['qa_category']); ?></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['qa_subject'],40); ?></td>
|
||||
<td class="td_mngsmall"><a href="<?php echo G5_BBS_URL; ?>/qaview.php?qa_id=<?php echo $row['qa_id']; ?>" target="_blank">보기</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="<?php echo G5_BBS_URL; ?>/qalist.php" target="_blank">1:1문의 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_qna">
|
||||
<h2>상품문의</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>상품문의 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">회원명</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5['g5_shop_item_qa_table']}
|
||||
where iq_answer = ''
|
||||
order by iq_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row['mb_id'], get_text($row['iq_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['iq_subject'],40); ?></td>
|
||||
<td class="td_mng"><a href="./itemqaform.php?w=u&iq_id=<?php echo $row['iq_id']; ?>">수정</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="./itemqalist.php?sort1=iq_answer&sort2=asc">상품문의 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_ps">
|
||||
<h2>사용후기</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>사용후기 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">회원명</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5['g5_shop_item_use_table']}
|
||||
where is_confirm = 0
|
||||
order by is_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['is_subject'],40); ?></td>
|
||||
<td class="td_mngsmall"><a href="./itemuseform.php?w=u&is_id=<?php echo $row['is_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php cut_str($row['is_subject'],40); ?> 수정"></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="./itemuselist.php?sort1=is_confirm&sort2=asc">사용후기 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section id="anc_sidx_settle">
|
||||
<h2>결제수단별 주문현황</h2>
|
||||
@ -310,11 +466,11 @@ function get_max_value($arr)
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="sidx_settle">
|
||||
<div id="sidx_settle" class="tbl_head02 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td rowspan="2"> </td>
|
||||
<th scope="col" rowspan="2">구분</th>
|
||||
<?php
|
||||
$term = 3;
|
||||
$info = array();
|
||||
@ -326,15 +482,15 @@ function get_max_value($arr)
|
||||
$day = substr($date, 5, 5).' ('.get_yoil($date).')';
|
||||
$info_key[] = $date;
|
||||
?>
|
||||
<th colspan="2"><?php echo $day; ?></th>
|
||||
<th scope="col" colspan="2" id="th_day_<?php echo $i; ?>"><?php echo $day; ?></th>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
for($i=0; $i<$term; $i++) {
|
||||
?>
|
||||
<th>건수</th>
|
||||
<th>금액</th>
|
||||
<th scope="col" id="th_cnt_<?php echo $i; ?>">건수</th>
|
||||
<th scope="col" id="th_price_<?php echo $i; ?>">금액</th>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -344,9 +500,10 @@ function get_max_value($arr)
|
||||
|
||||
foreach($case as $val)
|
||||
{
|
||||
$val_cnt ++;
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $val; ?></td>
|
||||
<th scope="row" id="th_val_<?php echo $val_cnt; ?>"><?php echo $val; ?></th>
|
||||
<?php
|
||||
foreach($info_key as $date)
|
||||
{
|
||||
@ -365,152 +522,6 @@ function get_max_value($arr)
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_oneq">
|
||||
<h2>1:1문의</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>1:1문의 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">분류</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">작성자</th>
|
||||
<th scope="col">보기</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5['qa_content_table']}
|
||||
where qa_status = '0'
|
||||
and qa_type = '0'
|
||||
order by qa_num
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row['mb_id'], get_text($row['qa_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo get_text($row['qa_category']); ?></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['qa_subject'],40); ?></td>
|
||||
<td class="td_mng"><a href="<?php echo G5_BBS_URL; ?>/qaview.php?qa_id=<?php echo $row['qa_id']; ?>" target="_blank">보기</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="4" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="<?php echo G5_BBS_URL; ?>/qalist.php" target="_blank">1:1문의 더보기</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_qna">
|
||||
<h2>상품문의</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>상품문의 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">회원명</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5['g5_shop_item_qa_table']}
|
||||
where iq_answer = ''
|
||||
order by iq_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row['mb_id'], get_text($row['iq_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['iq_subject'],40); ?></td>
|
||||
<td class="td_mng"><a href="./itemqaform.php?w=u&iq_id=<?php echo $row['iq_id']; ?>">수정</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="./itemqalist.php?sort1=iq_answer&sort2=asc">상품문의 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_ps">
|
||||
<h2>사용후기</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>사용후기 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">회원명</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5['g5_shop_item_use_table']}
|
||||
where is_confirm = 0
|
||||
order by is_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from {$g5['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['is_subject'],40); ?></td>
|
||||
<td class="td_mngsmall"><a href="./itemuseform.php?w=u&is_id=<?php echo $row['is_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php cut_str($row['is_subject'],40); ?> 수정"></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="./itemuselist.php?sort1=is_confirm&sort2=asc">사용후기 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
graph_draw();
|
||||
|
||||
@ -153,10 +153,10 @@ if (isset($ev_set)) {
|
||||
and ev_id = '$ev_id' ";
|
||||
$ev = sql_fetch($sql);
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<label for="ev_chk_<?php echo $i; ?>" class="sound_only">이벤트 사용</label>
|
||||
|
||||
@ -164,9 +164,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td rowspan="3" class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['bo_subject']) ?> 게시판</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
|
||||
@ -192,13 +192,13 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<!-- <a href="./itemformupdate.php?w=d&it_id=<?php echo $row['it_id']; ?>&ca_id=<?php echo $row['ca_id']; ?>&<?php echo $qstr; ?>" onclick="return delete_confirm();"><span class="sound_only"><?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> </span>삭제</a> -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td rowspan="2" class="td_img"><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?></a></td>
|
||||
<td headers="" class="td_input"><input type="text" name="it_name[<?php echo $i; ?>]" value="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?>" required class="frm_input required" size="30"></td>
|
||||
<td headers="th_amt" class="td_numbig td_input"><input type="text" name="it_price[<?php echo $i; ?>]" value="<?php echo $row['it_price']; ?>" class="frm_input sit_amt" size="7"></td>
|
||||
<td headers="th_camt" class="td_numbig td_input"><input type="text" name="it_cust_price[<?php echo $i; ?>]" value="<?php echo $row['it_cust_price']; ?>" class="frm_input sit_camt" size="7"></td>
|
||||
</tr>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td headers="" class="td_input"><input type="text" name="it_mobile_name[<?php echo $i; ?>]" value="<?php echo htmlspecialchars2(cut_str($row['it_mobile_name'],250, "")); ?>" class="frm_input" size="30"></td>
|
||||
<td headers="th_pt" class="td_numbig td_input"><?php echo number_format(get_item_point($row)); ?></td>
|
||||
<td headers="th_qty" class="td_numbig td_input"><input type="text" name="it_stock_qty[<?php echo $i; ?>]" value="<?php echo $row['it_stock_qty']; ?>" class="frm_input sit_qty" size="7"></td>
|
||||
|
||||
@ -125,9 +125,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], 300);
|
||||
$iq_answer = $row['iq_answer'] ? get_view_thumbnail($row['iq_answer'], 300) : "답변이 등록되지 않았습니다.";
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['iq_subject']) ?> 상품문의</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
|
||||
|
||||
@ -126,9 +126,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
|
||||
$num = $rank + $i + 1;
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a></td>
|
||||
<td class="td_num"><?php echo $row['ct_status_1']; ?></td>
|
||||
|
||||
@ -152,10 +152,10 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$it_stock_qty = ''.$it_stock_qty.' !<span class="sound_only"> 재고부족 </span>';
|
||||
}
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_numbig">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
|
||||
@ -142,9 +142,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<?php for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_num">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
|
||||
@ -125,10 +125,10 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row['mb_email'], $row['mb_homepage']);
|
||||
$is_content = get_view_thumbnail($row['is_content'], 300);
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['is_subject']) ?> 사용후기</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
|
||||
|
||||
@ -44,9 +44,9 @@ $result = sql_query($sql);
|
||||
<tbody>
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_num"><?php echo $row['nw_id']; ?></td>
|
||||
<td><?php echo $row['nw_subject']; ?></td>
|
||||
<td class="td_datetime"><?php echo substr($row['nw_begin_time'],2,14); ?></td>
|
||||
|
||||
@ -168,9 +168,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$io_stock_qty = ''.$io_stock_qty.' !<span class="sound_only"> 재고부족 </span>';
|
||||
}
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<input type="hidden" name="io_id[<?php echo $i; ?>]" value="<?php echo $row['io_id']; ?>">
|
||||
|
||||
@ -303,14 +303,14 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$invoice_time = is_null_time($row['od_invoice_time']) ? G5_TIME_YMDHIS : $row['od_invoice_time'];
|
||||
$delivery_company = $row['od_delivery_company'] ? $row['od_delivery_company'] : $default['de_delivery_company'];
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
$td_color = 0;
|
||||
if($row['od_cancel_price'] > 0) {
|
||||
$tr_bg .= 'cancel';
|
||||
$bg .= 'cancel';
|
||||
$td_color = 1;
|
||||
}
|
||||
?>
|
||||
<tr class="orderlist<?php echo ' '.$tr_bg; ?>">
|
||||
<tr class="orderlist<?php echo ' '.$bg; ?>">
|
||||
<td rowspan="3" class="td_chk">
|
||||
<input type="hidden" name="od_id[<?php echo $i ?>]" value="<?php echo $row['od_id'] ?>" id="od_id_<?php echo $i ?>">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only">주문번호 <?php echo $row['od_id']; ?></label>
|
||||
@ -337,7 +337,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>&<?php echo $qstr; ?>" class="mng_mod"><span class="sound_only"><?php echo $row['od_id']; ?> </span>보기</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<!-- <td headers="th_odrdate"><span class="sound_only">주문일시 </span><?php echo $row['od_time']; ?></td> -->
|
||||
<!-- <td class="td_payby">
|
||||
<input type="hidden" name="current_settle_case[<?php echo $i ?>]" value="<?php echo $row['od_settle_case'] ?>">
|
||||
@ -354,7 +354,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<td headers="th_odrcnt"><?php echo $row['od_cart_count']; ?>건</td>
|
||||
<td headers="th_odrall"><?php echo $od_cnt; ?>건</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td headers="th_odrstat" class="td_odrstatus">
|
||||
<input type="hidden" name="current_status[<?php echo $i ?>]" value="<?php echo $row['od_status'] ?>">
|
||||
<?php echo $row['od_status']; ?>
|
||||
|
||||
@ -111,10 +111,10 @@ $colspan = 10;
|
||||
else
|
||||
$od_id = ' ';
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="pp_id_<?php echo $i; ?>" name="pp_id[<?php echo $i; ?>]" value="<?php echo $row['pp_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="<?php echo $i; ?>" title="내역선택">
|
||||
|
||||
@ -58,15 +58,15 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="sc_id_<?php echo $i; ?>" name="sc_id[<?php echo $i; ?>]" value="<?php echo $row['sc_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="1" title="내역선택">
|
||||
</td>
|
||||
<td><?php echo $row['sc_name']; ?></td>
|
||||
<td class="td_bigpostal"><?php echo preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip1']).' ~ '.preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip2']); ?></td>
|
||||
<td class="td_postalbig"><?php echo preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip1']).' ~ '.preg_replace('/([0-9]{3})([0-9]{3})/', '\\1-\\2', $row['sc_zip2']); ?></td>
|
||||
<td class="td_sendcost_add"><?php echo number_format($row['sc_price']); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@ -103,9 +103,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$num = $rank + $i + 1;
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
$bg = 'bg'.($i%2);
|
||||
?>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td>
|
||||
<a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a>
|
||||
|
||||
@ -254,12 +254,6 @@ tbody td {border:1px solid #ececec}
|
||||
tfoot th, tfoot td {padding:10px 0;border:1px solid #c1d1d5;background:#d7e0e2}
|
||||
tfoot th {}
|
||||
tfoot td {font-weight:bold;text-align:center}
|
||||
table .tr_bg0 {background:#fff}
|
||||
table .tr_bg1 {background:#f0f3f7}
|
||||
table .tr_bg0cancel {background:#fdebf3}
|
||||
table .tr_bg0cancel td {border-color:#f9d8e6}
|
||||
table .tr_bg1cancel {background:#fdebf3}
|
||||
table .tr_bg1cancel td {border-color:#f9d8e6}
|
||||
|
||||
.tbl_wrap {margin:0 0 10px;padding:0 20px}
|
||||
.tbl_wrap td.empty_table {padding:100px 0;text-align:center}
|
||||
@ -267,7 +261,8 @@ table .tr_bg1cancel td {border-color:#f9d8e6}
|
||||
/* thead 한 줄 테이블 */
|
||||
.tbl_head01 {}
|
||||
.tbl_head01 table {clear:both;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.tbl_head01 thead th {padding:10px 0;border:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;letter-spacing:-0.1em}
|
||||
.tbl_head01 thead th, .tbl_head01 tbody th {padding:10px 0;border:1px solid #d1dee2;background:#e5ecef;color:#383838;letter-spacing:-0.1em}
|
||||
.tbl_head01 thead th {font-size:0.95em}
|
||||
.tbl_head01 thead input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
.tbl_head01 thead a {color:#383838;text-decoration:underline}
|
||||
.tbl_head01 tbody th {}
|
||||
@ -276,11 +271,12 @@ table .tr_bg1cancel td {border-color:#f9d8e6}
|
||||
/* 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 th, .tbl_head02 tbody th {padding:5px 0;border:1px solid #d1dee2;background:#e5ecef;color:#383838;letter-spacing:-0.1em}
|
||||
.tbl_head02 thead th {font-size:0.95em}
|
||||
.tbl_head02 thead input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
.tbl_head02 thead a {color:#383838;text-decoration:underline}
|
||||
.tbl_head02 tbody th {}
|
||||
.tbl_head02 tbody td {padding:5px 3px;line-height:1.4em;word-break:break-all}
|
||||
.tbl_head02 tbody td {padding:7px 5px;line-height:1.4em;word-break:break-all}
|
||||
|
||||
/* 폼 테이블 */
|
||||
.tbl_frm01 th {padding:0;border-top:1px solid #ececec;border-bottom:1px solid #ececec;text-align:left}
|
||||
@ -309,6 +305,14 @@ table .tr_bg1cancel td {border-color:#f9d8e6}
|
||||
.grid_17 {width:850px}
|
||||
.grid_18 {width:900px}
|
||||
|
||||
/* 목록 홀짝 배경색 */
|
||||
.bg0 {background:#fff}
|
||||
.bg1 {background:#f0f3f7}
|
||||
.bg0cancel {background:#fdebf3}
|
||||
.bg0cancel td {border-color:#f9d8e6}
|
||||
.bg1cancel {background:#fdebf3}
|
||||
.bg1cancel td {border-color:#f9d8e6}
|
||||
|
||||
/* 회원관리 목록 */
|
||||
.mb_leave_msg {color:#b6b6b6}
|
||||
.mb_intercept_msg {color:#f59fe4}
|
||||
@ -340,6 +344,7 @@ table .tr_bg1cancel td {border-color:#f9d8e6}
|
||||
.td_auth_mbnick {width:200px}
|
||||
.td_boolean {width:50px;text-align:center}
|
||||
.td_category {width:120px;text-align:center}
|
||||
.td_categorysmall {width:60px;text-align:center}
|
||||
.td_chk {width:30px;text-align:center}
|
||||
.td_cnt {width:100px;font-size:0.95em;text-align:center}
|
||||
.td_cntsmall {width:50px;font-size:0.95em;text-align:center}
|
||||
@ -387,7 +392,8 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
|
||||
.td_paybybig {width:140px;text-align:center;letter-spacing:-0.1em}
|
||||
.td_possible {width:70px;text-align:center}
|
||||
.td_postal {width:60px;text-align:center}
|
||||
.td_bigpostal {width:140px;text-align:center}
|
||||
.td_postalbig {width:140px;text-align:center}
|
||||
.td_price {text-align:right}
|
||||
.td_pt {text-align:right !important}
|
||||
.td_scate {padding-right:15px;text-align:right;vertical-align:top}
|
||||
.td_send {width:50px;text-align:center}
|
||||
@ -417,20 +423,42 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
|
||||
#fsendmailtest .btn_submit {padding:3px 5px;border:1px solid #ff3061;color:#fff;font-size:0.95em;vertical-align:middle}
|
||||
|
||||
/* ########## 쇼핑몰 사용시 적용 ########## */
|
||||
.sidx {margin:0 0 50px;zoom:1}
|
||||
.sidx:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
/* 쇼핑몰관리 index */
|
||||
#sidx_graph {position:relative;width:1000px;height:350px}
|
||||
#sidx_graph_price {position:absolute;left:20px;top:50px;width:100px;margin:0;padding:0;list-style:none}
|
||||
#sidx_graph_price li {height:50px;text-align:right}
|
||||
#sidx_graph_area {position:absolute;left:128px;top:40px;width:800px;height:270px;border-left:1px solid #eee;border-bottom:1px solid #eee;margin:0;padding:0;list-style:none}
|
||||
#sidx_graph_area li {float:left;position:relative;left:35px;width:100px;height:270px}
|
||||
#sidx_graph_area .graph {position:absolute;bottom:0;width:20px;height:0}
|
||||
#sidx_graph_area .order {background-color:blue;left:30px}
|
||||
#sidx_graph_area .cancel {background-color:gray;left:55px}
|
||||
.sidx_anchor {position:absolute;margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
/* idx 쇼핑몰 */
|
||||
#anc_sidx_ord {float:left;width:66%}
|
||||
#sidx_graph {position:relative}
|
||||
#sidx_graph_price {position:absolute;top:15px;left:20px;margin:0;padding:0;width:12%;list-style:none}
|
||||
#sidx_graph_price li {font-family:tahoma;text-align:right}
|
||||
#sidx_graph_area {position:absolute;top:5px;left:15%;margin:0;padding:0;width:85%;height:260px;border-left:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;list-style:none}
|
||||
#sidx_graph_area li {float:left;position:relative;margin:0 1% 0 0;width:13%;height:100%}
|
||||
#sidx_graph_area .graph {position:absolute;bottom:0;width:45%;height:0}
|
||||
#sidx_graph_area .order {background:#a0ca30;left:0}
|
||||
#sidx_graph_area .cancel {background-color:#ff8db6;left:47%}
|
||||
#sidx_graph_area #price_tooltip {display:none;position:absolute;bottom:0;left:0;background-color:#fff;border:1px solid gray}
|
||||
#sidx_graph_area #price_tooltip div {white-space:nowrap}
|
||||
#sidx_graph_date {position:absolute;left:165px;top:320px;width:800px;margin:0;padding:0;list-style:none}
|
||||
#sidx_graph_date li {float:left;width:100px;text-align:center}
|
||||
#sidx_graph_date {position:absolute;top:280px;left:15%;margin:0;padding:0;width:85%;list-style:none}
|
||||
#sidx_graph_date li {position:relative;float:left;margin:0 1% 0 0;width:13%;font-family:tahoma;text-align:center}
|
||||
#sidx_graph_date li span {position:absolute;top:-19px;right:0;width:1px;height:10px;background:#e9e9e9}
|
||||
|
||||
#sidx_stat {float:right;width:32%}
|
||||
#sidx_stat h2 {padding:0 20px 0 0}
|
||||
#sidx_stat .tbl_wrap {padding:0 20px 0 0}
|
||||
|
||||
/* idx 1:1문의/상품문의/사용후기 */
|
||||
.sidx_cs section {float:left;margin:0 2% 0 0;width:32%}
|
||||
.sidx_cs #anc_sidx_ps {margin:0}
|
||||
.sidx_cs h2 {padding:0}
|
||||
.sidx_cs .tbl_wrap {padding:0}
|
||||
.sidx_cs .btn_list03 {margin:0}
|
||||
.sidx_cs #anc_sidx_oneq h2 {padding:0 0 0 20px}
|
||||
.sidx_cs #anc_sidx_oneq .tbl_wrap {padding:0 0 0 20px}
|
||||
.sidx_cs #anc_sidx_ps h2 {padding:0 20px 0 0}
|
||||
.sidx_cs #anc_sidx_ps .tbl_wrap {padding:0 20px 0 0}
|
||||
.sidx_cs #anc_sidx_ps .btn_list03 {margin:0 20px 0 0}
|
||||
|
||||
/* 쇼핑몰 설정 */
|
||||
#anc_scf_payment textarea {height:50px}
|
||||
|
||||
Reference in New Issue
Block a user