Файл: Just Wallet 2.0.4/application/views/account/exchange/calculation.php
Строк: 559
<div class="row">
<div class="col-md-12 mb-2">
<h5><?php echo lang('users exchange check_title'); ?></h5>
</div>
</div>
<?if($type=='1'){?>
<?php echo form_open(site_url("account/exchange/exchange_of_base"), array("" => "")) ?>
<?php echo form_hidden('amount', $amount); ?>
<?php echo form_hidden('currency', $currency); ?>
<div class="card">
<div class="card-body">
<div class="row">
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange direction'); ?></strong></label>
<p class="form-control-static"><?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?> => <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange direction'); ?></strong></label>
<p class="form-control-static"><?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?> => <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans amount'); ?></strong></label>
<p class="form-control-static"><?php echo $amount; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans amount'); ?></strong></label>
<p class="form-control-static"><?php echo $amount; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans fee'); ?></strong></label>
<p class="form-control-static"><?php echo $total_fee; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans fee'); ?></strong></label>
<p class="form-control-static"><?php echo $total_fee; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange rate'); ?></strong></label>
<p class="form-control-static"><?php echo $rates; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange give'); ?></strong></label>
<p class="form-control-static"><?php echo $total_give; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange give'); ?></strong></label>
<p class="form-control-static"><?php echo $total_give; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange get'); ?></strong></label>
<p class="form-control-static"><?php echo $total; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange get'); ?></strong></label>
<p class="form-control-static"><?php echo $total; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<div class="col-md-12 text-right">
<a href="<?php echo base_url('account/exchange'); ?>" class="btn btn-outline-secondary"><?php echo lang('users withdrawal cancel'); ?></a>
<button type="submit" class="btn btn-success"><?php echo lang('users transfer protect_confirm'); ?></button>
</div>
</div>
</div>
</div>
<?php echo form_close(); ?>
<?}else{?>
<?php echo form_open(site_url("account/exchange/exchange_to_base"), array("" => "")) ?>
<?php echo form_hidden('amount', $amount); ?>
<?php echo form_hidden('currency', $currency); ?>
<div class="card">
<div class="card-body">
<div class="row">
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange direction'); ?></strong></label>
<p class="form-control-static"><?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?> => <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange direction'); ?></strong></label>
<p class="form-control-static"><?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?> => <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans amount'); ?></strong></label>
<p class="form-control-static"><?php echo $amount; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans amount'); ?></strong></label>
<p class="form-control-static"><?php echo $amount; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans fee'); ?></strong></label>
<p class="form-control-static"><?php echo $total_fee; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users trans fee'); ?></strong></label>
<p class="form-control-static"><?php echo $total_fee; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange rate'); ?></strong></label>
<p class="form-control-static"><?php echo $rates; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange give'); ?></strong></label>
<p class="form-control-static"><?php echo $total_give; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange give'); ?></strong></label>
<p class="form-control-static"><?php echo $total_give; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<?if($type=='1'){?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange get'); ?></strong></label>
<p class="form-control-static"><?php echo $total; ?> <?if($currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}else{?>
<div class="form-group col-md-4">
<label for="date"><strong><?php echo lang('users exchange get'); ?></strong></label>
<p class="form-control-static"><?php echo $total; ?> <?if($main_currency=='debit_base'){?>
<?php echo $this->currencys->display->base_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra1'){?>
<?php echo $this->currencys->display->extra1_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra2'){?>
<?php echo $this->currencys->display->extra2_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra3'){?>
<?php echo $this->currencys->display->extra3_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra4'){?>
<?php echo $this->currencys->display->extra4_code ?>
<?}else{?>
<?}?>
<?if($main_currency=='debit_extra5'){?>
<?php echo $this->currencys->display->extra5_code ?>
<?}else{?>
<?}?></p>
</div>
<?}?>
<div class="col-md-12 text-right">
<a href="<?php echo base_url('account/exchange'); ?>" class="btn btn-outline-secondary"><?php echo lang('users withdrawal cancel'); ?></a>
<button type="submit" class="btn btn-success"><?php echo lang('users transfer protect_confirm'); ?></button>
</div>
</div>
</div>
</div>
<?php echo form_close(); ?>
<?}?>