示例#1
0
                <div class="block-header">
                    <h2>Messages</h2>
                </div>

                <div class="card m-b-0" id="messages-main">

                    <!-- <a href="" class="btn bgm-red btn-float m-btn" id="ms-compose">
                        <i class="zmdi zmdi-plus"></i>
                    </a> -->

                    <div class="ms-menu">
                        <div class="ms-block">
                            <div class="ms-user">
                                <img
                                    src="<?php 
echo Gravatar::get_gravatar($me->email, 200);
?>
"
                                    alt="">

                                <div>Connecté en tant que <br/> <?php 
echo $me->email;
?>
</div>
                            </div>
                        </div>

                        <div class="ms-block">
                            <div class="dropdown">
                                <a class="btn btn-primary btn-block" href="" data-toggle="dropdown">Messages <i
                                        class="caret m-l-5"></i></a>
示例#2
0
            <div role="tabpanel" class="tab-pane fade" id="annuaire">
                    <div class="listview">
                        <?php 
foreach ($userlist as $user) {
    ?>
                        <a class="lv-item lv-item-users" href="#" data-id="<?php 
    echo $user->id;
    ?>
" data-name="<?php 
    echo $user->name;
    ?>
">
                            <div class="media">
                                <div class="pull-left p-relative">
                                    <img class="lv-img-sm" src="<?php 
    echo Gravatar::get($user->email);
    ?>
" alt="">
                                    <i class="chat-status-busy"></i>
                                </div>
                                <div class="media-body">
                                    <div class="lv-title"><?php 
    echo $user->name;
    ?>
</div>
                                </div>
                            </div>
                        </a>
                        <?php 
}
?>
示例#3
0
}
$id = $_GET['id'];
$me = $_SESSION['me'];
$chatinfos = Request::perform("chat/{$id}");
if ($chatinfos === null) {
    die("Pas de conversation pour le moment");
}
if (count($chatinfos->users) <= 2 && count($chatinfos->users) > 0) {
    $convpic = Gravatar::get($chatinfos->users[0]->email);
} else {
    $convpic = "img/profile-pics/2.jpg";
}
foreach ($chatinfos->users as $user) {
    $user->pic = Gravatar::get($user->email);
}
$mypic = Gravatar::get($me->email);
?>
 <!-- Listview HEADER -->
<div class="lv-header-alt clearfix">
    <div id="ms-menu-trigger">
        <div class="line-wrap">
            <div class="line top"></div>
            <div class="line center"></div>
            <div class="line bottom"></div>
        </div>
    </div>

    <div class="lvh-label hidden-xs">
        <div class="lv-avatar pull-left">
            <img src="<?php 
echo $convpic;