<?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_transfer');?></li>
			  <li class="breadcrumb-item active"><?php echo $this->lang->line('hf_account_transfer');?></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_account_transfer');?></h3>

            <div class="card-tools">
              <b class="text-success"><?php echo $this->lang->line('wallet_4');?>:</b> 
			  <span><?php echo (isset($v_unit4) ? $v_unit4 : '');?></span>
            </div>
          </div>
          <!-- /.card-header -->
          <div class="card-body">
			<form class="form-horizontal" id="transfer-form">
				<p class="text-danger"><?php echo str_replace('_MIN_', (isset($setting['min_transfer']) ? $setting['min_transfer'] : 0), $this->lang->line('transfer_min_request_message'));?></p>
				<div class="form-group row">
					<label for="transaction_type" class="col-sm-2 col-form-label"><?php echo $this->lang->line('transfer_transfer_wallet');?></label>
					<div class="col-sm-3">
						<select class="form-control" id="transaction_type" name="transaction_type">
						    <option value="4"><?php echo $this->lang->line('wallet_4');?></option>
						</select>
					</div>
				</div>
				<div class="form-group row">
					<label for="member_username" class="col-sm-2 col-form-label"><?php echo $this->lang->line('transfer_member_username');?></label>
					<div class="col-sm-3">
					  <input type="text" class="form-control" id="member_username" name="member_username" placeholder="<?php echo $this->lang->line('transfer_member_username_must_fill_in_message');?>">
					</div>
				</div>
				<div class="form-group row">
					<label for="transaction_amount" class="col-sm-2 col-form-label"><?php echo $this->lang->line('transfer_transfer_amount');?></label>
					<div class="col-sm-3">
					  <input type="text" class="form-control" id="transaction_amount" name="transaction_amount" placeholder="<?php echo $this->lang->line('transfer_amount_must_fill_in_message');?>">
					</div>
				</div>
				<div class="form-group row">
					<label for="security_password" class="col-sm-2 col-form-label"><?php echo $this->lang->line('transfer_security_password');?></label>
					<div class="col-sm-3">
					  <input type="password" class="form-control" id="security_password" name="security_password" placeholder="<?php echo $this->lang->line('transfer_security_password_must_fill_in_message');?>">
					</div>
				</div>
				<div class="form-group row">
					<div class="offset-sm-2 col-sm-10">
					  <input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
					  <button onclick="transfer_submit()" type="button" class="btn btn-primary"><?php echo $this->lang->line('transfer_transfer');?></button>
					</div>
				</div>
			</form>
          </div>
          <!-- /.card-body -->
        </div>
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
		
<?php $this->load->view('footer');?>		