当前位置: 首页>>代码示例>>PHP>>正文


PHP get_user_fullname_by_id函数代码示例

本文整理汇总了PHP中get_user_fullname_by_id函数的典型用法代码示例。如果您正苦于以下问题:PHP get_user_fullname_by_id函数的具体用法?PHP get_user_fullname_by_id怎么用?PHP get_user_fullname_by_id使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了get_user_fullname_by_id函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_profile_photo_by_id

                    </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 
    $comment_settings = get_settings('classified_settings', 'enable_comment', 'No');
    ?>
                        <?php 
    if ($comment_settings == 'Disqus Comment') {
        ?>
                            <?php 
        $disqus_shortname = get_settings('classified_settings', 'disqus_shortname', 'dbcinfotech');
开发者ID:Ripudamangithub,项目名称:donopen,代码行数:30,代码来源:post_detail_view.php

示例2: get_profile_photo_by_id

        ?>
">
                    <img width="140" height="141" alt="john-small" class="attachment-post-thumbnail wp-post-image" src="<?php 
        echo get_profile_photo_by_id($user->id, 'thumb');
        ?>
">
                </a>
            </div>
            <!-- /.image -->

            <div class="name">
                <a href="<?php 
        echo site_url('show/agentproperties/' . $user->id);
        ?>
"><?php 
        echo get_user_fullname_by_id($user->id);
        ?>
</a>
            </div>
            <!-- /.name -->
            <div class="phone"><?php 
        echo get_user_meta($user->id, 'phone');
        ?>
</div>
            <!-- /.phone -->
            <div class="email" style="width:100%"><a href="mailto:<?php 
        echo $user->user_email;
        ?>
"><?php 
        echo $user->user_email;
        ?>
开发者ID:priyranjansingh,项目名称:classified,代码行数:31,代码来源:top_agents.php

示例3: lang_key

    if (get_user_meta($user->id, 'company_name') != '') {
        ?>
                                            <p class="contact-types">
                                                <strong><?php 
        echo lang_key('company_name');
        ?>
:</strong> <?php 
        echo get_user_meta($user->id, 'company_name');
        ?>
</a>
                                            </p>
                                        <?php 
    }
    ?>
                                        <a href="<?php 
    echo site_url('profile/' . $user->id . '/' . get_user_fullname_by_id($user->id));
    ?>
"><span class="label label-red"><?php 
    echo get_user_properties_count($user->id);
    ?>
 <?php 
    echo lang_key('posts');
    ?>
</span></a>
                                        <?php 
    if (get_user_meta($user->id, 'about_me') != '') {
        ?>
                                            <!-- Para -->
                                            <p><?php 
        echo get_user_meta($user->id, 'about_me');
        ?>
开发者ID:GiovanniV,项目名称:Santa-Barbara-Business-Directory,代码行数:31,代码来源:members_view.php

示例4: foreach

    $i = $start + 1;
    foreach ($posts->result() as $row) {
        ?>

               <tr>

                  <td data-title="#" class="numeric"><?php 
        echo $i;
        ?>
</td>

                  <td data-title="User" class="numeric"><a href="<?php 
        echo site_url('admin/users/detail/' . $row->user_id);
        ?>
"><?php 
        echo get_user_fullname_by_id($row->user_id);
        ?>
</a></td>

                  <td data-title="Package" class="numeric"><?php 
        echo get_package_name_by_id($row->package_id);
        ?>
</td>

                  <td data-title="Amount" class="numeric"><?php 
        echo $row->amount;
        ?>
</td>

                  <td data-title="Request Date" class="numeric"><?php 
        echo $row->request_date;
开发者ID:ageo80,项目名称:test,代码行数:31,代码来源:all_payments_view.php

示例5: 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

示例6: site_url

                <?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');
        ?>
</a></li>
                <li><a class="" href="<?php 
        echo site_url('admin');
        ?>
"><?php 
        echo lang_key('DBC_ADMIN_PANEL');
开发者ID:ageo80,项目名称:test,代码行数:30,代码来源:header.php


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