Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
gnuboard
2013-06-12 15:46:25 +09:00
43 changed files with 355 additions and 210 deletions

View File

@ -25,7 +25,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
<p>등록된 배너 <?php echo $total_count; ?>개</p>
<div id="btn_add">
<div class="btn_add">
<a href="./bannerform.php">배너추가</a>
</div>

View File

@ -86,11 +86,19 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<p>생성된 분류 확인, 추가 및 간략 수정을 할 수 있습니다.</p>
<?php if ($is_admin == 'super') {?>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./categoryform.php" id="cate_add">분류 추가</a>
</div>
<?php } ?>
<ul class="sort_odr">
<li><?php echo subject_sort_link("ca_id"); ?>분류코드<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("ca_name"); ?>분류명<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("ca_mb_id"); ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("ca_use"); ?>판매가능<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("ca_stock_qty"); ?>기본재고<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fcategorylist" method="post" action="./categorylistupdate.php" autocomplete="off">
<input type="hidden" name="page" value="<?php echo $page; ?>">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
@ -99,11 +107,11 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><?php echo subject_sort_link("ca_id"); ?>분류<br>코드</a></th>
<th scope="col"><?php echo subject_sort_link("ca_name"); ?>분류명</a></th>
<th scope="col"><?php echo subject_sort_link("ca_mb_id"); ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link("ca_use"); ?>판매<br>가능</a></th>
<th scope="col"><?php echo subject_sort_link("ca_stock_qty"); ?>기본재고</a></th>
<th scope="col">분류<br>코드</th>
<th scope="col">분류명</th>
<th scope="col">회원아이디</th>
<th scope="col">판매<br>가능</th>
<th scope="col">기본재고</th>
<th scope="col">상품수</th>
<th scope="col">관리</th>
</tr>

View File

@ -29,7 +29,7 @@ $result = sql_query($sql);
<?php if ($page > 1) {?><a href="<?php echo $_SERVER['PHP_SELF']; ?>">처음으로</a><?php } ?>
<span>전체 내용 <?php echo $total_count; ?>건</span>
</p>
<div id="btn_add">
<div class="btn_add">
<a href="./contentform.php">내용 추가</a>
</div>
<table>

View File

@ -79,10 +79,16 @@ $colspan = 8;
<section id="scp_list" class="cbox">
<h2>쿠폰 내역</h2>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./couponform.php" id="coupon_add">쿠폰 추가</a>
</div>
<ul class="sort_odr">
<li><?php echo subject_sort_link('mb_id') ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('cp_end') ?>사용기한<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('cp_used') ?>사용<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fcouponlist" id="fcouponlist" method="post" action="./couponlist_delete.php" onsubmit="return fcouponlist_submit(this);">
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
<input type="hidden" name="sod" value="<?php echo $sod; ?>">
@ -94,13 +100,16 @@ $colspan = 8;
<table class="tbl_pt_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 쿠폰 내역 전체선택" onclick="check_all(this.form)"></th>
<th scope="col">
<label for="chkall" class="sound_only">쿠폰 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">쿠폰코드</th>
<th scope="col">쿠폰이름</th>
<th scope="col">적용대상</th>
<th scope="col"><?php echo subject_sort_link('mb_id') ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('cp_end') ?>사용기한</a></th>
<th scope="col"><?php echo subject_sort_link('cp_used') ?>사용</a></th>
<th scope="col">회원아이디</a></th>
<th scope="col">사용기한</a></th>
<th scope="col">사용</th>
<th scope="col">관리</th>
</tr>
</thead>

View File

@ -23,7 +23,7 @@ $result = sql_query($sql);
<h2>배송업체 목록</h2>
<p>등록된 배송업체 <?php echo $total_count; ?>곳</p>
<div id="btn_add">
<div class="btn_add">
<a href="./deliverycodeform.php">배송회사추가</a>
</div>

View File

@ -109,6 +109,17 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<li>배송일시, 배송회사는 입력의 편의성을 위하여 기본값으로 설정되어 있습니다. 운송장번호만 없는것이 미배송 주문자료입니다.</li>
</ul>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("od_id",1) . "&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_name") . "&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("orderamount",1) . "&amp;$qstr1"; ?>">주문액<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("receiptamount",1) . "&amp;$qstr1"; ?>">입금액<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("misu",1) . "&amp;$qstr1"; ?>">미수금<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_hope_date",1) . "&amp;$qstr1"; ?>">희망배송일<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_invoice_time") . "&amp;$qstr1"; ?>">배송일시<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_invoice", 1) . "&amp;$qstr1"; ?>">운송장번호<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fdeliverylistupate" method="post" action="./deliverylistupdate.php" autocomplete="off">
<input type="hidden" name="sel_ca_id" value="<?php echo $sel_ca_id; ?>">
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
@ -120,15 +131,15 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<table id="sdeli_proc">
<thead>
<tr>
<th scope="col"><a href="<?php echo title_sort("od_id",1) . "&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("od_name") . "&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("orderamount",1) . "&amp;$qstr1"; ?>">주문액<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("receiptamount",1) . "&amp;$qstr1"; ?>">입금액<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("misu",1) . "&amp;$qstr1"; ?>">미수금<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("od_hope_date",1) . "&amp;$qstr1"; ?>">희망배송일<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("od_invoice_time") . "&amp;$qstr1"; ?>">배송일시<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">주문번호</th>
<th scope="col">주문자</th>
<th scope="col">주문액</th>
<th scope="col">입금액</th>
<th scope="col">미수금</th>
<th scope="col">희망배송일</th>
<th scope="col">배송일시</th>
<th scope="col">배송업체</th>
<th scope="col"><a href="<?php echo title_sort("od_invoice", 1) . "&amp;$qstr1"; ?>">운송장번호<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">운송장번호</th>
</tr>
</thead>
<tbody>

