%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="main-wapper-inner"> <div class="top-menus"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h3><?php echo $title;?></h3> </div><!-- /input-group --> </div> </div><!-- /.col-lg-6 --> </div><!-- /.row --> <div class="home-inners"> <div class="container-fluid"> <div class="row"> <form method="post" action="<?php echo site_url('user/update_user/'.$uid);?>"> <div class="form-submit"> <?php $logged_in=$this->session->userdata('logged_in'); if($this->session->flashdata('message')){ echo $this->session->flashdata('message'); } ?> <div class="col-md-6"> <div class="form-group"> <label>User Detail</label> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('user_name');?></label> <input type="text" id="inputEmail" name="email" autocomplete = 'off' value="<?php echo $result['email'];?>" class="form-control" placeholder="<?php echo $this->lang->line('user_name');?>" required autofocus> </div> <div class="form-group"> <label for="inputPassword" class="sr-only"><?php echo $this->lang->line('password');?></label> <input type="password" id="inputPassword" name="password" value="" class="form-control" placeholder="<?php echo $this->lang->line('password');?>" > </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('first_name');?></label> <input type="text" name="first_name" class="form-control" value="<?php echo $result['first_name'];?>" placeholder="<?php echo $this->lang->line('first_name');?>" autofocus> </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('last_name');?></label> <input type="text" name="last_name" class="form-control" value="<?php echo $result['last_name'];?>" placeholder="<?php echo $this->lang->line('last_name');?>" autofocus> </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('contact_no');?></label> <input type="text" name="contact_no" class="form-control" value="<?php echo $result['contact_no'];?>" placeholder="<?php echo $this->lang->line('contact_no');?>" autofocus> </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('user_email');?></label> <input type="text" name="user_email" class="form-control" value="<?php echo $result['user_email'];?>" placeholder="<?php echo $this->lang->line('user_email');?>" /> </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('address');?></label> <input type="text" name="address" value="<?php echo $result['address'];?>" class="form-control" placeholder="<?php echo $this->lang->line('address');?>" autofocus> </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('system_id');?></label> <input type="text" name="system_id" value="<?php echo $result['system_id'];?>" class="form-control" placeholder="<?php echo $this->lang->line('system_id');?>" autofocus> </div> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('roll_number');?></label> <input type="text" name="roll_number" value="<?php echo $result['roll_number'];?>" class="form-control" placeholder="<?php echo $this->lang->line('roll_number');?>" autofocus> </div> <?php if($result['alternate_email']!=''){?> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('alternate_email');?></label> <input type="text" name="alternate_email" value="<?php echo $result['alternate_email'];?>" class="form-control" placeholder="<?php echo $this->lang->line('alternate_email');?>" autofocus> </div> <?php } ?> </div> <div class="col-md-6"> <div class="form-group"> <label><?php echo $this->lang->line('select');?> <?php echo $this->lang->line('subject');?></label> <select name="cid" id="cid" class="form-control" onchange="javascript:level_list();"> <option value="0"><?php echo $this->lang->line('subject');?></option> <?php foreach($category_list as $key => $val){ if($val['cid']=='5') { continue; } ?> <option value="<?php echo $val['cid'];?>" <?php if($val['cid']==$result['cid']){ echo 'selected';} ?> ><?php echo $val['category_name'];?></option> <?php } ?> </select> </div> <div class="form-group"> <select name="lid" id="lid" class="form-control"> <option value="0"><?php echo $this->lang->line('class_level');?></option> <?php foreach($level_list as $key => $val){ ?> <option value="<?php echo $val['lid'];?>" <?php if($val['lid']==$result['lid']){ echo 'selected';} ?> ><?php echo $val['level_name'];?></option> <?php } ?> </select> </div> <div class="form-group"> <label for="inputEmail">Subscription</label> <input type="date" name="subscription_expired" id="subscription_expired" class="form-control" value="<?php if($result['subscription_expired']!='0'){ echo date('Y-m-d',$result['subscription_expired']); }else{ echo '0';} ?>" placeholder="<?php echo $this->lang->line('subscription_expired');?>" autofocus> </div> <div class="form-group"> <label>Account Status</label> <select class="form-control" name="verify_code"> <option value="0" <?php if($result['verify_code']==0){ echo 'selected';}?>>Verified</option> <option value="1001" <?php if($result['verify_code']>0){ echo 'selected';}?> >Pending</option> </select> </div> <?php if($active_su>='2') {?> <div class="form-group"> <label>Status</label> <select class="form-control" name="status"> <option value="" > Select ...</option> <option value="1" <?php if($result['status']==1){ echo 'selected';}?> >Active</option> <option value="0" <?php if($result['status']==0){ echo 'selected';}?> >Inactive</option> </select> </div> <div class="form-group"> <label><?php echo $this->lang->line('account_type');?></label> <select class="form-control" name="su"> <option value="0" <?php if($result['su']==0){ echo 'selected';}?>><?php echo $this->lang->line('user');?></option> <option value="1" <?php if($result['su']==1){ echo 'selected';}?>><?php echo $this->lang->line('administrator');?></option> <option value="2" <?php if($result['su']==2){ echo 'selected';}?>><?php echo $this->lang->line('super_administrator');?></option> </select> </div> <?php } ?> <div class="form-group"> <label for="inputEmail" class="sr-only"><?php echo $this->lang->line('school_name');?></label> <input type="text" name="school_name" value="<?php echo $result['school_name'];?>" class="form-control" placeholder="<?php echo $this->lang->line('school_name');?>" autofocus> </div> <?php if($result['su']==1){ ?> </div> <div class="form-group col-md-12"> <div class="row"> <label for ="groups"><?php echo $this->lang->line('select_group');?></label> <br> <?php $gArray = explode(',',$result['gid']); foreach($group_list as $key => $val){ ?> <div class="col-sm-3"> <input type="checkbox" name="gids[]" value="<?php echo $val['gid'];?>" <?php if(in_array($val['gid'],$gArray)){ echo 'checked'; } ?> > <?php echo $val['group_name'];?> </div> <?php } ?> </div> </div> <?php if($logged_in['su']=='2') { ?> <div class="form-group col-md-12" > <div class="row"> <label for ="groups"><?php echo $this->lang->line('select_category');?></label> <br> <?php $catArray = explode(',',$result['catids']); foreach($category_list as $key => $val){ ?> <div class="col-sm-3"> <input type="checkbox" name="catids[]" value="<?php echo $val['cid'];?>" <?php if(in_array($val['cid'],$catArray)){ echo 'checked'; } ?> > <?php echo $val['category_name'];?>(<small><?php echo $val['admin_id'];?></small>) </div> <?php } ?> </div> </div> <?php } } else { ?> <div class="form-group"> <label ><?php echo $this->lang->line('select_group');?></label> <select class="form-control" name="gids[]" onChange="getexpiry();" id="gid"> <?php foreach($group_list as $key => $val){ ?> <option value="<?php echo $val['gid'];?>" <?php if($result['gid']==$val['gid']){ echo 'selected';}?> ><?php echo $val['group_name'];?></option> <?php } ?> </select> </div> </div> <?php } ?> <div class="col-md-12"> <a class="btn btn-default button6" href="<?=base_url('user')?>"><?php echo $this->lang->line('cancel');?></a> <button class="btn btn-default button3" type="submit"><?php echo $this->lang->line('submit');?></button> </div> </div> </form> </div> </div> </div> </div>