관리자 경로 수정 작업중
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
<?
|
||||
$sub_menu = "400000";
|
||||
include_once("./_common.php");
|
||||
$sub_menu = '400000';
|
||||
include_once('./_common.php');
|
||||
|
||||
$max_limit = 7; // 몇행 출력할 것인지?
|
||||
|
||||
$g4[title] = " 쇼핑몰관리";
|
||||
include_once ("$g4[admin_path]/admin.head.php");
|
||||
$g4['title'] = ' 쇼핑몰관리';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<table width=100%>
|
||||
@ -14,7 +14,7 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=70%><?=subtitle("입금완료 미배송내역")?></td>
|
||||
<td width=30% align=right><a href='./deliverylist.php?sort1=od_invoice&sort2=asc&chk_misu=1'><img src='<?=$g4[admin_path]?>/img/icon_more.gif' border=0></a> </td>
|
||||
<td width=30% align=right><a href='./deliverylist.php?sort1=od_invoice&sort2=asc&chk_misu=1'><img src='<?=G4_ADMIN_URL?>/img/icon_more.gif' border=0></a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -30,44 +30,44 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<tr><td colspan=5 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<?
|
||||
// 미수금이 없고 운송장번호가 없는 자료를 구함
|
||||
$sql = " select a.od_id,
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
from $g4[yc4_order_table] a
|
||||
left join $g4[yc4_cart_table] b on (b.on_uid=a.on_uid)
|
||||
group by a.od_id
|
||||
from {$g4['yc4_order_table']} a
|
||||
left join {$g4['yc4_cart_table']} b on (b.on_uid=a.on_uid)
|
||||
group by a.od_id
|
||||
/*having misu <= 0 and a.od_invoice = '' and ordercancel = 0*/
|
||||
/*having orderamount - receiptamount = 0 and a.od_invoice = ''*/
|
||||
having misu <= 0 and a.od_invoice = ''
|
||||
order by a.od_id desc
|
||||
order by a.od_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from $g4[member_table] where mb_id = '$row[mb_id]' ";
|
||||
$sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row[mb_id], get_text($row[od_name]), $row1[mb_email], $row1[mb_homepage]);
|
||||
$name = get_sideview($row['mb_id'], get_text($row['od_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
|
||||
$settle_method = "";
|
||||
if ($row[od_settle_case])
|
||||
if ($row['od_settle_case'])
|
||||
{
|
||||
$settle_method = $row[od_settle_case];
|
||||
$settle_method = $row['od_settle_case'];
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($row[od_receipt_bank]) $settle_method .= "무통장";
|
||||
if ($row[od_receipt_card]) $settle_method .= "카드";
|
||||
if ($row[od_receipt_point]) $settle_method .= "포인트";
|
||||
if ($row['od_receipt_bank']) $settle_method .= "무통장";
|
||||
if ($row['od_receipt_card']) $settle_method .= "카드";
|
||||
if ($row['od_receipt_point']) $settle_method .= "포인트";
|
||||
}
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr align=center class='list$list ht'>
|
||||
<td>$row[od_id]</td>
|
||||
<td>{$row['od_id']}</td>
|
||||
<td>$name</td>
|
||||
<td align=right>".display_amount($row[receiptamount])." </td>
|
||||
<td align=right>".display_amount($row['receiptamount'])." </td>
|
||||
<td>$settle_method</td>
|
||||
<td>".icon("수정", "./orderform.php?od_id=$row[od_id]")."</td>
|
||||
<td>".icon("수정", "./orderform.php?od_id={$row['od_id']}")."</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
@ -84,7 +84,7 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=70%><?=subtitle("미입금 주문내역")?></td>
|
||||
<td width=30% align=right><a href='./orderlist.php?sort1=receiptamount&sort2=asc'><img src='<?=$g4[admin_path]?>/img/icon_more.gif' border=0></a> </td>
|
||||
<td width=30% align=right><a href='./orderlist.php?sort1=receiptamount&sort2=asc'><img src='<?=G4_ADMIN_URL?>/img/icon_more.gif' border=0></a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -100,43 +100,43 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<tr><td colspan=5 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<?
|
||||
// 미수금이 있고 송장번호가 없는 자료를 구함
|
||||
$sql = " select a.od_id,
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
from $g4[yc4_order_table] a
|
||||
left join $g4[yc4_cart_table] b on (b.on_uid=a.on_uid)
|
||||
group by a.od_id
|
||||
from {$g4['yc4_order_table']} a
|
||||
left join {$g4['yc4_cart_table']} b on (b.on_uid=a.on_uid)
|
||||
group by a.od_id
|
||||
/* having receiptamount <= 0 */
|
||||
having misu > 0
|
||||
order by a.od_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from $g4[member_table] where mb_id = '$row[mb_id]' ";
|
||||
$sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row[mb_id], get_text($row[od_name]), $row1[mb_email], $row1[mb_homepage]);
|
||||
$name = get_sideview($row['mb_id'], get_text($row['od_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
|
||||
$settle_method = "";
|
||||
if ($row[od_settle_case])
|
||||
if ($row['od_settle_case'])
|
||||
{
|
||||
$settle_method = $row[od_settle_case];
|
||||
$settle_method = $row['od_settle_case'];
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($row[od_temp_bank]) $settle_method .= "무통장";
|
||||
if ($row[od_temp_card]) $settle_method .= "카드";
|
||||
if ($row[od_temp_milage]) $settle_method .= "포인트";
|
||||
if ($row['od_temp_bank']) $settle_method .= "무통장";
|
||||
if ($row['od_temp_card']) $settle_method .= "카드";
|
||||
if ($row['od_temp_milage']) $settle_method .= "포인트";
|
||||
}
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr align=center class='list$list ht'>
|
||||
<td><a href='./orderstatuslist.php?sort1=od_id&sel_field=od_id&search=$row[od_id]'>$row[od_id]</a></td>
|
||||
<td><a href='./orderstatuslist.php?sort1=od_id&sel_field=od_id&search={$row['od_id']}'>{$row['od_id']}</a></td>
|
||||
<td>$name</td>
|
||||
<td align=right>".display_amount($row[orderamount])." </td>
|
||||
<td align=right>".display_amount($row['orderamount'])." </td>
|
||||
<td>$settle_method</td>
|
||||
<td>".icon("수정", "./orderform.php?od_id=$row[od_id]")."</td>
|
||||
<td>".icon("수정", "./orderform.php?od_id={$row['od_id']}")."</td>
|
||||
</tr>";
|
||||
}
|
||||
|
||||
@ -145,8 +145,8 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
?>
|
||||
<tr><td colspan=5 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><br>
|
||||
@ -158,7 +158,7 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=70%><?=subtitle("사용후기")?></td>
|
||||
<td width=30% align=right><a href='./itempslist.php?sort1=is_confirm&sort2=asc'><img src='<?=$g4[admin_path]?>/img/icon_more.gif' border=0></a> </td>
|
||||
<td width=30% align=right><a href='./itempslist.php?sort1=is_confirm&sort2=asc'><img src='<?=G4_ADMIN_URL?>/img/icon_more.gif' border=0></a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -171,24 +171,24 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<?
|
||||
$sql = " select * from $g4[yc4_item_ps_table]
|
||||
$sql = " select * from {$g4[yc4_item_ps_table]}
|
||||
where is_confirm = 0
|
||||
order by is_id desc
|
||||
order by is_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from $g4[member_table] where mb_id = '$row[mb_id]' ";
|
||||
$sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row[mb_id], get_text($row[is_name]), $row1[mb_email], $row1[mb_homepage]);
|
||||
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr align=center class='list$list ht'>
|
||||
<td align=center>$name</td>
|
||||
<td>".cut_str($row[is_subject],40)."</td>
|
||||
<td align=center>".icon("수정", "./itempsform.php?w=u&is_id=$row[is_id]")."</td>
|
||||
<td>".cut_str($row['is_subject'],40)."</td>
|
||||
<td align=center>".icon("수정", "./itempsform.php?w=u&is_id={$row['is_id']}")."</td>
|
||||
</tr>";
|
||||
}
|
||||
|
||||
@ -203,7 +203,7 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=70%><?=subtitle("상품문의")?></td>
|
||||
<td width=30% align=right><a href='./itemqalist.php?sort1=iq_answer&sort2=asc'><img src='<?=$g4[admin_path]?>/img/icon_more.gif' border=0></a> </td>
|
||||
<td width=30% align=right><a href='./itemqalist.php?sort1=iq_answer&sort2=asc'><img src='<?=G4_ADMIN_URL?>/img/icon_more.gif' border=0></a> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -216,24 +216,24 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<?
|
||||
$sql = " select * from $g4[yc4_item_qa_table]
|
||||
$sql = " select * from {$g4['yc4_item_qa_table']}
|
||||
where iq_answer = ''
|
||||
order by iq_id desc
|
||||
order by iq_id desc
|
||||
limit $max_limit ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$sql1 = " select * from $g4[member_table] where mb_id = '$row[mb_id]' ";
|
||||
$sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$name = get_sideview($row[mb_id], get_text($row[iq_name]), $row1[mb_email], $row1[mb_homepage]);
|
||||
$name = get_sideview($row['mb_id'], get_text($row['iq_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr align=center class='list$list ht'>
|
||||
<td align=center>$name</td>
|
||||
<td>".cut_str($row[iq_subject],40)."</td>
|
||||
<td align=center>".icon("수정", "./itemqaform.php?w=u&iq_id=$row[iq_id]")."</td>
|
||||
<td>".cut_str($row['iq_subject'],40)."</td>
|
||||
<td align=center>".icon("수정", "./itemqaform.php?w=u&iq_id={$row['iq_id']}")."</td>
|
||||
</tr>";
|
||||
}
|
||||
|
||||
@ -247,5 +247,5 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
</table><br>
|
||||
|
||||
<?
|
||||
include_once ("$g4[admin_path]/admin.tail.php");
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user