View File

@ -32,7 +32,7 @@ $result = sql_query($sql);
<li><strong>FAQ 상세내용 추가</strong>를 눌러 자주하는 질문과 답변을 입력합니다.</li>
</ol>
<div id="btn_add">
<div class="btn_add">
<a href="./faqform.php?fm_id=<?php echo $fm['fm_id']; ?>">FAQ 상세내용 추가</a>
</div>

View File

@ -37,7 +37,7 @@ $result = sql_query($sql);
<li>생성한 FAQ Master 의 <strong>제목</strong>을 눌러 세부 내용을 관리할 수 있습니다.</li>
</ol>
<div id="btn_add">
<div class="btn_add">
<a href="./faqmasterform.php">FAQ추가</a>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 840 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 867 B

View File

@ -23,7 +23,7 @@ $result = sql_query($sql);
<section class="cbox">
<h2>이벤트 목록</h2>
<div id="btn_add">
<div class="btn_add">
<a href="./itemeventform.php">이벤트 추가</a>
</div>

View File

@ -134,6 +134,11 @@ if (isset($ev_set)) {
<h2>상품 목록</h2>
<p>상품을 이벤트별로 일괄 처리합니다. 현재 선택된 이벤트는 <?php echo $ev_title; ?>입니다.</p>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("a.it_id") . '&amp;'.$qstr1.'&amp;ev_id='.$ev_id; ?>">상품코드<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("it_name") . '&&amp;'.$qstr1.'&amp;ev_id='.$ev_id; ?>">상품명<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fitemeventlistupdate" method="post" action="./itemeventlistupdate.php" onsubmit="return fitemeventlistupdatecheck(this)">
<input type="hidden" name="ev_id" value="<?php echo $ev_id; ?>">
<input type="hidden" name="ev_set" value="<?php echo $ev_set; ?>">
@ -148,8 +153,8 @@ if (isset($ev_set)) {
<thead>
<tr>
<th scope="col">이벤트사용</th>
<th scope="col"><a href="<?php echo title_sort("a.it_id") . '&amp;'.$qstr1.'&amp;ev_id='.$ev_id; ?>">상품코드</a></th>
<th scope="col"><a href="<?php echo title_sort("it_name") . '&&amp;'.$qstr1.'&amp;ev_id='.$ev_id; ?>">상품명</a></th>
<th scope="col">상품코드</th>
<th scope="col">상품명</th>
</tr>
</thead>
<tbody>
@ -166,7 +171,8 @@ if (isset($ev_set)) {
<tr>
<td class="td_mng">
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
<input type="checkbox" name="ev_chk[<?php echo $i; ?>]" value="1" <?php echo ($row['ev_id'] ? "checked" : ""); ?>>
<label for="ev_chk_<?php echo $i; ?>" class="sound_only">이벤트 사용</label>
<input type="checkbox" name="ev_chk[<?php echo $i; ?>]" value="1" id="ev_chk_<?php echo $i; ?>" <?php echo ($row['ev_id'] ? "checked" : ""); ?>>
</td>
<td class="td_bignum"><a href="<?php echo $href; ?>"><?php echo $row['it_id']; ?></a></td>
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?> <?php echo cut_str(stripslashes($row['it_name']), 60, "&#133"); ?></a></td>

View File

@ -129,12 +129,23 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<section class="cbox">
<h2>상품 목록</h2>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./itemform.php">상품등록</a>
<a href="./itemexcel.php" onclick="return excelform(this.href);" target="_blank">상품일괄등록</a>
<a href="./itemsellrank.php" class="btn_add_optional">상품판매순위</a>
</div>
<ul class="sort_odr">
<li><?php echo subject_sort_link('it_id', 'sca='.$sca); ?>상품코드<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_name', 'sca='.$sca); ?>상품명<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_price', 'sca='.$sca); ?>판매가격<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_cust_price', 'sca='.$sca); ?>시중가격<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_order', 'sca='.$sca); ?>순서<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_use', 'sca='.$sca, 1); ?>판매<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_hit', 'sca='.$sca, 1); ?>조회<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_point', 'sca='.$sca); ?>포인트<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('it_stock_qty', 'sca='.$sca); ?>재고<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fitemlistupdate" method="post" action="./itemlistupdate.php" onsubmit="return fitemlist_submit(this);" autocomplete="off">
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
@ -146,19 +157,22 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<table>
<thead>
<tr>
<th scope="col" rowspan="2"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 게시판 전체선택" onclick="check_all(this.form)"></th>
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_id', 'sca='.$sca); ?>상품코드 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" colspan="2" rowspan="2">분류 및 <?php echo subject_sort_link('it_name', 'sca='.$sca); ?>상품명 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" id="sit_amt"><?php echo subject_sort_link('it_price', 'sca='.$sca); ?>판매가격 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" id="sit_camt"><?php echo subject_sort_link('it_cust_price', 'sca='.$sca); ?>시중가격 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_order', 'sca='.$sca); ?>순서 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_use', 'sca='.$sca, 1); ?>판매 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_hit', 'sca='.$sca, 1); ?>조회 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" rowspan="2">
<label for="chkall" class="sound_only">게시판 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col" rowspan="2">상품코드</th>
<th scope="col" colspan="2" rowspan="2">분류 및 상품명</th>
<th scope="col" id="sit_amt">판매가격</th>
<th scope="col" id="sit_camt">시중가격</th>
<th scope="col" rowspan="2">순서</th>
<th scope="col" rowspan="2">판매</th>
<th scope="col" rowspan="2">조회</th>
<th scope="col" rowspan="2">관리</th>
</tr>
<tr>
<th scope="col" id="sit_pt"><?php echo subject_sort_link('it_point', 'sca='.$sca); ?>포인트 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" id="sit_qty"><?php echo subject_sort_link('it_stock_qty', 'sca='.$sca); ?>재고 <span class="sound_only">순 정렬</span></a></th>
<th scope="col" id="sit_pt">포인트</th>
<th scope="col" id="sit_qty">재고</th>
</tr>
</thead>
<tbody>
@ -171,7 +185,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
?>
<tr>
<td rowspan="2">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo get_text($row['bo_subject']) ?> 게시판선택">
<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; ?>">
</td>
<td rowspan="2">
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">

