<?php if (!defined('ABSPATH')) die('Restricted Access'); ?>
<div id="wpjobportaladmin-wrapper">

	<div class="wpjobportal-temp-sample-data-wrapper" >
		<div class="wpjobportal-temp-sample-data-heading" >
			<h1> <?php
					if(wpjobportal::$_data['flag'] == 1){
						echo esc_html(__('Demo data has been successfully imported','wp-job-portal')).' .';
					}else{
						echo esc_html(__('Please select the right demo data to import','wp-job-portal')).' !';
					}
				?>
			</h1>
		</div>
		<div class="wpjobportal-temp-sample-data-links" >
			<div class="wpjobportal-temp-sample-data-top-links" >
				<?php if(wpjobportal::$_data['flag'] != 1){ ?>

						<div class="wpjobportal-temp-sample-link-wrap" >
							<img src="<?php echo esc_url(WPJOBPORTAL_PLUGIN_URL); ?>includes/images/postinstallation/free.png" />
							<div class="wpjobportal-temp-sample-link-bottom-portion" >
								<span class="wpjobportal-temp-sample-text" >
									<?php echo esc_html(__('Free Version','wp-job-portal')); ?>
								</span>
								<a href="<?php echo esc_url(wp_nonce_url(admin_url('admin.php?page=wpjobportal_postinstallation&action=wpjobportaltask&task=savetemplatesampledata&flag=f'),'wpjobportal_postinstallation_nonce'));?>" >
									<?php echo esc_html(__('Import Data','wp-job-portal')); ?>
								</a>
							</div>
						</div>
						<div class="wpjobportal-temp-sample-link-wrap" >
							<img src="<?php echo esc_url(WPJOBPORTAL_PLUGIN_URL); ?>includes/images/postinstallation/pro.png" />
							<div class="wpjobportal-temp-sample-link-bottom-portion" >
								<span class="wpjobportal-temp-sample-text" >
									<?php echo esc_html(__('Pro Version','wp-job-portal')); ?>
								</span>
								<a href="<?php echo esc_url(wp_nonce_url(admin_url('admin.php?page=wpjobportal_postinstallation&action=wpjobportaltask&task=savetemplatesampledata&flag=p'),'wpjobportal_postinstallation_nonce'));?>" >
									<?php echo esc_html(__('Import Data','wp-job-portal')); ?>
								</a>
							</div>
						</div>
						<div class="wpjobportal-temp-sample-link-wrap" >
							<img src="<?php echo esc_url(WPJOBPORTAL_PLUGIN_URL); ?>includes/images/postinstallation/freetopro.png" />
							<div class="wpjobportal-temp-sample-link-bottom-portion" >
								<span class="wpjobportal-temp-sample-text" >
									<?php echo esc_html(__('Free To Pro Updated','wp-job-portal')); ?>
								</span>
								<a href="<?php echo esc_url(wp_nonce_url(admin_url('admin.php?page=wpjobportal_postinstallation&action=wpjobportaltask&task=savetemplatesampledata&flag=ftp'),'wpjobportal_postinstallation_nonce'));?>" >
									<?php echo esc_html(__('Import Data','wp-job-portal')); ?>
								</a>
							</div>
						</div>
				<?php } ?>
			</div>
			<div class="wpjobportal-temp-sample-data-bottom-links" >
				<a href="?page=wpjobportal" >
					<?php echo esc_html(__('Click Here To Go Control Panel','wp-job-portal')); ?>
				</a>
				<?php if(wpjobportal::$wpjobportal_theme_chk == 1){
					$wpjobportal_url = "?page=job_manager_options";
				}else{
					$wpjobportal_url = "?page=job_hub_options";
				}
				?>
				<a href="<?php echo esc_url($wpjobportal_url);;?>" >
					<?php echo esc_html(__('Click Here To Go Template Options','wp-job-portal')); ?>
				</a>
			</div>
		</div>
	</div>

</div>
