示例#1
0
    if ($convert->tax_input['country']) {
        echo $convert->tax_input['country']['0']->name;
    }
    ?>
                                    </span>
                                </li>
                            </ul>
                        </div>
                    <?php 
} else {
    ?>
                        <div class="info-company-wrapper">
                            <div class="row">
                                <div class="col-md-12">
                                    <?php 
    fre_display_user_info($author_id);
    ?>
                                </div>
                            </div>
                        </div>
                    <?php 
}
?>
                    <!-- Content project / End -->
                </div>
            </div>
        </div>
    </div>

<?php 
get_footer();
示例#2
0
                </div>

            </div>
            <?php 
}
if ($bid_accept && $project_status == 'close') {
    ?>

            <div class="info-company-wrapper">

            <div class="row">

            <div class="col-md-12">
            <?php 
    if (ae_user_role($user_ID) == FREELANCER || !is_user_logged_in()) {
        fre_display_user_info($project->post_author);
    } else {
        $bid_accepted = $project->accepted;
        $bid_accepted_author = get_post_field('post_author', $bid_accepted);
        $user = get_userdata($bid_accepted_author);
        $ae_users = AE_Users::get_instance();
        $user_data = $ae_users->convert($user);
        $author_email_verified = ae_get_option('user_confirm') && get_user_meta($user_data->ID, 'register_status', true) == "unconfirm" ? false : true;
        $author_phone_verified = get_user_meta($user_data->ID, 'phone', true) != "" ? true : false;
        $rating = Fre_Review::freelancer_rating_score($user_data->ID);
        $profile_id = get_user_meta($user_data->ID, 'user_profile_id', true);
        $hourly_rate_price = get_post_meta($profile_id, 'hour_rate', true);
        $experience = get_post_meta($profile_id, 'et_experience', true);
        $country = get_user_meta($user_data->ID, 'location', true);
        $currency = ae_get_option('content_currency', array('align' => 'left', 'code' => 'USD', 'icon' => '$'));
        #get country code
/**
 * The template for displaying profile in a loop
 * @since  1.0
 * @package FreelanceEngine
 * @category Template
 */
global $wp_query, $post, $user_ID;
$post_object = $ae_post_factory->get(PROFILE);
$current = $post_object->current_post;
if (!$current) {
    return;
}
?>

<div class="col-md-4 workplace-project-details">

	<div class="info-company-wrapper">

		<div class="row">

			<div class="col-md-12">                               
				<?php 
fre_display_user_info($user_ID);
?>
			</div>

		</div>

	</div>

</div>