/home/mjc1/public_html/html/freetalkpay/orderview.php


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
<?php
    $freetalkpay 
"Y";
    include_once(
"./_common.php");
    include_once(
"../xpay.inc.php");
    
header("Content-type:text/html;charset=utf-8"); 

    
$sql "set names utf8";
    
mysql_query($sql,$connect_web);

    
$sql "select * from mBoard_order where rOrdNo = '{$od_id}' ";
    
$res mysql_query($sql,$connect_web);
    
$info mysql_fetch_array($res);
    
//echo "<pre>"; print_r($info); echo "</pre>";

    
$sql "select * from users a inner join service b on a.id = b.users_id where a.id = '{$info['memberId']}';";
    
$res mysql_query($sql,$connect_free);
    
$user_info mysql_fetch_array($res);
    
//echo "<pre>"; print_r($user_info); echo "</pre>";
?>
<!DOCTYPE html>
<html>
<head>
<title>프리톡 결제완료</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="./css/main.css"/>
<script src='./js/jquery-3.2.1.min.js'></script>
<script src='./js/common.js'></script>
<script src='./js/jqueryui/jquery-ui.min.js'></script>
</head>

<body style='margin:0px; padding:0px;'>
    <div id="card_wrap">
        <div class="card_logo">
            <h2><img src="./img/login_logo.png" style="width:250px;height:auto;"></h2>
        </div><!--id_pw_logo-->
        <div id="card_table">
                <h4 style="margin-bottom:5px;padding:0;"><?php if($info['bank']=='R' && $info['rSuccYn']=='n'){?>프리톡 가상계좌 신청완료<?php } else {?>프리톡 결제완료<?php }?></h4>
                <span style="font-size:11pt;"><?php echo $info['OrdNm'];?>님의 <?php if($info['bank']=='R' && $info['rSuccYn']=='n'){?>가상계좌 로 입금해주시기 바랍니다.<?php } else {?>결제가 완료되었습니다.<?php }?></span>
            <div class="card_tab_content" id="tab1">
                <!--기간연장-->
                <div class="card_form" style="margin:40px 0 20px;">
                    <!--회사명/계정-->
                    <div class="form-group">
                        <span style="float:left;margin-right:10px;">회사명/계정 :</span>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <?php echo $info['OrdComp'];?>/<?php echo $info['memberId'];?>
                            </div>
                        </div>
                    </div>

                    <!--결제개월/서비스 만료일-->
                    <div class="form-group">
                        <span style="float:left;margin-right:10px;">결제개월/만료일 :</span>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <?php echo $info['rProdNm2'];?>개월/<?php echo substr($user_info['servicedate'],0,10);?>
                            </div>
                        </div>
                    </div>

                    <!--결제금액-->
                    <div class="form-group">
                        <span style="float:left;margin-right:10px;">결제금액 :</span>
                        <div class="input-group">
                            <div class="input-group-prepend">
                                <span class="card_pay_text""><?php echo number_format($info['rAmt']);?>원</span>
                            </div>
                        </div>
                    </div>
                    
                </div><!--card_form-->
                <button id="btn_pw" onclick="window.close(); ">창 닫기</button>
            </div><!--card_tab_content-->
        </div><!--card_table-->        
    </div><!--card_wrap-->
</body>
</html>