<?php if ( $posts->have_rows() ) { ?>

	<div id="suggest_jobs"><?php $posts->show_list_fnc(); ?></div>

<?php } else { ?>

	<div class="wpj-bordered-container p15 vertical-align-middle">

		<?php _e( 'Sorry, there are no posted requests yet.', 'wpjobster' ); ?>

		<div class="vertical-align-middle ml-auto">

			<?php if ( apply_filters( 'hide_for_buyers', true, get_current_user_id() ) ) { ?>

				<a class="ui primary button bigger" href="<?= $post_new_job_link; ?>">

					<?= __( 'Post new job', 'wpjobster' ); ?>
						
				</a>

			<?php } ?>

			<a class="ui primary button bigger" href="<?= $post_new_request_link; ?>">

				<?= __( 'Post new request', 'wpjobster' ); ?>
					
			</a>

		</div>
			
	</div>

<?php }