• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP get_profile_photo_by_id函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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 
开发者ID:Ripudamangithub,项目名称:donopen,代码行数:31,代码来源:post_detail_view.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;
        ?>
开发者ID:priyranjansingh,项目名称:classified,代码行数:31,代码来源:allusers_view.php


示例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>
开发者ID:priyranjansingh,项目名称:classified,代码行数:31,代码来源:header.php


示例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">&nbsp;</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">
开发者ID:Thavia,项目名称:plb,代码行数:31,代码来源:perfil_view.php


示例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, '&nbsp;<a href="' . site_url('show/postdetail/' . $post->id . '/' . dbc_url_title($post->title)) . '">' . lang_key('view_more') . '</a>', false);
        ?>

                <?php 
开发者ID:ageo80,项目名称:test,代码行数:31,代码来源:posts_view.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;
?>
开发者ID:GiovanniV,项目名称:Santa-Barbara-Business-Directory,代码行数:31,代码来源:single_review_view.php


示例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');
        ?>
开发者ID:ageo80,项目名称:test,代码行数:31,代码来源:header.php


示例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>
开发者ID:ageo80,项目名称:test,代码行数:31,代码来源:detail_view.php


示例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);
    ?>
开发者ID:ageo80,项目名称:test,代码行数:28,代码来源:detail_view.php


示例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'] . '  &euro;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>&euro;2,900</strong></span>
                              <span class="count"></span>
                            </li>
                            <!-- // List item END -->
                            <!-- List item -->
                            <li>
开发者ID:ageo80,项目名称:test,代码行数:31,代码来源:profile_view+(copia).php



注:本文中的get_profile_photo_by_id函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_profile_roles函数代码示例发布时间:2022-05-15
下一篇:
PHP get_profile_link函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap