<?php $this->load->view('header');?>
		
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            &nbsp;
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="<?php echo base_url();?>"><?php echo $this->lang->line('hf_home');?></a></li>
              <li class="breadcrumb-item"><?php echo $this->lang->line('hf_settings');?></li>
			  <li class="breadcrumb-item active"><?php echo $this->lang->line('hf_share_invitation_link');?></li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

	<!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="card card-default">
          <div class="card-header">
            <h3 class="card-title"><?php echo $this->lang->line('hf_share_invitation_link');?></h3>

            <div class="card-tools">
              
            </div>
          </div>
          <!-- /.card-header -->
          <div class="card-body">
			<form class="form-horizontal" id="share-form">
				<div class="form-group row">
					<div class="col-sm-5 text-left">
						<div id="qrcode"></div>
						<label id="referrer-link" class="custom-label"><?php echo base_url() . 'register/referrer/' . $this->session->userdata('member_username') . '/';?></label><br />
						<button onclick="select_all_and_copy(document.getElementById('referrer-link'))" type="button" class="btn btn-primary"><?php echo $this->lang->line('profile_copy');?></button>
					</div>
				</div>
			</form>
          </div>
          <!-- /.card-body -->
        </div>
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
		
<?php $this->load->view('footer');?>		