View File

@ -104,14 +104,22 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<section class="cbox">
<h2>사용후기 목록</h2>
<ul class="sort_odr">
<li><?php echo subject_sort_link("it_name"); ?>상품명</a></li>
<li><?php echo subject_sort_link("mb_name"); ?>이름</a></li>
<li><?php echo subject_sort_link("is_subject"); ?>제목</a></li>
<li><?php echo subject_sort_link("is_score"); ?>점수</a></li>
<li><?php echo subject_sort_link("is_confirm"); ?>확인</a></li>
</ul>
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><?php echo subject_sort_link("it_name"); ?>상품명</a></th>
<th scope="col"><?php echo subject_sort_link("mb_name"); ?>이름</a></th>
<th scope="col"><?php echo subject_sort_link("is_subject"); ?>제목</a></th>
<th scope="col"><?php echo subject_sort_link("is_score"); ?>점수</a></th>
<th scope="col"><?php echo subject_sort_link("is_confirm"); ?>확인</a></th>
<th scope="col">상품명</th>
<th scope="col">이름</th>
<th scope="col">제목</th>
<th scope="col">점수</th>
<th scope="col">확인</th>
<th scope="col">관리</th>
</tr>
</thead>

View File

@ -103,13 +103,20 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
<section class="cbox">
<h2>상품문의 목록</h2>
<ul class="sort_odr">
<li><?php echo subject_sort_link('it_name'); ?>상품명<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_name'); ?>이름<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('iq_subject'); ?>질문<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('iq_answer'); ?>답변<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><?php echo subject_sort_link('it_name'); ?>상품명<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><?php echo subject_sort_link('mb_name'); ?>이름<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><?php echo subject_sort_link('iq_subject'); ?>질문<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><?php echo subject_sort_link('iq_answer'); ?>답변<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">상품명</th>
<th scope="col">이름</th>
<th scope="col">질문</th>
<th scope="col">답변</th>
<th scope="col">관리</th>
</tr>
</thead>

View File

@ -102,26 +102,37 @@ if ($fr_date || $to_date) // 검색렬일 때만 처음 버튼을 보여줌
<h2>상품판매순위</h2>
<p>판매량을 합산하여 상품판매순위를 집계합니다.</p>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./itemlist.php" class="btn_add_optional">상품등록</a>
<a href="./itemstocklist.php" class="btn_add_optional">상품재고관리</a>
<a href="./optionstocklist.php" class="btn_add_optional">상품옵션재고관리</a>
</div>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("ct_status_1",1)."&amp;$qstr1"; ?>">쇼핑<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_2",1)."&amp;$qstr1"; ?>">주문<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_3",1)."&amp;$qstr1"; ?>">준비<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_4",1)."&amp;$qstr1"; ?>">배송<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_5",1)."&amp;$qstr1"; ?>">완료<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_6",1)."&amp;$qstr1"; ?>">취소<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_7",1)."&amp;$qstr1"; ?>">반품<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_8",1)."&amp;$qstr1"; ?>">품절<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status_sum",1)."&amp;$qstr1"; ?>">합계<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<table>
<thead>
<tr>
<th scope="col">순위</th>
<th scope="col">상품평</th>
<th scope="col"><a href="<?php echo title_sort("ct_status_1",1)."&amp;$qstr1"; ?>">쇼핑<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_2",1)."&amp;$qstr1"; ?>">주문<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_3",1)."&amp;$qstr1"; ?>">준비<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_4",1)."&amp;$qstr1"; ?>">배송<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_5",1)."&amp;$qstr1"; ?>">완료<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_6",1)."&amp;$qstr1"; ?>">취소<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_7",1)."&amp;$qstr1"; ?>">반품<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_8",1)."&amp;$qstr1"; ?>">품절<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status_sum",1)."&amp;$qstr1"; ?>">합계<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">쇼핑</th>
<th scope="col">주문</th>
<th scope="col">준비</th>
<th scope="col">배송</th>
<th scope="col">완료</th>
<th scope="col">취소</th>
<th scope="col">반품</th>
<th scope="col">품절</th>
<th scope="col">합계</th>
</tr>
</thead>
<tbody>

View File

@ -100,10 +100,18 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
<h2>상품재고 목록</h2>
<p>재고수정의 수치를 수정하시면 창고재고의 수치가 변경됩니다.</p>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./optionstocklist.php" class="btn_add_optional">상품옵션재고</a>
<a href="./itemsellrank.php" class="btn_add_optional">상품판매순위</a>
</div>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("it_id") . "&amp;$qstr1"; ?>">상품코드<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("it_name") . "&amp;$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("it_stock_qty") . "&amp;$qstr1"; ?>">창고재고<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("it_use") . "&amp;$qstr1"; ?>">판매<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fitemstocklist" action="./itemstocklistupdate.php" method="post">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
@ -115,13 +123,13 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><a href="<?php echo title_sort("it_id") . "&amp;$qstr1"; ?>">상품코드<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("it_name") . "&amp;$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("it_stock_qty") . "&amp;$qstr1"; ?>">창고재고<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">상품코드</th>
<th scope="col">상품명</th>
<th scope="col">창고재고</th>
<th scope="col">주문대기</th>
<th scope="col">가재고</th>
<th scope="col">재고수정</th>
<th scope="col"><a href="<?php echo title_sort("it_use") . "&amp;$qstr1"; ?>">판매<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">판매</th>
<th scope="col">관리</th>
</tr>
</thead>

