79 lines
4.2 KiB
PHP
Executable File

<!--sidebar end-->
<!--main content start-->
<?php defined('BASEPATH') or exit('No direct script access allowed');
?>
<div class="app-content content">
<section class="content-wrapper">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<div class="row">
<div class="col-12">
<h3 class="font-weight-bold"><?php echo lang('manage_profile'); ?></h3>
</div>
</div>
</div>
<hr class="mt-0 mb-0" />
<div class="card-body">
<div class="row">
<div class="col-md-8">
<form role="form" action="profile/addNew" class="clearfix" method="post" enctype="multipart/form-data">
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
<div class="form-group">
<label for="exampleInputEmail1"><?php echo lang('name'); ?></label>
<input type="text" class="form-control" name="name" id="exampleInputEmail1" value='<?php
if (!empty($profile->username)) {
echo $profile->username;
}
?>' placeholder="">
</div>
<div class="form-group">
<label for="exampleInputEmail1"><?php echo lang('change_password'); ?></label>
<input type="password" class="form-control" name="password" id="exampleInputEmail1" placeholder="********">
</div>
<div class="form-group">
<label for="exampleInputEmail1"><?php echo lang('email'); ?></label>
<input type="text" class="form-control" name="email" id="exampleInputEmail1" value='<?php
if (!empty($profile->email)) {
echo $profile->email;
}
?>' placeholder="" <?php
if (!empty($profile->username)) {
echo $profile->username;
}
?>' placeholder="" readonly>
</div>
<!-- <div class="form-group">
<label for="exampleInputEmail1"><?php echo lang('Photo'); ?></label>
<input type="file" class="form-control" name="documents">
</div> -->
<input type="hidden" name="id" value='<?php
if (!empty($profile->id)) {
echo $profile->id;
}
?>'>
<div class="form-group">
<button type="submit" name="submit" class="btn btn-info pull-right"><?php echo lang('submit'); ?></button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!--main content end-->
<!--footer start-->
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
$(".flashmessage").delay(3000).fadeOut(100);
});
</script> -->