<?php
/**
 * @var $wpjobster_currencies_array
 */
?>

<div class="currency-switch-purchase-job">

	<form method="post" action="<?php echo get_permalink( wpj_get_option( 'wpjobster_advanced_search_id' ) ); ?>">

		<div class="color-bababa pr">

			<select id="purchase_job_currency" class="ui dropdown purchase-job-currency" name="site_currency">

				<?php foreach ( $wpjobster_currencies_array as $wpjobster_currency ) { ?>

					<option value="<?php echo $wpjobster_currency; ?>" <?php if ( wpj_get_site_currency() == $wpjobster_currency ) echo 'selected="selected"'; ?>>

						<?php echo $wpjobster_currency; ?>

					</option>

				<?php } ?>

			</select>

		</div>

	</form>

</div>