View File

@ -126,6 +126,16 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
<section class="cbox">
<h2>상품 목록</h2>
<ul class="sort_odr">
<li><?php echo subject_sort_link("it_id", $qstr, 1); ?>상품코드<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("it_name"); ?>상품명<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("it_type1", $qstr, 1); ?>히트상품<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("it_type2", $qstr, 1); ?>추천상품<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("it_type3", $qstr, 1); ?>신규상품<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("it_type4", $qstr, 1); ?>인기상품<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link("it_type5", $qstr, 1); ?>할인상품<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fitemtypelist" method="post" action="./itemtypelistupdate.php">
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
@ -137,13 +147,13 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><?php echo subject_sort_link("it_id", $qstr, 1); ?>상품코드</a></th>
<th scope="col"><?php echo subject_sort_link("it_name"); ?>상품명</a></th>
<th scope="col"><?php echo subject_sort_link("it_type1", $qstr, 1); ?>히트<br>상품</a></th>
<th scope="col"><?php echo subject_sort_link("it_type2", $qstr, 1); ?>추천<br>상품</a></th>
<th scope="col"><?php echo subject_sort_link("it_type3", $qstr, 1); ?>신규<br>상품</a></th>
<th scope="col"><?php echo subject_sort_link("it_type4", $qstr, 1); ?>인기<br>상품</a></th>
<th scope="col"><?php echo subject_sort_link("it_type5", $qstr, 1); ?>할인<br>상품</a></th>
<th scope="col">상품코드</th>
<th scope="col">상품명</th>
<th scope="col">히트<br>상품</th>
<th scope="col">추천<br>상품</th>
<th scope="col">신규<br>상품</th>
<th scope="col">인기<br>상품</th>
<th scope="col">할인<br>상품</th>
<th scope="col">관리</th>
</tr>
</thead>

View File

@ -89,6 +89,13 @@ $colspan = 8;
<section class="cbox">
<h2>마일리지 내역</h2>
<ul class="sort_odr">
<li><?php echo subject_sort_link('mb_id') ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('ml_datetime') ?>일시<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('ml_content') ?>내용<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('ml_point') ?>마일리지<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fpointlist" id="fpointlist" method="post" action="./mileagelist_delete.php" onsubmit="return fmileagelist_submit(this);">
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
<input type="hidden" name="sod" value="<?php echo $sod; ?>">
@ -100,13 +107,16 @@ $colspan = 8;
<table class="tbl_pt_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 마일리지 내역 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?php echo subject_sort_link('mb_id') ?>회원아이디</a></th>
<th scope="col">
<label for="chkall" class="sound_only">마일리지 내역 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">회원아이디</th>
<th scope="col">이름</th>
<th scope="col">별명</th>
<th scope="col"><?php echo subject_sort_link('ml_datetime') ?>일시</a></th>
<th scope="col"><?php echo subject_sort_link('ml_content') ?>마일리지 내용</a></th>
<th scope="col"><?php echo subject_sort_link('ml_point') ?>마일리지</a></th>
<th scope="col">일시</th>
<th scope="col">마일리지 내용</th>
<th scope="col">마일리지</th>
<th scope="col">마일리지합</th>
</tr>
</thead>
@ -126,9 +136,10 @@ $colspan = 8;
<tr>
<td class="td_chk">
<input type="hidden" id="mb_id_<?php echo $i ?>" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>">
<input type="hidden" id="ml_id_<?php echo $i ?>" name="ml_id[<?php echo $i ?>]" value="<?php echo $row['ml_id'] ?>">
<input type="checkbox" id="chk_<?php echo $i ?>" name="chk[]" value="<?php echo $i ?>" title="내역선택">
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
<input type="hidden" name="ml_id[<?php echo $i ?>]" value="<?php echo $row['ml_id'] ?>" id="ml_id_<?php echo $i ?>">
<label for="chk_<?php echo $i; ?>" class="sound_only">내역</label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td class="td_mbid"><a href="?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_mbname"><?php echo $row2['mb_name'] ?></td>

View File

@ -21,7 +21,7 @@ $result = sql_query($sql);
<section class="cbox">
<h2>팝업레이어 관리</h2>
<p>추가된 팝업레이어 <?php echo $total_count; ?>건</p>
<div id="btn_add">
<div class="btn_add">
<a href="./newwinform.php">새창관리추가</a>
</div>
<table id="spop_list">

View File

@ -107,10 +107,17 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
창고재고가 부족한 경우 재고수량 뒤에 <span class="sit_stock_qty_alert">!</span><span class="sound_only"> 혹은 재고부족</span>으로 표시됩니다.
</p>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./itemstocklist.php" class="btn_add_optional">상품재고관리</a>
<a href="./itemsellrank.php" class="btn_add_optional">상품판매순위</a>
</div>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("b.it_name") . "&amp;$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("a.io_stock_qty") . "&amp;$qstr1"; ?>">창고재고<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("a.io_use") . "&amp;$qstr1"; ?>">판매<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fitemstocklist" action="./optionstocklistupdate.php" method="post">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
@ -122,14 +129,14 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><a href="<?php echo title_sort("b.it_name") . "&amp;$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">상품명</th>
<th scope="col">옵션항목</th>
<th scope="col">옵션타입</th>
<th scope="col"><a href="<?php echo title_sort("a.io_stock_qty") . "&amp;$qstr1"; ?>">창고재고<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">창고재고</th>
<th scope="col">주문대기</th>
<th scope="col">가재고</th>
<th scope="col">재고수정</th>
<th scope="col"><a href="<?php echo title_sort("a.io_use") . "&amp;$qstr1"; ?>">판매<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">판매</th>
<th scope="col">관리</th>
</tr>
</thead>

