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

This commit is contained in:
whitedot
2013-04-30 10:36:16 +09:00
17 changed files with 286 additions and 286 deletions

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '400420';
include_once('./_common.php');
@ -77,30 +77,30 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
<form name="frmorderlist">
<input type="hidden" name="doc" value="<?=$doc?>">
<input type="hidden" name="sort1" value="<?=$sort1?>">
<input type="hidden" name="sort2" value="<?=$sort2?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="save_search" value="<?=$search?>">
<input type="hidden" name="doc" value="<?php cho $doc; ?>">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
<input type="hidden" name="page" value="<?php echo $page; ?>">
<input type="hidden" name="save_search" value="<?php echo $search; ?>">
<fieldset>
<legend>주문내역 검색</legend>
<span>
<?=$listall?>
전체 주문내역 <?=$total_count ?>건
<?php echo $listall; ?>
전체 주문내역 <?php echo $total_count; ?>건
</span>
<label for="sel_field" class="sound_only">검색대상</label>
<select name="sel_field" id="sel_field">
<option value="od_id" <?=get_selected($sel_field, 'od_id')?>>주문번호</option>
<option value="mb_id" <?=get_selected($sel_field, 'mb_id')?>>회원 ID</option>
<option value="od_name" <?=get_selected($sel_field, 'od_name')?>>주문자</option>
<option value="od_b_name" <?=get_selected($sel_field, 'od_b_name')?>>받는분</option>
<option value="od_deposit_name" <?=get_selected($sel_field, 'od_deposit_name')?>>입금자</option>
<option value="od_invoice" <?=get_selected($sel_field, 'od_invoice')?>>운송장번호</option>
<option value="od_id" <?php echo get_selected($sel_field, 'od_id'); ?>>주문번호</option>
<option value="mb_id" <?php echo get_selected($sel_field, 'mb_id'); ?>>회원 ID</option>
<option value="od_name" <?php echo get_selected($sel_field, 'od_name'); ?>>주문자</option>
<option value="od_b_name" <?php echo get_selected($sel_field, 'od_b_name'); ?>>받는분</option>
<option value="od_deposit_name" <?php echo get_selected($sel_field, 'od_deposit_name'); ?>>입금자</option>
<option value="od_invoice" <?php echo get_selected($sel_field, 'od_invoice'); ?>>운송장번호</option>
</select>
<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="search" value="<?=$search?>" id="search" autocomplete="off">
<input type="text" name="search" value="<?php echo $search; ?>" id="search" autocomplete="off">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
@ -117,18 +117,18 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<table id="sodr_all">
<thead>
<tr>
<th id="sodr_all_num"><a href="<?=title_sort("od_id", 1)."&amp;$qstr1";?>">주문번호<span class="sound_only"> 순 정렬</span></a><br>주문일시</th>
<th id="sodr_all_num"><a href="<?php echo title_sort("od_id", 1)."&amp;$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a><br>주문일시</th>
<th id="sodr_all_id">
<a href="<?=title_sort("od_name")."&amp;$qstr1";?>">주문자<span class="sound_only"> 순 정렬</span>/입금자</a><br>
<a href="<?=title_sort("mb_id")."&amp;$qstr1"; ?>">회원ID</a>
<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</a>
</th>
<th id="sodr_all_cnt"><a href="<?=title_sort("itemcount", 1)."&amp;$qstr1";?>">건수<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_calc"><a href="<?=title_sort("orderamount", 1)."&amp;$qstr1";?>">주문합계<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_cancel"><a href="<?=title_sort("ordercancel", 1)."&amp;$qstr1";?>">주문취소<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_dc"><a href="<?=title_sort("od_dc_amount", 1)."&amp;$qstr1";?>">DC<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_inc"><a href="<?=title_sort("receiptamount")."&amp;$qstr1";?>">입금합계<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_inc_cancel"><a href="<?=title_sort("receiptcancel", 1)."&amp;$qstr1";?>">입금취소<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_nonpay"><a href="<?=title_sort("misu", 1)."&amp;$qstr1";?>">미수금<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_cnt"><a href="<?php echo title_sort("itemcount", 1)."&amp;$qstr1"; ?>">건수<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_calc"><a href="<?php echo title_sort("orderamount", 1)."&amp;$qstr1"; ?>">주문합계<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_cancel"><a href="<?php echo title_sort("ordercancel", 1)."&amp;$qstr1"; ?>">주문취소<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_dc"><a href="<?php echo title_sort("od_dc_amount", 1)."&amp;$qstr1"; ?>">DC<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_inc"><a href="<?php echo title_sort("receiptamount")."&amp;$qstr1"; ?>">입금합계<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_inc_cancel"><a href="<?php echo title_sort("receiptcancel", 1)."&amp;$qstr1"; ?>">입금취소<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_nonpay"><a href="<?php echo title_sort("misu", 1)."&amp;$qstr1"; ?>">미수금<span class="sound_only"> 순 정렬</span></a></th>
<th id="sodr_all_payby">결제수단</th>
<th id="sodr_all_mng">관리</th>
</tr>
@ -144,18 +144,18 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<tfoot>
<tr>
<th scope="row" colspan="2">합 계</td>
<td><?=(int)$tot_itemcount?>건</td>
<td><?=number_format($tot_orderamount)?></td>
<td><?=number_format($tot_ordercancel)?></td>
<td><?=number_format($tot_dc_amount)?></td>
<td><?=number_format($tot_receiptamount)?></td>
<td><?=number_format($tot_receiptcancel)?></td>
<td><?=number_format($tot_misu)?></td>
<td><?php echo (int)$tot_itemcount; ?>건</td>
<td><?php echo number_format($tot_orderamount); ?></td>
<td><?php echo number_format($tot_ordercancel); ?></td>
<td><?php echo number_format($tot_dc_amount); ?></td>
<td><?php echo number_format($tot_receiptamount); ?></td>
<td><?php echo number_format($tot_receiptcancel); ?></td>
<td><?php echo number_format($tot_misu); ?></td>
<td colspan="2"></td>
</tr>
</tfoot>
<tbody>
<?
<?php
for ($i=0; $i<count($lines); $i++)
{
// 결제 수단
@ -194,28 +194,28 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
<tr>
<td headers="sodr_all_num"><a href="<?=G4_SHOP_URL?>/orderinquiryview.php?od_id=<?=$lines[$i]['od_id']?>&amp;uq_id=<?=$lines[$i]['uq_id']?>"><?=$lines[$i]['od_id']?><br><?=$lines[$i]['od_time']?></a></td>
<td headers="sodr_all_num"><a href="<?php echo G4_SHOP_URL; ?>/orderinquiryview.php?od_id=<?php echo $lines[$i]['od_id']; ?>&amp;uq_id=<?php echo $lines[$i]['uq_id']; ?>"><?php echo $lines[$i]['od_id']; ?><br><?php echo $lines[$i]['od_time']; ?></a></td>
<td headers="sodr_all_id" class="td_name">
<a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=od_name&amp;search=<?=$lines[$i]['od_name']?>">
<?=cut_str($lines[$i]['od_name'],30,"")?>/<?=$od_deposit_name?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1;?>&amp;sort2=<?php echo $sort2; ?>&amp;sel_field=od_name&amp;search=<?php echo $lines[$i]['od_name']; ?>">
<?php echo cut_str($lines[$i]['od_name'],30,""); ?>/<?php echo $od_deposit_name; ?>
</a><br>
<a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=mb_id&amp;search=<?=$lines[$i]['mb_id']?>"><?=$lines[$i]['mb_id']?></a>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&amp;sort2=<?php echo $sort2; ?>&amp;sel_field=mb_id&amp;search=<?php echo $lines[$i]['mb_id']; ?>"><?php echo $lines[$i]['mb_id']; ?></a>
</td>
<td headers="sodr_all_cnt"><?=$lines[$i]['itemcount']?>건</td>
<td headers="sodr_all_calc" class="td_sodr_sum"><?=number_format($lines[$i]['orderamount'])?></td>
<td headers="sodr_all_cancel"><?=number_format($lines[$i]['ordercancel'])?></td>
<td headers="sodr_all_dc"><?=number_format($lines[$i]['od_dc_amount'])?></td>
<td headers="sodr_all_inc" class="td_sodr_sum"><?=number_format($lines[$i]['receiptamount'])?></td>
<td headers="sodr_all_inc_cancel"><?=number_format($lines[$i]['receiptcancel'])?></td>
<td headers="sodr_all_nonpay" class="td_sodr_nonpay"><?=number_format($lines[$i]['misu'])?></td>
<td headers="sodr_all_payby"><?=$s_receipt_way?></td>
<td headers="sodr_all_cnt"><?php echo $lines[$i]['itemcount']; ?>건</td>
<td headers="sodr_all_calc" class="td_sodr_sum"><?php echo number_format($lines[$i]['orderamount']); ?></td>
<td headers="sodr_all_cancel"><?php echo number_format($lines[$i]['ordercancel']); ?></td>
<td headers="sodr_all_dc"><?php echo number_format($lines[$i]['od_dc_amount']); ?></td>
<td headers="sodr_all_inc" class="td_sodr_sum"><?php echo number_format($lines[$i]['receiptamount']); ?></td>
<td headers="sodr_all_inc_cancel"><?php echo number_format($lines[$i]['receiptcancel']); ?></td>
<td headers="sodr_all_nonpay" class="td_sodr_nonpay"><?php echo number_format($lines[$i]['misu']); ?></td>
<td headers="sodr_all_payby"><?php echo $s_receipt_way; ?></td>
<td headers="sodr_all_mng">
<a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>&amp;$qstr?>"><img src="./img/icon_mod.jpg" alt="주문 수정"></a>
<a href="./orderdelete.php?od_id=<?=$lines[$i]['od_id']?>&amp;uq_id=<?=$lines[$i]['uq_id']?>&amp;mb_id=<?=$lines[$i]['mb_id']?>&amp;<?=$qstr?>&amp;list=2" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="주문 삭제"></a>
<a href="./orderform.php?od_id=<?php echo $lines[$i]['od_id']; ?>&amp;$qstr?>"><img src="./img/icon_mod.jpg" alt="주문 수정"></a>
<a href="./orderdelete.php?od_id=<?php echo $lines[$i]['od_id']; ?>&amp;uq_id=<?php echo $lines[$i]['uq_id']; ?>&amp;mb_id=<?php echo $lines[$i]['mb_id']; ?>&amp;<?php echo $qstr; ?>&amp;list=2" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="주문 삭제"></a>
</td>
</tr>
<?
<?php
// 상품개별출력
$sql2 = " select c.it_name,
b.*
@ -236,17 +236,17 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<tr class="tr_sodr_item">
<td headers="sodr_all_item" colspan="5">
<ul>
<li><a href="<?=$href?>"><?=get_it_image($row2['it_id'].'_s', 50, 50)?><?=$it_name?></a></li>
<li><a href="<?php echo $href; ?>"><?php echo get_it_image($row2['it_id'].'_s', 50, 50); ?><?php echo $it_name; ?></a></li>
</ul>
</td>
<td headers="sodr_all_cost"><?=number_format($row2['ct_amount'])?></td>
<td headers="sodr_all_qty"><?=$row2['ct_qty']?></td>
<td headers="sodr_all_pt"><?=number_format($sub_point)?></td>
<td headers="sodr_all_tot"><?=number_format($sub_amount)?></td>
<td headers="sodr_all_stats" colspan="2"><?=$row2['ct_status']?></td>
<td headers="sodr_all_cost"><?php echo number_format($row2['ct_amount']); ?></td>
<td headers="sodr_all_qty"><?php echo $row2['ct_qty']; ?></td>
<td headers="sodr_all_pt"><?php echo number_format($sub_point); ?></td>
<td headers="sodr_all_tot"><?php echo number_format($sub_amount); ?></td>
<td headers="sodr_all_stats" colspan="2"><?php echo $row2['ct_status']; ?></td>
</tr>
<?
<?php
}
}
@ -257,8 +257,8 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
</table>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 제대로된 include 시에만 실행

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500120';
include_once('./_common.php');
@ -45,9 +45,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<option value="">전체</option>
</select>
<label for="fr_date" class="sound_only">기간 시작일</label>
<input type="text" name="fr_date" value="<?=date("Ymd");?>" id="fr_date" class="frm_input" size="10" maxlength="8"> 부터
<input type="text" name="fr_date" value="<?php echo date("Ymd"); ?>" id="fr_date" class="frm_input" size="10" maxlength="8"> 부터
<label for="to_date" class="sound_only">기간 종료일</label>
<input type="text" name="to_date" value="<?=date("Ymd");?>" id="to_date" class="frm_input" size="10" maxlength="8"> 까지
<input type="text" name="to_date" value="<?php echo date("Ymd"); ?>" id="to_date" class="frm_input" size="10" maxlength="8"> 까지
<button type="submit" class="btn_frmline">출력 (새창)</button>
</div>
@ -105,6 +105,6 @@ function forderprintcheck(f)
}
</script>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500120';
include_once('./_common.php');
@ -203,7 +203,7 @@ if (mysql_num_rows($result) == 0)
<div id="sodr_print_pop" class="cbox">
<h1>
<?
<?php
if ($case == 1)
echo $fr_date.' 부터 '.$to_date.' 까지 '.$ct_status.' 내역';
else
@ -211,7 +211,7 @@ if (mysql_num_rows($result) == 0)
?>
</h1>
<?
<?php
$mod = 10;
$tot_total_amount = 0;
for ($i=0; $row=sql_fetch_array($result); $i++)
@ -240,29 +240,29 @@ if (mysql_num_rows($result) == 0)
?>
<!-- 반복시작 - 지운아빠 2013-04-18 -->
<div class="sodr_print_pop_list">
<h2>주문번호 <?=$row1['od_id']?></h2>
<h3>보내는 사람 : <?=$row1['od_name']?></h3>
<h2>주문번호 <?php echo $row1['od_id']; ?></h2>
<h3>보내는 사람 : <?php echo $row1['od_name']; ?></h3>
<dl>
<dt>주소</dt>
<dd><?=$row1['od_addr']?></dd>
<dd><?php echo $row1['od_addr']; ?></dd>
<dt>휴대폰</dt>
<dd><?=$row1['od_hp']?></dd>
<dd><?php echo $row1['od_hp']; ?></dd>
<dt>전화번호</dt>
<dd><?=$row1['od_tel']?></dd>
<dd><?php echo $row1['od_tel']; ?></dd>
</dl>
<? if ($samesamesame) { ?>
<?php if ($samesamesame) { ?>
<p class="sodr_print_pop_same">보내는 사람과 받는 사람이 동일합니다.</p>
<? } else { ?>
<h3>받는 사람 : <?=$row1['od_b_name']?></h3>
<?php } else { ?>
<h3>받는 사람 : <?php echo $row1['od_b_name']; ?></h3>
<dl>
<dt>주소</dt>
<dd><?=$row1['od_b_addr']?></dd>
<dd><?php echo $row1['od_b_addr']; ?></dd>
<dt>휴대폰</dt>
<dd><?=$row1['od_b_hp']?></dd>
<dd><?php echo $row1['od_b_hp']; ?></dd>
<dt>전화번호</dt>
<dd><?=$row1['od_b_tel']?></dd>
<dd><?php echo $row1['od_b_tel']; ?></dd>
</dl>
<? } ?>
<?php } ?>
<h3>주문목록</h3>
<table>
<thead>
@ -274,7 +274,7 @@ if (mysql_num_rows($result) == 0)
</tr>
</thead>
<tbody>
<?
<?php
$sql2 = " select a.*,
b.it_opt1_subject,
b.it_opt2_subject,
@ -332,22 +332,22 @@ if (mysql_num_rows($result) == 0)
?>
<tr>
<td><?=$it_name?></td>
<td class="td_bignum"><?=number_format($row2['ct_amount'])?></td>
<td class="td_smallnum"><?=$fontqty1?><?=number_format($row2['ct_qty'])?><?=$fontqty2?></td>
<td class="td_bignum"><?=number_format($row2_tot_amount)?></td>
<td><?php echo $it_name; ?></td>
<td class="td_bignum"><?php echo number_format($row2['ct_amount']); ?></td>
<td class="td_smallnum"><?php echo $fontqty1; ?><?php echo number_format($row2['ct_qty']); ?><?php echo $fontqty2; ?></td>
<td class="td_bignum"><?php echo number_format($row2_tot_amount); ?></td>
</tr>
<? $cnt++; } ?>
<?php $cnt++; } ?>
</tbody>
<tfoot>
<tr>
<th scope="row" colspan="2">합계</th>
<td><?=number_format($sub_tot_qty)?></td>
<td><?=number_format($sub_tot_amount)?></td>
<td><?php echo number_format($sub_tot_qty); ?></td>
<td><?php echo number_format($sub_tot_amount); ?></td>
</tr>
</tfoot>
</table>
<?
<?php
$tot_tot_qty += $sub_tot_qty;
$tot_tot_amount += $sub_tot_amount;
@ -361,13 +361,13 @@ if (mysql_num_rows($result) == 0)
?>
</div>
<!-- 반복 끝 -->
<? } ?>
<?php } ?>
<div id="sodr_print_pop_total">
<span>
전체
<strong><?=number_format($tot_tot_qty)?></strong>개
<strong><?=number_format($tot_tot_amount)?></strong>원
<strong><?php echo number_format($tot_tot_qty); ?></strong>개
<strong><?php echo number_format($tot_tot_amount); ?></strong>원
</span>
&lt;출력 끝&gt;
</div>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '400400';
include_once('./_common.php');
include_once(G4_LIB_PATH.'/mailer.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_ORDERSMS_")) exit;

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '400410';
include_once('./_common.php');
@ -92,45 +92,45 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
<form name="frmorderlist">
<input type="hidden" name="doc" value="<?=$doc ?>">
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
<input type="hidden" name="page" value="<?=$page ?>">
<input type="hidden" name="save_search" value="<?=$search?>">
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
<input type="hidden" name="page" value="<?php echo $page; ?>">
<input type="hidden" name="save_search" value="<?php echo $search; ?>">
<fieldset>
<legend>주문상태별 검색</legend>
<span>
<?=$listall?>
전체 주문내역 <?=$total_count ?>건
<?php echo $listall; ?>
전체 주문내역 <?php echo $total_count; ?>건
</span>
<ul class="anchor">
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("준비")?>">준비</a></li>
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("주문")?>">주문</a></li>
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("배송")?>">배송</a></li>
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("완료")?>">완료</a></li>
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("취소")?>">취소</a></li>
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("반품")?>">반품</a></li>
<li><a href="<?=$_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("품절")?>">품절</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("준비"); ?>">준비</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("주문"); ?>">주문</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("배송"); ?>">배송</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("완료"); ?>">완료</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("취소"); ?>">취소</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("반품"); ?>">반품</a></li>
<li><a href="<?php echo $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=ct_status&amp;search='.urlencode("품절"); ?>">품절</a></li>
</ul>
<label for="sel_field" class="sound_only">검색대상</label>
<select name="sel_field" id="sel_field">
<option value="od_id" <?=get_selected($sel_field, 'od_id')?>>주문번호</option>
<option value="od_name" <?=get_selected($sel_field, 'od_name')?>>주문자</option>
<option value="mb_id" <?=get_selected($sel_field, 'mb_id')?>>회원 ID</option>
<option value="od_deposit_name" <?=get_selected($sel_field, 'od_deposit_name')?>>입금자</option>
<option value="c.it_id" <?=get_selected($sel_field, 'c,it_id')?>>상품코드</option>
<option value="c.ca_id" <?=get_selected($sel_field, 'c.ca_id')?>>분류코드</option>
<option value="ct_status" <?=get_selected($sel_field, 'ct_status')?>>상태</option>
<option value="od_id" <?php echo get_selected($sel_field, 'od_id'); ?>>주문번호</option>
<option value="od_name" <?php echo get_selected($sel_field, 'od_name'); ?>>주문자</option>
<option value="mb_id" <?php echo get_selected($sel_field, 'mb_id'); ?>>회원 ID</option>
<option value="od_deposit_name" <?php echo get_selected($sel_field, 'od_deposit_name'); ?>>입금자</option>
<option value="c.it_id" <?php echo get_selected($sel_field, 'c,it_id'); ?>>상품코드</option>
<option value="c.ca_id" <?php echo get_selected($sel_field, 'c.ca_id'); ?>>분류코드</option>
<option value="ct_status" <?php echo get_selected($sel_field, 'ct_status'); ?>>상태</option>
</select>
<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="search" value="<?=$search ?>" id="search" required class="required frm_input" autocomplete="off">
<input type="text" name="search" value="<?php echo $search; ?>" id="search" required class="required frm_input" autocomplete="off">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
<section class="cbox">
<h2><?=$g4['title']?> 목록</h2>
<h2><?php echo $g4['title']; ?> 목록</h2>
<div id="btn_add">
<a href="./orderprint.php" class="btn_add_optional">주문내역출력</a>
@ -140,30 +140,30 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<table id="sodr_status">
<thead>
<tr>
<th scope="col"><a href="<?=title_sort("od_id")."&amp;$qstr1";?>">주문번호<span class="sound_only"> 순 정렬</span></a><br>주문일시</th>
<th scope="col"><a href="<?=title_sort("it_name")."&amp;$qstr1";?>">상품명<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?=title_sort("od_name")."&amp;$qstr1";?>">주문자<span class="sound_only"> 순 정렬</span></a><br>입금자</th>
<th scope="col"><a href="<?=title_sort("mb_id")."&amp;$qstr1";?>">회원ID<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?=title_sort("ct_amount")."&amp;$qstr1";?>">판매가<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?=title_sort("ct_qty")."&amp;$qstr1";?>">수량<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?=title_sort("ct_sub_amount")."&amp;$qstr1";?>">소계<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?=title_sort("ct_sub_point")."&amp;$qstr1";?>">포인트<span class="sound_only"> 순 정렬</span></a></th>
<th scope="col"><a href="<?=title_sort("ct_status")."&amp;$qstr1";?>">상태<span class="sound_only"> 순 정렬</span></a></th>
<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_amount")."&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">수정</th>
</tr>
</thead>
<tfoot>
<tr>
<th scope="row" colspan="4">합 계</td>
<td><?=number_format($tot_amount)?></td>
<td><?=number_format($tot_qty)?></td>
<td><?=number_format($tot_sub_amount)?></td>
<td><?=number_format($tot_sub_point)?></td>
<td><?php echo number_format($tot_amount); ?></td>
<td><?php echo number_format($tot_qty); ?></td>
<td><?php echo number_format($tot_sub_amount); ?></td>
<td><?php echo number_format($tot_sub_point); ?></td>
<td colspan="2"></td>
</tr>
</tfoot>
<tbody>
<?
<?php
for ($i=0; $i<count($lines); $i++) {
$href = $_SERVER['PHP_SELF'].'?sort1='.$sort1.'&amp;sort2='.$sort2.'&amp;sel_field=c.it_id&amp;search='.$lines[$i]['it_id'];
@ -174,23 +174,23 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
<tr>
<td class="td_odrnum2">
<a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=od_id&amp;search=<?=$lines[$i]['od_id']?>"><?=$lines[$i]['od_id']?></a><br>
<?=$lines[$i]['od_time']?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&amp;sort2=<?php echo $sort2; ?>&amp;sel_field=od_id&amp;search=<?php echo $lines[$i]['od_id']; ?>"><?php echo $lines[$i]['od_id']; ?></a><br>
<?php echo $lines[$i]['od_time']; ?>
</td>
<td class="td_it_img"><a href="<?=$href?>"><?=get_it_image($lines[$i]['it_id'].'_s', 50, 50)?><?=$it_name?></a></td>
<td class="td_it_img"><a href="<?php echo $href; ?>"><?php echo get_it_image($lines[$i]['it_id'].'_s', 50, 50); ?><?php echo $it_name; ?></a></td>
<td class="td_name">
<a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=od_name&amp;search=<?=$lines[$i]['od_name']?>"><?=cut_str($lines[$i]['od_name'],10,"")?></a>
<? if ($lines[$i]['od_deposit_name'] != "") echo '<br>'.$lines[$i]['od_deposit_name']?>
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&amp;sort2=<?php echo $sort2; ?>&amp;sel_field=od_name&amp;search=<?php echo $lines[$i]['od_name']; ?>"><?php echo cut_str($lines[$i]['od_name'],10,""); ?></a>
<?php if ($lines[$i]['od_deposit_name'] != "") echo '<br>'.$lines[$i]['od_deposit_name']?>
</td>
<td class="td_name"><a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=mb_id&amp;search=<?=$lines[$i]['mb_id']?>"><?=$lines[$i]['mb_id']?></a></td>
<td><?=number_format($lines[$i]['ct_amount'])?></td>
<td><?=$lines[$i]['ct_qty']?></td>
<td><?=number_format($lines[$i]['ct_sub_amount'])?></td>
<td><?=number_format($lines[$i]['ct_sub_point'])?></td>
<td><a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=ct_status&amp;search=<?=$lines[$i]['ct_status']?>"><?=$lines[$i]['ct_status']?></a></td>
<td><a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$lines[$i]['od_id']?> 수정"></a></td>
<td class="td_name"><a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&amp;sort2=<?php echo $sort2; ?>&amp;sel_field=mb_id&amp;search=<?php echo $lines[$i]['mb_id']; ?>"><?php echo $lines[$i]['mb_id']; ?></a></td>
<td><?php echo number_format($lines[$i]['ct_amount']); ?></td>
<td><?php echo $lines[$i]['ct_qty']; ?></td>
<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>
</tr>
<?
<?php
}
if ($i == 0) echo '<tr><td colspan="11" class="empty_table">자료가 한건도 없습니다.</td></tr>';
@ -200,8 +200,8 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500210';
include_once('./_common.php');
@ -14,7 +14,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_pricecompare_info" class="cbox">
<h2>가격비교사이트 연동 안내</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor; ?>
<ol>
<li>가격비교사이트는 네이버 지식쇼핑, 다음 쇼핑하우, 어바웃, 다나와, 비비, 에누리, 마이마진 등이 있습니다.</li>
@ -25,7 +25,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_pricecompare_engine" class="cbox">
<h2>사이트별 엔진페이지 URL</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor; ?>
<p>사이트 명을 클릭하시면 해당 사이트로 이동합니다.</p>
<dl>
@ -33,58 +33,58 @@ $pg_anchor = '<ul class="anchor">
<dd>
<ul>
<li>입점 안내 : <a href="http://shopping.naver.com/join/index.nhn" target="_blank">http://shopping.naver.com/join/index.nhn</a></li>
<li>전체상품 URL : <a href="<?=G4_SHOP_URL?>/price/naver.php" target="_blank"><?=G4_SHOP_URL?>/price/naver.php</a></li>
<li>요약상품 URL : <a href="<?=G4_SHOP_URL?>/price/naver_summary.php" target="_blank"><?=G4_SHOP_URL?>/price/naver_summary.php</a></li>
<li>신규상품 URL : <a href="<?=G4_SHOP_URL?>/price/naver_new.php" target="_blank"><?=G4_SHOP_URL?>/price/naver_new.php</a></li>
<li>신규요약 URL : <a href="<?=G4_SHOP_URL?>/price/naver_new_summary.php" target="_blank"><?=G4_SHOP_URL?>/price/naver_new_summary.php</a></li>
<li>전체상품 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/naver.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/naver.php</a></li>
<li>요약상품 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/naver_summary.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/naver_summary.php</a></li>
<li>신규상품 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/naver_new.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/naver_new.php</a></li>
<li>신규요약 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/naver_new_summary.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/naver_new_summary.php</a></li>
</ul>
</dd>
<dt><a href="http://shopping.daum.net/" target="_blank">다음 쇼핑하우</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://commerceone.biz.daum.net/join/intro.daum" target="_blank">http://commerceone.biz.daum.net/join/intro.daum</a></li>
<li>전체상품 URL : <a href="<?=G4_SHOP_URL?>/price/daum.php" target="_blank"><?=G4_SHOP_URL?>/price/daum.php</a></li>
<li>전체상품 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/daum.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/daum.php</a></li>
</ul>
</dd>
<dt><a href="http://www.about.co.kr/" target="_blank">어바웃</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://member.about.co.kr/LaunchIntroduce/Default.aspx" target="_blank">http://member.about.co.kr/LaunchIntroduce/Default.aspx</a></li>
<li>전체EP URL : <a href="<?=G4_SHOP_URL?>/price/about.php" target="_blank"><?=G4_SHOP_URL?>/price/about.php</a></li>
<li>요약EP URL : <a href="<?=G4_SHOP_URL?>/price/about_new.php" target="_blank"><?=G4_SHOP_URL?>/price/about_new.php</a></li>
<li>전체EP URL : <a href="<?php echo G4_SHOP_URL; ?>/price/about.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/about.php</a></li>
<li>요약EP URL : <a href="<?php echo G4_SHOP_URL; ?>/price/about_new.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/about_new.php</a></li>
</ul>
</dd>
<dt><a href="http://www.danawa.co.kr" target="_blank">다나와</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://pc.danawa.com/contact/contactus.html" target="_blank">http://pc.danawa.com/contact/contactus.html</a></li>
<li>엔진페이지 URL : <a href="<?=G4_SHOP_URL?>/price/danawa.php" target="_blank"><?=G4_SHOP_URL?>/price/danawa.php</a></li>
<li>엔진페이지 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/danawa.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/danawa.php</a></li>
</ul>
</dd>
<dt><a href="http://www.bb.co.kr" target="_blank">비비</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://www.bb.co.kr/mainbbr/regist/entry_kcp1.php?partner=kcp" target="_blank">http://www.bb.co.kr/mainbbr/regist/entry_kcp1.php?partner=kcp</a></li>
<li>엔진페이지 URL : <a href="<?=G4_SHOP_URL?>/price/bb.php" target="_blank"><?=G4_SHOP_URL?>/price/bb.php</a></li>
<li>엔진페이지 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/bb.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/bb.php</a></li>
</ul>
</dd>
<dt><a href="http://www.enuri.com" target="_blank">에누리</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://www.enuri.com/MallRegister/MallRegister.asp" target="_blank">http://www.enuri.com/MallRegister/MallRegister.asp</a></li>
<li>엔진페이지 URL : <a href="<?=G4_SHOP_URL?>/price/enuri_list.php" target="_blank"><?=G4_SHOP_URL?>/price/enuri_list.php</a></li>
<li>엔진페이지 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/enuri_list.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/enuri_list.php</a></li>
</ul>
</dd>
<dt><a href="http://www.mymargin.com" target="_blank">마이마진</a></dt>
<dd>
<ul>
<li>입점 안내 : <a href="http://www.mymargin.com/shop_admin/reg/process_su.asp" target="_blank">http://www.mymargin.com/shop_admin/reg/process_su.asp</a></li>
<li>엔진페이지 URL : <a href="<?=G4_SHOP_URL?>/price/mymargin.php" target="_blank"><?=G4_SHOP_URL?>/price/mymargin.php</a></li>
<li>엔진페이지 URL : <a href="<?php echo G4_SHOP_URL; ?>/price/mymargin.php" target="_blank"><?php echo G4_SHOP_URL; ?>/price/mymargin.php</a></li>
</ul>
</dd>
</dl>
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500110';
include_once('./_common.php');
@ -14,7 +14,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<div>
<h3>일일 매출현황</h3>
<form name="frm_sale_today" action="./sale1today.php" method="get">
<input type="text" name="date" value="<? echo date("Ymd", G4_SERVER_TIME) ?>" id="date" class="frm_input" size="8" maxlength="8">
<input type="text" name="date" value="<?php echo date("Ymd", G4_SERVER_TIME); ?>" id="date" class="frm_input" size="8" maxlength="8">
<label for="date">일 하루</label>
<input type="submit" value="확인" class="btn_submit">
</form>
@ -23,9 +23,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<div>
<h3>일간 매출현황</h3>
<form name="frm_sale_date" action="./sale1date.php" method="get">
<input type="text" name="fr_date" value="<? echo date("Ym01", G4_SERVER_TIME) ?>" id="fr_date" class="frm_input" size="8" maxlength="8">
<input type="text" name="fr_date" value="<?php echo date("Ym01", G4_SERVER_TIME); ?>" id="fr_date" class="frm_input" size="8" maxlength="8">
<label for="fr_date">일 부터</label>
<input type="text" name="to_date" value="<? echo date("Ymd", G4_SERVER_TIME) ?>" id="to_date" class="frm_input" size="8" maxlength="8">
<input type="text" name="to_date" value="<?php echo date("Ymd", G4_SERVER_TIME); ?>" id="to_date" class="frm_input" size="8" maxlength="8">
<label for="to_date">일 까지</label>
<input type="submit" value="확인" class="btn_submit">
</form>
@ -34,9 +34,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<div>
<h3>월간 매출현황</h3>
<form name="frm_sale_month" action="./sale1month.php" method="get">
<input type="text" name="fr_month" value="<? echo date("Y01", G4_SERVER_TIME) ?>" id="fr_month" class="frm_input" size="6" maxlength="6">
<input type="text" name="fr_month" value="<?php echo date("Y01", G4_SERVER_TIME); ?>" id="fr_month" class="frm_input" size="6" maxlength="6">
<label for="fr_month">월 부터</label>
<input type="text" name="to_month" value="<? echo date("Ym", G4_SERVER_TIME) ?>" id="to_month" class="frm_input" size="6" maxlength="6">
<input type="text" name="to_month" value="<?php echo date("Ym", G4_SERVER_TIME); ?>" id="to_month" class="frm_input" size="6" maxlength="6">
<label for="to_month">월 까지</label>
<input type="submit" value="확인" class="btn_submit">
</form>
@ -45,9 +45,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<div>
<h3>연간 매출현황</h3>
<form name="frm_sale_year" action="./sale1year.php" method="get">
<input type="text" name="fr_year" value="<? echo date("Y", G4_SERVER_TIME)-1 ?>" id="fr_year" class="frm_input" size="4" maxlength="4">
<input type="text" name="fr_year" value="<?php echo date("Y", G4_SERVER_TIME)-1; ?>" id="fr_year" class="frm_input" size="4" maxlength="4">
<label for="fr_year">년 부터</label>
<input type="text" name="to_year" value="<? echo date("Y", G4_SERVER_TIME) ?>" id="to_year" class="frm_input" size="4" maxlength="4">
<input type="text" name="to_year" value="<?php echo date("Y", G4_SERVER_TIME); ?>" id="to_year" class="frm_input" size="4" maxlength="4">
<label for="to_year">년 까지</label>
<input type="submit" value="확인" class="btn_submit">
</form>
@ -55,6 +55,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500110';
include_once('./_common.php');
@ -19,17 +19,17 @@ function print_line($save)
?>
<tr class="sale1">
<td><a href="./sale1today.php?date=<?=$date?>"><?=$save['od_date']?></a></td>
<td><?=number_format($save['ordercount'])?></td>
<td><?=number_format($save['orderamount'])?></td>
<td><?=number_format($save['ordercancel'] + $save['dc'])?></td>
<td><?=number_format($save['receiptbank'])?></td>
<td><?=number_format($save['receiptcard'])?></td>
<td><?=number_format($save['receiptpoint'])?></td>
<td><?=number_format($save['receiptcancel'])?></td>
<td><?=number_format($save['misu'])?></td>
<td><a href="./sale1today.php?date=<?php echo $date; ?>"><?php echo $save['od_date']; ?></a></td>
<td><?php echo number_format($save['ordercount']); ?></td>
<td><?php echo number_format($save['orderamount']); ?></td>
<td><?php echo number_format($save['ordercancel'] + $save['dc']); ?></td>
<td><?php echo number_format($save['receiptbank']); ?></td>
<td><?php echo number_format($save['receiptcard']); ?></td>
<td><?php echo number_format($save['receiptpoint']); ?></td>
<td><?php echo number_format($save['receiptcancel']); ?></td>
<td><?php echo number_format($save['misu']); ?></td>
</tr>
<?
<?php
}
unset($save);
@ -96,18 +96,18 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<tfoot>
<tr>
<td>합계</td>
<td><?=number_format($tot['ordercount'])?></td>
<td><?=number_format($tot['orderamount'])?></td>
<td><?=number_format($tot['ordercancel'] + $tot['dc'])?></td>
<td><?=number_format($tot['receiptbank'])?></td>
<td><?=number_format($tot['receiptcard'])?></td>
<td><?=number_format($tot['receiptpoint'])?></td>
<td><?=number_format($tot['receiptcancel'])?></td>
<td><?=number_format($tot['misu'])?></td>
<td><?php echo number_format($tot['ordercount']); ?></td>
<td><?php echo number_format($tot['orderamount']); ?></td>
<td><?php echo number_format($tot['ordercancel'] + $tot['dc']); ?></td>
<td><?php echo number_format($tot['receiptbank']); ?></td>
<td><?php echo number_format($tot['receiptcard']); ?></td>
<td><?php echo number_format($tot['receiptpoint']); ?></td>
<td><?php echo number_format($tot['receiptcancel']); ?></td>
<td><?php echo number_format($tot['misu']); ?></td>
</tr>
</tfoot>
<tbody>
<?
<?php
unset($save);
unset($tot);
for ($i=0; $i<count($lines); $i++)
@ -144,6 +144,6 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
</table>
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500110';
include_once('./_common.php');
@ -19,17 +19,17 @@ function print_line($save)
?>
<tr>
<td><a href="./sale1date.php?fr_date=<?=$date?>01&amp;to_date=<?=$date?>31"><?=$save['od_date']?></a></td>
<td><?=number_format($save['ordercount'])?></td>
<td><?=number_format($save['orderamount'])?></td>
<td><?=number_format($save['ordercancel'] + $save['dc'])?></td>
<td><?=number_format($save['receiptbank'])?></td>
<td><?=number_format($save['receiptcard'])?></td>
<td><?=number_format($save['receiptpoint'])?></td>
<td><?=number_format($save['receiptcancel'])?></td>
<td><?=number_format($save['misu'])?></td>
<td><a href="./sale1date.php?fr_date=<?php echo $date; ?>01&amp;to_date=<?php echo $date; ?>31"><?php echo $save['od_date']; ?></a></td>
<td><?php echo number_format($save['ordercount']); ?></td>
<td><?php echo number_format($save['orderamount']); ?></td>
<td><?php echo number_format($save['ordercancel'] + $save['dc']); ?></td>
<td><?php echo number_format($save['receiptbank']); ?></td>
<td><?php echo number_format($save['receiptcard']); ?></td>
<td><?php echo number_format($save['receiptpoint']); ?></td>
<td><?php echo number_format($save['receiptcancel']); ?></td>
<td><?php echo number_format($save['misu']); ?></td>
</tr>
<?
<?php
}
unset($save);
@ -96,18 +96,18 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<tfoot>
<tr>
<td>합 계</td>
<td><?=number_format($tot['ordercount'])?></td>
<td><?=number_format($tot['orderamount'])?></td>
<td><?=number_format($tot['ordercancel'] + $tot['dc'])?></td>
<td><?=number_format($tot['receiptbank'])?></td>
<td><?=number_format($tot['receiptcard'])?></td>
<td><?=number_format($tot['receiptpoint'])?></td>
<td><?=number_format($tot['receiptcancel'])?></td>
<td><?=number_format($tot['misu'])?></td>
<td><?php echo number_format($tot['ordercount']); ?></td>
<td><?php echo number_format($tot['orderamount']); ?></td>
<td><?php echo number_format($tot['ordercancel'] + $tot['dc']); ?></td>
<td><?php echo number_format($tot['receiptbank']); ?></td>
<td><?php echo number_format($tot['receiptcard']); ?></td>
<td><?php echo number_format($tot['receiptpoint']); ?></td>
<td><?php echo number_format($tot['receiptcancel']); ?></td>
<td><?php echo number_format($tot['misu']); ?></td>
</tr>
</tfoot>
<tbody>
<?
<?php
unset($save);
unset($tot);
for ($i=0; $i<count($lines); $i++)
@ -146,6 +146,6 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500110';
include_once('./_common.php');
@ -73,17 +73,17 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<tfoot>
<tr>
<td colspan="2">합 계</td>
<td><?=number_format($tot['orderamount'])?></td>
<td><?=number_format($tot['ordercancel']+ $tot['dc'])?></td>
<td><?=number_format($tot['receipt_bank'])?></td>
<td><?=number_format($tot['receipt_card'])?></td>
<td><?=number_format($tot['receipt_point'])?></td>
<td><?=number_format($tot['receiptcancel'])?></td>
<td><?=number_format($tot['misu'])?></td>
<td><?php echo number_format($tot['orderamount']); ?></td>
<td><?php echo number_format($tot['ordercancel']+ $tot['dc']); ?></td>
<td><?php echo number_format($tot['receipt_bank']); ?></td>
<td><?php echo number_format($tot['receipt_card']); ?></td>
<td><?php echo number_format($tot['receipt_point']); ?></td>
<td><?php echo number_format($tot['receiptcancel']); ?></td>
<td><?php echo number_format($tot['misu']); ?></td>
</tr>
</tfoot>
<tbody>
<?
<?php
unset($tot);
for ($i=0; $i<count($lines); $i++)
{
@ -97,17 +97,17 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
?>
<tr>
<td class="td_odrnum2"><a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>"><?=$lines[$i]['od_id']?></a></td>
<td class="td_name"><?=$href?><?=$lines[$i]['od_name']?></a></td>
<td class="td_num"><?=number_format($lines1[$i]['orderamount'])?></td>
<td class="td_num"><?=number_format($lines1[$i]['ordercancel'] + $lines[$i]['od_dc_amount'])?></td>
<td class="td_num"><?=number_format($lines[$i]['od_receipt_bank'])?></td>
<td class="td_num"><?=number_format($lines[$i]['od_receipt_card'])?></td>
<td class="td_num"><?=number_format($lines[$i]['od_receipt_point'])?></td>
<td class="td_num"><?=number_format($lines[$i]['receiptcancel'])?></td>
<td class="td_num"><?=number_format($misu)?></td>
<td class="td_odrnum2"><a href="./orderform.php?od_id=<?php echo $lines[$i]['od_id']; ?>"><?php echo $lines[$i]['od_id']; ?></a></td>
<td class="td_name"><?php echo $href; ?><?php echo $lines[$i]['od_name']; ?></a></td>
<td class="td_num"><?php echo number_format($lines1[$i]['orderamount']); ?></td>
<td class="td_num"><?php echo number_format($lines1[$i]['ordercancel'] + $lines[$i]['od_dc_amount']); ?></td>
<td class="td_num"><?php echo number_format($lines[$i]['od_receipt_bank']); ?></td>
<td class="td_num"><?php echo number_format($lines[$i]['od_receipt_card']); ?></td>
<td class="td_num"><?php echo number_format($lines[$i]['od_receipt_point']); ?></td>
<td class="td_num"><?php echo number_format($lines[$i]['receiptcancel']); ?></td>
<td class="td_num"><?php echo number_format($misu); ?></td>
</tr>
<?
<?php
}
if ($i == 0) {
@ -118,6 +118,6 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
</table>
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500110';
include_once('./_common.php');
@ -14,17 +14,17 @@ function print_line($save)
?>
<tr>
<td><a href="./sale1month.php?fr_month=<?=$save['od_date']?>01&amp;to_month=<?=$save['od_date']?>12"><?=$save['od_date']?></a></td>
<td><?=number_format($save['ordercount'])?></td>
<td><?=number_format($save['orderamount'])?></td>
<td><?=number_format($save['ordercancel'] + $save['dc'])?></td>
<td><?=number_format($save['receiptbank'])?></td>
<td><?=number_format($save['receiptcard'])?></td>
<td><?=number_format($save['receiptpoint'])?></td>
<td><?=number_format($save['receiptcancel'])?></td>
<td><?=number_format($save['misu'])?></td>
<td><a href="./sale1month.php?fr_month=<?php echo $save['od_date']; ?>01&amp;to_month=<?php echo $save['od_date']; ?>12"><?php echo $save['od_date']; ?></a></td>
<td><?php echo number_format($save['ordercount']); ?></td>
<td><?php echo number_format($save['orderamount']); ?></td>
<td><?php echo number_format($save['ordercancel'] + $save['dc']); ?></td>
<td><?php echo number_format($save['receiptbank']); ?></td>
<td><?php echo number_format($save['receiptcard']); ?></td>
<td><?php echo number_format($save['receiptpoint']); ?></td>
<td><?php echo number_format($save['receiptcancel']); ?></td>
<td><?php echo number_format($save['misu']); ?></td>
</tr>
<?
<?php
}
$lines = $lines1 = array();
@ -91,18 +91,18 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<tfoot>
<tr>
<td>합 계</td>
<td><?=number_format($tot['ordercount'])?></td>
<td><?=number_format($tot['orderamount'])?></td>
<td><?=number_format($tot['ordercancel'] + $tot['dc'])?></td>
<td><?=number_format($tot['receiptbank'])?></td>
<td><?=number_format($tot['receiptcard'])?></td>
<td><?=number_format($tot['receiptpoint'])?></td>
<td><?=number_format($tot['receiptcancel'])?></td>
<td><?=number_format($tot['misu'])?></td>
<td><?php echo number_format($tot['ordercount']); ?></td>
<td><?php echo number_format($tot['orderamount']); ?></td>
<td><?php echo number_format($tot['ordercancel'] + $tot['dc']); ?></td>
<td><?php echo number_format($tot['receiptbank']); ?></td>
<td><?php echo number_format($tot['receiptcard']); ?></td>
<td><?php echo number_format($tot['receiptpoint']); ?></td>
<td><?php echo number_format($tot['receiptcancel']); ?></td>
<td><?php echo number_format($tot['misu']); ?></td>
</tr>
</tfoot>
<tbody>
<?
<?php
unset($save);
unset($tot);
for ($i=0; $i<count($lines); $i++)
@ -139,6 +139,6 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
</table>
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500200';
include_once('./_common.php');
@ -11,7 +11,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
$send_number = preg_replace("/[^0-9]/", "", $default['de_admin_company_tel']);
?>
<?
<?php
if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
?>
<form action="./smssendicode.php" name="smsform" method="post" onsubmit="return smsform_check(this);" autocomplete="off">
@ -29,14 +29,14 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
<tr>
<th scope="row"><label for="send_number">발신번호</label></th>
<td>
<?=help('SMS 발신자 번호를 입력하세요.')?>
<input name="send_number" type="text" value="<?=$send_number?>" id="send_number" class="frm_input">
<?php echo help('SMS 발신자 번호를 입력하세요.'); ?>
<input name="send_number" type="text" value="<?php echo $send_number; ?>" id="send_number" class="frm_input">
</td>
</tr>
<tr>
<th scope="row"><label for="receive_number">수신번호</th>
<td>
<?=help('여러명에게 보내실 때는 전화번호를 엔터로 구분하세요.')?>
<?php echo help('여러명에게 보내실 때는 전화번호를 엔터로 구분하세요.'); ?>
<textarea name="receive_number" id="receive_number" onkeyup="addressee_count();"></textarea>
<div><span>총 수신인 <strong id="sms_addressee">0</strong>명</span></div>
</td>
@ -44,7 +44,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
<tr>
<th scope="row"><label for="sms_contents">문자내용</label></th>
<td>
<?=help("주의! 80 bytes 까지만 전송됩니다.\n영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 입니다.")?>
<?php echo help("주의! 80 bytes 까지만 전송됩니다.\n영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 입니다."); ?>
<textarea name="sms_contents" id="sms_contents" onkeyup="byte_check();"></textarea>
<div id="bytes">0 / 80 바이트</div>
</td>
@ -56,7 +56,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
<input type="checkbox" name="reserved_flag" value="true" id="reserved_flag">
<label for="reserved_year" class="sound_only">연도 설정</label>
<select name="reserved_year" id="reserved_year">
<?
<?php
$yy = date("Y");
for ($i=$yy; $i<=$yy+1; $i++) {
echo '<option value="'.$i.'">'.substr($i,-2).'</option>';
@ -65,7 +65,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
</select> 년
<label for="reserved_month" class="sound_only">월 설정</label>
<select name="reserved_month" id="reserved_month">
<?
<?php
$mm = date("n");
for ($i=1; $i<=12; $i++) {
echo '<option value="'.$i.'">'.$i.'</option>';
@ -74,7 +74,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
</select> 월
<label for="reserved_day" class="sound_only">일 설정</label>
<select name="reserved_day" id="reserved_day">
<?
<?php
$dd = date("j");
for ($i=1; $i<=31; $i++) {
echo '<option value="'.$i.'">'.$i.'</option>';
@ -83,7 +83,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
</select> 일
<label for="reserved_hour" class="sound_only">시 설정</label>
<select name="reserved_hour" id="reserved_hour">
<?
<?php
for ($i=1; $i<=24; $i++) {
echo '<option value="'.$i.'">'.$i.'</option>';
}
@ -91,7 +91,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
</select> 시
<label for="reserved_minute" class="sound_only">분 설정</label>
<select name="reserved_minute" id="reserved_minute">
<?
<?php
for ($i=1; $i<=60; $i++) {
echo '<option value="'.$i.'">'.$i.'</option>';
}
@ -193,7 +193,7 @@ function addressee_count()
function smsform_check(f)
{
<?
<?php
if (file_exists(G4_PATH.'/DEMO')) {
echo "alert('데모에서는 문자메세지를 발송할 수 없습니다.');";
echo "return false;";
@ -236,7 +236,7 @@ function smsform_check(f)
}
</script>
<? } else { ?>
<?php } else { ?>
<section class="cbox">
<h2>SMS 문자전송 서비스를 사용할 수 없습니다.</h2>
@ -246,9 +246,9 @@ function smsform_check(f)
</p>
</section>
<? } ?>
<?php } ?>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500200';
include_once('./_common.php');
include_once(G4_LIB_PATH.'/icode.sms.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500200';
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '500140';
include_once('./_common.php');
@ -51,24 +51,24 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
<form name="flist">
<input type="hidden" name="doc" value="<?=$doc ?>">
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
<input type="hidden" name="sort2" value="<?=$sort2 ?>">
<input type="hidden" name="page" value="<?=$page ?>">
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
<input type="hidden" name="page" value="<?php echo $page; ?>">
<fieldset>
<legend>보관함현황 검색</legend>
<span>
<?=$listall?>
전체 보관함 내역 <?=$total_count ?>건
<?php echo $listall; ?>
전체 보관함 내역 <?php echo $total_count; ?>건
</span>
<label for="sel_ca_id" class="sound_only">검색대상</label>
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-18 ?>
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-18 ?>
<select name="sel_ca_id" id="sel_ca_id">
<option value=''>전체분류</option>
<?
<?php
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
$result1 = sql_query($sql1);
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
@ -79,12 +79,12 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
}
?>
</select>
<? // ##### // 웹 접근성 취약 지점 끝 ?>
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
기간설정
<label for="fr_date" class="sound_only">기간 시작일</label>
<input type="text" name="fr_date" value="<?=$fr_date?>" id="fr_date" class="frm_input" size="8" maxlength="8"> 부터
<input type="text" name="fr_date" value="<?php echo $fr_date; ?>" id="fr_date" class="frm_input" size="8" maxlength="8"> 부터
<label for="to_date" class="sound_only">기간 종료일</label>
<input type="text" name="to_date" value="<?=$to_date?>" id="to_date" class="frm_input" size="8" maxlength="8"> 까지
<input type="text" name="to_date" value="<?php echo $to_date; ?>" id="to_date" class="frm_input" size="8" maxlength="8"> 까지
<input type="submit" value="검색" class="btn_submit">
</fieldset>
@ -103,7 +103,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
// $s_mod = icon("수정", "./itemqaform.php?w=u&amp;iq_id={$row['iq_id']}&amp;$qstr");
@ -113,11 +113,11 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
$num = $rank + $i + 1;
?>
<tr>
<td class="td_num"><?=$num?></td>
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str($row['it_name'],30)?></a></td>
<td class="td_num"><?=$row['it_id_cnt']?></td>
<td class="td_num"><?php echo $num; ?></td>
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a></td>
<td class="td_num"><?php echo $row['it_id_cnt']; ?></td>
</tr>
<?
<?php
}
if ($i == 0) {
@ -126,9 +126,9 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
?>
</tbody>
</table>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>