Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
www
/
nycre
/
wp-content
/
themes
/
realexa
/
admin
/
admin-tpl
/
File Content:
mascot-about.php
<?php // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Cannot access pages directly.' ); } $wp_get_theme = wp_get_theme( get_template() ); $theme_name = $wp_get_theme->get( 'Name' ); $license = mascot_license(); $license_data = $license->get_license_data(); $is_active = $license->is_activated(); ?> <div class="wrap about-wrap mascot-admin-tpl-wrapper"> <?php echo realexa_get_template_part( 'admin/admin-tpl/mascot-header' ); ?> <?php echo realexa_get_template_part( 'admin/admin-tpl/mascot-tabs' ); ?> <div class="about-wrapper"> <!-- ===================== LICENSE ACTIVATION SECTION ===================== --> <div class="mascot-license-section <?php echo esc_attr( $is_active ? 'is-activated' : 'is-inactive' ); ?>"> <div class="mascot-license-header"> <div class="mascot-license-header-icon"> <span class="dashicons <?php echo esc_attr( $is_active ? 'dashicons-yes-alt' : 'dashicons-lock' ); ?>"></span> </div> <div class="mascot-license-header-text"> <h2><?php esc_html_e( 'Theme Activation', 'realexa' ); ?></h2> <p> <?php if ( $is_active ) : ?> <?php printf( esc_html__( 'Your theme is activated and verified. Registered to %s.', 'realexa' ), '<strong>' . esc_html( $license_data['buyer'] ) . '</strong>' ); ?> <?php else : ?> <?php esc_html_e( 'Enter your Envato purchase code to activate the theme and unlock all premium features.', 'realexa' ); ?> <?php endif; ?> </p> </div> <div class="mascot-license-badge"> <?php if ( $is_active ) : ?> <span class="mascot-badge mascot-badge-active"> <span class="dashicons dashicons-shield-alt"></span> <?php esc_html_e( 'Activated', 'realexa' ); ?> </span> <?php else : ?> <span class="mascot-badge mascot-badge-inactive"> <span class="dashicons dashicons-warning"></span> <?php esc_html_e( 'Not Activated', 'realexa' ); ?> </span> <?php endif; ?> </div> </div> <?php if ( $is_active ) : ?> <!-- ACTIVATED STATE --> <div class="mascot-license-info-grid"> <div class="mascot-license-info-item"> <span class="mascot-info-label"><?php esc_html_e( 'Purchase Code', 'realexa' ); ?></span> <span class="mascot-info-value mascot-code-mask"> <?php $code = $license_data['purchase_code']; $parts = explode( '-', $code ); echo esc_html( $parts[0] . '-****-****-****-' . end( $parts ) ); ?> </span> </div> <div class="mascot-license-info-item"> <span class="mascot-info-label"><?php esc_html_e( 'Registered To', 'realexa' ); ?></span> <span class="mascot-info-value"><?php echo esc_html( $license_data['buyer'] ); ?></span> </div> <div class="mascot-license-info-item"> <span class="mascot-info-label"><?php esc_html_e( 'Item', 'realexa' ); ?></span> <span class="mascot-info-value"><?php echo esc_html( $license_data['item_name'] ); ?></span> </div> <div class="mascot-license-info-item"> <span class="mascot-info-label"><?php esc_html_e( 'Activated On', 'realexa' ); ?></span> <span class="mascot-info-value"> <?php echo esc_html( $license_data['activated_at'] ? date_i18n( get_option( 'date_format' ), strtotime( $license_data['activated_at'] ) ) : '—' ); ?> </span> </div> <div class="mascot-license-info-item"> <span class="mascot-info-label"><?php esc_html_e( 'Supported Until:', 'realexa' ); ?></span> <span class="mascot-info-value"> <?php $support_raw = isset( $license_data['supported_until'] ) ? trim( (string) $license_data['supported_until'] ) : ''; $support_ts = false; $support_expired = false; $support_display = '—'; if ( $support_raw !== '' ) { $support_ts = strtotime( $support_raw ); if ( $support_ts ) { $support_display = date_i18n( get_option( 'date_format' ), $support_ts ); $support_expired = $support_ts < time(); } else { $support_display = $support_raw; } } ?> <span class="mascot-support-until-value"> <span class="mascot-support-until-date"><?php echo esc_html( $support_display ); ?></span> <?php if ( $support_ts && ! $support_expired ) : ?> <span class="mascot-support-active-badge" role="status"> <?php esc_html_e( 'Supported', 'realexa' ); ?> </span> <?php elseif ( $support_expired ) : ?> <span class="mascot-support-expired-warning" role="status"> <?php printf( wp_kses( /* translators: %s: ThemeForest downloads page URL to renew item support. */ __( 'Support has expired — renew on Envato for updates and help. <a href="%s" target="_blank" rel="noopener noreferrer">Renew from your ThemeForest downloads</a>.', 'realexa' ), [ 'a' => [ 'href' => [], 'target' => [], 'rel' => [] ] ] ), esc_url( 'https://themeforest.net/downloads' ) ); ?> </span> <?php endif; ?> </span> </span> </div> <div class="mascot-license-info-item"> <span class="mascot-info-label"><?php esc_html_e( 'Site URL', 'realexa' ); ?></span> <span class="mascot-info-value"><?php echo esc_html( $license_data['domain'] ); ?></span> </div> </div> <div class="mascot-license-actions"> <button type="button" id="mascot-deactivate-btn" class="mascot-btn mascot-btn-danger"> <span class="dashicons dashicons-no"></span> <?php esc_html_e( 'Deactivate License', 'realexa' ); ?> </button> <p class="mascot-deactivate-note"> <?php esc_html_e( 'Deactivating will free up your activation slot so you can use it on another site.', 'realexa' ); ?> </p> </div> <?php else : ?> <!-- INACTIVE STATE — ACTIVATION FORM --> <div class="mascot-license-form-wrap"> <div class="mascot-license-form-inner"> <label for="mascot-purchase-code" class="mascot-form-label"> <span class="dashicons dashicons-tag"></span> <?php esc_html_e( 'Envato Purchase Code', 'realexa' ); ?> </label> <div class="mascot-input-row"> <input type="text" id="mascot-purchase-code" name="purchase_code" class="mascot-purchase-input" placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" autocomplete="off" spellcheck="false" /> </div> <label for="mascot-buyer-email" class="mascot-form-label mascot-form-label--spaced"> <span class="dashicons dashicons-email-alt"></span> <?php esc_html_e( 'Your Email Address', 'realexa' ); ?> <span class="mascot-optional"><?php esc_html_e( '(optional)', 'realexa' ); ?></span> </label> <div class="mascot-input-row"> <input type="email" id="mascot-buyer-email" name="buyer_email" class="mascot-purchase-input" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" placeholder="you@example.com" autocomplete="email" /> <button type="button" id="mascot-activate-btn" class="mascot-btn mascot-btn-primary"> <span class="dashicons dashicons-unlock"></span> <?php esc_html_e( 'Activate Theme', 'realexa' ); ?> </button> </div> <p class="mascot-form-hint"> <?php printf( wp_kses( __( 'Find your purchase code in your <a href="%s" target="_blank">Envato account</a> under Downloads → License Certificate.', 'realexa' ), [ 'a' => [ 'href' => [], 'target' => [] ] ] ), 'https://themeforest.net/downloads' ); ?> </p> </div> </div> <?php endif; ?> <!-- Shared response message area --> <div id="mascot-license-message" class="mascot-license-message"></div> <div class="mascot-item-support-info"> <p class="mascot-item-support-info__text">All the items you buy are quality checked by Envato. Any future update made available by the author is included with every purchase.</p> <h4 class="mascot-item-support-info__title"><?php esc_html_e( 'Item support includes:', 'realexa' ); ?></h4> <ul class="mascot-item-support-info__list mascot-item-support-info__list--includes"> <li> <span class="dashicons dashicons-yes mascot-item-support-info__icon mascot-item-support-info__icon--yes" aria-hidden="true"></span> <?php esc_html_e( 'Availability of the author to answer questions', 'realexa' ); ?> </li> <li> <span class="dashicons dashicons-yes mascot-item-support-info__icon mascot-item-support-info__icon--yes" aria-hidden="true"></span> <?php esc_html_e( 'Get assistance with reported bugs and issues', 'realexa' ); ?> </li> <li> <span class="dashicons dashicons-yes mascot-item-support-info__icon mascot-item-support-info__icon--yes" aria-hidden="true"></span> <?php esc_html_e( 'Help with included 3rd party assets', 'realexa' ); ?> </li> </ul> <h4 class="mascot-item-support-info__title"><?php esc_html_e( 'Item support does not include:', 'realexa' ); ?></h4> <ul class="mascot-item-support-info__list mascot-item-support-info__list--excludes"> <li> <span class="dashicons dashicons-no-alt mascot-item-support-info__icon mascot-item-support-info__icon--no" aria-hidden="true"></span> <?php esc_html_e( 'Customizations and installations', 'realexa' ); ?> </li> </ul> </div> </div> <!-- ===================== END LICENSE SECTION ===================== --> <div class="welcome-message"> <h3> <?php esc_html_e( 'Thank you for choosing', 'realexa' ); ?> <?php echo esc_html( $theme_name ); ?>! <br> <small> <?php echo sprintf( esc_html__( 'For proper theme functioning, the %s plugin is required!', 'realexa' ), '<strong>Mascot Core</strong>' ); ?> </small> </h3> <h4> <?php echo sprintf( esc_html__( 'Installation Instructions for %s plugin:', 'realexa' ), '<strong>Mascot Core</strong>' ); ?> </h4> <ul> <li><?php echo sprintf( esc_html__( '1. From your WordPress dashboard visit Appearance > Install Plugins or you can %1$s click here %2$s', 'realexa' ), '<a target="_blank" href="' . esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ) . '">', '</a>' ); ?></li> <li><?php echo sprintf( esc_html__( '2. Search for %s plugin and install it.', 'realexa' ), '<strong>Mascot Core</strong>' ); ?></li> <li><?php esc_html_e( '3. Now activate it.', 'realexa' ); ?></li> <li><?php esc_html_e( '4. Once the plugin is activated you will find full features of the theme including Custom Post Types, Theme Options, Post Meta etc.', 'realexa' ); ?></li> </ul> </div> </div> </div>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
mascot-about.php
10990 bytes
0644
mascot-docs.php
12277 bytes
0644
mascot-faq.php
6153 bytes
0644
mascot-header.php
858 bytes
0644
mascot-system-status.php
484 bytes
0644
mascot-tabs.php
937 bytes
0644
N4ST4R_ID | Naxtarrr