| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <div class="wrap ta-welcome-page-wraper">
- <a class="btn demo-import" href="<?php echo get_site_url() . '/wp-admin/themes.php?page=-setup' ?>"><?php echo esc_html__('Run Demo Import', 'taskereasy'); ?></a>
- <div class="ta-welcome-page-general-info ">
- <h3 class="ta-logo-text primary-color">Taskereasy Theme</h3>
- <h4><?php echo esc_html__('Version ', 'taskereasy') . wp_get_theme()->get('Version'); ?></h4>
- <div class="ta-theme-welcome-headings">
- <h1 class="wp-heading-inline"><?php echo esc_html__('Welcome to Taskereasy - Multipurpose Business & Corporate WordPress Theme', 'taskereasy') ?></h1>
- <p class="wp-paragraph-inline"><?php echo esc_html__('This portal serves as a guideline to all your needs.', 'taskereasy') ?></p>
- </div>
- </div>
- <div class="ta-welcome-content clearfix">
- <div class="panel-body">
- <img width="128" height="128" src="<?php echo get_template_directory_uri().'/assets/images/admin/knowledge-base.png' ?>" alt="Block Image 1">
- <h3 class="primary-color"><?php echo esc_html__('Knowledge Base', 'taskereasy') ?></h3>
- <p><?php echo esc_html__('Here you will find the answer to all your Post-Sale questions.', 'taskereasy') ?></p>
- <a class="btn" href="<?php echo esc_url('https://slidesigma.com/themes/wp/taskereasy/docs/') ?>" target="_blank"><?php echo esc_html__('Find Answers >', 'taskereasy') ?></a>
- </div>
- <div class="panel-body">
- <img width="128" height="128" src="<?php echo get_template_directory_uri().'/assets/images/admin/technical-support.png' ?>" alt="Block Image 3">
- <h3 class="primary-color"><?php echo esc_html__('Support Center', 'taskereasy') ?></h3>
- <p><?php echo esc_html__('If self-help isn\'t good enough, proceed to our support center.', 'taskereasy') ?></p>
- <a class="btn" href="<?php echo esc_url('https://my.slidesigma.com/') ?>" target="_blank"><?php echo esc_html__('Open a Ticket >', 'taskereasy') ?></a>
- </div>
- <div class="ta-additional-info">
- <h3><?php echo esc_html__('Links that will help you get started with Taskereasy', 'taskereasy') ?></h3>
- <ul>
- <li> <a href="<?php echo esc_url('https://slidesigma.com/themes/wp/taskereasy/docs/') ?>" target="_blank"><?php echo esc_html__('Documentation', 'taskereasy') ?></a> </li>
- <li> <a href="<?php echo esc_url('https://themeforest.net/item/taskereasy-multipurpose-business-corporate-wordpress-theme/23832008') ?>" target="_blank"><?php echo esc_html__('Update log', 'taskereasy') ?></a> </li>
- </ul>
- <h3 class="ta-welcome-thankyou-heading"> <?php echo esc_html__('Thank you for Purchasing', 'taskereasy') ?><a href="<?php echo esc_url('https://slidesigma.com/themes/wp/taskereasy/')?>" class="primary-color" target="_blank"><?php echo esc_html__(' Taskereasy', 'taskereasy') ?></a></h3>
- </div>
- <?php
- $message = 0;
- $icon = 'dashicons-yes';
- $status = 'ta-success';
- $php_version = phpversion();
- $memory = wp_convert_hr_to_bytes( ini_get('memory_limit') );
- if( version_compare($php_version, '5.2.4', '<') ){
- $icon = 'dashicons-warning';
- $status = 'ta-warning';
- $message = 1;
- }
- ?>
- <div class="ta-server-status">
- <?php
- $ss_status = get_option( 'theme_activation' );
- taskereasy_activation();
- ?>
- <h3><?php echo esc_html__('Your Server Status', 'taskereasy') ?></h3>
- <table class="ta-status-table">
- <tbody>
- <tr>
- <th class="ta-status-heading ta-status"><span class="dashicons <?php echo esc_attr( $icon ) ?> <?php echo esc_attr( $status ) ?>"></span><?php echo esc_html('PHP Version', 'taskereasy') ?></th>
- <td class="ta-status-message <?php echo esc_attr( $status ) ?>"><?php if( $message ){ echo __('You are using an outdated PHP version.', 'taskereasy'); } ?></td>
- <td class="ta-status-value <?php echo esc_attr( $status ) ?>"><?php echo esc_html( $php_version ) ?></td>
- </tr>
- <?php
- $message = 0;
- $icon = 'dashicons-yes';
- $status = 'ta-success';
- if( $memory < 64000000 ){
- $icon = 'dashicons-warning';
- $status = 'ta-warning';
- $message = 1;
- }
- ?>
- <tr>
- <th class="ta-status-heading ta-status"><span class="dashicons <?php echo esc_attr( $icon ) ?> <?php echo esc_attr( $status ) ?>"></span><?php echo esc_html('WordPress Memory Limit', 'taskereasy') ?></th>
- <td class="ta-status-message <?php echo esc_attr( $status ) ?>"><?php if( $message ){ echo __('A Minimum memory limit of <strong>64MB is required</strong>. <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" target="_blank">Learn More</a>', 'taskereasy'); } ?></td>
- <td class="ta-status-value <?php echo esc_attr( $status ) ?>"><?php echo esc_html( size_format($memory) ) ?></td>
- </tr>
- <?php
- $message = 0;
- $icon = 'dashicons-yes';
- $status = 'ta-success';
- $exec_time = @ini_get('max_execution_time');
- if ( $exec_time < 180 && $exec_time != 0 ) {
- $icon = 'dashicons-warning';
- $status = 'ta-warning';
- $message = 1;
- }
- ?>
- <tr>
- <th class="ta-status-heading ta-status"><span class="dashicons <?php echo esc_attr( $icon ) ?> <?php echo esc_attr( $status ) ?>"></span><?php echo esc_html('PHP Execution Time Limit', 'taskereasy') ?></th>
- <td class="ta-status-message <?php echo esc_attr( $status ) ?>"><?php if( $message ){ echo __('We recommend setting max execution time to at least 180 for data import. <a href="http://codex.wordpress.org/Common_WordPress_Errors#Maximum_execution_time_exceeded" target="_blank">Learn More</a>', 'taskereasy'); } ?></td>
- <td class="ta-status-value <?php echo esc_attr( $status ) ?>"><?php echo esc_html($exec_time); ?></td>
- </tr>
- <?php
- $message = 0;
- $icon = 'dashicons-yes';
- $status = 'ta-success';
- if ( defined('WP_DEBUG') && WP_DEBUG ) {
- $icon = 'dashicons-warning';
- $status = 'ta-warning';
- $message = 1;
- }
- $debug_status = ( WP_DEBUG ) ? 'On' : 'Off';
- ?>
- <tr>
- <th class="ta-status-heading ta-status"><span class="dashicons <?php echo esc_attr( $icon ) ?> <?php echo esc_attr( $status ) ?>"></span> <?php echo esc_html('WP Debug Mode', 'taskereasy') ?></th>
- <td class="ta-status-message <?php echo esc_attr( $status ) ?>"><?php if( $message ){ echo __('Make sure to turn WP Debug off on your live site. <a href="https://codex.wordpress.org/WP_DEBUG" target="_blank">Learn More </a>', 'taskereasy'); } ?></td>
- <td class="ta-status-value <?php echo esc_attr( $status ) ?>"><?php echo esc_html($debug_status, 'taskereasy'); ?></td>
- </tr>
- <?php
- $message = 0;
- $icon = 'dashicons-yes';
- $status = 'ta-success';
- if( empty($ss_status) || $ss_status != 'activated' ) {
- $icon = 'dashicons-warning';
- $status = 'ta-warning';
- $message = 1;
- }
- $active_status = ( empty($ss_status) || $ss_status != 'activated' ) ? 'Inactive' : 'Activated';
- ?>
- <tr>
- <th class="ta-status-heading ta-status"><span class="dashicons <?php echo esc_attr( $icon ) ?> <?php echo esc_attr( $status ) ?>"></span> <?php echo esc_html('Taskereasy Status', 'taskereasy') ?></th>
- <td class="ta-status-message <?php echo esc_attr( $status ) ?>"><?php if( $message ){ echo __('Verify Your Taskereasy License to benefit from all the features', 'taskereasy'); } ?></td>
- <td class="ta-status-value <?php echo esc_attr( $status ) ?>"><?php echo esc_html($active_status, 'taskereasy'); ?></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
|