<?php $u_info = get_user_info_by_slug($slug); ?>
<div class="modal fade" id="qrModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog  modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-body">
       <div class="qrcode">
	        <div class="qrCodeImg">
	          <img src="<?= base_url($u_info['qr_code']) ;?>" alt="">
	        </div>
        	<div class="qrbtn">
        		<a href="<?= base_url($u_info['qr_code']) ;?>" download class="label label-success download_btn"><i class="fa fa-download"></i> <?= !empty(lang('download'))?lang('download'):"Download"?></a> &nbsp;&nbsp;

        		<a href="javascript:;" data-link="<?= base_url('save-qr/'.$u_info['username']) ;?>" data-id="<?=  $u_info['id'];?>" class="label label-success copy"><i class="fa fa-share"></i> &nbsp; <?= !empty(lang('copy_qr_link'))?lang('copy_qr_link'):"Copy QR link"?> </a>
        	</div>
	        <p class="copy_alert" style="display: none;"><i class="fa fa-check"></i> &nbsp;<?= !empty(lang('coppied'))?lang('coppied'):"coppied"?></p>
	      </div>
      </div>
      <div class="modal-footer text-center">
        <button type="button" class="btn btn-modal active" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>