<?php defined('ABSPATH') || exit ("no access");  ?>
<style>
	<?php include __DIR__.'/assets/style.css' ?>
</style>
<div class="license-input">
    <script>
        var zhaket_guard=<?php echo json_encode(array(
                                                    'ajax_url' => admin_url('admin-ajax.php'),
                                                    'confirm_msg' => esc_html__('Are you sure?', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d'),
                                                    'wrong_license_message' => esc_html__('Something goes wrong, please try again.', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d'),
                                                    'this_slug' => $this->d615d740c0563a7189d,
                                                    'view_problem_console_log' => esc_html__('Something is wrong, please check the console log for details',
                                                                                             'guard-gn-ba264b4e6ae70fe858863b5ef944159d'),
                                                    'please_add_valid_license' => esc_html__('License key is not valid, Please enter valid license key.',
                                                                                             'guard-gn-ba264b4e6ae70fe858863b5ef944159d'),
                                                    'nonce' => wp_create_nonce('guard-gn-ba264b4e6ae70fe858863b5ef944159d'),
                                                )) ?>
    </script>
    <script>
        <?php include __DIR__.'/assets/script.js' ?>
    </script>
    <h1> <?php printf(esc_html__('%s Activation', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d'), esc_html__($this->b4ef7848e2cad70011c5e409a, 'guard-gn-ba264b4e6ae70fe858863b5ef944159d')); ?></h1>
    <?php if ($this->abf867160fc963d2bab6b8cecc78e5b): ?>
        <h3><?php esc_html_e('Your activation key:', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></h3>
        <code id="code-style"><?php echo $this->d47c1718590b75b321751f04bdbfc2e() ?></code>
        <div class="text-left">
            <span id="recheck-license" onclick="recheck_licence(this)"><?php esc_html_e('Recheck license', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></span>
            <span id="remove-license" onclick="remove_licence(this)"><?php esc_html_e('Remove / Change key', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></span>
        </div>
        <div id="license-message" style="display: flex; <?php echo ($this->aa7eea6dd9c9a0e11f0ab57826cddc===true)? 'background:red;':''?>">
            <div class="result" style=""><?php echo $this->d551a5a2d64df18810f07fd836844eb('last_message'); ?></div>
        </div>
		<?php if($this->aa7eea6dd9c9a0e11f0ab57826cddc===true): ?>
			<div id="license-warning" style="display: flex; background:#90e5ff; color:black">
				<div><?php esc_html_e('Your license is active but need to revalidate. if has error on revalidate you can test after 24 hours.',
									  'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></div>
			</div>
		<?php endif; ?>
        <!-- /#license-message -->
    <?php else: ?>
        <h3><?php esc_html_e('Enter your activation key:', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></h3>
        <input id="license-input" type="text" value="">
        <div class="text-left">
                    <span id="install-license" onclick="install_licence(this)"><?php esc_html_e('Activate',
                                                                                                'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></span>
        </div>
        <div id="license-message">
        </div>
    <?php endif; ?>

    <!-- /#license-message -->
    <div id="license-help">
        <strong><?php esc_html_e('Manual:', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?></strong>
        <ul>
            <?php if ($this->abf867160fc963d2bab6b8cecc78e5b): ?>
			
						                <li>
                    <?php echo '<a href="https://www.youtube.com/watch?v=6ZgQsJlDbjc&list=PLuF43bhvJgNXm1Ef7DeRBvabd52zLhJhu&index=1" target="_blank" rel="noopener">آموزش های ویدیویی</a>'; ?>

                </li>
									                <li>
                    <?php echo '<a href="https://mu.chat/@elementor" target="_blank" rel="noopener">المنتوریار (پشتیبان آنلاین)</a>'; ?>

                </li>

                <li>
                    <?php esc_html_e('Your key is used on this website, and it is not possible to use on another website.',
                                     'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?>
                </li>
                <li>
                    <?php esc_html_e('If you want to transfer a license to another domain, click on the "Remove / Change key", after that login to your account of zhaket.com and go to the download section and click on change domain button. Enter your new domain name and use the license key on your desired domain.',
                                     'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?>
                </li>
            <?php else: ?>
                <li>
                    <?php esc_html_e('To use the product, you should enter the license key, to find your license key, login to your account of zhaket.com and go to downloads section, after than select product and copy your license key or click on create license button and copy your license key.',
                                     'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?>
                </li>
                <li>
                    <?php esc_html_e('Each license can be activated only for one website', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?>
                </li>
                <li>
                    <?php esc_html_e('If your license is activated on another domain, first click on the "Remove / Change key" on the old website, then login to your account of zhaket.com and go to the download section and click on the change domain button, enter your website domain name and use the license key to activate.',
                                     'guard-gn-ba264b4e6ae70fe858863b5ef944159d') ?>
                </li>
            <?php endif; ?>
        </ul>
        <?php
        if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) {
            echo '<hr>';
            echo sprintf( esc_html__( 'The %s constant is set to true. WP-Cron spawning is disabled.', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d' ), 'DISABLE_WP_CRON' );
        }
        if ( defined( 'ALTERNATE_WP_CRON' ) && ALTERNATE_WP_CRON ) {
            echo '<hr>';
            echo sprintf( esc_html__( 'The %s constant is set to true.', 'guard-gn-ba264b4e6ae70fe858863b5ef944159d' ), 'ALTERNATE_WP_CRON'
            );
        }

        ?>
        <hr>
        <span style="display: block;direction: ltr;text-align:left;font-size: 10px">version:3.1</span>
    </div>


</div>