<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <title><?php echo $SITE_NAME;?></title>
  <!-- MDB icon -->
  <link rel="icon" href="<?php echo ROOTPATH;?>/images/mdb-favicon.ico" type="image/x-icon">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css">  
 
  <link rel="stylesheet" href="<?php echo ROOTPATH;?>/css/bootstrap.min.css">
  <script src="<?php echo ROOTPATH;?>/jquery/jquery-1.11.1.min.js"></script>  
<link rel="stylesheet" href="<?php echo ROOTPATH;?>/fonts/fonts.css">  
</head>
<body>  

<style  type="text/css">
body{font-family:sans-serif;}
@media only screen and (max-width: 767px) {
.btn-white {
background: #1793ff !important;
border:none!important;
width:60px;
}
.btn-pay{margin-top:-54px;margin-left:-12px;width:83px;}
.fixed-bottom{bottom:-16px;}
.img-btm{width:47px;}
}
.bg-1 {
background-color: #007bff;
color: #ffffff;
min-height:300px;
}
.bg-1 h3{padding:0px 0px 0px 0px; color:#45fa3c;font-size:28px;}
.bg-2 {
background-color: #ffffff;
color: #000000;
border:1px solid #c8c8c8;
border-radius:8px;
padding:10px;
margin:-35px 10px 10px 10px;
}
.bg-2 p{font-size:14px;}
.bg-3 {
background-color: #ffffff;
color: #000000;
border:1px solid #c8c8c8;
border-radius:8px
}
.rupee{font-size:45px;padding:0px 0px 10px 0px;font-weight:700;}
.textt{font-size:18px;color:#fff}
.tick{padding-top:30px;}
.float-left{float:left}
.float-right{float:right}
.widthright65{min-width: 50%; text-align: right;padding-bottom:6px;font-size: 14px;color: #4b4b4b;font-family:sans-serif;}
.widthleft126{width: 206px; text-align: left;padding-bottom:6px;font-size: 14px;font-weight:bold;color: #4b4b4b;font-family:sans-serif;}
.pdr0{padding-right:0px;}
.pdt{padding-top:15px!important;}
.row{flex-wrap: inherit!important;}
.pdt a{font-size: 14px;}
</style>

<?php 
if($_REQUEST['id']!=0) {
?>    

<div class=" bg-1 text-center">
<div class=" text-center">
<img src="<?php echo ROOTPATH;?>/images/sucess-transparent1.png" width="60px" class="tick">
</div>
<h3>Payment Successful</h3>
<div class=" text-center rupee">₹<?php echo $FResult->amountPaid?></div>
<div class=" text-center textt">to <?php  echo $UI__UPIVefy->name;?></div> 
</div>

<div class=" bg-2 text-center">
<div class="row">
<div class="col-sm-4 float-left widthleft126"> From   </div>
<div class="col-sm-8 float-right widthright65"><?php echo $FResult->custId;?></div>
</div>

<div class="row">
<div class="col-sm-4 float-left widthleft126"> UPI</div>
<div class="col-sm-8 float-right widthright65"> <?php echo $FResult->Topay;?></div> 
</div> 
 
<div class="row">
<div class="col-sm-4 float-left widthleft126">&nbsp;</div>
<div class="col-sm-8 float-right widthright65 pdt"><a href="#">View less details <img src="<?php echo ROOTPATH;?>/dashboard/up-arrow.png"> </a></div>
</div>

<div class="row">
<div class="col-sm-4 float-left widthleft126">  Transaction Id</div>
<div class="col-sm-8 float-right widthright65"> <?php echo $FResult->Tid?></div>
</div>
<div class="row">
<div class="col-sm-4 float-left widthleft126">
UTR
</div>
<div class="col-sm-8 float-right widthright65">

<a href="PayoutSetp3.php?id=<?php echo $_REQUEST['id'];?>">
<img src="<?php echo ROOTPATH;?>/dashboard/refresh.png" width="15px">
</a>
&nbsp; 
<?php echo $acceptStats->utr;?>
</div>  
</div>

<div class="row">
<div class="col-sm-4 float-left widthleft126">
Time
</div>
<div class="col-sm-8 float-right widthright65"><?php echo   date("d-M-Y H:i");;?></div>
</div>  
</div>  

<?php  }else {  ?>


<div class=" bg-1 text-center" style="background-color: #007bff;">
<div class=" text-center">
<img src="<?php echo ROOTPATH;?>/images/25cross.png" width="60px" class="tick">
</div>
<h5 style="color:#fff;">Please used bank transfer option</h5>
<div class=" text-center rupee">₹<?php echo $_REQUEST['amt'];?></div> 
</div>  



<div class=" bg-2 text-center">
<div class="row">
<div class="col-sm-4 float-left widthleft126"> From   </div>
<div class="col-sm-8 float-right widthright65"><?php echo $_SESSION['userId'];?></div>
</div>
<div class="row">
<div class="col-sm-4 float-left widthleft126"> UPI</div>
<div class="col-sm-8 float-right widthright65"> <?php echo $_REQUEST['upi'];?></div>

</div>
<hr>
<!--div class="row">
<div class="col-sm-4 float-left widthleft126">  Transaction Id</div>
<div class="col-sm-8 float-right widthright65"> <?php echo $FResult->Tid?></div>
</div-->


<div class="row">
<div class="col-sm-4 float-left widthleft126">
Time
</div>
<div class="col-sm-8 float-right widthright6"><?php echo   date("d-M-Y H:i");;?></div>
</div>  
</div>  

<?php  }  ?>


<div style="text-align: center;">
<?php 
if($_REQUEST['id']==0) 
{
?>  
<a  style="font-weight:bold" href="Monet_transf.php">Pleae try bank transfer option</a><br>
<?php  } ?>
<a href="<?php echo ROOTPATH;?>"  style="background-color: #747474;
border: none;
color: #fff;
padding: 2px 7px;
text-align: center;
text-decoration: none;
display: inline-block;
width:55%; 
border-radius:5px;
font-size: 15px;
margin: 4px 2px;
cursor: pointer;text-align: center;font-weight:bold">Go Back</a>
</div>   
  
 

  
   
<div style="clear:both;height:72px">&nbsp;</div>
 
<?php 
  include_once("../view/header-footer/footer.php");  
unset($_SESSION['Regis']);  
unset($_SESSION['topSuc']); 
unset($_SESSION['QRSET']); 