<?php if( $active_tab == 'slip' ) { ?>
<?php $data = get_option('nycreatisCC'); ?>
<div id="ncrts-admin-container">
	<div class="grid-x grid-container grid-padding-y admin-settings">
		<div class="cell small-12">
			<div class="grid-x display-required callout">
				<div class="small-12 cell">
					<h3><?php esc_html_e('Slip Card', 'corvid'); ?></h3>
				</div>
				<div class="small-12 cell"><small><?php esc_html_e('Paste this shortcode into Posts or Pages.', 'corvid'); ?></small></div>
				<div class="small-12 cell">
					<h4><?php esc_html_e('Countries:', 'corvid'); ?></h4>
				</div>
				<div class="small-12 cell">
					<select name="covid_country_slip">
						<?php
						foreach ($data as $item) {
							echo '<option value="'.esc_html($item->country).'">'.esc_html( nycreatisCN($item) ).'</option>';
						}
						?>
					</select>
				</div>
				<p id="covidsh-slip" class="covid_shortcode"><?php esc_html_e('[COVID19-SLIP country="USA" covid_title="Coronavirus" confirmed_title="Confirmed" deaths_title="Deaths" recovered_title="Recovered" active_title="Active" today_title="24h" world_title="World"]', 'corvid'); ?></p>
			</div>
		</div>
	</div>
</div>

<?php 
}
