쇼핑몰: SNS 아이콘 위치 및 상품 목록 마크업 스타일 점검 중 merge 충돌 수정
This commit is contained in:
@ -177,10 +177,10 @@ function get_max_value($arr)
|
||||
?>
|
||||
<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
|
||||
@ -191,7 +191,7 @@ function get_max_value($arr)
|
||||
<?php
|
||||
foreach($x_val as $val) {
|
||||
?>
|
||||
<li><span></span><?php echo substr($val, 5, 5); ?></li>
|
||||
<li><span></span><?php echo substr($val, 5, 5).' ('.get_yoil($val).')'; ?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@ -317,16 +317,6 @@ function get_max_value($arr)
|
||||
<h2>결제수단별 주문현황</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<?php
|
||||
$term = 3;
|
||||
$info = array();
|
||||
for($i=($term - 1); $i>=0; $i--)
|
||||
{
|
||||
$date = date("Y-m-d", strtotime('-'.$i.' days', G5_SERVER_TIME));
|
||||
$info[$date] = get_order_settle_sum($date);
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="sidx_settle" class="tbl_head02 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
@ -554,167 +544,6 @@ function graph_draw()
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php /*
|
||||
<section id="anc_sidx_ord">
|
||||
<h2>주문현황</h2>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<div class="local_desc01 local_desc">
|
||||
<ul>
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '주문' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "<li><a href=\"./orderlist.php?od_status=주문\">주문 : ".$row['cnt']."</a></li>";
|
||||
?>
|
||||
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '입금' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "<li><a href=\"./orderlist.php?od_status=입금\">입금 : ".$row['cnt']."</a></li>";
|
||||
?>
|
||||
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '준비' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "<li><a href=\"./orderlist.php?od_status=준비\">준비 : ".$row['cnt']."</a></li>";
|
||||
?>
|
||||
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '배송' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "<li><a href=\"./orderlist.php?od_status=배송\">배송 : ".$row['cnt']."</a></li>";
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_rdy">
|
||||
<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>
|
||||
<th scope="col">결제방법</th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
// 미수금이 없고 운송장번호가 없는 자료를 구함
|
||||
$sql = " select *
|
||||
from {$g5['g5_shop_order_table']}
|
||||
where od_receipt_price > 0 and od_misu <= 0 and od_invoice = ''
|
||||
order by od_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['od_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
|
||||
$settle_method = "";
|
||||
if ($row['od_settle_case'])
|
||||
{
|
||||
$settle_method = $row['od_settle_case'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$settle_method .= '미입력';
|
||||
if ($row['od_receipt_point']) $settle_method .= '포인트';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_odrnum2"><?php echo $row['od_id']; ?></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td class="td_numsmall"><?php echo display_price($row['od_receipt_price']); ?></td>
|
||||
<td class="td_payby"><?php echo $settle_method; ?></td>
|
||||
<td class="td_mngsmall"><a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>">수정</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="./deliverylist.php?sort1=od_invoice&sort2=asc&chk_misu=1">입금완료 미배송내역 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="anc_sidx_wait">
|
||||
<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>
|
||||
<th scope="col">결제방법</th>
|
||||
<th scope="col">수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
// 미수금이 있고 송장번호가 없는 자료를 구함
|
||||
$sql = " select *
|
||||
from {$g5['g5_shop_order_table']}
|
||||
where od_misu > 0
|
||||
order by od_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['od_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
|
||||
$settle_method = "";
|
||||
if ($row['od_settle_case'])
|
||||
{
|
||||
$settle_method = $row['od_settle_case'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$settle_method .= '미입력';
|
||||
if ($row['od_receipt_point']) $settle_method .= '포인트';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_odrnum2"><a href="./orderstatuslist.php?sort1=od_id&sel_field=od_id&search=<?php echo $row['od_id']; ?>"><?php echo $row['od_id']; ?></a></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td class="td_numsmall"><?php echo display_price($row['od_cart_price'] + $row['od_send_cost'] + $row['od_send_cost2']); ?></td>
|
||||
<td class="td_payby"><?php echo $settle_method; ?></td>
|
||||
<td class="td_mngsmall"><a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>">수정</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_list03 btn_list">
|
||||
<a href="./orderlist.php?sort1=od_receipt_price&sort2=asc">미입금 주문내역 더보기</a>
|
||||
</div>
|
||||
</section>
|
||||
*/ ?>
|
||||
|
||||
<?php
|
||||
include_once (G5_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -27,7 +27,7 @@ if ($is_guest) {
|
||||
|
||||
if ($w == "c" || $w == "cu") {
|
||||
if ($member['mb_level'] < $board['bo_comment_level'])
|
||||
alert('댓글를 쓸 권한이 없습니다.');
|
||||
alert('댓글을 쓸 권한이 없습니다.');
|
||||
}
|
||||
else
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
@ -67,12 +67,12 @@ if ($w == 'c') // 댓글 입력
|
||||
{
|
||||
/*
|
||||
if ($member[mb_point] + $board[bo_comment_point] < 0 && !$is_admin)
|
||||
alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.');
|
||||
alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글을 써 주십시오.');
|
||||
*/
|
||||
// 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글를 쓰지 못하던 버그를 수정 (곱슬최씨님)
|
||||
// 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글을 쓰지 못하던 버그를 수정 (곱슬최씨님)
|
||||
$tmp_point = ($member['mb_point'] > 0) ? $member['mb_point'] : 0;
|
||||
if ($tmp_point + $board['bo_comment_point'] < 0 && !$is_admin)
|
||||
alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 댓글쓰기('.number_format($board['bo_comment_point']).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.');
|
||||
alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 댓글쓰기('.number_format($board['bo_comment_point']).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글을 써 주십시오.');
|
||||
|
||||
// 댓글 답변
|
||||
if ($comment_id)
|
||||
@ -264,7 +264,7 @@ else if ($w == 'cu') // 댓글 수정
|
||||
else
|
||||
alert('그룹관리자의 권한보다 높은 회원의 댓글이므로 수정할 수 없습니다.');
|
||||
} else
|
||||
alert('자신이 관리하는 그룹의 게시판이 아니므로 댓글를 수정할 수 없습니다.');
|
||||
alert('자신이 관리하는 그룹의 게시판이 아니므로 댓글을 수정할 수 없습니다.');
|
||||
} else if ($is_admin == 'board') { // 게시판관리자이면
|
||||
$mb = get_member($comment['mb_id']);
|
||||
if ($member['mb_id'] == $board['bo_admin']) { // 자신이 관리하는 게시판인가?
|
||||
@ -273,7 +273,7 @@ else if ($w == 'cu') // 댓글 수정
|
||||
else
|
||||
alert('게시판관리자의 권한보다 높은 회원의 댓글이므로 수정할 수 없습니다.');
|
||||
} else
|
||||
alert('자신이 관리하는 게시판이 아니므로 댓글를 수정할 수 없습니다.');
|
||||
alert('자신이 관리하는 게시판이 아니므로 댓글을 수정할 수 없습니다.');
|
||||
} else if ($member['mb_id']) {
|
||||
if ($member['mb_id'] != $comment['mb_id'])
|
||||
alert('자신의 글이 아니므로 수정할 수 없습니다.');
|
||||
|
||||
@ -295,8 +295,8 @@ tfoot td {font-weight:bold;text-align:center}
|
||||
.tbl_frm01 #captcha input {margin-left:5px;text-align:center}
|
||||
|
||||
/* 자료 없는 목록 */
|
||||
.empty_table {padding:100px 0;text-align:center}
|
||||
.empty_list {padding:20px 0;text-align:center}
|
||||
.empty_table {padding:100px 0 !important;text-align:center}
|
||||
.empty_list {padding:20px 0 !important;text-align:center}
|
||||
|
||||
/* 테이블 그리드 */
|
||||
.grid_1 {width:50px}
|
||||
|
||||
@ -23,7 +23,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(1);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -43,7 +43,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(2);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -63,7 +63,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(3);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -83,7 +83,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(4);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -103,7 +103,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(5);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -84,7 +84,7 @@ var itemlist_ca_id = "<?php echo $ca_id; ?>";
|
||||
$list->set_view('it_img', true);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -31,9 +31,9 @@ if ($q) {
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
$word = trim($arr[$i]);
|
||||
if (!$word) continue;
|
||||
|
||||
|
||||
$concat = array();
|
||||
if ($search_all || $qname)
|
||||
if ($search_all || $qname)
|
||||
$concat[] = "a.it_name";
|
||||
if ($search_all || $qexplan)
|
||||
$concat[] = "a.it_explan2";
|
||||
@ -44,7 +44,7 @@ if ($q) {
|
||||
$detail_where[] = $concat_fields." like '%$word%' ";
|
||||
|
||||
// 인기검색어
|
||||
$sql = " insert into {$g5['popular_table']} set pp_word = '$word', pp_date = '".G5_TIME_YMD."', pp_ip = '{$_SERVER['REMOTE_ADDR']}' ";
|
||||
$sql = " insert into {$g5['popular_table']} set pp_word = '$word', pp_date = '".G5_TIME_YMD."', pp_ip = '{$_SERVER['REMOTE_ADDR']}' ";
|
||||
sql_query($sql, FALSE);
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ if ($q) {
|
||||
if ($qcaid)
|
||||
$where[] = " a.ca_id like '$qcaid%' ";
|
||||
|
||||
if ($qfrom || $qto)
|
||||
if ($qfrom || $qto)
|
||||
$where[] = " a.it_price between '$qfrom' and '$qto' ";
|
||||
|
||||
$sql_where = " where " . implode(" and ", $where);
|
||||
@ -64,7 +64,7 @@ $qsort = strtolower($qsort);
|
||||
$qorder = strtolower($qorder);
|
||||
$order_by = "";
|
||||
// 아래의 $qsort 필드만 정렬이 가능하게 하여 다른 필드로 하여금 유추해 볼수 없게함
|
||||
if (($qsort == "it_sum_qty" || $qsort == "it_price" || $qsort == "it_use_avg" || $qsort == "it_use_cnt" || $qsort == "it_update_time") &&
|
||||
if (($qsort == "it_sum_qty" || $qsort == "it_price" || $qsort == "it_use_avg" || $qsort == "it_use_cnt" || $qsort == "it_update_time") &&
|
||||
($qorder == "asc" || $qorder == "desc")) {
|
||||
$order_by = ' order by ' . $qsort . ' ' . $qorder . ' , it_order, it_id desc';
|
||||
}
|
||||
@ -95,9 +95,9 @@ $total_page = ceil($total_count / $items); // 전체 페이지 계산
|
||||
<input type="hidden" name="qcaid" id="qcaid" value="<?php echo $qcaid ?>">
|
||||
<div>
|
||||
<strong>검색범위</strong>
|
||||
<input type="checkbox" name="qname" id="ssch_qname" class="frm_input" <?php echo isset($qname)?'checked="checked"':'';?>> <label for="ssch_qname">상품명</label>
|
||||
<input type="checkbox" name="qexplan" id="ssch_qexplan" class="frm_input" <?php echo isset($qexplan)?'checked="checked"':'';?>> <label for="ssch_qexplan">상품설명</label>
|
||||
<input type="checkbox" name="qid" id="ssch_qid" class="frm_input" <?php echo isset($qid)?'checked="checked"':'';?>> <label for="ssch_qid">상품코드</label><br>
|
||||
<input type="checkbox" name="qname" id="ssch_qname" <?php echo isset($qname)?'checked="checked"':'';?>> <label for="ssch_qname">상품명</label>
|
||||
<input type="checkbox" name="qexplan" id="ssch_qexplan" <?php echo isset($qexplan)?'checked="checked"':'';?>> <label for="ssch_qexplan">상품설명</label>
|
||||
<input type="checkbox" name="qid" id="ssch_qid" <?php echo isset($qid)?'checked="checked"':'';?>> <label for="ssch_qid">상품코드</label><br>
|
||||
</div>
|
||||
<div>
|
||||
<strong>상품가격 (원)</strong>
|
||||
@ -159,6 +159,7 @@ $total_page = ceil($total_count / $items); // 전체 페이지 계산
|
||||
$list = new item_list($default['de_mobile_search_list_skin'], $default['de_mobile_search_list_mod'], 1, $default['de_mobile_search_img_width'], $default['de_mobile_search_img_height']);
|
||||
$list->set_query(" select * $sql_common $sql_where {$order_by} limit $from_record, $items ");
|
||||
$list->set_is_page(true);
|
||||
$list->set_mobile(true);
|
||||
$list->set_view('it_img', true);
|
||||
$list->set_view('it_id', true);
|
||||
$list->set_view('it_name', true);
|
||||
@ -182,7 +183,7 @@ $total_page = ceil($total_count / $items); // 전체 페이지 계산
|
||||
|
||||
$query_string .= 'ca_id='.$ca_id;
|
||||
$query_string .='&qsort='.$qsort.'&qorder='.$qorder;
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$query_string.'&page=');
|
||||
echo get_paging($config['cf_mobile_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$query_string.'&page=');
|
||||
?>
|
||||
</div>
|
||||
<!-- } 검색결과 끝 -->
|
||||
|
||||
@ -21,7 +21,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
|
||||
<aside id="hd_sch">
|
||||
<h2>상품 검색</h2>
|
||||
<label for="sch_str" class="sound_only">상품명<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="search_str" value="<?php echo stripslashes(get_text($search_str)); ?>" id="sch_str" required class="frm_input">
|
||||
<input type="text" name="q" value="<?php echo stripslashes(get_text($q)); ?>" id="sch_str" required class="frm_input">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
<button type="button" class="pop_close"><span class="sound_only">검색 </span>닫기</button>
|
||||
</aside>
|
||||
|
||||
@ -38,7 +38,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($it_name)."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($it_name)."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -96,7 +96,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -117,7 +117,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -61,7 +61,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<strike>".display_price($row['it_cust_price'])."</strike> >\n";
|
||||
}
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<strike>".display_price($row['it_cust_price'])."</strike> >\n";
|
||||
}
|
||||
|
||||
@ -88,4 +88,4 @@ if ($i > 1) echo "</ul>\n";
|
||||
|
||||
if($i == 1) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||
?>
|
||||
<!-- } 상품진열 20 끝 -->
|
||||
<!-- } 상품진열 20 끝 -->
|
||||
|
||||
@ -44,7 +44,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -26,11 +26,11 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<li class=\"sct_li {$sct_last}\" style=\"width:{$this->img_width}px\">\n";
|
||||
|
||||
if ($this->href) {
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_img\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_img) {
|
||||
echo "<span class=\"sct_img\">".get_it_image($row['it_id'], $this->img_width, $this->img_height)."</span>\n";
|
||||
echo get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n";
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
@ -42,7 +42,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_name) {
|
||||
@ -61,7 +61,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<strike>".display_price($row['it_cust_price'])."</strike> >\n";
|
||||
}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user