<?php 
if ( ! defined( 'ABSPATH' ) ) exit; 
if(is_plugin_active( 'gravityforms/gravityforms.php' ) && !is_plugin_active( 'jquery-validation-for-gravity-form/jquery-validation-for-gravity-form.php' ) ) { ?>
    <div class="dcwidget">
        <div class="dcwidgetheader">
            jQuery Validation For Gravity Forms
        </div>
        <div class="dcwidgetbody">
            Instant javascript validation for your Gravity Forms.<br>
            
            <a href="https://demos.dnesscarkey.com/jquery-validation-for-gravity-forms/" target="_blank">
                <img src="<?php plugins_url('../assets/img/jquery-validation-gravity.gif',  __FILE__) ?>" style="max-width: 100%" />
            </a>
            <strong>Key Features</strong>
            <ul class="uaf_list">
                <li>Additional Validation rules</li>
                <li>Custom Code Validation</li>
                <li>Custom Regex Validation</li>
                <li>4 validation error theme</li>
                <li>& more</li>
             </ul>
            <p align="right">
                <a href="https://demos.dnesscarkey.com/jquery-validation-for-gravity-forms/" target="_blank" class="button-primary">Demo</a>
                <a href="https://dineshkarki.com.np/jquery-validation-for-gravity-forms" target="_blank" class="button-primary">Learn More</a>
            </p>
        </div>
    </div>
<?php } else { ?>
    <div class="dcwidget">
        <div class="dcwidgetheader">
                WP Armour - Anti Spam Plugin
        </div>
        <div class="dcwidgetbody">
            Block spam bots effectively in your forms, comments without using Captcha verification.
           <br/><br/> 
           <strong>It Works With.</strong>
           <ul class="uaf_list">
                <li>WP Comments, Registraton</li>
                <li>Contact Form 7, Ninja Forms</li>
                <li>Gravity Forms, WPForms</li>
                <li>BBPress Forums, Caldera Forms</li>
                <li>Formidable Forms</li>
            </ul>

            Just install and activate to block spams. No additional settings required.

            <p align="right"><br/><a href="<?php echo admin_url('plugin-install.php?s=WP+Armour&tab=search'); ?>" target="_blank" class="button-primary">Install Now ( Free )</a><p>
        </div>
    </div>
<?php } ?>
<!--
<div class="dcwidget">
    <div class="dcwidgetheader">
            Plugins You May Like
    </div>
    <div class="dcwidgetbody">
       <ul class="uaf_list">
            <li><a href="http://wordpress.org/plugins/any-mobile-theme-switcher/" target="_blank">Any Mobile Theme Switcher</a></li>
            <li><a href="http://wordpress.org/plugins/jquery-validation-for-contact-form-7/" target="_blank">Jquery Validation For Contact Form 7</a></li>
            <li><a href="http://wordpress.org/plugins/add-tags-and-category-to-page/" target="_blank">Add Tags And Category To Page</a></li>
            <li><a href="http://wordpress.org/plugins/block-specific-plugin-updates/" target="_blank">Block Specific Plugin Updates</a></li>
            <li><a href="http://wordpress.org/plugins/featured-image-in-rss-feed/" target="_blank">Featured Image In RSS Feed</a></li>            
        </ul>
    </div>

</div>
-->

<div class="dcwidget">
    <div class="dcwidgetheader">
            Having Issue ?
    </div>
    <div class="dcwidgetbody">
       <ul class="uaf_list">
            <li><a href="https://www.messenger.com/t/77553779916/" target="_blank">Facebook Page Chat</a></li>
            <li><a href="https://wordpress.org/support/plugin/use-any-font/" target="_blank">Wordpress.org Support Forum</a></li>
            <li><a href="https://dineshkarki.com.np/forums/forum/use-any-fonts" target="_blank">Dnesscarkey's Support Forum</a></li>
            <li><a href="https://dineshkarki.com.np/contact" target="_blank">Contact Us</a></li>
        </ul>
    </div>
</div>