<?php if ( isset ( $_GET['published-job'] ) && shortcode_exists( 'easy-social-share' ) && wpj_get_option( 'wpjobster_job_share_promt_enabled' ) != 'no' ) { ?>

	<div class="ui mini modal share-job-modal-wrapper">
		<i class="close icon"></i>

		<div class="ui icon header">
			<i class="inverted grey share square outline icon"></i>
			<?php echo get_the_title( $_GET['published-job'] ); ?>
		</div>

		<div class="content center">
			<h2>
				<?php echo sprintf( __( 'Job "%s" was successfully posted', 'wpjobster' ), get_the_title( $_GET['published-job'] ) ); ?>
			</h2>

			<h4>
				<?php _e( 'Share this job on your social networks!', 'wpjobster' ); ?>
			</h4>
			<p>
				<?php echo do_shortcode( '[easy-social-share title="' . get_the_title( $_GET['published-job'] ) . '" url="' . get_permalink( $_GET['published-job'] ) . '"]' ); ?>
			</p>
		</div>
	</div>

<?php } ?>