本文整理汇总了PHP中get_profile_photo_by_id函数的典型用法代码示例。如果您正苦于以下问题:PHP get_profile_photo_by_id函数的具体用法?PHP get_profile_photo_by_id怎么用?PHP get_profile_photo_by_id使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_profile_photo_by_id函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_profile_photo_by_id
<div class="well">
<span class='st_sharethis_large' displayText='ShareThis'></span>
<span class='st_facebook_large' displayText='Facebook'></span>
<span class='st_twitter_large' displayText='Tweet'></span>
<span class='st_linkedin_large' displayText='LinkedIn'></span>
<span class='st_pinterest_large' displayText='Pinterest'></span>
<span class='st_email_large' displayText='Email'></span>
</div>
<!-- Author section -->
<div class="blog-author well">
<!-- Author image -->
<div class="blog-author-img">
<img src="<?php
echo get_profile_photo_by_id($blogpost->created_by);
?>
" alt="" class="img-responsive img-thumbnail" />
</div>
<!-- Author details -->
<div class="blog-author-content">
<h5><?php
echo get_user_fullname_by_id($blogpost->created_by);
?>
</h5>
</div>
<div class="clearfix"></div>
</div>
<!-- Comments section -->
<div class="blog-comments">
<?php
示例2: foreach
foreach ($posts->result() as $row) {
?>
<tr>
<td data-title="#" class="numeric"><?php
echo $i;
?>
</td>
<td data-title="<?php
echo lang_key('image');
?>
" class="numeric">
<img src="<?php
echo get_profile_photo_by_id($row->id, 'thumb');
?>
" class="thumbnail" style="height:36px;">
</td>
<td data-title="<?php
echo lang_key('name');
?>
" class="numeric"><a
href="<?php
echo site_url('admin/users/detail/' . $row->id);
?>
"><?php
echo $row->user_name;
?>
示例3: site_url
<div id="navbar" class="navbar">
<button type="button" class="navbar-toggle navbar-btn collapsed" data-toggle="collapse" data-target="#sidebar">
<span class="fa fa-bars"></span>
</button>
<a class="navbar-brand" href="<?php
echo site_url('admin');
?>
">
<small>
<div align="center"><span><h3>NuggPlug Admin</h3></span></div>
</a>
</small>
<div class="pull-left logged-in-user-info">
<img class="thumbnail" src="<?php
echo get_profile_photo_by_id($this->session->userdata('user_id'), 'thumb');
?>
" style="" />
<span style=""><b><?php
echo lang_key('logged_in_as');
?>
:</b> <?php
echo get_user_title_by_id($this->session->userdata('user_id'));
?>
</span>
</div>
<ul class="nav memento-nav pull-right admin-top-menu">
<li class="user-profile">
<a data-toggle="dropdown" href="index.html#" class="user-menu dropdown-toggle">
<i class="fa fa-user"></i>
示例4: get_profile_photo_by_id
" method="post">
<input type="hidden" name="id" value="<?php
echo $perfil->getId();
?>
"/>
<div class="form-group">
<label class="col-sm-3 col-lg-2 control-label"> </label>
<div class="col-sm-9 col-lg-10 controls">
<img class="thumbnail" id="user_photo"
src="<?php
echo get_profile_photo_by_id($perfil->getId(), 'thumb');
?>
"
style="width:100px;"/>
<span id="profile_photo_error"><?php
echo form_error('profile_photo');
?>
</span>
</div>
</div>
<div class="form-group">
示例5: foreach
foreach ($posts->result() as $post) {
?>
<div class="agent-holder clearfix">
<h4><a href="<?php
echo site_url('show/postdetail/' . $post->id . '/' . dbc_url_title($post->title));
?>
"><?php
echo $post->title;
?>
</a></h4>
<!--div class="agent-image-holder">
<a href="<?php
echo site_url('show/agentproperties/' . $user->id);
?>
"><img width="150" height="150" src="<?php
echo get_profile_photo_by_id($user->id, 'thumb');
?>
"></a>
</div-->
<a href="<?php
echo site_url('show/postdetail/' . $post->id . '/' . dbc_url_title($post->title));
?>
"><img src="<?php
echo get_featured_photo_by_id($post->featured_img);
?>
" class="post-thumb"></a>
<?php
echo truncate(strip_tags($post->description), 400, ' <a href="' . site_url('show/postdetail/' . $post->id . '/' . dbc_url_title($post->title)) . '">' . lang_key('view_more') . '</a>', false);
?>
<?php
示例6: get_profile_photo_by_id
<div class="row">
<div class="col-md-2">
<a href="http://localhost/businessdirectory/index.php/en/profile/1/Saad Naufel">
<img alt="user-image" src="<?php
echo get_profile_photo_by_id($review->created_by);
?>
" class="img-responsive user-img">
</a>
</div>
<div class="col-md-10">
<h4><?php
echo get_user_fullname_by_id($review->created_by);
?>
</h4>
<p class="contact-types">
<?php
echo get_review_stars($review->rating);
?>
<div class="clearfix"></div>
<strong><?php
echo lang_key('posted_on');
?>
:</strong> <?php
echo date('D, M d, Y', $review->create_time);
?>
</p>
<p><?php
echo $review->comment;
?>
示例7: site_url
echo site_url('admin/realestate/allestatesagent');
?>
"><?php
echo lang_key('DBC_AGENT_PANEL');
?>
</a></li>
<?php
} else {
?>
<li><a href="<?php
echo site_url('profile/timeline');
?>
" ><img style="width: 2em;" src="<?php
echo get_profile_photo_by_id(user_session_id(), 'thumb');
?>
" alt="Profile" class="img-responsive-mini"></a></li>
<li class="dropdown" id="secondary-nav">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php
echo get_user_fullname_by_id(user_session_id());
?>
<b class="caret"></b></a>
<ul class="dropdown-menu" >
<li><a class="" href="<?php
echo site_url('profile');
?>
"><?php
echo lang_key('Profile');
?>
示例8: get_profile_photo_by_id
?>
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-title">
<h3><i class="fa fa-file"></i> Profile Info</h3>
<div class="box-tool">
<a data-action="collapse" href="extra_profile.html#"><i class="fa fa-chevron-up"></i></a>
</div>
</div>
<div class="box-content">
<div class="row">
<div class="col-md-3">
<img class="img-responsive img-thumbnail" src="<?php
echo get_profile_photo_by_id($profile->id);
?>
">
</div>
<div class="col-md-9 user-profile-info">
<p>
<span>Username:</span> <?php
echo $profile->user_name;
?>
</p>
<p>
<span>First Name:</span> <?php
echo $profile->first_name;
?>
</p>
<p>
示例9: site_url
<div class="content">
<div class="agent clearfix">
<div class="image">
<a href="<?php
echo site_url('show/agentproperties/' . $row->created_by);
?>
">
<img width="140" height="141" alt="john-small" class="attachment-post-thumbnail wp-post-image" src="<?php
echo get_profile_photo_by_id($row->created_by, 'thumb');
?>
">
</a>
</div>
<div class="name">
<a href="<?php
echo site_url('show/agentproperties/' . $row->created_by);
?>
"><?php
echo get_user_fullname_by_id($row->created_by);
?>
示例10: get_notific
<div class="widget-head">
<h4 class="heading glyphicons shopping_cart"><i></i>Last orders</h4>
<a href="" class="details pull-right">view all</a>
</div>
<!-- // Widget Heading -->
<div class="widget-body list products">
<ul>
<?php
$querys = get_notific($profile->id);
$notifiche = count($querys);
if ($notifiche > 0) {
foreach ($querys as $notific) {
echo '
<li>
<img src="' . get_profile_photo_by_id($notific['user_id_created_by'], "thumb") . '" width="50px">
<span class="title">10 items<br/><strong>' . $notific['user_notification_type'] . ' €5,900.00</strong></span>
<span class="count"></span>
</li>';
}
} else {
?>
<!-- List item -->
<li>
<span class="img">photo</span>
<span class="title">Product name<br/><strong>€2,900</strong></span>
<span class="count"></span>
</li>
<!-- // List item END -->
<!-- List item -->
<li>