View File

@ -82,21 +82,30 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
<h2>전자결제내역</h2>
<p>신용카드 혹은 실시간 계좌이체로 결제(승인) 된 내역이며, 주문번호를 클릭하시면 주문상세 페이지로 이동합니다.</p>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./orderlist.php" class="btn_add_optional">주문내역</a>
<a href="./orderstatuslist.php" class="btn_add_optional">주문개별내역</a>
<a href="./orderlist2.php" class="btn_add_optional">주문통합내역</a>
</div>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("od_id") . "&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("cd_amount") . "&amp;$qstr1"; ?>">승인금액<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("cd_app_no") . "&amp;$qstr1"; ?>">승인번호<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("cd_app_rt") . "&amp;$qstr1"; ?>">승인결과<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("cd_app_time") . "&amp;$qstr1"; ?>">승인일시<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("cd_opt01") . "&amp;$qstr1"; ?>">결제자<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<table class="frm_basic">
<thead>
<tr>
<th scope="col"><a href="<?php echo title_sort("od_id") . "&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("cd_amount") . "&amp;$qstr1"; ?>">승인금액<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("cd_app_no") . "&amp;$qstr1"; ?>">승인번호<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("cd_app_rt") . "&amp;$qstr1"; ?>">승인결과<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("cd_app_time") . "&amp;$qstr1"; ?>">승인일시<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("cd_opt01") . "&amp;$qstr1"; ?>">결제자<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">주문번호</th>
<th scope="col">승인금액</th>
<th scope="col">승인번호</th>
<th scope="col">승인결과</th>
<th scope="col">승인일시</th>
<th scope="col">결제자</th>
</tr>
</thead>
<tbody>

View File

@ -125,26 +125,36 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<h2>주문내역 목록</h2>
<p><strong>주의!</strong> 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오.</p>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./orderprint.php" class="btn_add_optional">주문내역출력</a>
<a href="./ordercardhistory.php" class="btn_add_optional">전자결제내역</a>
</div>
<ul id="sort_sodr" class="sort_odr">
<li><a href="<?php echo title_sort("od_id", 1)."&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_name")."&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("mb_id")."&amp;$qstr1"; ?>">회원ID<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("itemcount", 1)."&amp;$qstr1"; ?>">건수<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("orderamount", 1)."&amp;$qstr1"; ?>">주문합계<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ordercancel", 1)."&amp;$qstr1"; ?>">주문취소<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_dc_amount", 1)."&amp;$qstr1"; ?>">DC<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("receiptamount")."&amp;$qstr1"; ?>">입금합계<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("receiptcancel", 1)."&amp;$qstr1"; ?>">입금취소<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("misu", 1)."&amp;$qstr1"; ?>">미수금<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<table id="sodr_list">
<thead>
<tr>
<th scope="col"><a href="<?php echo title_sort("od_id", 1)."&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span><br>주문일시</a></th>
<th scope="col">
<a href="<?php echo title_sort("od_name")."&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a><br>
<a href="<?php echo title_sort("mb_id")."&amp;$qstr1"; ?>">회원ID<span class="sound_only"> 순 정렬</span>
</th>
<th scope="col"><a href="<?php echo title_sort("itemcount", 1)."&amp;$qstr1"; ?>">건수<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("orderamount", 1)."&amp;$qstr1"; ?>" class="order_sum">주문합계<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ordercancel", 1)."&amp;$qstr1"; ?>">주문취소<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("od_dc_amount", 1)."&amp;$qstr1"; ?>">DC<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("receiptamount")."&amp;$qstr1"; ?>" class="order_sum">입금합계<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("receiptcancel", 1)."&amp;$qstr1"; ?>">입금취소<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("misu", 1)."&amp;$qstr1"; ?>" class="order_outstanding">미수금<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">주문번호<br>주문일시</th>
<th scope="col">주문자<br>회원ID</th>
<th scope="col">건수</th>
<th scope="col">주문합계</th>
<th scope="col">주문취소</th>
<th scope="col">DC</th>
<th scope="col">입금합계</th>
<th scope="col">입금취소</th>
<th scope="col">미수금</th>
<th scope="col">결제수단</th>
<th scope="col">관리</th>
</tr>

View File

@ -96,14 +96,14 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<h2>주문통합내역 목록</h2>
<p><strong>주의!</strong> 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오.</p>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./orderprint.php" class="btn_add_optional">주문내역출력</a>
<a href="./ordercardhistory.php" class="btn_add_optional">전자결제내역</a>
</div>
<ul id="sodr_all_sort">
<ul class="sort_odr">
<li><a href="<?php echo title_sort("od_id", 1)."&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_name")."&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a><br></li>
<li><a href="<?php echo title_sort("od_name")."&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("itemcount", 1)."&amp;$qstr1"; ?>">건수<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("orderamount", 1)."&amp;$qstr1"; ?>">주문합계<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ordercancel", 1)."&amp;$qstr1"; ?>">주문취소<span class="sound_only"> 순 정렬</span></a></li>
@ -278,8 +278,9 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
<div class="sodr_mng">
<a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>&amp;<?php echo $qstr; ?>"><img src="./img/icon_mod.jpg" alt="주문 수정"></a>
<a href="./orderdelete.php?od_id=<?php echo $row['od_id']; ?>&amp;uq_id=<?php echo $row['uq_id']; ?>&amp;mb_id=<?php echo $row['mb_id']; ?>&amp;<?php echo $qstr; ?>&amp;list=2" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="주문 삭제"></a>
<a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>&amp;<?php echo $qstr; ?>">주문 수정</a>
|
<a href="./orderdelete.php?od_id=<?php echo $row['od_id']; ?>&amp;uq_id=<?php echo $row['uq_id']; ?>&amp;mb_id=<?php echo $row['mb_id']; ?>&amp;<?php echo $qstr; ?>&amp;list=2" onclick="return delete_confirm();">주문 삭제</a>
</div>
</li>

