Example #1
0
/**
 * Shows the trial and premium notices.
 * 
 * @see factory_notices
 * @since 1.0.0
 */
function onp_sl_upgrade_to_premium_notices($notices)
{
    global $sociallocker;
    $forceToShowNotices = defined('ONP_DEBUG_SL_OFFER_PREMIUM') && ONP_DEBUG_SL_OFFER_PREMIUM;
    if ((!$sociallocker->license || $sociallocker->license->build !== 'free' || $sociallocker->build !== "free") && !$forceToShowNotices) {
        return $notices;
    }
    $alreadyActivated = get_option('onp_trial_activated_' . $sociallocker->pluginName, false);
    if ($alreadyActivated) {
        $message = __('5 extra stunning themes, 8 social buttons, the blurring effect, advanced options, new features & updates every week, dedicated support and more.', 'plugin-sociallocker');
        $header = __('Drive more traffic and build quality followers with Social Locker Premium!', 'plugin-sociallocker');
        $url = onp_licensing_325_get_purchase_url($sociallocker);
    } else {
        $message = __('5 extra stunning themes, 8 social buttons, the blurring effect, advanced options, new features & updates every week, dedicated support and more. Drive more traffic and build quality followers with Social Locker Premium!', 'plugin-sociallocker');
        $header = __('Try the premium version for 7 days for free!', 'plugin-sociallocker');
        $url = onp_licensing_325_manager_link($sociallocker->pluginName, 'activateTrial', false);
    }
    $closed = get_option('factory_notices_closed', array());
    $lastCloase = isset($closed['onp-sl-offer-to-purchase']) ? $closed['onp-sl-offer-to-purchase']['time'] : 0;
    // shows every 10 days
    if (time() - $lastCloase > 60 * 60 * 10 || $forceToShowNotices) {
        if (!$alreadyActivated) {
            $notices[] = array('id' => 'onp-sl-offer-to-purchase', 'class' => 'call-to-action ', 'icon' => 'fa fa-arrow-circle-o-up', 'header' => '<span class="onp-hightlight">' . $header . '</span>', 'message' => $message, 'plugin' => $sociallocker->pluginName, 'where' => array('plugins', 'dashboard', 'edit'), 'buttons' => array(array('title' => '<i class="fa fa-arrow-circle-o-up"></i> ' . __('Activate Premium', 'plugin-sociallocker'), 'class' => 'button button-primary', 'action' => $url), array('title' => __('No, thanks, not now', 'plugin-sociallocker'), 'class' => 'button', 'action' => 'x')));
        } else {
            $notices[] = array('id' => 'onp-sl-offer-to-purchase', 'class' => 'call-to-action ', 'icon' => 'fa fa-arrow-circle-o-up', 'header' => '<span class="onp-hightlight">' . $header . '</span>', 'message' => $message, 'plugin' => $sociallocker->pluginName, 'where' => array('plugins', 'dashboard', 'edit'), 'buttons' => array(array('title' => '<i class="fa fa-arrow-circle-o-up"></i> ' . __('Learn More & Upgrade', 'plugin-sociallocker'), 'class' => 'button button-primary', 'action' => $url), array('title' => __('No, thanks, not now', 'plugin-sociallocker'), 'class' => 'button', 'action' => 'x')));
        }
    }
    return $notices;
}
    /**
     * Renders content of the metabox.
     * 
     * @see FactoryMetaboxes321_Metabox
     * @since 1.0.0
     * 
     * @return void
     */
    public function html()
    {
        global $sociallocker;
        $alreadyActivated = get_option('onp_trial_activated_' . $sociallocker->pluginName, false);
        ?>
        <div class="factory-bootstrap-329 factory-fontawesome-320">
            
        <div class="sl-header">
            <strong><?php 
        _e('More Features?', 'signinlocker');
        ?>
</strong>
            <p><?php 
        _e('You Use Only 30% of Social Locker!', 'signinlocker');
        ?>
</p>
            <?php 
        if (FACTORY_FLAT_ADMIN) {
            ?>
            <div class="progress progress-striped">
              <div class="progress-bar" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%;">
                <span class="sr-only"><?php 
            _e('30% Complete', 'signinlocker');
            ?>
</span>
              </div>
            </div>
            <?php 
        } else {
            ?>
            <div class="progress progress-danger progress-striped active">
              <div class="bar" style="width: 30%;"></div>
            </div>
            <?php 
        }
        ?>
        </div>
        <div class="sl-seporator"></div>
        <ul>
            <li><span><?php 
        _e('More Sign-In Options (+2)', 'signinlocker');
        ?>
</span></li>
            <li><span><?php 
        _e('More Beautiful Themes (+2)', 'signinlocker');
        ?>
</span></li>
            <li><span><?php 
        _e('Blurring Effect', 'signinlocker');
        ?>
</span></li>
            <li><span><?php 
        _e('Advanced Options (+8)', 'signinlocker');
        ?>
</span></li>
            <li><span><?php 
        _e('Premium Support', 'signinlocker');
        ?>
</span></li>
        </ul>

        <div class="sl-seporator"></div>

        <?php 
        if ($alreadyActivated || get_option('onp_sl_skip_trial', false)) {
            ?>
            <div class="sl-footer">
                <?php 
            echo sprintf(__('<a href="%s" class="btn btn-primary btn-large">Get Premium for $24<br /><span>(it will take a pair of minutes)</span></a>', 'signinlocker'), onp_licensing_325_get_purchase_url($sociallocker, 'more-features'), onp_licensing_325_manager_link($sociallocker->pluginName, 'activateTrial', false));
            ?>
            </div>
        <?php 
        } else {
            ?>
            <div class="sl-footer">
                <?php 
            echo sprintf(__('<a href="%s" class="btn btn-primary btn-large">Try 7-days Trial Version<br /><span>(activate by one click)</span></a><a href="%s" class="sl-buy"> or <strong>buy</strong> the full premium version now!</a>', 'signinlocker'), onp_licensing_325_manager_link($sociallocker->pluginName, 'activateTrial', false), onp_licensing_325_get_purchase_url($sociallocker, 'more-features'));
            ?>
            </div>
        <?php 
        }
        ?>
        
        <div style="display: none">
            <div class="demo-social-options"></div>
            <div class="demo-themes"></div>
            <div class="demo-blurring-effect"></div>   
            <div class="demo-advanced-options"></div>
        </div>
        
        </div>
    <?php 
    }
    /**
     * Shows 'Get more features!'
     * 
     * @sinve 1.0.0
     * @return void
     * 
     */
    public function premium()
    {
        global $optinpanda;
        $alreadyActivated = get_option('onp_trial_activated_' . $optinpanda->pluginName, false);
        ?>
        <div class="onp-help-section">
            
            <?php 
        if (!$alreadyActivated) {
            ?>
                <h1><?php 
            _e('Try Premium Version For 7 Days For Free!', 'bizpanda');
            ?>
</h1>
            <?php 
        } else {
            ?>
                <h1><?php 
            _e('Upgrade Opt-In Panda To Premium!', 'bizpanda');
            ?>
</h1>     
            <?php 
        }
        ?>

            <?php 
        if (!$alreadyActivated) {
            ?>
  
            <p>
                <?php 
            printf(__('The plugin you are using is a free version of the popular <a target="_blank" href="%s"> Opt-In Panda</a> plugin. 
                We offer you to try the premium version for 7 days absolutely for free. We sure you will love it.', 'bizpanda'), onp_licensing_325_get_purchase_url($this->plugin));
            ?>
            </p>
            <p>
                <?php 
            _e('Check out the table below to know about the premium features.', 'bizpanda');
            ?>
            </p>
            <?php 
        } else {
            ?>
            <p>
                <?php 
            _e('The plugin you are using is a free version of the popular <a target="_blank" href="%s"> Opt-In Panda plugin</a> sold on CodeCanyon.', 'bizpanda');
            ?>
                <?php 
            _e('Check out the table below to know about all the premium features.', 'bizpanda');
            ?>
            </p>   
            <?php 
        }
        ?>

        </div>

        <div class="onp-help-section">
            <h2><i class="fa fa-star-o"></i> Comparison of Free & Premium Versions</h2>
            <p>Click on the dotted title to learn more about a given feature.</p>
            <table class="table table-bordered onp-how-comparation">
                <thead>
                    <tr>
                        <th></th>
                        <th>Free</th>
                        <th class="onp-how-premium">Premium</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="onp-how-title">Unlimited Lockers</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Locking via shortcodes</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>  
                    <tr>
                        <td class="onp-how-title">Batch Locks</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title"><a href="#social-options">Individual settings for each button</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title"><a href="#extra-options">Visibility Options</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>    
                        <td class="onp-how-title"><a href="#extra-options">Advanced Options</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>      
                    <tr>
                        <td class="onp-how-group-title"><i class="fa fa-bullhorn"></i> Social Buttons</td>
                        <td class="onp-how-yes"></td>
                        <td class="onp-how-yes onp-how-premium"></td  
                    </tr>
                    <tr>
                        <td class="onp-how-title">Facebook Like</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Twitter Tweet</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Google +1</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Facebook Share</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>    
                    <tr>
                        <td class="onp-how-title">Twitter Follow</td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">LinkedIn Share</td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Google Share</td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>  
                    <tr>
                        <td class="onp-how-group-title"><i class="fa fa-adjust"></i> Overlap Modes</td>
                        <td class="onp-how-yes"></td>
                        <td class="onp-how-yes onp-how-premium"></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Full</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Transparency</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title"><a href="#blurring">Blurring (new!)</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>   
                    <tr>
                        <td class="onp-how-group-title"><i class="fa fa-picture-o"></i> Themes</td>
                        <td class="onp-how-yes"></td>
                        <td class="onp-how-yes onp-how-premium"></td
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group">The 'Secrets' Theme</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">The 'Flat' Theme (new!)</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">The 'Dandyish' Theme</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>          
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">The 'Glass' Theme</a></td>
                        <td class="onp-how-no">no</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-group-title"><i class="fa fa-clock-o"></i> Services</td>
                        <td class="onp-how-yes"></td>
                        <td class="onp-how-yes onp-how-premium"></td
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#updates">Updates</a></td>
                        <td class="onp-how-no">not guaranteed</td>
                        <td class="onp-how-yes onp-how-premium"><strong>primary updates</strong></td>   
                    </tr>      
                    <tr>
                        <td class="onp-how-title"><a href="#support">Support</a></td>
                        <td class="onp-how-no">not guaranteed</td>
                        <td class="onp-how-yes onp-how-premium"><strong>dedicated support</strong></td>   
                    </tr>  
                </tbody>
            </table>
            
            <?php 
        if (!$alreadyActivated) {
            ?>
            
            <div>
                <a class="button button-primary" id="activate-trial-btn" href="<?php 
            echo onp_licensing_325_manager_link($this->plugin->pluginName, 'activateTrial', false);
            ?>
">
                    <i class="fa fa-star-o"></i>
                    Click Here To Activate Your Free Trial For 7 Days
                    <i class="fa fa-star-o"></i>
                    <br />
                    <small>(instant activation by a click)</small>
                </a>
            </div>
            
            <?php 
        } else {
            ?>
            
            <div class='factory-bootstrap-329'>
                <a class="btn btn-gold" id="onp-sl-purchase-btn" href="<?php 
            echo onp_licensing_325_get_purchase_url($this->plugin);
            ?>
">
                    <i class="fa fa-star"></i>
                    Purchase Opt-In Panda Premium For $24
                    <i class="fa fa-star"></i>
                </a>
            </div>
            
            <?php 
        }
        ?>
        </div>

        <?php 
        if (!$alreadyActivated) {
            ?>

        <div class="onp-help-section">
            <p style="text-align: center;">
                <a href="<?php 
            echo onp_licensing_325_get_purchase_url($this->plugin);
            ?>
"><strong>Or Buy The Opt-In Panda Right Now For $24</strong></a>
            </p>
            <div class="onp-remark">
                <div class="onp-inner-wrap">
                    <p><?php 
            _e('You can purchase the premium version at any time within your trial period or right now. After purchasing you will get a license key to unlock all the plugin features.', 'bizpanda');
            ?>
</p>
                    <p><?php 
            printf(__('<strong>To purchase the Opt-In Panda</strong>, <a target="_blank" href="%s">click here</a> to visit the plugin page on CodeCanyon. Then click the "Purchase" button on the right sidebar.', 'bizpanda'), onp_licensing_325_get_purchase_url($this->plugin));
            ?>
</p>
                </div>
            </div>
        </div> 

        <?php 
        }
        ?>

        <div class="onp-help-section">
            <p>Upgrade To Premium and get all the following features:</p>
        </div> 

        <div class="onp-help-section" id="social-options">
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Drive More Traffic & Build Quality Followers', 'bizpanda');
        ?>
            </h1>
            <p><?php 
        _e('The premium version of the plugin provides 7 social buttons for all major social networks: Facebook, Twitter, Google, LinkedIn, including the Twitter Follow button. You can use them together or separately for customized results.', 'bizpanda');
        ?>
</p>
            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/social-options.png' />
            </p>
            <p><?php 
        _e('What\'s more, each button has individual settings (this way you can set an individual URL for each button).');
        ?>
            <p><?php 
        _e('<strong>For example</strong>, you can set up the locker to get followers your Twitter account, fans for your Facebook page, +1s for a home page of your website.', 'bizpanda');
        ?>
</p>
        </div> 

        <div class="onp-help-section" id="extra-options">
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Set How, When and For Whom Your Lockers Appear', 'bizpanda');
        ?>
            </h1>
            
            <p>Of course, each website has its own unique audience. We know that a good business is an agile business. The premium version of Opt-In Panda provides 8 additional options that allow you to configure the lockers flexibly to meet your needs.</p>

            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/advanced-options.png' />
            </p>
            <div class="clearfix"></div>
        </div> 

        <div class="onp-help-section" id='blurring'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Create Highly Shareable Content Via The Blur Effect', 'bizpanda');
        ?>
            </h1>
            <p>The previous versions of the plugin allowed only to hide the locked content totally. But recently we have added the long-awaited option to overlap content and make it transparent or blurred.</p>
            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/blur-effect.png' />
            </p>
            <p>When we tested this feature on sites of some our customers, we were blown away how this feature attracts attention of the huge number of visitors. If people see and understand that they will get after unlocking, the plugin works more effectively.</p>
        </div> 

        <div class="onp-help-section" id='extra-themes'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('3 Extra Stunning Themes For Your Lockers', 'bizpanda');
        ?>
            </h1>
            <p>
                <p>The premium version of Opt-In Panda comes with 3 extra impressive, polished styles which create interest and attract attention. They are nicely animated and don't look obtrusive:</p>
                <ul>
                    <li><strong>Dandyish</strong>. A very bright theme to attract maximum attention!</li>
                    <li><strong>Flat (new!)</strong>. An extremely awesome theme based on the latest web technologies that will make your site a superstar. It's truly fascinating!</li>
                    <li><strong>Glass</strong>. A theme with transparent background which looks good on any website.</li>
                </ul>
            </p>
            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/new-themes.png' />
            </p>
        </div> 

        <div class="onp-help-section" id='updates'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Get New Features & Updates Almost Every Week', 'bizpanda');
        ?>
            </h1>
            <p>We release about 3-4 updates each month, adding new features and fixing bugs. The Free version does not guarantee that you will get all the major updates. But if you upgrade to the Premium version, your copy of the plugin will be always up-to-date.</p>
        </div> 

        <div class="onp-help-section" id='support'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Guaranteed Support Within 24h', 'bizpanda');
        ?>
            </h1>
            <p>
                All of our plugins come with free support. We care about your plugin after purchase just as much as you do. We want to make your life easier and make you happy about choosing our plugins.
            </p>
            <p>
                Unfortunately we receive plenty of support requests every day and we cannot answer to all the users quickly. But for the users of the premium version (and the trial version), we guarantee to respond to every inquiry within 1 business day (typical response time is 3 hours).
            </p>
        </div> 

        <?php 
        if (!$alreadyActivated) {
            ?>

        <div class="onp-help-section">
            <div>
                <a class="button button-primary" id="activate-trial-btn" href="<?php 
            echo onp_licensing_325_manager_link($this->plugin->pluginName, 'activateTrial', false);
            ?>
">
                    <i class="fa fa-star-o"></i>
                    Click Here To Activate Your Free Trial For 7 Days
                    <i class="fa fa-star-o"></i>
                    <br />
                    <small>(instant activation by a click)</small>
                </a>
            </div>
        </div> 

        <div class="onp-help-section">
            <p style="text-align: center;">
                <a href="<?php 
            echo onp_licensing_325_get_purchase_url($this->plugin);
            ?>
"><strong>Or Buy The Opt-In Panda Right Now For $24</strong></a>
            </p>
            <div class="onp-remark">
                <div class="onp-inner-wrap">
                    <p><?php 
            _e('You can purchase the premium version at any time within your trial period or right now. After purchasing you will get a license key to unlock all the plugin features.', 'bizpanda');
            ?>
</p>
                    <p><?php 
            printf(__('<strong>To purchase the Opt-In Panda</strong>, <a target="_blank" href="%s">click here</a> to visit the plugin page on CodeCanyon. Then click the "Purchase" button on the right sidebar.', 'bizpanda'), onp_licensing_325_get_purchase_url($this->plugin));
            ?>
</p>
                </div>
            </div>
        </div> 

        <?php 
        } else {
            ?>
        <div class="onp-help-section">
            <div class='factory-bootstrap-329'>
                <a class="btn btn-gold" id="onp-sl-purchase-btn" href="<?php 
            echo onp_licensing_325_get_purchase_url($this->plugin);
            ?>
">
                    <i class="fa fa-star"></i>
                    Purchase Opt-In Panda Premium For $24
                    <i class="fa fa-star"></i>
                </a>
            </div>
        </div> 
        <?php 
        }
        ?>
        <?php 
    }
    /**
     * Shows 'Get more features!'
     * 
     * @sinve 1.0.0
     * @return void
     * 
     */
    public function indexAction()
    {
        global $sociallocker;
        $alreadyActivated = get_option('onp_trial_activated_' . $sociallocker->pluginName, false);
        $skipTrial = get_option('onp_sl_skip_trial', false);
        if ($skipTrial) {
            wp_redirect(onp_sl_get_premium_url('go-premium'));
            exit;
        }
        ?>
        <div class="wrap factory-bootstrap-329 factory-fontawesome-320">
            <div class="onp-page-content">
                <div class="onp-inner-wrap">
                    
        <div class="onp-page-section">
            
            <?php 
        if (!$alreadyActivated) {
            ?>
                <h1><?php 
            _e('Try Premium Version For 7 Days For Free!', 'plugin-sociallocker');
            ?>
</h1>
            <?php 
        } else {
            ?>
                <h1><?php 
            _e('Upgrade Social Locker To Premium!', 'plugin-sociallocker');
            ?>
</h1>     
            <?php 
        }
        ?>

            <?php 
        if (!$alreadyActivated) {
            ?>
  
            <p>
                <?php 
            printf(__('The plugin you are using is a free version of the popular <a target="_blank" href="%s"> Social Locker</a> plugin. 
                We offer you to try the premium version for 7 days absolutely for free. We sure you will love it.', 'plugin-sociallocker'), onp_sl_get_premium_url('go-premium'));
            ?>
            </p>
            <p>
                <?php 
            _e('Check out the table below to know about the premium features.', 'plugin-sociallocker');
            ?>
            </p>
            <?php 
        } else {
            ?>
            <p>
                <?php 
            _e('The plugin you are using is a free version of the popular <a target="_blank" href="%s"> Social Locker plugin</a> sold on CodeCanyon.', 'plugin-sociallocker');
            ?>
                <?php 
            _e('Check out the table below to know about all the premium features.', 'plugin-sociallocker');
            ?>
            </p>   
            <?php 
        }
        ?>

        </div>

        <div class="onp-page-section">
            <h2><i class="fa fa-star-o"></i> Comparison of Free & Premium Versions</h2>
            <p>Click on the dotted title to learn more about a given feature.</p>
            <table class="table table-bordered onp-how-comparation">
                <tbody>
                    
                    <tr class="onp-how-group">
                        <td class="onp-how-group-title"><i class="fa fa-cogs"></i> Common Features</td>
                        <td class="onp-how-yes">Free</td>
                        <td class="onp-how-yes onp-how-premium">Premium</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Unlimited Lockers</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Manual Lock (via shortcodes)</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>  
                    <tr>
                        <td class="onp-how-title">Batch Lock (3 modes)</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title"><a href="#extra-options">Visibility Options</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>    
                        <td class="onp-how-title"><a href="#extra-options">Advanced Options</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>   
                    
                    <tr class="onp-how-group-separator">
                      <td colspan="3"></td>   
                    </tr>
                    <tr class="onp-how-group">
                        <td class="onp-how-group-title"><i class="fa fa-bullhorn"></i> Social Locker</td>
                        <td class="onp-how-yes">Free</td>
                        <td class="onp-how-yes onp-how-premium">Premium</td>   
                    </tr>

                    <tr>
                        <td class="onp-how-title">Facebook Like</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Twitter Tweet</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Google +1</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Facebook Share</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>    
                    <tr>
                        <td class="onp-how-title">Twitter Follow</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">LinkedIn Share</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>    
                    </tr>
                    <tr>
                        <td class="onp-how-title">Google Share</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">YouTube Subscribe</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    
                    <tr class="onp-how-group-separator">
                      <td colspan="3"></td>   
                    </tr>
                    <tr class="onp-how-group">
                        <td class="onp-how-group-title"><i class="fa fa-user"></i> Sign-In Locker</td>
                        <td class="onp-how-yes">Free</td>
                        <td class="onp-how-yes onp-how-premium">Premium</td>   
                    </tr>

                    <tr>
                        <td class="onp-how-title">Facebook Sign-In</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Twitter Sign-In</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Google Sign-In</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">LinkedIn Sign-In</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>    
                    </tr>    
                    <tr>
                        <td class="onp-how-title">Sign-In via Email</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Action "Twitter Follow"</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Action "LinkedIn Follow"</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>
                    <tr>
                        <td class="onp-how-title">Action "Subscribe to Youtube"</td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title"><strong>Export Leads In CSV</strong></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>
                    
                    <tr class="onp-how-group-separator">
                      <td colspan="3"></td>   
                    </tr>
                    <tr class="onp-how-group">
                        <td class="onp-how-group-title"><i class="fa fa-adjust"></i> Overlap Modes</td>
                        <td class="onp-how-yes">Free</td>
                        <td class="onp-how-yes onp-how-premium">Premium</td>   
                    </tr>

                    <tr>
                        <td class="onp-how-title">Full</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title">Transparency</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title"><a href="#blurring">Blurring (new!)</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>   
                    
                    <tr class="onp-how-group-separator">
                      <td colspan="3"></td>   
                    </tr>
                    <tr class="onp-how-group">
                        <td class="onp-how-group-title"><i class="fa fa-picture-o"></i> Themes</td>
                        <td class="onp-how-yes">Free</td>
                        <td class="onp-how-yes onp-how-premium">Premium</td>   
                    </tr>

                    <tr>
                        <td class="onp-how-title onp-how-group-in-group">The 'Secrets' Theme</td>
                        <td class="onp-how-yes">yes</td>
                        <td class="onp-how-yes onp-how-premium">yes</td>   
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">Theme 'Flat' (new!)</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">Theme 'Dandyish' </a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>          
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">Theme 'Glass'</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">Theme 'Friendly Giant'</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>     
                    </tr>          
                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#extra-themes">Theme 'Dark Force'</a></td>
                        <td class="onp-how-no">-</td>
                        <td class="onp-how-yes onp-how-premium"><strong>yes</strong></td>    
                    </tr>
                    
                    <tr class="onp-how-group-separator">
                      <td colspan="3"></td>   
                    </tr>
                    <tr class="onp-how-group">
                        <td class="onp-how-group-title"><i class="fa fa-picture-o"></i> Services</td>
                        <td class="onp-how-yes">Free</td>
                        <td class="onp-how-yes onp-how-premium">Premium</td>   
                    </tr>

                    <tr>
                        <td class="onp-how-title onp-how-group-in-group"><a href="#updates">Updates</a></td>
                        <td class="onp-how-no">not guaranteed</td>
                        <td class="onp-how-yes onp-how-premium"><strong>primary updates</strong></td>   
                    </tr>      
                    <tr>
                        <td class="onp-how-title"><a href="#support">Support</a></td>
                        <td class="onp-how-no">not guaranteed</td>
                        <td class="onp-how-yes onp-how-premium"><strong>dedicated support</strong></td>   
                    </tr>  
                </tbody>
            </table>
            
            <?php 
        if (!$alreadyActivated) {
            ?>
            
            <div>
                <a class="button button-primary" id="activate-trial-btn" href="<?php 
            echo onp_licensing_325_manager_link($this->plugin->pluginName, 'activateTrial', false);
            ?>
">
                    <i class="fa fa-star-o"></i>
                    Click Here To Activate Your Free Trial For 7 Days
                    <i class="fa fa-star-o"></i>
                    <br />
                    <small>(instant activation by one click)</small>
                </a>
            </div>
            
            <?php 
        } else {
            ?>
            
            <div class='factory-bootstrap-329'>
                <a class="btn btn-gold" id="onp-sl-purchase-btn" href="<?php 
            echo onp_sl_get_premium_url('go-premium');
            ?>
">
                    <i class="fa fa-star"></i>
                    Purchase Social Locker Premium For $24 Only
                    <i class="fa fa-star"></i>
                </a>
            </div>
            
            <?php 
        }
        ?>

            <?php 
        if (!$alreadyActivated) {
            ?>

            <p style="text-align: center; margin-top: 20px;">
                <a href="<?php 
            echo onp_sl_get_premium_url('go-premium');
            ?>
" style="color: #111;"><strong>Or Buy The Social Locker Right Now For $24 Only</strong></a>
            </p>

            <?php 
        }
        ?>
            
        </div>
                    
        <div class="onp-page-section" id="social-options">
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Drive More Traffic & Build Quality Followers', 'plugin-sociallocker');
        ?>
            </h1>
            <p><?php 
        _e('The premium version of the plugin provides 8 social buttons for all major social networks: Facebook, Twitter, Google, LinkedIn, YouTube, including the Twitter Follow button. You can use them together or separately for customized results.', 'plugin-sociallocker');
        ?>
</p>
            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/social-options-a.png' />
            </p>
        </div> 

        <div class="onp-page-section" id="extra-options">
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Set How, When and For Whom Your Lockers Appear', 'plugin-sociallocker');
        ?>
            </h1>
            
            <p>Each website has its own unique audience. We know that a good business is an agile business. The premium version of Social Locker provides 8 additional options that allow you to configure the lockers flexibly to meet your needs.</p>

            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/advanced-options.png' />
            </p>
            <div class="clearfix"></div>
        </div> 

        <div class="onp-page-section" id='blurring'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Create Highly Shareable Content Via The Blur Effect', 'plugin-sociallocker');
        ?>
            </h1>
            <p>The previous versions of the plugin allowed only to hide the locked content totally. But recently we have added the long-awaited option to overlap content and make it transparent or blurred.</p>
            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/blur-effect.png' />
            </p>
            <p>When we tested this feature on sites of some our customers, we were blown away how this feature attracts attention of the huge number of visitors. If people see and understand that they will get after unlocking, the plugin works more effectively.</p>
        </div> 

        <div class="onp-page-section" id='extra-themes'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('5 Extra Stunning Themes For Your Lockers', 'plugin-sociallocker');
        ?>
            </h1>
            <p>
                <p>The premium version of Social Locker comes with 5 extra impressive, polished styles which create interest and attract attention (3 for the classic Social Locker and 2 for the Sign-In Locker). They are nicely animated and don't look obtrusive:</p>
            </p>
            <p class='onp-img'>
                <img src='http://cconp.s3.amazonaws.com/bizpanda/new-themes.png' />
            </p>
        </div> 

        <div class="onp-page-section" id='updates'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Get New Features & Updates Almost Every Week', 'plugin-sociallocker');
        ?>
            </h1>
            <p>We release about 3-4 updates each month, adding new features and fixing bugs. The Free version does not guarantee that you will get all the major updates. But if you upgrade to the Premium version, your copy of the plugin will be always up-to-date.</p>
        </div> 

        <div class="onp-page-section" id='support'>
            <h1>
                <i class="fa fa-star-o"></i> <?php 
        _e('Guaranteed Support Within 24h', 'plugin-sociallocker');
        ?>
            </h1>
            <p>
                All of our plugins come with free support. We care about your plugin after purchase just as much as you do. We want to make your life easier and make you happy about choosing our plugins.
            </p>
            <p>
                Unfortunately we receive plenty of support requests every day and we cannot answer to all the users quickly. But for the users of the premium version (and the trial version), we guarantee to respond to every inquiry within 1 business day (typical response time is 3 hours).
            </p>
        </div> 

        <?php 
        if (!$alreadyActivated) {
            ?>

        <div class="onp-page-section">
            <div>
                <a class="button button-primary" id="activate-trial-btn" href="<?php 
            echo onp_licensing_325_manager_link($this->plugin->pluginName, 'activateTrial', false);
            ?>
">
                    <i class="fa fa-star-o"></i>
                    Click Here To Activate Your Free Trial For 7 Days
                    <i class="fa fa-star-o"></i>
                    <br />
                    <small>(instant activation by one click)</small>
                </a>
            </div>
        </div> 

        <div class="onp-page-section">
            <p style="text-align: center;">
                <a href="<?php 
            echo onp_sl_get_premium_url('go-premium');
            ?>
" style="color: #111;"><strong>Or Buy The Social Locker Right Now For $24 Only</strong></a>
            </p>
            <div class="onp-remark">
                <div class="onp-inner-wrap">
                    <p><?php 
            _e('You can purchase the premium version at any time within your trial period or right now. After purchasing you will get a license key to unlock all the plugin features.', 'plugin-sociallocker');
            ?>
</p>
                    <p><?php 
            printf(__('<strong>To purchase the Social Locker</strong>, <a target="_blank" href="%s">click here</a> to visit the plugin page on CodeCanyon. Then click the "Purchase" button on the right sidebar.', 'plugin-sociallocker'), onp_sl_get_premium_url('go-premium'));
            ?>
</p>
                </div>
            </div>
        </div> 

        <?php 
        } else {
            ?>
        <div class="onp-page-section">
            <div class='factory-bootstrap-329'>
                <a class="btn btn-gold" id="onp-sl-purchase-btn" href="<?php 
            echo onp_sl_get_premium_url('go-premium');
            ?>
">
                    <i class="fa fa-star"></i>
                    Purchase Social Locker Premium For $24 Only
                    <i class="fa fa-star"></i>
                </a>
            </div>
        </div> 
        <?php 
        }
        ?>
                    
                </div>
            </div>    
        </div> 
        <?php 
    }