PHP Classes

File: application/views/changeuser.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra  >  PHP Attendance Management System using Fingerprint  >  application/views/changeuser.php  >  Download  
File: application/views/changeuser.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: 2 years ago
Size: 1,857 bytes


Class file image Download
<div class="col-lg-4 col-lg-offset-4">
    <h2>Change Profile</h2>
    <h5>Hello <span><?php echo $first_name; ?></span>.</h5>
= array('class' => 'form-signin');
form_open(site_url().'main/changeuser/', $fattr); ?>

    <div class="form-group">
      <?php echo form_input(array('name'=>'firstname', 'id'=> 'firstname', 'placeholder'=>'First Name', 'class'=>'form-control', 'value' => set_value('firstname', $groups->first_name))); ?>
<?php echo form_error('firstname');?>
    <div class="form-group">
      <?php echo form_input(array('name'=>'lastname', 'id'=> 'lastname', 'placeholder'=>'Last Name', 'class'=>'form-control', 'value'=> set_value('lastname', $groups->last_name))); ?>
<?php echo form_error('lastname');?>
    <div class="form-group">
      <?php echo form_input(array('name'=>'email', 'id'=> 'email', 'placeholder'=>'Email', 'class'=>'form-control', 'value'=> set_value('email', $groups->email))); ?>
    <div class="checkbox">
        <input id="checkbox-pass" type="checkbox"> Change Password?
    <div id="hide-pass" style="display: none;">
      <div class="form-group">
        <?php echo form_password(array('name'=>'password', 'id'=> 'password', 'placeholder'=>'Password', 'class'=>'form-control', 'value' => set_value('password'))); ?>
<?php echo form_error('password') ?>
      <div class="form-group">
        <?php echo form_password(array('name'=>'passconf', 'id'=> 'passconf', 'placeholder'=>'Confirm Password', 'class'=>'form-control', 'value'=> set_value('passconf'))); ?>
<?php echo form_error('passconf') ?>
    <?php echo form_submit(array('value'=>'Change', 'class'=>'btn btn-lg btn-primary btn-block')); ?>
<?php echo form_close(); ?>

For more information send a message to info at phpclasses dot org.