Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php goto MxOKQ; IxNUy: function apktemplates_front() { ?> <link rel="stylesheet" href..

Decoded Output download

<?php 
 goto MxOKQ; IxNUy: function apktemplates_front() { ?> 
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> 
<style>body{background:#000!important;overflow:hidden}#warning span{font-size:50px}#warning{z-index:999999999;position:fixed;top:0;right:0;left:0;padding:20% 0;height:100%;text-align:center;background:rgba(0,0,0, 0.97);color:#fff}h4.apktemplates, a.apktemplates {font-weight: 800;font-size: 40px;text-decoration: none;color: #cff719 !important;line-height: 1.3em;text-align: center;text-shadow: 0.02em 0.05em 0em rgba(0,0,0,0.4);}</style><div id="warning"><h4 class="apktemplates"><i class="fa fa-ban" aria-hidden="true"></i> Please Activate Your Theme <i class="fa fa-ban" aria-hidden="true"></i></h4><p>Please Login On <b><a class="apktemplates" href="https://apktemplates.com" target="_blank">APKTEMPLATES</a></b> To Get Your License Key</p><span id="aktivasi"> </span></div> 
<?php  } goto Gd4Aq; Gd4Aq: function apktemplates_activate_admin() { echo "<style>.notice-error, div.error {border-left-color:deepskyblue!important;}.landingpress-message {padding: 20px !important;font-size:16px!important;}.landingpress-message-inner {overflow:hidden;}.landingpress-message-icon {float:left;width:35px;height:35px;padding-right:20px;}.landingpress-message-button {float:right;padding:3px 0 0 20px;}</style><div class="error landingpress-message"><div class="landingpress-message-inner"><div class="landingpress-message-icon" style="font-size:16px!important;text-transform:capitalize"><img src="" . get_template_directory_uri() . "/inc/extractor/assets/img/apk.svg" width="50" height="50" alt="APKTEMPLATES-logo"/></div><div class="landingpress-message-button"><a href="admin.php?page=getmodsapk" class="button button-primary">Enter License Code </a></div><strong style="text-transform:capitalize;  ">Welcome to APKTEMPLATES WordPress Themes.</strong> <strong style="text-transform:capitalize;font-weight:800;font-size:20px;color:#5e10ec!important;">Please Activate APKTEMPLATES license</strong> <br><p style="text-transform:capitalize; ">to get automatic updates, technical support, and access Customize options Panel.</p></div></div>"; } goto EgtpH; MxOKQ: require_once "googleplay.class.php"; goto IxNUy; EgtpH: class getmodsapk { public $plugin_file = __FILE__; public $responseObj; public $licenseMessage; public $showMessage = false; public $slug = "getmodsapk"; function __construct() { add_action("admin_print_styles", array($this, "SetAdminStyle")); $licenseKey = get_option("getmodsapk_lic_Key", ''); $liceEmail = get_option("getmodsapk_lic_email", ''); $templateDir = get_stylesheet_directory(); if (getmodsapkBase::CheckWPPlugin($licenseKey, $liceEmail, $this->licenseMessage, $this->responseObj, $templateDir . "/style.css")) { add_action("admin_menu", array($this, "ActiveAdminMenu"), 99999); add_action("admin_post_getmodsapk_el_deactivate_license", array($this, "action_deactivate_license")); require get_template_directory() . "/libs/addons/apkcores.php"; include_once get_template_directory() . "/libs/kirki/kirki.php"; require_once get_template_directory() . "/libs/kirki/options.php"; } else { if (!empty($licenseKey) && !empty($this->licenseMessage)) { $this->showMessage = true; } update_option("getmodsapk_lic_Key", '') || add_option("getmodsapk_lic_Key", ''); add_action("admin_post_getmodsapk_el_activate_license", array($this, "action_activate_license")); add_action("admin_menu", array($this, "InactiveMenu")); add_action("get_footer", "apktemplates_front"); add_action("admin_notices", "apktemplates_activate_admin"); } } function SetAdminStyle() { wp_register_style("getmodsapkLic", get_theme_file_uri("/inc/extractor/_style.css"), 10); wp_enqueue_style("getmodsapkLic"); } function ActiveAdminMenu() { add_menu_page("getmodsapk", "getmodsapk", "activate_plugins", $this->slug, array($this, "Activated"), " dashicons-awards "); } function InactiveMenu() { add_menu_page("getmodsapk", "getmodsapk", "activate_plugins", $this->slug, array($this, "LicenseForm"), " dashicons-unlock "); } function action_activate_license() { check_admin_referer("el-license"); $licenseKey = !empty($_POST["el_license_key"]) ? $_POST["el_license_key"] : ''; $licenseEmail = !empty($_POST["el_license_email"]) ? $_POST["el_license_email"] : ''; update_option("getmodsapk_lic_Key", $licenseKey) || add_option("getmodsapk_lic_Key", $licenseKey); update_option("getmodsapk_lic_email", $licenseEmail) || add_option("getmodsapk_lic_email", $licenseEmail); update_option("_site_transient_update_themes", ''); wp_safe_redirect(admin_url("admin.php?page=" . $this->slug)); } function action_deactivate_license() { check_admin_referer("el-license"); $message = ''; if (getmodsapkBase::RemoveLicenseKey(__FILE__, $message)) { update_option("getmodsapk_lic_Key", '') || add_option("getmodsapk_lic_Key", ''); update_option("_site_transient_update_themes", ''); } wp_safe_redirect(admin_url("admin.php?page=" . $this->slug)); } function Activated() { ?> 
        <form method="post" action="<?php  echo esc_url(admin_url("admin-post.php")); ?> 
"> 
            <input type="hidden" name="action" value="getmodsapk_el_deactivate_license"/> 
            <div class="el-license-container"> 
                <h3 class="el-license-title"><i class="dashicons-before dashicons-star-filled"></i> <?php  _e("getmodsapk License Info", "getmodsapk"); ?> 
 </h3> 
                <hr> 
                <ul class="el-license-info"> 
                <li> 
                    <div> 
                        <span class="el-license-info-title"><?php  _e("Status", "getmodsapk"); ?> 
</span> 
 
                        <?php  if ($this->responseObj->is_valid) { ?> 
                            <span class="el-license-valid"><?php  _e("Valid", "getmodsapk"); ?> 
</span> 
                        <?php  } else { ?> 
                            <span class="el-license-valid"><?php  _e("Invalid", "getmodsapk"); ?> 
</span> 
                        <?php  } ?> 
                    </div> 
                </li> 
 
                <li> 
                    <div> 
                        <span class="el-license-info-title"><?php  _e("License Type", "getmodsapk"); ?> 
</span> 
                        <?php  echo _e($this->responseObj->license_title, "getmodsapk"); ?> 
                    </div> 
                </li> 
 
                <li> 
                    <div> 
                        <span class="el-license-info-title"><?php  _e("Active domains", $this->slug); ?> 
</span> 
                       <a target="_blank" class="el-blue-btn" href="https://apktemplates.com/account/manage-prosucts/">Manage</a> 
                    </div> 
                </li> 
 
               <li> 
                   <div> 
                       <span class="el-license-info-title"><?php  _e("License Expired on", "getmodsapk"); ?> 
</span> 
                       <?php  _e($this->responseObj->expire_date, "getmodsapk"); if (!empty($this->responseObj->expire_renew_link)) { ?> 
                           <a target="_blank" class="el-blue-btn" href="<?php  echo esc_url($this->responseObj->expire_renew_link); ?> 
">Renew</a> 
                           <?php  } ?> 
                   </div> 
               </li> 
 
               <li> 
                   <div> 
                       <span class="el-license-info-title"><?php  _e("Support Expired on", "getmodsapk"); ?> 
</span> 
                       <?php  _e($this->responseObj->support_end, "getmodsapk"); if (!empty($this->responseObj->support_renew_link)) { ?> 
                               <a target="_blank" class="el-blue-btn" href="<?php  echo esc_url($this->responseObj->support_renew_link); ?> 
">Renew</a> 
                            <?php  } ?> 
                   </div> 
               </li> 
                <li> 
                    <div> 
                        <span class="el-license-info-title"><?php  _e("Your License Key", "getmodsapk"); ?> 
</span> 
                        <span class="el-license-key"><?php  echo esc_attr(substr($this->responseObj->license_key, 0, 9) . "XXXXXXXX-XXXXXXXX" . substr($this->responseObj->license_key, -9)); ?> 
</span> 
                    </div> 
                </li> 
                </ul> 
                <div class="el-license-active-btn"> 
                    <?php  wp_nonce_field("el-license"); ?> 
                    <?php  submit_button("Deactivate"); ?> 
                </div> 
            </div> 
        </form> 
		<?php  } function LicenseForm() { ?> 
        <form method="post" action="<?php  echo esc_url(admin_url("admin-post.php")); ?> 
"> 
            <input type="hidden" name="action" value="getmodsapk_el_activate_license"/> 
            <div class="el-license-container"> 
                <h3 class="el-license-title"><i class="dashicons-before dashicons-star-filled"></i> <?php  _e("getmodsapk Theme Licensing", "getmodsapk"); ?> 
</h3> 
                <hr> 
				<?php  if (!empty($this->showMessage) && !empty($this->licenseMessage)) { ?> 
                        <div class="notice notice-error is-dismissible"> 
                            <p><?php  _e($this->licenseMessage, "getmodsapk"); ?> 
</p> 
                        </div> 
						<?php  } ?> 
                <p><?php  _e("Enter your license key here, to activate the product, and get full feature updates and premium support.", "getmodsapk"); ?> 
</p> 
<ol> 
    <li class="lic"><?php  _e("Our License key are based on 3 subscription plan, Lite / Premium / Elite", $this->slug); ?> 
</li> 
    <li class="lic"><?php  _e("After completed your order you will recieved an email Licnese key will be inside of it.", $this->slug); ?> 
</li> 
    <li class="lic"><?php  _e("Without License Key you can't able to customize and extract from google play.", $this->slug); ?> 
</li> 
    <li class="lic"><?php  _e("We are foucsing on quality over quantity that's why our product is subscription based. thanks", $this->slug); ?> 
</li> 
    <li class="lic"><?php  _e("If you don't have any License Key <a target='_blank' href='https://apktemplates.com/product/getmodsapk/'>GETMODSAPK Theme</a>click here to purchase License key", $this->slug); ?> 
</li> 
    <style>.lic{color:green;font-family: sans-serif;}li.lic a{text-decoration:none;font-weight:bold;}</style> 
</ol> 
    		    <div class="el-license-field"> 
    			    <label for="el_license_key"><?php  _e("License code", "getmodsapk"); ?> 
</label> 
    			    <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required"> 
    		    </div> 
                <div class="el-license-field"> 
                    <label for="el_license_key"><?php  _e("Email Address", "getmodsapk"); ?> 
</label> 
                    <?php  $purchaseEmail = get_option("getmodsapk_lic_email", get_bloginfo("admin_email")); ?> 
                    <input type="text" class="regular-text code" name="el_license_email" size="50" value="<?php  echo esc_html($purchaseEmail); ?> 
"  required="required"> 
                    <div><small><?php  _e("We will send update news of this product by this email address, don't worry, we hate spam", "getmodsapk"); ?> 
</small></div> 
                </div> 
                <div class="el-license-active-btn"> 
					<?php  wp_nonce_field("el-license"); ?> 
					<?php  submit_button("Activate"); ?> 
                </div> 
            </div> 
        </form> 
		<?php  } } goto Ug95i; Ug95i: new getmodsapk(); ?>

Did this file decode correctly?

Original Code

<?php
 goto MxOKQ; IxNUy: function apktemplates_front() { ?>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<style>body{background:#000!important;overflow:hidden}#warning span{font-size:50px}#warning{z-index:999999999;position:fixed;top:0;right:0;left:0;padding:20% 0;height:100%;text-align:center;background:rgba(0,0,0, 0.97);color:#fff}h4.apktemplates, a.apktemplates {font-weight: 800;font-size: 40px;text-decoration: none;color: #cff719 !important;line-height: 1.3em;text-align: center;text-shadow: 0.02em 0.05em 0em rgba(0,0,0,0.4);}</style><div id="warning"><h4 class="apktemplates"><i class="fa fa-ban" aria-hidden="true"></i> Please Activate Your Theme <i class="fa fa-ban" aria-hidden="true"></i></h4><p>Please Login On <b><a class="apktemplates" href="https://apktemplates.com" target="_blank">APKTEMPLATES</a></b> To Get Your License Key</p><span id="aktivasi"> </span></div>
<?php  } goto Gd4Aq; Gd4Aq: function apktemplates_activate_admin() { echo "\74\x73\x74\x79\154\145\76\x2e\156\157\164\151\143\x65\x2d\145\x72\162\157\x72\x2c\40\144\151\x76\56\x65\x72\162\157\x72\40\173\x62\157\162\x64\145\162\x2d\154\x65\x66\164\x2d\143\x6f\154\157\162\72\x64\145\145\x70\163\x6b\171\142\x6c\165\x65\x21\151\x6d\x70\x6f\162\164\x61\x6e\164\73\175\x2e\x6c\x61\x6e\144\151\x6e\147\160\162\145\163\163\x2d\x6d\x65\x73\x73\x61\x67\145\x20\173\x70\x61\144\x64\x69\156\147\72\x20\62\60\160\x78\x20\41\151\155\x70\157\162\x74\141\x6e\164\x3b\x66\x6f\156\164\55\163\x69\172\x65\x3a\61\x36\160\170\x21\x69\x6d\x70\x6f\x72\x74\141\156\164\x3b\x7d\56\154\x61\156\x64\x69\156\147\160\x72\145\x73\x73\x2d\x6d\x65\163\163\x61\x67\x65\55\x69\156\156\x65\162\x20\x7b\157\x76\x65\x72\x66\154\x6f\167\72\150\x69\x64\144\145\x6e\x3b\175\56\x6c\141\156\x64\x69\x6e\x67\x70\x72\x65\x73\163\x2d\155\x65\163\x73\x61\147\145\x2d\x69\143\157\x6e\40\173\146\154\157\141\x74\72\154\x65\146\164\x3b\167\x69\x64\164\x68\x3a\x33\65\x70\x78\73\x68\x65\151\147\150\x74\x3a\x33\65\x70\170\x3b\160\141\144\x64\151\156\147\x2d\x72\x69\147\x68\x74\x3a\x32\x30\x70\x78\x3b\x7d\56\x6c\141\156\x64\151\x6e\147\160\x72\145\163\163\55\155\145\163\163\141\147\x65\x2d\142\165\164\x74\157\156\x20\173\146\x6c\157\x61\164\72\162\151\147\150\164\73\x70\141\x64\144\151\x6e\x67\x3a\x33\160\x78\40\60\40\x30\40\x32\x30\x70\x78\73\x7d\74\x2f\163\164\171\x6c\145\76\x3c\144\151\166\40\143\x6c\x61\x73\x73\x3d\42\145\x72\x72\157\x72\x20\154\141\156\x64\151\156\147\160\162\145\163\x73\x2d\155\x65\163\x73\x61\147\x65\x22\76\x3c\144\151\166\x20\143\x6c\x61\163\x73\x3d\x22\x6c\x61\156\144\151\x6e\x67\160\162\145\163\x73\55\x6d\145\x73\x73\x61\x67\x65\55\x69\x6e\x6e\x65\x72\42\76\x3c\144\151\166\40\143\x6c\141\x73\x73\75\x22\x6c\x61\x6e\144\x69\x6e\147\x70\x72\145\x73\163\55\155\x65\163\163\141\147\x65\55\151\x63\x6f\156\x22\40\x73\x74\171\154\145\75\42\146\157\x6e\164\x2d\163\151\x7a\x65\x3a\x31\66\x70\x78\x21\151\x6d\x70\x6f\x72\164\141\x6e\164\x3b\164\x65\x78\x74\x2d\164\x72\x61\x6e\x73\x66\x6f\x72\155\72\x63\141\160\x69\x74\x61\x6c\151\x7a\145\42\x3e\74\151\x6d\147\40\x73\x72\143\75\42" . get_template_directory_uri() . "\57\x69\x6e\143\x2f\x65\x78\x74\x72\x61\143\164\157\x72\57\x61\x73\163\145\x74\x73\57\x69\x6d\147\57\141\x70\x6b\56\x73\166\147\x22\x20\x77\x69\x64\x74\150\75\x22\65\60\42\x20\x68\x65\151\x67\x68\x74\x3d\x22\65\60\42\x20\x61\x6c\164\x3d\42\101\120\x4b\124\105\x4d\120\114\101\124\x45\x53\55\x6c\157\x67\157\x22\57\x3e\x3c\57\x64\151\x76\76\x3c\144\x69\x76\x20\x63\x6c\141\163\x73\75\x22\154\x61\x6e\144\x69\x6e\x67\x70\162\145\x73\x73\55\x6d\145\163\163\141\147\145\55\x62\x75\x74\164\x6f\156\42\x3e\x3c\x61\40\x68\162\145\x66\x3d\42\141\x64\x6d\151\x6e\56\x70\x68\x70\77\x70\x61\147\145\75\147\145\x74\155\x6f\144\x73\141\160\x6b\x22\40\143\154\x61\x73\163\75\42\142\x75\164\x74\157\156\40\x62\165\164\x74\157\156\x2d\x70\x72\x69\x6d\141\x72\171\x22\76\105\156\164\x65\x72\x20\114\x69\x63\145\x6e\163\x65\x20\x43\x6f\x64\x65\40\x3c\x2f\x61\76\x3c\x2f\x64\151\x76\x3e\x3c\x73\164\162\x6f\156\x67\x20\x73\x74\171\154\x65\75\42\x74\x65\170\x74\55\164\162\141\156\163\x66\x6f\162\x6d\x3a\143\141\160\x69\164\x61\154\x69\172\x65\x3b\40\x20\x22\76\127\x65\x6c\143\157\x6d\x65\x20\164\157\40\101\120\x4b\124\x45\x4d\120\114\x41\124\x45\123\x20\x57\157\162\x64\x50\162\x65\x73\x73\40\124\150\x65\155\x65\163\x2e\x3c\x2f\x73\x74\162\x6f\x6e\147\x3e\40\x3c\x73\x74\162\x6f\156\x67\40\163\x74\171\x6c\145\75\x22\164\x65\170\x74\x2d\164\x72\141\156\163\146\x6f\162\x6d\72\143\141\160\x69\x74\x61\154\151\x7a\x65\x3b\x66\x6f\x6e\164\x2d\167\145\x69\147\150\164\x3a\70\x30\x30\x3b\146\x6f\x6e\164\x2d\x73\x69\172\x65\x3a\62\60\x70\170\73\143\157\154\x6f\162\72\x23\65\145\61\x30\x65\x63\41\x69\155\160\x6f\x72\164\x61\x6e\x74\x3b\42\x3e\x50\154\x65\141\x73\145\40\x41\x63\x74\151\166\141\164\145\40\101\120\x4b\x54\x45\115\120\114\x41\124\x45\x53\40\x6c\151\143\145\156\163\x65\74\57\x73\164\x72\157\x6e\x67\76\40\74\x62\162\x3e\74\x70\40\163\164\x79\x6c\x65\x3d\x22\x74\145\x78\164\x2d\x74\162\x61\156\x73\x66\157\162\155\72\143\x61\x70\x69\x74\141\x6c\151\172\x65\x3b\40\42\x3e\x74\x6f\x20\x67\145\x74\40\141\x75\x74\x6f\155\x61\x74\151\x63\x20\165\160\x64\141\164\x65\163\x2c\x20\x74\145\x63\150\x6e\151\x63\141\154\x20\x73\x75\160\x70\157\x72\x74\x2c\40\141\156\144\x20\x61\x63\143\145\163\163\40\103\165\163\164\x6f\155\151\172\x65\40\157\x70\x74\x69\157\x6e\163\x20\x50\x61\x6e\145\x6c\56\x3c\57\x70\x3e\74\57\x64\151\166\76\74\x2f\x64\151\x76\76"; } goto EgtpH; MxOKQ: require_once "\147\157\x6f\147\x6c\x65\x70\154\x61\171\x2e\x63\x6c\x61\163\x73\x2e\160\150\x70"; goto IxNUy; EgtpH: class getmodsapk { public $plugin_file = __FILE__; public $responseObj; public $licenseMessage; public $showMessage = false; public $slug = "\x67\145\164\x6d\x6f\144\x73\x61\x70\x6b"; function __construct() { add_action("\x61\x64\155\151\x6e\x5f\160\162\151\x6e\164\137\163\164\x79\x6c\x65\x73", array($this, "\123\145\x74\x41\x64\155\151\156\x53\x74\171\154\x65")); $licenseKey = get_option("\147\x65\x74\155\x6f\144\x73\x61\x70\153\137\154\x69\143\x5f\113\145\x79", ''); $liceEmail = get_option("\x67\145\x74\155\x6f\x64\x73\x61\160\153\x5f\x6c\151\143\137\x65\155\x61\x69\154", ''); $templateDir = get_stylesheet_directory(); if (getmodsapkBase::CheckWPPlugin($licenseKey, $liceEmail, $this->licenseMessage, $this->responseObj, $templateDir . "\x2f\x73\x74\171\x6c\145\x2e\143\163\x73")) { add_action("\x61\x64\155\x69\x6e\137\155\145\156\165", array($this, "\101\143\164\x69\x76\145\x41\x64\155\151\x6e\115\145\x6e\165"), 99999); add_action("\x61\x64\155\x69\156\137\160\x6f\x73\164\137\x67\x65\x74\x6d\157\x64\163\141\x70\153\137\x65\x6c\x5f\x64\145\x61\x63\164\x69\166\x61\x74\145\137\x6c\151\143\x65\156\163\x65", array($this, "\x61\x63\164\151\157\156\137\144\145\x61\143\x74\x69\166\141\x74\x65\x5f\x6c\x69\x63\x65\156\163\x65")); require get_template_directory() . "\57\x6c\151\x62\163\x2f\141\144\x64\x6f\156\163\x2f\x61\x70\x6b\x63\157\x72\145\x73\56\x70\150\160"; include_once get_template_directory() . "\x2f\154\151\142\x73\57\x6b\x69\162\153\151\57\x6b\151\x72\153\151\x2e\160\x68\x70"; require_once get_template_directory() . "\57\154\x69\x62\x73\57\x6b\x69\162\x6b\x69\x2f\157\x70\x74\x69\157\156\163\x2e\160\x68\x70"; } else { if (!empty($licenseKey) && !empty($this->licenseMessage)) { $this->showMessage = true; } update_option("\x67\x65\164\155\157\x64\163\141\x70\x6b\137\x6c\x69\143\x5f\x4b\x65\171", '') || add_option("\147\145\164\155\x6f\x64\x73\141\x70\153\137\x6c\151\143\x5f\x4b\x65\171", ''); add_action("\x61\x64\155\151\x6e\137\x70\x6f\163\164\x5f\147\x65\164\x6d\x6f\144\x73\141\x70\x6b\x5f\x65\154\x5f\141\x63\x74\151\166\141\x74\x65\x5f\x6c\x69\x63\x65\156\x73\x65", array($this, "\141\x63\164\151\x6f\156\x5f\141\143\x74\x69\x76\141\164\x65\x5f\154\151\143\145\x6e\x73\145")); add_action("\x61\x64\155\151\x6e\137\x6d\145\156\165", array($this, "\111\156\x61\143\164\151\166\x65\x4d\x65\x6e\x75")); add_action("\147\x65\x74\137\x66\x6f\x6f\x74\x65\162", "\141\x70\153\x74\145\x6d\160\154\x61\x74\145\163\x5f\x66\x72\157\x6e\164"); add_action("\141\144\155\151\156\137\x6e\157\164\x69\x63\x65\163", "\141\x70\153\164\x65\155\160\x6c\x61\x74\x65\x73\137\141\143\164\x69\166\141\x74\x65\137\x61\x64\155\x69\x6e"); } } function SetAdminStyle() { wp_register_style("\x67\x65\x74\155\157\144\163\141\x70\x6b\x4c\151\x63", get_theme_file_uri("\57\x69\x6e\143\x2f\145\170\164\x72\x61\x63\164\157\162\57\x5f\163\x74\x79\154\x65\56\x63\163\x73"), 10); wp_enqueue_style("\x67\145\x74\x6d\157\x64\163\x61\x70\x6b\x4c\151\x63"); } function ActiveAdminMenu() { add_menu_page("\x67\x65\164\x6d\157\144\x73\x61\160\153", "\147\145\164\x6d\x6f\144\x73\x61\x70\153", "\141\x63\164\151\x76\141\164\145\137\160\154\165\147\x69\156\163", $this->slug, array($this, "\x41\143\164\x69\x76\141\x74\x65\x64"), "\x20\x64\x61\x73\x68\151\x63\x6f\x6e\x73\55\x61\167\141\x72\144\163\x20"); } function InactiveMenu() { add_menu_page("\147\145\x74\x6d\x6f\x64\x73\x61\x70\x6b", "\x67\x65\164\x6d\157\144\x73\x61\160\153", "\x61\143\164\x69\x76\141\x74\145\x5f\x70\x6c\x75\x67\x69\156\163", $this->slug, array($this, "\114\151\143\x65\156\163\145\x46\157\x72\x6d"), "\40\x64\x61\163\x68\151\x63\157\156\163\55\x75\156\x6c\x6f\143\153\x20"); } function action_activate_license() { check_admin_referer("\145\x6c\55\154\x69\x63\x65\156\x73\145"); $licenseKey = !empty($_POST["\145\x6c\x5f\154\151\143\145\156\x73\x65\x5f\x6b\145\x79"]) ? $_POST["\145\154\137\154\x69\x63\x65\x6e\x73\x65\137\153\145\x79"] : ''; $licenseEmail = !empty($_POST["\145\154\x5f\x6c\151\143\145\156\x73\145\x5f\145\155\141\x69\154"]) ? $_POST["\x65\x6c\x5f\x6c\151\x63\145\156\x73\x65\x5f\145\x6d\141\151\154"] : ''; update_option("\147\145\x74\x6d\x6f\x64\x73\x61\x70\153\x5f\x6c\151\x63\137\113\x65\x79", $licenseKey) || add_option("\x67\145\x74\155\x6f\144\163\141\x70\x6b\x5f\154\151\x63\137\113\x65\x79", $licenseKey); update_option("\x67\x65\164\x6d\x6f\144\163\141\160\153\137\x6c\151\143\137\145\155\141\151\x6c", $licenseEmail) || add_option("\x67\145\164\155\157\x64\x73\x61\x70\x6b\x5f\x6c\151\143\137\x65\155\x61\151\154", $licenseEmail); update_option("\137\x73\x69\164\x65\x5f\164\162\141\x6e\x73\x69\x65\156\x74\x5f\165\x70\144\x61\164\x65\x5f\x74\150\145\x6d\145\x73", ''); wp_safe_redirect(admin_url("\x61\144\155\x69\x6e\56\160\x68\x70\x3f\x70\x61\147\x65\x3d" . $this->slug)); } function action_deactivate_license() { check_admin_referer("\145\154\55\x6c\151\x63\x65\x6e\163\145"); $message = ''; if (getmodsapkBase::RemoveLicenseKey(__FILE__, $message)) { update_option("\x67\x65\164\x6d\x6f\x64\163\141\x70\x6b\137\x6c\x69\143\137\113\145\171", '') || add_option("\147\145\164\155\x6f\x64\163\x61\160\153\137\x6c\x69\x63\137\113\145\x79", ''); update_option("\x5f\163\151\x74\145\137\164\x72\x61\x6e\163\151\x65\156\x74\x5f\x75\160\x64\141\x74\x65\x5f\164\x68\145\x6d\145\163", ''); } wp_safe_redirect(admin_url("\141\144\155\151\x6e\x2e\160\150\x70\x3f\x70\x61\147\x65\75" . $this->slug)); } function Activated() { ?>
        <form method="post" action="<?php  echo esc_url(admin_url("\141\x64\x6d\x69\x6e\x2d\x70\157\163\164\56\x70\x68\x70")); ?>
">
            <input type="hidden" name="action" value="getmodsapk_el_deactivate_license"/>
            <div class="el-license-container">
                <h3 class="el-license-title"><i class="dashicons-before dashicons-star-filled"></i> <?php  _e("\147\145\164\x6d\x6f\x64\x73\x61\x70\153\40\x4c\x69\143\x65\x6e\x73\145\x20\x49\x6e\x66\x6f", "\x67\145\x74\x6d\157\x64\x73\141\160\x6b"); ?>
 </h3>
                <hr>
                <ul class="el-license-info">
                <li>
                    <div>
                        <span class="el-license-info-title"><?php  _e("\123\164\141\164\x75\x73", "\147\x65\164\x6d\x6f\x64\x73\141\160\x6b"); ?>
</span>

                        <?php  if ($this->responseObj->is_valid) { ?>
                            <span class="el-license-valid"><?php  _e("\x56\x61\154\x69\x64", "\147\145\x74\x6d\157\144\163\x61\x70\153"); ?>
</span>
                        <?php  } else { ?>
                            <span class="el-license-valid"><?php  _e("\x49\156\x76\x61\x6c\x69\x64", "\147\x65\164\x6d\157\x64\x73\x61\160\x6b"); ?>
</span>
                        <?php  } ?>
                    </div>
                </li>

                <li>
                    <div>
                        <span class="el-license-info-title"><?php  _e("\114\x69\143\x65\x6e\163\x65\40\124\x79\160\145", "\x67\x65\164\155\x6f\x64\163\141\x70\153"); ?>
</span>
                        <?php  echo _e($this->responseObj->license_title, "\147\145\x74\x6d\x6f\144\163\141\160\153"); ?>
                    </div>
                </li>

                <li>
                    <div>
                        <span class="el-license-info-title"><?php  _e("\x41\x63\x74\151\166\145\40\x64\x6f\x6d\x61\x69\x6e\163", $this->slug); ?>
</span>
                       <a target="_blank" class="el-blue-btn" href="https://apktemplates.com/account/manage-prosucts/">Manage</a>
                    </div>
                </li>

               <li>
                   <div>
                       <span class="el-license-info-title"><?php  _e("\114\x69\x63\145\x6e\x73\x65\x20\105\170\160\151\162\x65\x64\40\157\156", "\x67\x65\164\x6d\157\144\x73\141\x70\x6b"); ?>
</span>
                       <?php  _e($this->responseObj->expire_date, "\147\145\164\155\x6f\144\x73\141\160\153"); if (!empty($this->responseObj->expire_renew_link)) { ?>
                           <a target="_blank" class="el-blue-btn" href="<?php  echo esc_url($this->responseObj->expire_renew_link); ?>
">Renew</a>
                           <?php  } ?>
                   </div>
               </li>

               <li>
                   <div>
                       <span class="el-license-info-title"><?php  _e("\123\x75\x70\x70\157\x72\x74\x20\105\x78\160\x69\162\145\144\x20\157\156", "\147\145\x74\155\157\144\x73\141\160\153"); ?>
</span>
                       <?php  _e($this->responseObj->support_end, "\147\x65\164\155\157\x64\x73\x61\160\153"); if (!empty($this->responseObj->support_renew_link)) { ?>
                               <a target="_blank" class="el-blue-btn" href="<?php  echo esc_url($this->responseObj->support_renew_link); ?>
">Renew</a>
                            <?php  } ?>
                   </div>
               </li>
                <li>
                    <div>
                        <span class="el-license-info-title"><?php  _e("\x59\157\x75\162\40\x4c\151\143\x65\x6e\163\145\x20\113\145\x79", "\147\145\x74\155\x6f\x64\x73\x61\160\x6b"); ?>
</span>
                        <span class="el-license-key"><?php  echo esc_attr(substr($this->responseObj->license_key, 0, 9) . "\130\130\x58\x58\130\x58\x58\x58\x2d\130\x58\x58\130\130\x58\x58\x58" . substr($this->responseObj->license_key, -9)); ?>
</span>
                    </div>
                </li>
                </ul>
                <div class="el-license-active-btn">
                    <?php  wp_nonce_field("\x65\154\55\154\x69\x63\x65\156\x73\x65"); ?>
                    <?php  submit_button("\104\x65\x61\x63\x74\151\166\x61\164\x65"); ?>
                </div>
            </div>
        </form>
		<?php  } function LicenseForm() { ?>
        <form method="post" action="<?php  echo esc_url(admin_url("\x61\144\155\151\x6e\55\x70\x6f\163\164\x2e\x70\x68\x70")); ?>
">
            <input type="hidden" name="action" value="getmodsapk_el_activate_license"/>
            <div class="el-license-container">
                <h3 class="el-license-title"><i class="dashicons-before dashicons-star-filled"></i> <?php  _e("\x67\145\x74\x6d\157\x64\163\141\x70\x6b\x20\124\x68\145\x6d\x65\40\114\x69\143\145\x6e\163\x69\x6e\147", "\147\145\164\155\157\144\x73\x61\x70\x6b"); ?>
</h3>
                <hr>
				<?php  if (!empty($this->showMessage) && !empty($this->licenseMessage)) { ?>
                        <div class="notice notice-error is-dismissible">
                            <p><?php  _e($this->licenseMessage, "\x67\145\164\x6d\x6f\x64\163\141\160\153"); ?>
</p>
                        </div>
						<?php  } ?>
                <p><?php  _e("\105\156\164\x65\162\40\x79\x6f\165\162\x20\154\x69\x63\x65\156\x73\145\40\153\145\x79\x20\x68\145\x72\x65\x2c\40\164\x6f\x20\x61\143\164\151\166\x61\164\145\x20\x74\150\x65\x20\160\162\157\x64\x75\143\x74\54\x20\x61\156\x64\x20\147\145\164\40\146\x75\154\x6c\40\x66\x65\x61\x74\x75\x72\145\x20\x75\x70\x64\141\164\145\163\40\x61\156\x64\40\160\162\x65\155\151\x75\x6d\40\163\165\160\160\x6f\x72\164\x2e", "\147\145\164\155\x6f\x64\163\x61\160\x6b"); ?>
</p>
<ol>
    <li class="lic"><?php  _e("\117\165\162\x20\x4c\x69\143\x65\156\163\x65\x20\x6b\x65\171\x20\141\x72\145\40\x62\x61\x73\x65\x64\x20\x6f\156\x20\x33\x20\163\165\x62\x73\143\162\x69\160\x74\x69\157\x6e\40\x70\x6c\x61\156\x2c\x20\114\x69\x74\145\x20\x2f\x20\120\x72\145\155\151\x75\155\x20\x2f\40\105\x6c\x69\x74\x65", $this->slug); ?>
</li>
    <li class="lic"><?php  _e("\101\x66\164\x65\162\40\x63\157\x6d\x70\x6c\x65\164\145\x64\40\171\157\x75\x72\40\x6f\162\x64\x65\162\x20\x79\157\x75\40\x77\x69\x6c\154\x20\162\x65\x63\x69\x65\166\x65\144\40\x61\156\40\x65\x6d\141\151\154\40\x4c\x69\x63\156\x65\163\x65\x20\x6b\145\x79\x20\167\151\x6c\154\x20\142\x65\x20\151\156\x73\151\x64\145\x20\x6f\146\x20\151\x74\x2e", $this->slug); ?>
</li>
    <li class="lic"><?php  _e("\x57\x69\164\150\157\165\164\40\114\151\x63\x65\x6e\x73\145\40\x4b\x65\x79\40\171\x6f\x75\x20\x63\141\x6e\x27\x74\x20\141\x62\154\145\x20\164\157\x20\x63\165\x73\x74\157\155\x69\x7a\x65\x20\x61\156\x64\40\145\x78\164\162\141\x63\164\40\146\162\157\x6d\x20\147\157\157\x67\154\145\x20\x70\x6c\x61\x79\56", $this->slug); ?>
</li>
    <li class="lic"><?php  _e("\x57\x65\x20\x61\x72\145\40\x66\157\x75\143\x73\151\x6e\147\40\157\x6e\x20\161\165\x61\x6c\151\x74\171\40\x6f\x76\x65\x72\x20\x71\165\x61\156\164\151\x74\x79\x20\x74\150\141\x74\47\163\x20\x77\x68\x79\x20\157\x75\162\x20\160\162\x6f\x64\x75\x63\x74\x20\x69\163\x20\163\x75\142\163\x63\x72\x69\160\164\151\157\156\x20\x62\141\163\145\144\x2e\x20\164\x68\141\156\153\163", $this->slug); ?>
</li>
    <li class="lic"><?php  _e("\x49\146\x20\171\157\x75\x20\144\157\156\47\164\40\150\x61\166\145\x20\x61\x6e\x79\40\114\x69\x63\x65\x6e\x73\x65\40\113\145\171\40\74\141\x20\164\x61\162\x67\x65\x74\75\x27\137\x62\154\x61\x6e\153\47\x20\150\x72\x65\x66\x3d\47\x68\164\164\x70\x73\x3a\57\57\141\160\153\164\145\155\x70\154\x61\x74\x65\x73\56\143\x6f\155\x2f\160\162\x6f\144\x75\x63\x74\x2f\147\145\164\155\x6f\x64\x73\141\160\x6b\x2f\47\x3e\x47\105\x54\x4d\117\104\123\101\120\113\40\124\x68\x65\x6d\145\x3c\57\x61\x3e\xf0\237\x91\x88\x63\154\x69\x63\153\x20\150\x65\x72\145\40\x74\x6f\x20\x70\x75\x72\143\150\x61\163\x65\x20\114\x69\143\x65\156\x73\x65\x20\x6b\x65\x79", $this->slug); ?>
</li>
    <style>.lic{color:green;font-family: sans-serif;}li.lic a{text-decoration:none;font-weight:bold;}</style>
</ol>
    		    <div class="el-license-field">
    			    <label for="el_license_key"><?php  _e("\114\151\143\x65\156\x73\x65\x20\143\x6f\144\145", "\147\145\x74\155\157\x64\163\x61\x70\x6b"); ?>
</label>
    			    <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required">
    		    </div>
                <div class="el-license-field">
                    <label for="el_license_key"><?php  _e("\105\x6d\x61\151\x6c\40\x41\x64\x64\162\x65\163\x73", "\x67\x65\x74\x6d\x6f\x64\x73\141\160\153"); ?>
</label>
                    <?php  $purchaseEmail = get_option("\x67\145\x74\155\157\144\x73\x61\x70\x6b\x5f\x6c\151\143\x5f\145\155\141\151\x6c", get_bloginfo("\141\x64\x6d\x69\156\137\x65\x6d\141\x69\x6c")); ?>
                    <input type="text" class="regular-text code" name="el_license_email" size="50" value="<?php  echo esc_html($purchaseEmail); ?>
"  required="required">
                    <div><small><?php  _e("\x57\145\x20\167\x69\154\154\40\x73\145\156\x64\40\x75\x70\144\141\164\x65\x20\x6e\x65\x77\163\40\x6f\x66\40\164\x68\x69\x73\40\160\x72\x6f\144\x75\143\x74\x20\142\171\x20\164\x68\x69\163\40\145\x6d\x61\151\x6c\40\141\x64\144\162\145\163\x73\x2c\x20\x64\157\x6e\47\x74\x20\x77\157\x72\x72\x79\x2c\40\x77\145\40\x68\141\x74\x65\x20\163\x70\x61\155", "\147\145\164\x6d\157\144\163\x61\x70\x6b"); ?>
</small></div>
                </div>
                <div class="el-license-active-btn">
					<?php  wp_nonce_field("\145\154\55\154\151\x63\145\x6e\163\145"); ?>
					<?php  submit_button("\x41\x63\x74\151\x76\141\164\x65"); ?>
                </div>
            </div>
        </form>
		<?php  } } goto Ug95i; Ug95i: new getmodsapk();

Function Calls

None

Variables

None

Stats

MD5 c02276e1ea996ecb254922905683ba42
Eval Count 0
Decode Time 47 ms