PHP Classes

File: application/views/profile.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   Attendance Login System   application/views/profile.php   Download  
File: application/views/profile.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Attendance Login System
Manage and authenticate company employees users
Author: By
Last change:
Date: 6 years ago
Size: 1,362 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();?>main/changeuser"><span class="icon-wrench"></span> Edit</a></li>
                </ul>
            </div>
        </div>
</div>
</div>
</div>