PHP Classes

File: application/views/forgot.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   Attendance Login System   application/views/forgot.php   Download  
File: application/views/forgot.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: 5 years ago
Size: 1,018 bytes
 

Contents

Class file image Download
<div class="col-lg-4 col-lg-offset-4">
    <h2>Forgot Password</h2>
    <p>Please enter your email address and we'll send you instructions on how to reset your password</p>
    <br>
    <?php $fattr = array('class' => 'form-signin');
         echo
form_open(site_url().'main/forgot/', $fattr); ?>
<div class="form-group">
      <?php echo form_input(array(
         
'name'=>'email',
         
'id'=> 'email',
         
'placeholder'=>'Email',
         
'class'=>'form-control',
         
'value'=> set_value('email'))); ?>
<?php echo form_error('email') ?>
</div>
    <?php
   
if($recaptcha == 1){
      echo
'
      <div style="text-align:center;" class="form-group">
          <div style="display: inline-block;">'
.$this->recaptcha->render().'</div>
      </div>
      '
;
    }
    echo
form_submit(array('value'=>'Submit', 'class'=>'btn btn-lg btn-primary btn-block')); ?>
<?php echo form_close(); ?>
<br>
    <p>Registered? <a href="<?php echo site_url();?>main/login">Login</a></p>
</div>