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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
<?php include_once("./_common.php"); include_once($j3_shopm_path."/shop_header.php"); if($id_ccode!='' && $id_ccode>0){ //$cinfo = customer_info_get($id_ccode); $ord_array = customer_order_list($id_ccode, "", 1, 5); $wish_array = prod_wish_list_get($id_ccode, "", 1, 5); $wish_total_cnt = $wish_array[0]['total_count']; } else { alert("회원만 가능한 페이지 입니다. 로그인하시기 바랍니다.","{$j3_shop_url}/login.php"); }
if($app_id=='ryunen' || $app_id=='lulucosmetic'){ // 루루코스매틱만 단가등급 보임 $configshop['danganame_view'] = "1"; } ?> <div id="wrap"> <div id="container" class="" style='<?php if($_COOKIE['hd_height']!='' && $header_fixed=='1'){ echo "margin-top:{$_COOKIE['hd_height']}px !important;"; }?>'> <?php skin_module_show("mypage",$sample_idx); // 마이페이지 스킨을 불러온다. ?> </div><!-- #container --> </div><!-- #wrap -->
<script> $(function(){ $(".member_out_class").click(function(){ alert('준비중입니다. 고객센터에 문의하세요.') });
$(".customer_edit_class").click(function(){ // 회원정보 수정 document.location.href='<?php echo "{$j3_shop_url}/register_form.php";?>'; });
$(".orderlist_view_class").click(function(){ // 주문내역 더보기 document.location.href='<?php echo "{$j3_shop_url}/order.php";?>'; });
$(".wishlist_view_class").click(function(){ // 위시리스트 더보기 document.location.href='<?php echo "{$j3_shop_url}/wish.php";?>'; });
$(".order_view_class").click(function(){ // 주문상세보기 $idx = $(this).closest("dl").find("input[name='midx']").val(); document.location.href='orderview.php?idx='+$idx; });
$(".prod_use_class").click(function(){ // 상품 후기 작성 $idx = $(this).closest("dl").find("input[name='midx']").val(); $.get("<?php echo $j3_shopp_url;?>/order_prod_use_reg.inc.php?idx="+$idx,function(rtn){ $("#modal_member_box").html(rtn).dialog({ resizable: true, height:600, width:"98%", modal: true, title:"상품후기 [작성]", buttons: { 저장: function() { prod_use_save(); }, 닫기: function() { $( this ).dialog( "close" ); } } }); }) });
$(".prod_deli_comp_class").click(function(){ // 고객 수령완료 처리 if(confirm('수령완료 처리 하시겠습니까?')){ $idx = $(this).closest("dl").find("input[name='midx']").val(); form_data = "mode=deli_comp&idx="+$idx; $.ajax({type:"post", url:"<?php echo $j3_shopp_url;?>/ajax.orderlist_process.php", data:form_data, async:false, dataType : "xml", success:function(xml){ var v_mode = $(xml).find("mode").text(); var v_mode_ok = $(xml).find("mode_ok").text(); var v_msg = $(xml).find("msg").text(); if(v_mode_ok!='Y'){ alert(v_msg); } else { document.location.reload(); } }, error:function(rtn,status,error){ alert(error); } }); } }); });
function modal_close(){ setTimeout(function(){ $("#modal_member_box").dialog("close"); },500); } </script> <?php include_once($j3_shopm_path."/shop_footer.php"); ?> <div id="modal_member_box" title="거래처수정" style="display:none;width:100%; height:100%; padding-top:3px;padding-left:3px;background-color:#FFFFFF;position:relative;"></div>
|