PHP Classes

File: application/views/user/banuser.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Attendance Management System using Fingerprint   application/views/user/banuser.php   Download  
File: application/views/user/banuser.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Attendance Management System using Fingerprint
Keep track of employee attendance with fingerprint
Author: By
Last change:
Date: 11 months ago
Size: 1,160 bytes


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

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

    <div class="form-group">
= array(
'unban' => 'Unban',
'ban' => 'Ban',
$dd_name = "banuser";
form_dropdown($dd_name, $dd_list, set_value($dd_name), 'class = "form-control" id="banuser"');
    <?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>
    <?php echo form_close(); ?>