PHP Classes
elePHPant
Icontem

File: application/views/changelevel.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra  >  Attendance Login System  >  application/views/changelevel.php  >  Download  
File: application/views/changelevel.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Attendance Login System
Manage and authenticate company employees users
Author: By
Last change: improve and adding feature

adding settings for turn off/on recaptcha, employess can see the history absent
Date: 1 year ago
Size: 1,244 bytes
 

 

Contents

Class file image Download
<div class="col-lg-4 col-lg-offset-4">
    <h2>Change Level</h2>
    <h5>Hi <span><?php echo $first_name; ?></span>, <br>Please choose the level user.</h5>
    <?php $fattr = array('class' => 'form-signin');
         echo
form_open(site_url().'main/changelevel/', $fattr); ?>

    <div class="form-group">
        <select class="form-control" name="email" id="email">
            <?php
           
foreach($groups as $row)
            {
              echo
'<option value="'.$row->email.'">'.$row->email.'</option>';
            }
           
?>
</select>
    </div>

    <div class="form-group">
    <?php
        $dd_list
= array(
                 
'1' => 'Admin',
                 
'2' => 'Author',
                 
'3' => 'Employee',
                 
'4' => 'Subscriber',
                );
       
$dd_name = "level";
        echo
form_dropdown($dd_name, $dd_list, set_value($dd_name),'class = "form-control" id="level"');
   
?>
</div>
    <?php echo form_submit(array('value'=>'Submit', 'class'=>'btn btn-lg btn-primary btn-block')); ?>
<a href="<?php echo site_url().'main/users/';?>"><button type="button" class="btn btn-default btn-lg btn-block">Cancel</button></a>
    <?php echo form_close(); ?>
</div>