<?php
$include = get_post_meta( get_the_ID(), 'activity_include', true );
$exclude = get_post_meta( get_the_ID(), 'activity_exclude', true );
if ( ! empty( $include ) || ! empty( $exclude ) ) {
	?>
	<div class="st-include">
		<h3 class="st-section-title">
			<?php echo __( 'Included/Excluded', 'traveler' ); ?>
		</h3>
		<div class="row">
			<?php if ( ! empty( $include ) ) { ?>
				<div class="col-lg-6">
					<ul class="include">
						<?php
						$in_arr = explode( "\n", $include );
						if ( ! empty( $in_arr ) ) {
							foreach ( $in_arr as $k => $v ) {
								echo '<li>' . TravelHelper::getNewIcon( 'check-1', '#2ECC71', '14px', '14px', false ) . esc_html( $v ) . '</li>';
							}
						}
						?>
					</ul>
				</div>
			<?php } ?>
			<?php if ( ! empty( $exclude ) ) { ?>
				<div class="col-lg-6">
					<ul class="exclude">
						<?php
						$ex_arr = explode( "\n", $exclude );
						if ( ! empty( $ex_arr ) ) {
							foreach ( $ex_arr as $k => $v ) {
								echo '<li>' . TravelHelper::getNewIcon( 'remove', '#FA5636', '18px', '18px', false ) . esc_html( $v ) . '</li>';
							}
						}
						?>
					</ul>
				</div>
			<?php } ?>
		</div>
	</div>
	<?php
}
?>
