PHP Classes

File: application/views/profile.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   CodeIgniter ion Auth Login   application/views/profile.php   Download  
File: application/views/profile.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: CodeIgniter ion Auth Login
Manage user records in a database with CodeIgniter
Author: By
Last change:
Date: 6 years ago
Size: 1,362 bytes


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

<div class="col-md-8 col-lg-offset-2">
<div class="container well col-md-12">
    <div class="row">
        <div class="col-md-3" >
            <?php echo $imageProfile; ?>
        <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 class="col-md-2">
            <div class="btn-group">
                <a class="btn dropdown-toggle btn-info" data-toggle="dropdown" href="#">
                    <span class="icon-cog icon-white"></span><span class="caret"></span>
                <ul class="dropdown-menu">
                    <li><a href="<?php echo site_url();?>main/changeuser"><span class="icon-wrench"></span> Edit</a></li>