View File

@ -12,7 +12,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<h2>주문내역출력</h2>
<p>기간별 혹은 주문번호구간별 주문내역을 새창으로 출력할 수 있습니다.</p>
<div id="btn_add">
<div class="btn_add">
<a href="./orderlist.php" class="btn_add_optional">주문내역</a>
<a href="./orderstatuslist.php" class="btn_add_optional">주문개별내역</a>
<a href="./orderlist2.php" class="btn_add_optional">주문통합내역</a>

View File

@ -122,23 +122,35 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<section class="cbox">
<h2><?php echo $g4['title']; ?> 목록</h2>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./orderprint.php" class="btn_add_optional">주문내역출력</a>
<a href="./ordercardhistory.php" class="btn_add_optional">전자결제내역</a>
</div>
<ul class="sort_odr">
<li><a href="<?php echo title_sort("od_id")."&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
<li><a href="<?php echo title_sort("it_name")."&amp;$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("od_name")."&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></th>
<li><a href="<?php echo title_sort("mb_id")."&amp;$qstr1"; ?>">회원ID<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_price")."&amp;$qstr1"; ?>">판매가<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_qty")."&amp;$qstr1"; ?>">수량<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_sub_amount")."&amp;$qstr1"; ?>">소계<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_sub_point")."&amp;$qstr1"; ?>">포인트<span class="sound_only"> 순 정렬</span></a></li>
<li><a href="<?php echo title_sort("ct_status")."&amp;$qstr1"; ?>">상태<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<table id="sodr_status">
<thead>
<tr>
<th scope="col"><a href="<?php echo title_sort("od_id")."&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a><br>주문일시</th>
<th scope="col"><a href="<?php echo title_sort("it_name")."&amp;$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("od_name")."&amp;$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a><br>입금자</th>
<th scope="col"><a href="<?php echo title_sort("mb_id")."&amp;$qstr1"; ?>">회원ID<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_price")."&amp;$qstr1"; ?>">판매가<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_qty")."&amp;$qstr1"; ?>">수량<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_sub_amount")."&amp;$qstr1"; ?>">소계<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_sub_point")."&amp;$qstr1"; ?>">포인트<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?php echo title_sort("ct_status")."&amp;$qstr1"; ?>">상태<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col">주문번호<br>주문일시</th>
<th scope="col">상품명</th>
<th scope="col">주문자<br>입금자</th>
<th scope="col">회원ID</th>
<th scope="col">판매가</th>
<th scope="col">수량</th>
<th scope="col">소계</th>
<th scope="col">포인트</th>
<th scope="col">상태</th>
<th scope="col">수정</th>
</tr>
</thead>
@ -183,7 +195,14 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<td><?php echo number_format($lines[$i]['ct_sub_amount']); ?></td>
<td><?php echo number_format($lines[$i]['ct_sub_point']); ?></td>
<td><a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&amp;sort2=<?php echo $sort2; ?>&amp;sel_field=ct_status&amp;search=<?php echo $lines[$i]['ct_status']; ?>"><?php echo $lines[$i]['ct_status']; ?></a></td>
<td><a href="./orderform.php?od_id=<?php echo $lines[$i]['od_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $lines[$i]['od_id']; ?> 수정"></a></td>
<td class="td_mng sv_use">
<div class="sel_wrap">
<button type="button" class="sel_btn">관리하기</button>
<ul class="sel_ul">
<li class="sel_li"><a href="./orderform.php?od_id=<?php echo $lines[$i]['od_id']; ?>" class="sel_a">주문수정</a></li>
</ul>
</div>
</td>
</tr>
<?php
}

View File

@ -53,8 +53,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
$lines[$i] = $row;
// 장바구니 상태별 금액
$sql1 = " select (SUM(ct_price * ct_qty)) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', ct_price * ct_qty, 0))) as ordercancel /* 주문취소 */
$sql1 = " select (SUM(IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty))) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty), 0))) as ordercancel /* 주문취소 */
from {$g4['shop_cart_table']}
where uq_id = '{$row['uq_id']}' ";
$row1 = sql_fetch($sql1);

View File

@ -53,8 +53,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
$lines[$i] = $row;
// 장바구니 상태별 금액
$sql1 = " select (SUM(ct_price * ct_qty)) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', ct_price * ct_qty, 0))) as ordercancel /* 주문취소 */
$sql1 = " select (SUM(IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty))) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty), 0))) as ordercancel /* 주문취소 */
from {$g4['shop_cart_table']}
where uq_id = '{$row['uq_id']}' ";
$row1 = sql_fetch($sql1);

View File

@ -6,7 +6,7 @@ auth_check($auth[$sub_menu], "r");
$date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $date);
$g4['title'] = "$date 매출현황";
$g4['title'] = "$date 일 매출현황";
include_once (G4_ADMIN_PATH.'/admin.head.php');
unset($tot);
@ -31,8 +31,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
$lines[$i] = $row;
// 장바구니 상태별 금액
$sql1 = " select (SUM(ct_price * ct_qty)) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', ct_price * ct_qty, 0))) as ordercancel /* 주문취소 */
$sql1 = " select (SUM(IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty))) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty), 0))) as ordercancel /* 주문취소 */
from {$g4['shop_cart_table']}
where uq_id = '{$row['uq_id']}' ";
$row1 = sql_fetch($sql1);

View File

