<?php
/**
 * Theme Details Content
 *
 * @package fitness-cardio
 */

/**
 * Exit if accessed directly.
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$fitness_cardio_current_theme = wp_get_theme();
$fitness_cardio_current_user = wp_get_current_user();
$fitness_cardio_status = false;

?>

<div id="fitness-cardio-theme-info-page-wrapper" class="fitness-cardio-theme-info-page">
    <div class="fitness-cardio-theme-info-page__header">
        <div class="current-theme">
            <h1 class="fitness-cardio-theme-info-page__header--title">
                <?php echo esc_html( $fitness_cardio_current_theme ); ?>: <?php esc_html_e( 'Your Ultimate Block Theme', 'fitness-cardio' ); ?>
            </h1>
            <span class="fitness-cardio-theme-info-page__header--subtitle">
                <?php esc_html_e( 'Version:-', 'fitness-cardio' ); ?>
                <span class="theme-current-version">
                    V<?php echo esc_html( $fitness_cardio_current_theme->get( 'Version' ) ); ?>
                </span>
            </span>
        </div>
        <div class="fitness-cardio-theme-info-page__header--ctawrap">
            <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="fitness-cardio-button fitness-cardio-secondary-button">
                <i class="dashicons dashicons-cart"></i>
                <span><?php echo esc_html( 'Buy Pro', 'fitness-cardio' ); ?></span>
            </a>
            
            <a href="<?php echo esc_url( 'https://layout.themescarts.com/fitness-cardio/' ); ?>" target="_blank" class="fitness-cardio-button fitness-cardio-primary-button-dark">
                <i class="dashicons dashicons-welcome-view-site"></i>
                <?php esc_html_e( 'View Live Demo', 'fitness-cardio' ); ?>
            </a>

            <a href="<?php echo esc_url( 'https://layout.themescarts.com/steps/free-fitness-cardio/' ); ?>" target="_blank" class="fitness-cardio-button fitness-cardio-primary-button-darker">
                <i class="dashicons dashicons-info"></i>
                <?php esc_html_e( 'Free Documentaion', 'fitness-cardio' ); ?>
            </a>
        </div>
    </div>

    <!-- End header -->

    <div class="fitness-cardio-theme-info-page__features">
        <div class="fitness-cardio-themeinfo-wrap">

            <div class="fitness-cardio-themeinfo-content">

            <section class="welcome-sec">
                <span><?php echo esc_html( __( 'Hello', 'fitness-cardio' ) ); ?> <?php echo esc_html( $fitness_cardio_current_user->display_name ); ?></span>,
                <h2><?php echo esc_html( __( 'Welcome to', 'fitness-cardio' ) ); ?> <?php echo esc_html( $fitness_cardio_current_theme ); ?> <span><?php echo esc_html( __( 'Free', 'fitness-cardio' ) ); ?></span></h2>
                <p>
                    <strong><?php echo esc_html( $fitness_cardio_current_theme ); ?></strong>
                    <?php esc_html_e( ' ensures your website looks exceptional, offering a smooth and engaging experience. With its stylish design and intuitive layout, it’s crafted to provide seamless navigation, whether you\'re showcasing destinations, itineraries, or booking options.', 'fitness-cardio' ); ?>
                    <strong><?php echo esc_html( $fitness_cardio_current_theme ); ?></strong>
                    <?php esc_html_e( ' theme enhances your site’s appeal with user-friendly functionality.', 'fitness-cardio' ); ?>
                </p>
            </section>

                <section class="welcome-sec-cta">
                    <div class="welcome-sec-cta__buttons">
                        <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php" class="fitness-cardio-button fitness-cardio-primary-button">
                            <span><?php echo esc_html( 'Start Customizing the Site', 'fitness-cardio' ); ?></span>
                        </a>
                        <a href="<?php echo esc_url( 'https://themescarts.com/' ); ?>" target="_blank">
                            <span><?php echo esc_html( 'Visit Our Website', 'fitness-cardio' ); ?></span>
                            <svg width="16" height="16" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M15.8333 17.5H4.16667C3.25 17.5 2.5 16.75 2.5 15.8333V4.16667C2.5 3.25 3.25 2.5 4.16667 2.5H10V4.16667H4.16667V15.8333H15.8333V10H17.5V15.8333C17.5 16.75 16.75 17.5 15.8333 17.5Z"/>
                                <path d="M17.5 8.33333H15.8333V4.16667H11.6666V2.5H17.5V8.33333Z"/>
                                <path d="M6.89795 11.9237L16.0902 2.73114L17.2687 3.90963L8.07648 13.1022L6.89795 11.9237Z"/>
                            </svg>
                        </a>
                    </div>
                </section>

                <section class="getstarted-sec">
                    <div class="getstarted-sec__inner">
                        <h2><?php echo esc_html( 'Edit Templates Quickly', 'fitness-cardio' ); ?></h2>
                        <div class="theme-guidelist">
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?path=%2Fpatterns&categoryType=wp_template_part&categoryId=header" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Editing Header', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?path=%2Fpatterns&categoryType=wp_template_part&categoryId=footer" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Editing Footer', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?postType=wp_template&postId=<?php echo esc_attr( $fitness_cardio_current_theme->get( 'TextDomain' ) ); ?>%2F%2Fhome" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Home Page Template', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?postType=wp_template&postId=<?php echo esc_attr( $fitness_cardio_current_theme->get( 'TextDomain' ) ); ?>%2F%2Fpage" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Page Template', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?postType=wp_template&postId=<?php echo esc_attr( $fitness_cardio_current_theme->get( 'TextDomain' ) ); ?>%2F%2Fsingle" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Single Post Template', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?postType=wp_template&postId=<?php echo esc_attr( $fitness_cardio_current_theme->get( 'TextDomain' ) ); ?>%2F%2Farchive" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Archive Template', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?postType=wp_template&postId=<?php echo esc_attr( $fitness_cardio_current_theme->get( 'TextDomain' ) ); ?>%2F%2Fsearch" class="theme-editor-card">
                                <h4><?php echo esc_html( 'Search Result Template', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                            <a href="<?php echo esc_url( home_url() ); ?>/wp-admin/site-editor.php?postType=wp_template&postId=<?php echo esc_attr( $fitness_cardio_current_theme->get( 'TextDomain' ) ); ?>%2F%2F404" class="theme-editor-card">
                                <h4><?php echo esc_html( '404 Template', 'fitness-cardio' ); ?></h4>
                                <span href="#"><?php echo esc_html( 'Start Edit', 'fitness-cardio' ); ?></span>
                                <i class="dashicons dashicons-arrow-right-alt"></i>
                            </a>
                        </div>
                    </div>
                </section>

                <?php if ( true !== $fitness_cardio_status ) : ?>

                    <section class="pro-features-sec">
                        <div class="pro-features-sec__inner">
                            <div class="pro-features-sec__inner--header">
                                <h2><?php echo esc_html( 'Do more with Fitness Cardio Pro', 'fitness-cardio' ); ?></h2>
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank">
                                    <?php echo esc_html( 'Upgrade To Pro Now', 'fitness-cardio' ); ?>
                                    <i class="dashicons dashicons-cart"></i>
                                </a>
                            </div>
                            <div class="theme-guidelist">
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="theme-editor-card">
                                    <h4><?php echo esc_html( 'Do more with Fitness Cardio Pro', 'fitness-cardio' ); ?></h4>
                                    <p><?php echo esc_html( 'Get Pre-Build Fully Functional Templates', 'fitness-cardio' ); ?></p>
                                    <span><?php echo esc_html( 'Pro', 'fitness-cardio' ); ?></span>
                                </a>
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="theme-editor-card">
                                    <h4><?php echo esc_html( 'Professional Website Themes', 'fitness-cardio' ); ?></h4>
                                    <p><?php echo esc_html( 'Access professionally designed themes for building stunning websites with ease.', 'fitness-cardio' ); ?></p>
                                    <span><?php echo esc_html( 'Pro', 'fitness-cardio' ); ?></span>
                                </a>
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="theme-editor-card">
                                    <h4><?php echo esc_html( 'Dynamic Content', 'fitness-cardio' ); ?></h4>
                                    <p><?php echo esc_html( 'Expand Your Website With Dynamic Content', 'fitness-cardio' ); ?></p>
                                    <span><?php echo esc_html( 'Pro', 'fitness-cardio' ); ?></span>
                                </a>
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="theme-editor-card">
                                    <h4><?php echo esc_html( 'Responsive Control', 'fitness-cardio' ); ?></h4>
                                    <p><?php echo esc_html( 'Customize Responsive Controls', 'fitness-cardio' ); ?></p>
                                    <span><?php echo esc_html( 'Pro', 'fitness-cardio' ); ?></span>
                                </a>
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="theme-editor-card">
                                    <h4><?php echo esc_html( 'Regular Updates', 'fitness-cardio' ); ?></h4>
                                    <p><?php echo esc_html( 'Get large scale of Pre-Build Patterns', 'fitness-cardio' ); ?></p>
                                    <span><?php echo esc_html( 'Pro', 'fitness-cardio' ); ?></span>
                                </a>
                                <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="theme-editor-card">
                                    <h4><?php echo esc_html( 'Color Pallate & Font Family', 'fitness-cardio' ); ?></h4>
                                    <p><?php echo esc_html( 'Get all Pro Blocks', 'fitness-cardio' ); ?></p>
                                    <span><?php echo esc_html( 'Pro', 'fitness-cardio' ); ?></span>
                                </a>
                            </div>
                        </div>
                    </section>

                <?php endif; ?>

            </div>

            

            <!-- Sidebar -->
                <div class="fitness-cardio-themeinfo-sidebar">

                    <?php
                        if(true !== $fitness_cardio_status) {
                    ?>

                    <div class="fitness-cardio-themeinfo-sidebar__card fitness-cardio-pro-card">
                        <h2 class="fitness-cardio-themeinfo-sidebar__card--title"><?php echo esc_html( 'Get Fitness Cardio Pro', 'fitness-cardio' ); ?></h2>
                        <div class="fitness-cardio-themeinfo-sidebar__card--rating">

                        </div>
                        <p class="fitness-cardio-themeinfo-sidebar__card--descri"><?php echo esc_html( 'Build your website visually in minutes, without coding skills.', 'fitness-cardio' ); ?><p>
                        <a href="<?php echo esc_url( FITNESS_CARDIO_BUY_NOW ); ?>" target="_blank" class="fitness-cardio-secondary-button fitness-cardio-button">
                            <span><?php echo esc_html( 'Get Started Today', 'fitness-cardio' ); ?></span>
                            <span class="dashicons dashicons-share-alt2"></span>
                        </a>
                    </div>
                    
                    <?php
                        }
                    ?>

                    <div class="fitness-cardio-themeinfo-sidebar__card bundle">
                        <div class="fitness-cardio-themeinfo-row">
                            <div class="fitness-cardio-themeinfo-col-xl-5">
                                <img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/get-theme-bundle-img.png' ); ?>">
                            </div>
                            <div class="fitness-cardio-themeinfo-col-xl-7">
                                <div class="bundle-box">
                                    <h5><?php echo esc_html( 'Get All', 'fitness-cardio' ); ?> <span><?php echo esc_html( '25+', 'fitness-cardio' ); ?></span> <?php echo esc_html( 'Elementor Themes Worth $1555+ At Just', 'fitness-cardio' ); ?> <span><?php echo esc_html( '$79', 'fitness-cardio' ); ?></span> <?php echo esc_html( 'Only', 'fitness-cardio' ); ?></h5>
                                </div>
                            </div>
                        </div>	
                        <div class="bundle-box">
                            <div class="bundle-btn">
                                <a href="<?php echo esc_url( 'https://www.themescarts.com/products/wordpress-theme-bundle/' ); ?>" target="_blank" class="purple">
                                    <span class="dashicons dashicons-media-archive"></span> <?php echo esc_html( 'Get All Themes', 'fitness-cardio' ); ?> </a>
                            </div>
                        </div>
                    </div>

                    <div class="fitness-cardio-themeinfo-sidebar__card">
                        <h2 class="fitness-cardio-themeinfo-sidebar__card--title"><?php echo esc_html( 'Check Our Pro Demo Site', 'fitness-cardio' ); ?></h2>
                        <p class="fitness-cardio-themeinfo-sidebar__card--descri"><?php echo esc_html( 'Be a part of our lively community to stay informed, get updates, and  collaborative work.', 'fitness-cardio' ); ?><p>
                        <a href="<?php echo esc_url( 'https://layout.themescarts.com/fitness-cardio/' ); ?>" target="_blank" class="fitness-cardio-themeinfo-sidebar__card--btn fitness-cardio-primary-btn">
                            <span><?php echo esc_html( 'Visit Demo Site', 'fitness-cardio' ); ?></span>
                            <span class="dashicons dashicons-share-alt2"></span>
                        </a>
                    </div>

                    <div class="fitness-cardio-themeinfo-sidebar__card">
                        <h2 class="fitness-cardio-themeinfo-sidebar__card--title"><?php echo esc_html( 'Premium Support', 'fitness-cardio' ); ?></h2>
                        <p class="fitness-cardio-themeinfo-sidebar__card--descri"><?php echo esc_html( 'Skip the queue, get live chat support, and enjoy lightning-fast replies.', 'fitness-cardio' ); ?></p>
                        <a href="<?php echo esc_url( 'https://www.themescarts.com/forums/forum/themescarts-support/' ); ?>" target="_blank" class="fitness-cardio-themeinfo-sidebar__card--btn fitness-cardio-primary-btn">
                            <span><?php echo esc_html( 'Get Pro Support', 'fitness-cardio' ); ?></span>
                            <span class="dashicons dashicons-share-alt2"></span>
                        </a>
                    </div>

                    <div class="fitness-cardio-themeinfo-sidebar__card">
                        <h2 class="fitness-cardio-themeinfo-sidebar__card--title"><?php echo esc_html( 'Leave us a review', 'fitness-cardio' ); ?></h2>
                        <div class="fitness-cardio-themeinfo-sidebar__card--rating">
                            <svg width="116" height="23" viewBox="0 0 116 23" fill="black" xmlns="http://www.w3.org/2000/svg">
                                <path d="M10.5489 2.92705C10.8483 2.00574 12.1517 2.00574 12.4511 2.92705L13.8574 7.25532C13.9913 7.66734 14.3752 7.9463 14.8085 7.9463H19.3595C20.3282 7.9463 20.731 9.18592 19.9473 9.75532L16.2654 12.4303C15.9149 12.685 15.7683 13.1364 15.9021 13.5484L17.3085 17.8766C17.6078 18.798 16.5533 19.5641 15.7696 18.9947L12.0878 16.3197C11.7373 16.065 11.2627 16.065 10.9122 16.3197L7.23037 18.9947C6.44665 19.5641 5.39217 18.798 5.69153 17.8766L7.09787 13.5484C7.23174 13.1364 7.08508 12.685 6.7346 12.4303L3.05275 9.75532C2.26904 9.18592 2.67181 7.9463 3.64053 7.9463H8.19155C8.62477 7.9463 9.00873 7.66734 9.1426 7.25532L10.5489 2.92705Z"/>
                                <path d="M33.5489 2.92705C33.8483 2.00574 35.1517 2.00574 35.4511 2.92705L36.8574 7.25532C36.9913 7.66734 37.3752 7.9463 37.8085 7.9463H42.3595C43.3282 7.9463 43.731 9.18592 42.9473 9.75532L39.2654 12.4303C38.9149 12.685 38.7683 13.1364 38.9021 13.5484L40.3085 17.8766C40.6078 18.798 39.5533 19.5641 38.7696 18.9947L35.0878 16.3197C34.7373 16.065 34.2627 16.065 33.9122 16.3197L30.2304 18.9947C29.4467 19.5641 28.3922 18.798 28.6915 17.8766L30.0979 13.5484C30.2317 13.1364 30.0851 12.685 29.7346 12.4303L26.0527 9.75532C25.269 9.18592 25.6718 7.9463 26.6405 7.9463H31.1915C31.6248 7.9463 32.0087 7.66734 32.1426 7.25532L33.5489 2.92705Z"/>
                                <path d="M57.5489 2.92705C57.8483 2.00574 59.1517 2.00574 59.4511 2.92705L60.8574 7.25532C60.9913 7.66734 61.3752 7.9463 61.8085 7.9463H66.3595C67.3282 7.9463 67.731 9.18592 66.9473 9.75532L63.2654 12.4303C62.9149 12.685 62.7683 13.1364 62.9021 13.5484L64.3085 17.8766C64.6078 18.798 63.5533 19.5641 62.7696 18.9947L59.0878 16.3197C58.7373 16.065 58.2627 16.065 57.9122 16.3197L54.2304 18.9947C53.4467 19.5641 52.3922 18.798 52.6915 17.8766L54.0979 13.5484C54.2317 13.1364 54.0851 12.685 53.7346 12.4303L50.0527 9.75532C49.269 9.18592 49.6718 7.9463 50.6405 7.9463H55.1915C55.6248 7.9463 56.0087 7.66734 56.1426 7.25532L57.5489 2.92705Z"/>
                                <path d="M80.5489 2.92705C80.8483 2.00574 82.1517 2.00574 82.4511 2.92705L83.8574 7.25532C83.9913 7.66734 84.3752 7.9463 84.8085 7.9463H89.3595C90.3282 7.9463 90.731 9.18592 89.9473 9.75532L86.2654 12.4303C85.9149 12.685 85.7683 13.1364 85.9021 13.5484L87.3085 17.8766C87.6078 18.798 86.5533 19.5641 85.7696 18.9947L82.0878 16.3197C81.7373 16.065 81.2627 16.065 80.9122 16.3197L77.2304 18.9947C76.4467 19.5641 75.3922 18.798 75.6915 17.8766L77.0979 13.5484C77.2317 13.1364 77.0851 12.685 76.7346 12.4303L73.0527 9.75532C72.269 9.18592 72.6718 7.9463 73.6405 7.9463H78.1915C78.6248 7.9463 79.0087 7.66734 79.1426 7.25532L80.5489 2.92705Z"/>
                                <path d="M103.549 2.92705C103.848 2.00574 105.152 2.00574 105.451 2.92705L106.857 7.25532C106.991 7.66734 107.375 7.9463 107.808 7.9463H112.359C113.328 7.9463 113.731 9.18592 112.947 9.75532L109.265 12.4303C108.915 12.685 108.768 13.1364 108.902 13.5484L110.308 17.8766C110.608 18.798 109.553 19.5641 108.77 18.9947L105.088 16.3197C104.737 16.065 104.263 16.065 103.912 16.3197L100.23 18.9947C99.4467 19.5641 98.3922 18.798 98.6915 17.8766L100.098 13.5484C100.232 13.1364 100.085 12.685 99.7346 12.4303L96.0527 9.75532C95.269 9.18592 95.6718 7.9463 96.6405 7.9463H101.192C101.625 7.9463 102.009 7.66734 102.143 7.25532L103.549 2.92705Z"/>
                            </svg>
                        </div>
                        <p class="fitness-cardio-themeinfo-sidebar__card--descri"><?php echo esc_html( 'Tell us what you love about our Theme by leaving a review. your feedback shapes improvements.', 'fitness-cardio' ); ?><p>
                        <a href="<?php echo  esc_url( 'https://wordpress.org/support/theme/fitness-cardio/reviews/#new-post' ); ?>" target="_blank" class="fitness-cardio-themeinfo-sidebar__card--btn fitness-cardio-primary-btn">
                            <span><?php echo esc_html( 'Submit a Review', 'fitness-cardio' ); ?></span>
                            <span class="dashicons dashicons-share-alt2"></span>
                        </a>
                    </div>

                </div>

        </div>
    </div>

    <div class="fitness-cardio-theme-info-page__footer">
    </div>
    <!-- End Footer -->
</div>