<?php   
	include_once("../view/header-footer/header.php");  
?>  
<script>
        $(document).ready(function()
        {        
                
            $("#ATMSHOW").hide();    
            $("#ViewQr").hide();       
        }); 
        
        function ViewCD(QRData)
        {
            var URL = "<?php echo ROOTPATH;?>";    
             
             
            //'upi:\/\/pay?pa=MPAYY@icici&tr=INFO43226&am=10&cu=&mc=5411&pn=Geeta' 
            $.ajax({	
            type: "POST",
            url: URL+"/ajax/Qrgenerate/index.php",
            data: {userDatacheckTop:1,QRData:QRData},
            beforeSend: function(){ 
            },
            success: function(data)
                {        
                    $("#ATMSHOW").show(200);    
                    $("#ViewQr").show(200);
                    
                    $("#PleaceImg").html('<img src="'+data+'" width="200" />');
                    $("#InnerQr").html('<img src="'+data+'" width="200"  class="placenewqr" />'); 
                     
                }
            });   
            
        }
    
     
    </script> 
<script type="text/javascript" src="<?php echo ROOTPATH;?>/view/js/tab/profile.js"> </script>
<script>
        //Function To Display Popup
    function div_show() {
    
    document.getElementById('abc').style.display = "block";
    }
    //Function to Hide Popup
    function div_hide(){
    document.getElementById('abc').style.display = "none";
    }
        
</script>
  
  
  
  
   <!-- Features -->
   <div class="innerDeader">
      <div class="container">
        
        <a href="javascript:void(0);" id="go-back" class="goBack PaySound">
           <img src="<?php echo ROOTPATH;?>/images/Arrow 1.svg" alt="back">
       </a>
       
        <div class="qrBox">
            <img src="<?php echo ROOTPATH;?>/images/logo.png" alt="logo"/>     
          </div>
          </div> 
     </div>    
   </div>
   <div class="innerBody">
       <div class="container">
        <h5 class="pageHead"><?php echo $UI__Rgst->nm;?></h5>
          <h4 class="qrNo"><?php echo $userNam->UPI;?>   <?php// echo $UI__Rgst->phm;?></h4>
          
          
          
          
          <div class="qrWrapper">
            <div class="qrWrapperInn"> 
               <div class="qrImg" id="ViewQr"> 
                   <?php 
                    if($UI__Rgst->UPI4!='') 
                    {
                   ?>
                        <img src="<?php echo MASTER_ROOTPATH.'/uploads/QrCode/'.$UI__Rgst->UPI4;?>" height="280" width="280" />  
                   <?php }else { ?>  
                       <div id="PleaceImg">
                           <img src="<?php echo ROOTPATH;?>/ajax/Qrgenerate/temp/updatingQr.jpg" /> 
                       </span>   
                   <?php } ?>
               </div>  
            </div>
          </div>
          <h4 class="qrNo linkcol">
            <span><a href="#" onclick="ViewCD('<?php  if($UI__Rgst->marchant==1) echo $UI__Rgst->UPI3; else echo  $UI__Rgst->UPI;?>');">View Qr Code</a></span>
            <!--span><?php  if($UI__Rgst->marchant==1) echo $UI__Rgst->UPI3; else echo  $UI__Rgst->UPI;?></span-->
          </h4>
          <!--div class="botIcons">
            <span><img src="<?php echo ROOTPATH;?>/images/gpay.jpg" alt="logo"/></span>
            <span><img src="<?php echo ROOTPATH;?>/images/phonpay.jpg" alt="logo"/></span>
            <span><img src="<?php echo ROOTPATH;?>/images/paytm.jpg" alt="logo"/></span>
            <span><img src="<?php echo ROOTPATH;?>/images/amazon.jpg" alt="logo"/></span>
            <span><img src="<?php echo ROOTPATH;?>/images/gpay.jpg" alt="logo"/></span>
            <span><img src="<?php echo ROOTPATH;?>/images/paytm.jpg" alt="logo"/></span>
            <span><img src="<?php echo ROOTPATH;?>/images/amazon.jpg" alt="logo"/></span>
          </div-->
   </div>
   
    
          <div class="qrplacement" id="ATMSHOW">
              <img  src="<?php echo ROOTPATH;?>/images/daily_pay_atm.jpg" alt="Daily pay ATM background" class="qrbg"/>  
               <span id="InnerQr"></span>
               
               <div class="align_qrtext"><?php echo $UI__Rgst->nm;?></div>
          </div>
 
     
</div>
<?php 
  include_once("../view/header-footer/footer.php");  
unset($_SESSION['Regis']);  
unset($_SESSION['topSuc']); 
unset($_SESSION['QRSET']); 