@ -48,8 +48,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
$lines[$i] = $row;
// 장바구니 상태별 금액
$sql1 = " select (SUM(ct_price * ct_qty)) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', ct_price * ct_qty, 0))) as ordercancel /* 주문취소 */
$sql1 = " select (SUM(IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty))) as orderamount, /* 주문합계 */
(SUM(IF(ct_status = '취소' OR ct_status = '반품' OR ct_status = '품절', IF(io_type = 1, io_price * ct_qty, (ct_price + io_price) * ct_qty), 0))) as ordercancel /* 주문취소 */
from {$g4['shop_cart_table']}
where uq_id = '{$row['uq_id']}' ";
$row1 = sql_fetch($sql1);

View File

@ -150,13 +150,6 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
/* 주문통합내역 */
#sodr_all {}
#sodr_all #btn_add {float:right}
#sodr_all_sort {float:left;margin:0;padding-left:1px;list-style:none;zoom:1}
#sodr_all_sort:after {display:block;visibility:hidden;clear:both;content:""}
#sodr_all_sort li {float:left;margin-bottom:-1px}
#sodr_all_sort a {display:block;position:relative;margin-left:-1px;padding:8px 0 6px;width:70px;border:1px solid #e9e9e9;background:#f5f6fa;color:#000;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#sodr_all_sort a:focus, #sodr_all_sort a:hover, #sodr_all_sort a:active {text-decoration:none}
#sodr_all_list {clear:both;margin:0;padding:10px 0 0;border-top:25px solid #f7f7f7;list-style:none}
#sodr_all_list li {margin:0 0 10px;border-bottom:25px solid #f7f7f7}
@ -382,9 +375,9 @@ fieldset .btn_submit:focus {height:21px;background:#555;line-height:1.7em}
.btn_ft a {display:inline-block;padding:0 15px;height:28px;background:#617d46;color:#fff;text-decoration:none;line-height:2.4em;vertical-align:middle}
.btn_ft a:focus {background:#555}
#btn_add {margin-bottom:10px;text-align:right}
#btn_add a {display:inline-block;padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
#btn_add .btn_add_optional {background:#617d46 !important}
.btn_add {margin-bottom:10px;text-align:right}
.btn_add a {display:inline-block;padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
.btn_add .btn_add_optional {background:#617d46 !important}
/* 필수입력 */
.required {background:url('../img/wrest.gif') #f6f9fa top right no-repeat !important}
@ -420,10 +413,23 @@ fieldset button {padding:0 15px;height:23px;border:0;background:#617d46;color:#f
.anchor a {display:inline-block;border:1px solid #586267;background:#667379;padding:0 7px;height:30px;color:#fff;text-decoration:none;line-height:2.6em}
.anchor a:focus, .anchor a:hover {background:#434f54;text-decoration:none}
/* 리스트 정렬 */
.sort_odr {float:left;margin:0 0 10px;padding-left:1px;list-style:none;zoom:1}
.sort_odr:after {display:block;visibility:hidden;clear:both;content:""}
.sort_odr li {float:left;margin-bottom:-1px}
.sort_odr a {display:block;position:relative;margin-left:-1px;padding:8px 0 6px;width:70px;border:1px solid #e9e9e9;background:#f5f6fa;color:#000;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
.sort_odr a:focus, .sort_odr a:hover, .sort_odr a:active {text-decoration:none}
.sort_with {float:right}
#sort_mb {width:800px}
#sort_sodr {width:600px}
/* 테이블 */
table {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0}
caption {padding:10px 0 15px;font-weight:bold;text-align:left}
thead th {padding:12px 0 8px;border-top:1px solid #e9e9e9;background:#f3f6f7}
thead th {padding:12px 0 8px;border-bottom:1px solid #666;background:#565e60;color:#fff}
thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}

View File

@ -104,9 +104,7 @@ a:active {color:#000;text-decoration:underline}
.stv_item {display:none;text-align:center}
.stv_item img {margin:5px 0}
#stv_nb {border-top:1px solid #e9e9e9;background:#f5f6fa}
#stv_nb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#stv_nb ul {margin:0;padding:0;list-style:none}
#stv_nb {margin:0;padding:0;border-top:1px solid #e9e9e9;background:#f5f6fa;list-style:none}
#stv_nb li {text-align:center}
#stv_nb a {display:block}
@ -754,11 +752,9 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col
.socc_img {text-align:center}
/* FAQ 관리 */
#sfaq {}
.sfaq_admin {text-align:right}
#sfaq header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#sfaq_wrap {margin:10px 0}
#sfaq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.sfaq_admin {text-align:right}
#sfaq_wrap ol {margin:0;padding:0;list-style:none}
#sfaq_list {margin:0 0 10px;border:1px solid #ccc}
#sfaq_list li {border-bottom:1px solid #fff;background:#f5f6fa}

View File

@ -133,6 +133,7 @@ ob_start();
and cp_used = '0'
and cp_start <= '".G4_TIME_YMD."'
and cp_end >= '".G4_TIME_YMD."'
and cp_minimum <= '$sell_amount'
and (
( cp_method = '0' and cp_target = '{$row['it_id']}' )
OR

View File

@ -2,7 +2,7 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<section id="scomm">
<aside id="scomm">
<h2>쇼핑몰 커뮤니티</h2>
<ul>
@ -20,4 +20,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
</ul>
</section>
</aside>

View File

@ -2,7 +2,7 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<section id="sev">
<aside id="sev">
<h2>쇼핑몰 이벤트</h2>
<ul>
@ -35,4 +35,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
</ul>
</section>
</aside>

View File

@ -84,14 +84,11 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
<?php } ?>
<aside id="stv_nb">
<h3>빠른 연결</h3>
<ul>
<li><a href="<?php echo G4_SHOP_URL; ?>/cart.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_cart.gif" alt="장바구니"></a></li>
<li><a href="<?php echo G4_SHOP_URL; ?>/wishlist.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_wish.gif" alt="위시리스트"></a></li>
<li><a href="<?php echo G4_SHOP_URL; ?>/orderinquiry.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_deli.gif" alt="주문/배송조회"></a></li>
</ul>
</aside>
<ul id="stv_nb">
<li><a href="<?php echo G4_SHOP_URL; ?>/cart.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_cart.gif" alt="장바구니"></a></li>
<li><a href="<?php echo G4_SHOP_URL; ?>/wishlist.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_wish.gif" alt="위시리스트"></a></li>
<li><a href="<?php echo G4_SHOP_URL; ?>/orderinquiry.php"><img src="<?php echo G4_URL; ?>/img/shop/hd_nb_deli.gif" alt="주문/배송조회"></a></li>
</ul>
</div>
<script>

View File

@ -27,56 +27,50 @@ if (file_exists($himg))
echo '<div id="sfaq_hhtml">'.stripslashes($fm['fm_head_html']).'</div>';
?>
<article id="sfaq" class="sfaq_<?=$fm_id?>">
<header>
<h1><?php echo $g4['title']; ?></h1>
</header>
<div id="sfaq_wrap">
<?php // FAQ 목차
$sql = " select * from {$g4['shop_faq_table']}
where fm_id = '$fm_id'
order by fa_order , fa_id ";
$result = sql_query($sql);
for ($i=1; $row=sql_fetch_array($result); $i++)
<div id="sfaq_wrap" class="sfaq_<?php echo $fm_id; ?>">
<?php // FAQ 목차
$sql = " select * from {$g4['shop_faq_table']}
where fm_id = '$fm_id'
order by fa_order , fa_id ";
$result = sql_query($sql);
for ($i=1; $row=sql_fetch_array($result); $i++)
{
if ($i == 1)
{
if ($i == 1)
{
?>
<section id="sfaq_list">
<h2>FAQ 목차</h2>
<ol>
<?php } ?>
<li><a href="#sfaq_<?php echo $fm_id.'_'.$i; ?>"><?php echo stripslashes($row['fa_subject']); ?></a></li>
<?php }
if ($i > 1) echo '</ol></section>';
?>
?>
<section id="sfaq_list">
<h2><?php echo $g4['title']; ?> 목차</h2>
<ol>
<?php } ?>
<li><a href="#sfaq_<?php echo $fm_id.'_'.$i; ?>"><?php echo stripslashes($row['fa_subject']); ?></a></li>
<?php }
if ($i > 1) echo '</ol></section>';
?>
<?php // FAQ 내용
$resultb = sql_query($sql);
for ($i=1; $row=sql_fetch_array($resultb); $i++)
<?php // FAQ 내용
$resultb = sql_query($sql);
for ($i=1; $row=sql_fetch_array($resultb); $i++)
{
if ($i == 1)
{
if ($i == 1)
{
?>
<section id="sfaq_con">
<h2>FAQ 내용</h2>
<ol>
<?php } ?>
<li id="sfaq_<?php echo $fm_id.'_'.$i; ?>">
<h3><?php echo stripslashes($row['fa_subject']); ?></h3>
<p>
<?php echo stripslashes($row['fa_content']); ?>
</p>
<div class="sfaq_tolist"><a href="#sfaq_list" class="btn01">FAQ 목차</a></div>
</li>
<?php }
if ($i > 1) echo '</ol></section>';
?>
<section id="sfaq_con">
<h2><?php echo $g4['title']; ?> 내용</h2>
<ol>
<?php } ?>
<li id="sfaq_<?php echo $fm_id.'_'.$i; ?>">
<h3><?php echo stripslashes($row['fa_subject']); ?></h3>
<p>
<?php echo stripslashes($row['fa_content']); ?>
</p>
<div class="sfaq_tolist"><a href="#sfaq_list" class="btn01">FAQ 목차</a></div>
</li>
<?php }
if ($i > 1) echo '</ol></section>';
if ($i == 1) echo '<p>등록된 FAQ가 없습니다.<br><a href="'.G4_ADMIN_URL.'/shop_admin/faqmasterlist.php">FAQ를 새로 등록하시려면 FAQ관리</a> 메뉴를 이용하십시오.</p>';
?>
</div>
</article>
if ($i == 1) echo '<p>등록된 FAQ가 없습니다.<br><a href="'.G4_ADMIN_URL.'/shop_admin/faqmasterlist.php">FAQ를 새로 등록하시려면 FAQ관리</a> 메뉴를 이용하십시오.</p>';
?>
</div>
<?php
// 하단 HTML

View File

@ -25,7 +25,7 @@ include_once(G4_PATH.'/head.sub.php');
?>
<div id="sit_pvi_nw">
<h1>상품 이미지 새 창 보기</h1>
<h1>상품 이미지 새창 보기</h1>
<div id="sit_pvi_nwbig">
<?php

View File

@ -208,6 +208,7 @@ setTimeout("init_pay_button();",300);
and cp_used = '0'
and cp_start <= '".G4_TIME_YMD."'
and cp_end >= '".G4_TIME_YMD."'
and cp_minimum <= '$sell_amount'
and (
( cp_method = '0' and cp_target = '{$row['it_id']}' )
OR

View File

@ -112,10 +112,10 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
<?php // include_once(G4_SHOP_PATH.'/boxwish.inc.php'); ?>
<!-- 왼쪽 배너 -->
<section id="sbn_aside">
<aside id="sbn_aside">
<h2>쇼핑몰 배너</h2>
<?php echo display_banner('왼쪽'); ?>
</section>
</aside>
</div>
<div id="container">