<?php if (enum_user_circle_status($user_circle) == user_circle_status::request_accept || $circle->admin == $user->id) { ?> <span>Members:</span> <div class="carousel"> <div class="sriwriw"> <?php foreach ($members as $member) { ?> <a class="user-avatar" href="<?php echo site_url('profile/view/' . $member['id']); ?> "> <img class="img-circle" width="75" height="75" src="<?php echo avatar_url((object) $member); ?> "> <small> <?php echo $member['first_name'] . ' ' . $member['last_name']; ?> </small> </a> <?php } ?> </div> <a href="javascript:;" id="ui-carousel-next"></a> <a href="javascript:;" id="ui-carousel-prev"></a> </div>
<?php $folder = dirname(dirname(__FILE__)); require_once $folder . "/commun/navbar.php"; $back_url = site_url('/storyboard/my_storyboards'); if (!empty($op) && $op == "view_") { $id = $obj->id; $guid = id_to_guid($id); $back_url = site_url('/storyboard/all'); } $user_avatar = avatar_url($sb_user); ?> <div class="page-container row-fluid"> <?php require_once $folder . "/commun/main-menu.php"; ?> <div class="page-content storyboard_container"> <div class="storyboard_view" class="row"> <div class="clearfix"></div> <div class="content" style="padding-top:65px;"> <div class="page-title" style="margin-bottom:0;"> <a href="<?php echo $back_url; ?> "><i class="icon-custom-left"></i></a> <?php if ($op == "edit_") {
<h1 class="mainH1" style="white-space:normal"> <?php echo $title; ?> <a class="sendmail" href="<?php echo site_url('monCompte/messagerie/' . $infos['username'] . '#new_convers'); ?> ">Lui envoyer un message privé</a> </h1> <div class="profil"> <div class="avatar"><?php echo avatar_url($infos['id']); ?> </div> <div class="profilInfos"> <div class="profilGils"> <?php echo number_format($infos['gils'], 1, ',', ' '); ?> gils</div> <?php if ($infos['group'] == 0) { echo '<span style="color:#ff8c00">Membre</span>'; } ?> <?php if ($infos['group'] == 1) { echo '<span style="color:#800000">Banni</span>'; }
echo $obj->circle_accept; ?> " data-pending="<?php echo $obj->circle_wait; ?> " data-user-id="<?php echo $obj->id; ?> " > <div class="meta name"> <div class="img_wrapper"> <img src="<?php echo avatar_url($obj) . "?id=" . uniqid(); ?> " alt="" class="avatar mix-image"/> </div> <div class="titles"> <h2 class="<?php echo $obj->is_root == 1 ? 'is_admin' : ''; ?> " > <span><?php echo $obj->first_name . ' ' . $obj->last_name; ?> </span> <?php if ($user->is_root == 1) { ?>
</p> </div> <?php } ?> <div class="cadreParam" style="height:110px"> <h2>Mon avatar</h2> <form class="noValid" method="post" action="<?php echo site_url('monCompte/uploadAvatar'); ?> " enctype="multipart/form-data"> <?php echo avatar_url($this->session->userdata('id'), false, 'float:left;margin-right:12px'); ?> <input type="file" name="avatar" /><br /> <input style="margin-top:7px" type="submit" class="btn2" /> </form> </div> <form method="post" action="<?php echo site_url('monCompte/updateProfil'); ?> " > <div class="cadreParam"> <h2>Mon profil</h2>
"> <a href="/user/<?php echo $row->url_safe_author_name; ?> "> <?php echo $row->author_name; ?> </a> </div> <div class="time"><?php echo timespan($row->created, time()); ?> </div> <div class="user-information" style="background: url(<?php echo avatar_url($row->emoticon ? $row->author_id : '0'); ?> );"> <ul> <?php if ($logged_in) { ?> <li><a href="/buddies/<?php echo $row->url_safe_author_name; ?> "><?php echo $row->author_acquaintance_name === 'buddy' ? "Your {$row->author_acquaintance_name}!" : 'BUDDY? IGNORE?'; ?> </a></li> <li><a href="/message/send/<?php echo $row->url_safe_author_name;
<?php foreach ($lastComments as $comment) { ?> <div class="homeComment"> <a class="title" href="<?php echo $comment['url']; ?> "><?php echo $comment['categorie']; ?> <span>></span> <?php echo htmlspecialchars($comment['title']); ?> </a> <?php echo avatar_url($comment['user'], true); ?> <span><?php echo profil_url($comment['username'], $comment['user'], $comment['color']); ?> <?php echo madate($comment['date']); ?> </span> <p><?php echo character_limiter(montextepreview($comment['message']), 110); ?> </p> <div style="clear:both"></div> </div> <?php
</div> <div class="tiles white "> <div class="tiles-body"> <div class="row"> <div class="user-profile-pic text-left"> <a href="<?php echo site_url('profile/view/' . $storyboard_otd->user); ?> "><img width="69" height="69" alt="" src="<?php echo avatar_url($storyboard_otd->user_obj) . "?id=" . $cache_id; ?> " data-src="<?php echo avatar_url($storyboard_otd->user_obj) . "?id=" . $cache_id; ?> " data-src-retina="<?php echo avatar_url($storyboard_otd->user_obj) . "?id=" . $cache_id; ?> "> </div></a> </div> <div class="row"> <div class="user-comment-wrapper"> <div class="comment"> <div class="user-name text-black bold"> <a href="<?php echo site_url('profile/view/' . $storyboard_otd->user); ?> "><?php echo $storyboard_otd->user_obj->first_name; ?> <span class="semi-bold"><?php echo $storyboard_otd->user_obj->last_name;
</li> <?php $responsible = $story->get_responsible(); ?> <?php if ($responsible) { ?> <?php foreach ($responsible as $user) { ?> <?php if ($user['user_id'] != $story->product_owner['user_id']) { ?> <li> <img src="<?php echo avatar_url($user['avatar']); ?> " width="16" height="16"> <?php echo $user['name']; ?> </li> <?php } ?> <?php } ?> <?php } ?>
"> <div class="notification-messages <?php echo $i++ % 2 ? 'info' : 'danger'; ?> "> <div class="user-profile"> <img src="<?php echo avatar_url($user_obj); ?> " alt="" data-src="<?php echo avatar_url($user_obj); ?> " data-src-retina="<?php echo avatar_url($user_obj); ?> " width="35" height="35"> </div> <div class="message-wrapper"> <div class="heading"><?php echo $arr['user_name']; ?> </div> <div class="description"> send request to join to <span><?php echo $arr['circle_name']; ?> </span>
<?php $this->load->view('mainSideMenu.php'); ?> <div class="contentCenter"> <h1><?php echo $title; ?> </h1> <?php foreach ($comments as $commentaire) { echo '<a class="titleLastmsg" href="' . $commentaire['url'] . '">' . $commentaire['categorie'] . '<span> > </span>' . htmlspecialchars($commentaire['title']) . '</a>'; echo '<div idComm="' . $commentaire['id'] . '" class="commentaire">'; echo '<div class="commAvatar">' . avatar_url($commentaire['user']) . '</div>'; echo '<div class="commPseudo">'; echo profil_url($commentaire['username'], $commentaire['user'], $commentaire['color']); echo ' <span class="commTime">' . madate($commentaire['date']) . '</span>'; echo '<div class="commActions">'; if ($this->session->userdata('group') >= 2) { echo '<a class="commSuppr" href="' . site_url('commSuppr/' . $commentaire['id']) . '">' . img('mini_delete.png') . ' Supprimer</a>'; } if ($commentaire['user'] == $this->session->userdata('id')) { echo '<a class="commEdit" href="' . site_url('editComm/' . $commentaire['id']) . '">' . img('editComm.png') . ' Edition</a>'; } echo '</div>'; echo '</div>'; echo '<p>' . montexte($commentaire['message']) . '</p>'; echo '</div>'; }
function avatar_url_for_logged_in_user($absolute = false) { $CI =& get_instance(); return avatar_url($CI->session->userdata('emoticon') ? $CI->session->userdata('user_id') : 0, $absolute); }
public function getConnected() { $connected = $this->users->getConnected(); $nbConnected = count($connected); echo '<a id="linkMembersH2" class="more" href="' . site_url('listeDesMembres/1/0') . '" title="Voir la liste des membres">' . $nbConnected . ' connecté' . ($nbConnected > 1 ? 's' : '') . '</a>'; echo '<div class="listConnected">'; foreach ($connected as $user) { if ($user['isAnonymous'] == 0) { echo profil_url($user['username'], $user['id'], $user['color'], avatar_url($user['id'], true)); } } echo '</div>'; echo '<script>'; echo '$(\'.listConnected a[title], #linkMembersH2\').tipTip({maxWidth: "300px", edgeOffset: 2, delay: 50});'; echo '</script>'; }
$avatar_filetype = !empty($_FILES['avatar']['type']) ? $_FILES['avatar']['type'] : ''; $avatar_mode = !empty($avatar_name) ? 'local' : 'remote'; $avatar_sql = ''; /*** si l'avatar est de type UPLOAD ***/ if ((!empty($avatar_upload) || !empty($avatar_name)) && $config['avatar_upload']) { if (!empty($avatar_upload)) { $avatar_sql = avatar_upload($avatar_mode, $ficheX->avatar, $ficheX->avatar_type, $avatar_upload, $avatar_name, $avatar_size, $avatar_filetype, $avatar_error); } elseif (!empty($avatar_name)) { $avatar_error = true; show_erreur($strAvatarErreurFileSize); } } elseif ($avatar_remoteurl != '' && $config['avatar_remote']) { if (@file_exists($config['avatars_path'] . '/' . $ficheX->avatar)) { @unlink($config['avatars_path'] . '/' . $ficheX->avatar); } $avatar_sql = avatar_url($avatar_remoteurl, &$avatar_error); } elseif ($avatar_gallerie != '' && $config['avatar_gallerie']) { if (@file_exists($config['avatars_path'] . '/' . $ficheX->avatar)) { @unlink($config['avatars_path'] . '/' . $ficheX->avatar); } $avatar_sql = avatar_gallery($avatar_gallerie); } if (!$avatar_error) { if ($avatar_sql) { $db->update("{$dbprefix}{$type}"); $db->set("{$avatar_sql}"); $db->where("id = {$id}"); $db->exec(); } if ($op_old == 'galerie') { echo "<script>this.opener.location=this.opener.location;this.close();</script>";
echo $this->pagination->create_links(); echo '<script>'; echo 'url="' . $url . '";'; echo 'page=' . $page . ';'; echo 'table="' . $table . '";'; echo 'idData=' . $idData . ';'; echo 'nbMessageParPages=' . $nbMessageParPages . ';'; echo 'nbCommentaires=' . $nbCommentaires . ';'; echo '</script>'; echo '</div>'; if ($this->session->userdata('id') && $isAjaxRequest == false && $blocked == false) { echo '<br /><br /><h1 id="addMsg">Ajouter un message</h1>'; echo '<form id="addComment" method="post" action="' . site_url('addComment') . '">'; echo '<div class="lineComment"> <div style="float:left;"> <div class="avatar">' . avatar_url($this->session->userdata('id')) . '</div> <div class="bbcode"> <img title="Gras" alt="g" src="' . img_url('bold.png') . '" /> <img title="Italique" alt="i" src="' . img_url('italic.png') . '" /> <img title="Souligné" alt="s" src="' . img_url('underline.png') . '" /> <img title="Spoiler" alt="spoil" src="' . img_url('spoiler.png') . '" /> <img title="Image" alt="img" src="' . img_url('image.png') . '" /> </div> </div> <textarea id="message" name="message" class="txt"></textarea> <div class="smileys"> <img alt=":)" title=":)" src="http://image.jeuxvideo.com/smileys_img/1.gif" /> <img alt=":-)" title=":-)" src="http://image.jeuxvideo.com/smileys_img/46.gif" /> <img alt=":-)))" title=":-)))" src="http://image.jeuxvideo.com/smileys_img/23.gif" /> <img alt=":content:" title=":content:" src="http://image.jeuxvideo.com/smileys_img/24.gif" />
if ($op == "edit_") { echo avatar_url($obj) . "?id=" . $cache_id; } } } ?> " src="<?php if ($op == "add_") { echo avatar_default_url() . "?id=" . $cache_id; } else { if ($op == "edit_my_") { echo $avatar . "?dummy=" . "?id=" . $cache_id; } else { if ($op == "edit_") { echo avatar_url($obj) . "?id=" . $cache_id; } } } ?> " > </div> <div> <span class="btn btn-default btn-file"><span class="fileinput-new">Select image</span><span class="fileinput-exists">Change</span><input type="file" name="avatar"></span> <a href="#" class="btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a> </div> </div> </div> </div>
echo $this->pagination->create_links(); ?> <?php foreach ($members as $user) { ?> <a href="<?php echo site_url('profil-' . $user['id'] . '/' . url_title($user['username'])); ?> " class="miniprofil<?php echo $user['online'] == 1 ? ' online' : ''; ?> "> <div class="avatar"><?php echo avatar_url($user['id'], true); ?> </div> <div class="profilInfos"> <div> <span class="pseudo" style="color:<?php echo $user['color']; ?> "> <?php echo $user['sexe'] == 0 ? img('male.png') : img('female.png'); ?> <?php echo $user['username']; ?> </span>