Файл: Just Wallet 2.0.4/application/views/user/profile_form.php
Строк: 82
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<div class="header-st mb-4">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3>
<?php echo lang('core button create'); ?>
</h3>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row mt-5 mb-5">
<div class="col-md-6 offset-md-3">
<div class="card">
<div class="card-body">
<?php echo form_open('', array('role'=>'form')); ?>
<div class="row">
<div class="form-group col-md-6">
<label for="exampleInputEmail1"><?php echo lang('core button username'); ?></label>
<?php echo form_input(array('name'=>'username', 'value'=>set_value('username', (isset($user['username']) ? $user['username'] : '')), 'class'=>'form-control')); ?>
</div>
<div class="form-group col-md-6">
<label for="exampleInputEmail1"><?php echo lang('core button email'); ?></label>
<?php echo form_input(array('name'=>'email', 'value'=>set_value('email', (isset($user['email']) ? $user['email'] : '')), 'class'=>'form-control', 'type'=>'email')); ?>
</div>
<div class="form-group col-md-6">
<label for="exampleInputEmail1"><?php echo lang('core button first_name'); ?></label>
<?php echo form_input(array('name'=>'first_name', 'value'=>set_value('first_name', (isset($user['first_name']) ? $user['first_name'] : '')), 'class'=>'form-control')); ?>
</div>
<div class="form-group col-md-6">
<label for="exampleInputEmail1"><?php echo lang('core button last_name'); ?></label>
<?php echo form_input(array('name'=>'last_name', 'value'=>set_value('last_name', (isset($user['last_name']) ? $user['last_name'] : '')), 'class'=>'form-control')); ?>
</div>
<div class="form-group col-md-12">
<label for="exampleInputEmail1"><?php echo lang('core button language'); ?></label>
<?php echo form_dropdown('language', $this->languages, (isset($user['language']) ? $user['language'] : $this->config->item('language')), 'id="language" class="form-control"'); ?>
</div>
<div class="form-group col-md-6">
<label for="exampleInputEmail1"><?php echo lang('core button password'); ?></label>
<?php echo form_password(array('name'=>'password', 'value'=>'', 'class'=>'form-control', 'autocomplete'=>'off')); ?>
</div>
<div class="form-group col-md-6">
<label for="exampleInputEmail1"><?php echo lang('core button re_password'); ?></label>
<?php echo form_password(array('name'=>'password_repeat', 'value'=>'', 'class'=>'form-control', 'autocomplete'=>'off')); ?>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="g-recaptcha" data-sitekey="<?php echo $this->settings->google_site_key; ?>"></div>
</div>
<div class="col-md-6">
<a href="<?php echo base_url('login'); ?>"><?php echo lang('core button back_login'); ?></a></br>
</div>
<div class="col-md-6 text-right">
<button type="submit" class="btn btn-success"><?php echo lang('core button register'); ?></button>
</div>
</div>
<?php echo form_close(); ?>
</div>
</div>
</div>
</div>
</div>