<?php
/**
 * Right Buttons Panel.
 *
 * @package dark_fitness
 */
?>
<div class="panel-right">
	<div class="pro-btn theme-btn">
		<div class="screenshot">
			<?php
				$dark_fitness_child_img = get_stylesheet_directory() . '/theme-library/getting-started/images/pro-screenshot.png';
				if ( file_exists( $dark_fitness_child_img ) ) {
					$dark_fitness_img_url = get_stylesheet_directory_uri() . '/theme-library/getting-started/images/pro-screenshot.png';
				} else {
					$dark_fitness_img_url = get_template_directory_uri() . '/theme-library/getting-started/images/pro-screenshot.png';
				}
				?>
				<img src="<?php echo esc_url( $dark_fitness_img_url ); ?>" />
		</div>
		<br>
		<div class="theme-info">
			<h3>
				<?php						 
					$dark_fitness_theme_name = wp_get_theme()->get( 'Name' );
					
					if ( $dark_fitness_theme_name === 'Dark Fitness' ) {

					esc_html_e( 'Fitness WordPress Theme', 'dark-fitness' ); 

					} elseif ( $dark_fitness_theme_name === 'Aster Gym Trainer' ) {

						esc_html_e( 'Gym Trainer WordPress Theme', 'dark-fitness' ); 
					} 
				?>
			</h3>
			<div class="theme-price">
				<span class="price-text"><?php esc_html_e( 'Price:', 'dark-fitness' ); ?></h6>
				<del><?php esc_html_e( '$49', 'dark-fitness' ); ?></del>
				<span><?php esc_html_e( '$39', 'dark-fitness' ); ?></span>
			</div>
			<div class="panelbutton">
				<a class="button button-primary" href="<?php echo esc_url( DARK_FITNESS_PREMIUM_PAGE ); ?>" title="<?php esc_attr_e( 'Go Pro', 'dark-fitness' ); ?>" target="_blank"><?php esc_html_e( 'Try Premium', 'dark-fitness' ); ?></a>

				<a class="button button-primary" href="<?php echo esc_url( DARK_FITNESS_PRO_DEMO ); ?>" title="<?php esc_attr_e( 'Live Demo', 'dark-fitness' ); ?>" target="_blank"><?php esc_html_e( 'Live Demo', 'dark-fitness' ); ?></a>
			</div>
			<a class="button button-primary pro-doc" href="<?php echo esc_url( DARK_FITNESS_PREMIUM_DOCUMENTATION ); ?>" title="<?php esc_attr_e( 'Pro Documentation', 'dark-fitness' ); ?>" target="_blank"><?php esc_html_e( 'Pro Documentation', 'dark-fitness' ); ?></a>
		</div>
	</div>
	<div class="pro-btn bundle-btn">
		<div class="bundle-img">
			<img src="<?php echo esc_url(get_template_directory_uri()) .'/theme-library/getting-started/images/bundle.png'; ?>" />
		</div>
		<br>
		<h3><?php esc_html_e( 'WP Theme Bundle', 'dark-fitness' ); ?></h3>
		<p><?php esc_html_e( 'Get access to a collection of premium WordPress themes in one bundle. Enjoy effortless website building, full customization, and dedicated customer support for a smooth, professional web experience.', 'dark-fitness' ); ?></p>
		<a class="button button-primary" href="<?php echo esc_url( DARK_FITNESS_BUNDLE_PAGE ); ?>" title="<?php esc_attr_e( 'Go Pro', 'dark-fitness' ); ?>" target="_blank">
            <?php esc_html_e( 'Exclusive Theme Bundle - $79', 'dark-fitness' ); ?>
        </a>
	</div>
</div>