?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Settings/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Settings/viewedit_user.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script> function Loaduserpermission(user_id) { $('#PermissionDiv').load("<?php echo site_url('settings/ViewUserPermissionByuserIdControler/'); ?>" +"/" + user_id); } $(document).ready( function() { Loaduserpermission("<?php echo $userdetails->id ?>"); }); function FillValues(empid,empname,desg) { /* FUNCTION TO GET VALUES FROM PICK EMPLOYEE COLOR BOX AND FILL THE VALUES IN THE TEXT BOXES. */ document.getElementById('EmpId').value=empid; document.getElementById('EmpName').value=empname; $.fn.colorbox.close(); } </script> <?php $attributes = array('id' => 'UpdateUserForm','class'=>'customForm'); echo form_open('settings/UpdateUsersControler',$attributes); ?> <div style="width:25%;float:left"> <fieldset class="lefttalign"><legend>Edit New User</legend> <ul> <li> <label>User Name :</label><label><?=$userdetails->username?></label> </li> <li> <label>User Profile: </label> <?php $rolename=$this->settingsmodel->getSingleFieldValue('user_roles','name','id',$userdetails->role_id); $name=$this->settingsmodel->getSingleFieldValue('designation','designation','id',$rolename); ?> <label><?=$name ?></label> </li> <li> <label>Staff :</label> <?php $staffname=$this->settingsmodel->getSingleFieldValue('staffpersonaldetails','name','id',$userdetails->staff_id);?> <label><?=$staffname?></label> </li> </ul> </fieldset> </div> <div id="PermissionDiv" style="width:74%;float:left;"></div> <?php echo form_close(); ?> <div id="backgrounddiv"></div> <div style='display:none'> <div id='PickEmployee' style='padding:10px; background:#fff;'> <?php $this->load->view('Customer/pickemployee');?> </div> </div>