Sindbad~EG File Manager

Current Path : /home/copmadinaarea/public_html/wp-content__80fcb17/plugins/mozable/
Upload File :
Current File : /home/copmadinaarea/public_html/wp-content__80fcb17/plugins/mozable/activation.php

<div class="card" style="max-width: 94%;">

    <h2 class="title">Activation process</h2>
    <p>Hi,<br/>
        thank your for your purchasing. This first step check if you have a correct license for this plugin.
        <br/><br/>
        <strong>Attention!</strong><br/>
        You are activating moZable plugin on this domain:<br/>
        <strong><?php echo $_SERVER['HTTP_HOST']; ?></strong>
        <br/>
        <br/>
        If it's not correct, do not activate the plugin, so install it on your production domain and activate it.
        You will not able to change activation domain in future. If you want to test the app in your develop mode, please use the demo version.
    </p>

    <form id="activation_form" action="#">

        <input name="purchase_code" type="text" placeholder="Insert here purchase code" style="width:50%"/>
        <a target="_blank" href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-">How
            to find my purchase code?</a>
        <br/>
        <input name="domain" type="hidden" value="<?php echo $_SERVER['HTTP_HOST']; ?>"/>
        <input type="submit" name="submit" id="submit" class="button button-primary" value="Check purchase"/>

    </form>


</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

<script>
    $('#activation_form').on("submit", function (e) {
        e.preventDefault();

        var form = $('#activation_form');
        $.ajax({
            type: "POST", //rest Type
            dataType: 'json',
            url: "<?php echo plugins_url('ajax.php?type=activation_process', __FILE__); ?>",
            data: form.serialize(),
            success: function (msg) {
                if (msg.status == 0) {
                    alert('Oh no :( Your purchase code is invalid.');
                } else {
                    alert('Thank you!');
                    window.location.reload();
                }
            }
        });
    });
</script>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists