<?php
	global $options;

    if (isset($_GET['page']) && $_GET['page']=='shortcodelic_register') {
?>

        <section id="pix_content_loaded">
            <h3><?php _e('Options','shortcodelic'); ?>: <small><?php _e('Register for automatic updating','shortcodelic'); ?></small></h3>

            <form method="post" class="dynamic_form cf" action="<?php echo admin_url("admin.php?page=shortcodelic_admin"); ?>">
            
                <div class="pix_columns cf">
                    <div class="pix_column_divider alignleft"></div><!-- .pix_column_divider -->
                    <div class="pix_column alignleft">

                        <label for="shortcodelic_user_name"><?php _e( 'Your CodeCanyon user name', 'shortcodelic' ); ?> <small>(<a href="http://www.pixedelic.com/envato-assets/pixgridder/username.jpg" class="pix-iframe"><?php _e('what\'s that','shortcodelic'); ?></a>)</small>:</label>
                        <input type="text" value="<?php echo stripslashes(esc_html(get_option('shortcodelic_user_name'))); ?>" name="shortcodelic_user_name" id="shortcodelic_user_name">
                        <br>
                        <br>
                        <br>

                        <div id="check_license_message" class="hidden"></div>

                    </div><!-- .pix_column.first -->
                    <div class="pix_column alignright">


                        <label for="shortcodelic_license_key"><?php _e( 'Your Item Purchase Code', 'shortcodelic' ); ?> <small>(<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-can-I-find-my-Purchase-Code-" class="pix-iframe"><?php _e('where to find it','shortcodelic'); ?></a>)</small>:</label>
                        <input type="text" value="<?php echo stripslashes(esc_html(get_option('shortcodelic_license_key'))); ?>" name="shortcodelic_license_key" id="shortcodelic_license_key">
                        <br>
                        <br>
                        <br>

                    </div><!-- .pix_column.second -->

                </div><!-- .pix_columns -->

                <div class="clear"></div>

                <input type="hidden" name="register_details" value="register_details" />
                <input type="hidden" name="action" value="shortocodelic_data_save" />
                <input type="hidden" name="shortcodelic_security" value="<?php echo wp_create_nonce('shortcodelic_data'); ?>" />
                <button type="submit" class="pix-save-options pix_button fake_button alignright"><?php _e('Save options','shortcodelic'); ?><i class="scicon-awesome-ok"></i></button>
                <button type="submit" class="pix-save-options pix_button fake_button2 alignright"><?php _e('Save options','shortcodelic'); ?><i class="scicon-awesome-ok"></i></button>
                <button type="submit" class="pix-save-options pix_button"><?php _e('Save options','shortcodelic'); ?><i class="scicon-awesome-ok"></i></button>
                <div id="gradient-save-button"></div>

            </form><!-- .dynamic_form -->

        </section><!-- #pix_content_loaded -->
<?php 
	}