﻿!!!!!!!!!!!
ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+...383-7(-.+
<?php
/**
 * The template to display Admin notices
 *
 * @package PRORANGE
 * @since PRORANGE 1.0.64
 */

$prorange_skins_url  = get_admin_url( null, 'admin.php?page=trx_addons_theme_panel#trx_addons_theme_panel_section_skins' );
$prorange_skins_args = get_query_var( 'prorange_skins_notice_args' );
?>
<div class="prorange_admin_notice prorange_skins_notice notice notice-info is-dismissible" data-notice="skins">
	<?php
	// Theme image
	$prorange_theme_img = prorange_get_file_url( 'screenshot.jpg' );
	if ( '' != $prorange_theme_img ) {
		?>
		<div class="prorange_notice_image"><img src="<?php echo esc_url( $prorange_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'prorange' ); ?>"></div>
		<?php
	}

	// Title
	?>
	<h3 class="prorange_notice_title">
		<?php esc_html_e( 'New skins are available', 'prorange' ); ?>
	</h3>
	<?php

	// Description
	$prorange_total      = $prorange_skins_args['update'];	// Store value to the separate variable to avoid warnings from ThemeCheck plugin!
	$prorange_skins_msg  = $prorange_total > 0
							// Translators: Add new skins number
							? '<strong>' . sprintf( _n( '%d new version', '%d new versions', $prorange_total, 'prorange' ), $prorange_total ) . '</strong>'
							: '';
	$prorange_total      = $prorange_skins_args['free'];
	$prorange_skins_msg .= $prorange_total > 0
							? ( ! empty( $prorange_skins_msg ) ? ' ' . esc_html__( 'and', 'prorange' ) . ' ' : '' )
								// Translators: Add new skins number
								. '<strong>' . sprintf( _n( '%d free skin', '%d free skins', $prorange_total, 'prorange' ), $prorange_total ) . '</strong>'
							: '';
	$prorange_total      = $prorange_skins_args['pay'];
	$prorange_skins_msg .= $prorange_skins_args['pay'] > 0
							? ( ! empty( $prorange_skins_msg ) ? ' ' . esc_html__( 'and', 'prorange' ) . ' ' : '' )
								// Translators: Add new skins number
								. '<strong>' . sprintf( _n( '%d paid skin', '%d paid skins', $prorange_total, 'prorange' ), $prorange_total ) . '</strong>'
							: '';
	?>
	<div class="prorange_notice_text">
		<p>
			<?php
			// Translators: Add new skins info
			echo wp_kses_data( sprintf( __( "We are pleased to announce that %s are available for your theme", 'prorange' ), $prorange_skins_msg ) );
			?>
		</p>
	</div>
	<?php

	// Buttons
	?>
	<div class="prorange_notice_buttons">
		<?php
		// Link to the theme dashboard page
		?>
		<a href="<?php echo esc_url( $prorange_skins_url ); ?>" class="button button-primary"><i class="dashicons dashicons-update"></i> 
			<?php
			esc_html_e( 'Go to Skins manager', 'prorange' );
			?>
		</a>
		<?php
		// Dismiss notice for 7 days
		?>
		<a href="#" role="button" class="button button-secondary prorange_notice_button_dismiss" data-notice="skins"><i class="dashicons dashicons-no-alt"></i> 
			<?php
			esc_html_e( 'Dismiss', 'prorange' );
			?>
		</a>
		<?php
		// Hide notice forever
		?>
		<a href="#" role="button" class="button button-secondary prorange_notice_button_hide" data-notice="skins"><i class="dash