| Server IP : 188.114.96.2 / Your IP : 104.23.197.230 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/nicolasj/www/sms.formationlangues.be/application/models/ |
Upload File : |
<?php
/*********************
*********************
controller creation 30/09
Aernout Guillaume
http://codes.solutions
*********************
*********************/
?>
<hr />
<div class="row">
<div class="col-md-12">
<h4><span class="entypo-user"></span><? echo $fullName; ?></h4>
<em>[<? echo $role; ?> profile]</em>
</div>
<div class="tab-pane box" class="col-sm-12">
<hr style="width:95%">
<div class="box-content" class="col-sm-12">
<div class="padded col-sm-12">
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('default_language');?></label>
<div class="col-sm-5">
<select class="form-control" name="language" id="lang"/>
<? foreach ($language as $lang) {
if($lang['active'] == 1){
echo "<option value='".$lang['id']."'>".get_phrase($lang['english_name'])."</option>";
}
}?>
</select>
</div>
</div>
</div>
<br>
<hr style="width:95%">
<br>
<div class="padded col-sm-12">
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('phone');?></label>
<div class="col-sm-5">
<input type="text" class="form-control" id="phone" value="<? echo $profile['phone']; ?>" name="phone"></input>
</div>
</div>
</div>
<? if($this->session->userdata('login_type') != "admin"){?>
<div class="padded col-sm-12">
<div class="form-group">
<label class="col-sm-3 control-label"><?php echo get_phrase('date_of_birth');?></label>
<div class="col-sm-5">
<input type="text" class="form-control datePick" id="dob" value="<? echo $profile['dob']; ?>"></input>
</div>
</div>
</div>
<div class="padded col-sm-12">
<?php $addressPrefix='invoice_address'; include(APPPATH.'views/address/inner_text.php'); ?>
</div>
</div>
</div>
</div> <? } ?>
<div class="padded col-sm-12">
<div class="form-group">
<br><br>
<span class="btn btn-danger entypo-key" style="margin:5px" id="pass">reset password</span><span id="edit" style="margin:5px" class="btn btn-info entypo-cog">edit</span>
</div>
</div>
<hr style="width:95%">
</div>
<!-- assets -->
<script type="text/javascript" src="/assets/js/csajax/backend/profile_admin.js"></script>
<!-- Initialize the scripts-->
<script type="text/javascript">
jQuery(document).ready(function($){
<? if($profile['lang'] > 1){ echo "$('#lang').val(".$profile['lang'].");";} //set cur lang?>
<? if(isset($reset)){ echo "ajaxPassword();";} //set reset pass?>
$('.datePick').datepicker({dateFormat: 'dd-mm-yyyy'});
$("#edit").click(function(){ajaxEdit();});
$("#pass").click(function(){ajaxPassword()});
});
</script>