?
Current Path : /home1/savoy/public_html/savoyglobal.net/koolkids/school/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/public_html/savoyglobal.net/koolkids/school/application/views/Settings/edituser.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $profile_details=$this->mastermodel->getdatas('user_profiles'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('settings/addinsettings/updateuser/viewuser/1/',$attributes); ?> <input type="hidden" name="user_id" value="<?=$user->user_id;?>" <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="forms"><div class="backicon"> <a href="#" onclick="viewdata('settings','viewinsettingssearch','searchuser','viewuser','<?=$_SESSION['pagenum'];?>')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <h3>Update User</h3> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Username</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="username" id="username" type="text" onchange="checkexistenceedit('user','username',this.value,'user_id','<?=$user->user_id;?>')" value="<?=$user->username;?>"/></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Select Profile</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="profile_id" id="profile_id" class="required" > <option value="0" selected>Select Profile</option> <?php foreach ($profile_details as $row) { ?> <option value="<?=$row['profile_id']?>" <?php if($row['profile_id']==$user->profile_id){ ?> selected <?php } ?>><?=$row['name']?></option> <?php } ?> </select> </span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <input type="hidden" name="tab_name" value="user"/> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Update User</em></span></span><input name="" type="submit" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>end forms<![endif]--> </fieldset> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>