</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');
        ?>
">
                    <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;
        ?>
    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');
        ?>
Example #4
0
    $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;
<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;
?>
Example #6
0
                <?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');