1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php define('G5_IS_ADMIN', true); include_once ('../../common.php');
if (!defined('G5_USE_SHOP') || !G5_USE_SHOP) die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
if($is_vender_member==false){ echo "<script>location.href='".G5_BBS_URL."/login.php?vender_login=Y'</script>"; exit; }
include_once(G5_ADMIN_PATH.'/admin.lib.php');
// 벤더 검색 관련 추가 $vender_type = 'Y'; $sql_item_list = " and vm_id = '{$vendermember['vm_id']}' "; $sql_order_list = " , (select od_id from g5_shop_cart where vm_id = '{$vendermember['vm_id']}' group by od_id) z where a.od_id = z.od_id "; $js_order_list = "<script>$('.local_cmd01').hide();</script>"; $sql_orderprintresult = ", {$g5['g5_shop_item_table']} z where a.it_id = z.it_id and z.vm_id = '{$vendermember['vm_id']}' and "; $sql_orderprintresult2 = " and b.vm_id = '{$vendermember['vm_id']}' "; $sql_orderprintresult3 = " , {$g5['g5_shop_item_table']} c "; $sql_orderprintresult4 = " and b.it_id = c.it_id and c.vm_id = '{$vendermember['vm_id']}' "; $sql_itemqalist = " vm_id = '{$vendermember['vm_id']}' and "; $sql_itemuselist = " vm_id = '{$vendermember['vm_id']}' "; $vm_admin = "Y"; ?>
|