PHP Classes

File: application/views/profile/profile.php

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

Contents

Class file image Download
<?php
$default
= "path/to/defava.png"; // Set a Default Avatar
$emailavatar = md5(strtolower(trim($email)));
$gravurl = "";
$imageProfile = '<img src="http://www.gravatar.com/avatar/' . $emailavatar . '?d=' . $default . '&s=140&r=g&d=mm" class="img-circle" alt="">';
?>

<div class="col-md-8 col-lg-offset-2">
    <br><br>
    <div class="container well col-md-12">
        <div class="row">
            <div class="col-md-3">
                <?php echo $imageProfile; ?>
</div>
            <div class="col-md-7">
                <h3><i class="fa fa-user-circle" aria-hidden="true"></i> <?php echo $first_name . " " . $last_name; ?>
</h3>
                <h5><i class="fa fa-envelope-o" aria-hidden="true"></i> <?php echo $email; ?></h5>
                <h5><i class="fa fa-sign-in" aria-hidden="true"></i> <?php echo $last_login; ?></h5>
            </div>
            <div class="col-md-2">
                <div class="btn-group">
                    <a class="btn dropdown-toggle btn-info" data-toggle="dropdown" href="#">
                        Action
                        <span class="icon-cog icon-white"></span><span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo site_url(); ?>profileuser/edituser"><span class="icon-wrench"></span>
                                Edit</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>