<div class="js-user-info-item user-info-item ui card generic-card">

	<div class="generic-card-header">

		<div class="user-photo">

			<?php wpj_display_user_photo( array( 'uid' => $uid, 'width' => 60, 'height' => 60 ) ); ?>

		</div>

		<div class="user-content">

			<a href="<?php echo wpj_get_user_profile_link( $user_data->user_login ); ?>" class="user-link">

					<?php echo wpj_get_user_display_type( $user_data->ID ); ?>

					<span class="user-company"><?php echo $company; ?></span>

				</a>

			<div class="card-rating">

				<?php wpj_display_user_rating_stars( $uid ); ?>

			</div>

		</div>

	</div>

	<div class="generic-card-content">

		<?php if ( $description ) { ?>

			<div class="card-description"><?php echo $description; ?></div>

		<?php } ?>

		<div class="user-extra-details">

			<span class="user-completed-orders">
				<span class="label-desc"><?php _e( 'Completed Jobs:', 'wpjobster' ); ?></span>
				<?php echo $completed_jobs; ?>
			</span>

			<span class="user-registered">
				<span class="label-desc"><?php _e( 'Registered:', 'wpjobster' ); ?></span>
				<?php echo $registered_data; ?>
			</span>

		</div>

	</div>

	<div class="generic-card-footer">

		<div class="start-content">

		<div class="user-details">

			<?php wpj_display_user_info_icons( $uid ); ?>

		</div>

		</div>

		<div class="end-content">

			<div class="user-contact">

				<?php if ( $contact_url ) { ?>

					<a onclick="return wpj_chat_open_box( '<?php echo $uid; ?>', event );" class="text-button text-button-secondary <?php echo ! is_user_logged_in() ? 'login-link ' : ''; ?>" href="<?php echo $contact_url; ?>">
						<?php _e( 'Contact', 'wpjobster' ); ?>
					</a>

				<?php } else { ?>

					<span class="text-button disabled"><?php _e( 'Contact', 'wpjobster' ); ?></span>

				<?php } ?>

			</div>

		</div>

	</div>

</div>