<?php if( $active_tab == 'widget' ) { ?>
<?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('Widgets', 'corvid'); ?></h3>
					</div>
					<div class="small-12 cell"><?php esc_html_e('land: NorthAmerica / SouthAmerica / Africa / Asia / Europe / Oceania', 'corvid'); ?>.</div>
					<div class="small-12 cell">
						<h4><?php esc_html_e('Countries:', 'corvid'); ?></h4>
					</div>
					<div class="small-12 cell">
						<select name="covid_country">
							<option value=""><?php esc_html_e('All Countries - Worldwide Statistics', 'corvid'); ?></option>
							<?php
							foreach ($data as $item) {
								echo '<option value="'.esc_html($item->country).'">'.esc_html( nycreatisCN($item) ).'</option>';
							}
							?>
						</select>
					</div>
					<p id="covidsh" class="covid_shortcode"><?php esc_html_e('[COVID19-WIDGET title_widget="Worldwide" land="" confirmed_title="Cases" deaths_title="Deaths" recovered_title="Recovered"]', 'corvid'); ?></p>
				</div>
				<div class="grid-x display-required callout">
					<div class="small-12 cell">
						<h3><?php esc_html_e('Widget Shortcode: Full format', 'corvid'); ?></h3>
					</div>
					<div class="small-12 cell"><?php esc_html_e('land: NorthAmerica / SouthAmerica / Africa / Asia / Europe / Oceania', 'corvid'); ?>.</div>
					<div class="small-12 cell">
						<h4><?php esc_html_e('Countries:', 'corvid'); ?></h4>
					</div>
					<div class="small-12 cell">
						<select name="covid_country_full">
							<option value=""><?php esc_html_e('All Countries - Worldwide Statistics', 'corvid'); ?></option>
							<?php
							foreach ($data as $item) {
								echo '<option value="'.esc_html($item->country).'">'.esc_html( nycreatisCN($item) ).'</option>';
							}
							?>
						</select>
					</div>
					<p id="covidsh-full" class="covid_shortcode"><?php esc_html_e('[COVID19-WIDGET title_widget="Worldwide" format="full" land="" confirmed_title="Cases" deaths_title="Deaths" recovered_title="Recovered" active_title="Active" today_cases="24h" today_deaths="24h"]', 'corvid'); ?></p>
				</div>
		</div>
	</div>
</div>

<?php 
}
