C:\xampp\htdocs\landing\wp-content\plugins\wpforms-lite\templates\education\geolocation.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
/**
 * View for geolocation product education.
 *
 * @since 1.6.5
 *
 * @var string $nonce_hide   Nonce for hide education.
 * @var bool   $install      Is plugin installed?
 * @var string $plugin_file  Plugin file.
 * @var string $plugin_url   URL for download plugin.
 * @var bool   $plugin_allow Allow using plugin.
 */

?>

<!-- Entry Location metabox -->
<div id="wpforms-entry-geolocation" class="postbox">

    <h2 class="hndle">
        <span><?php esc_html_e'Location''wpforms-lite' ); ?></span>
        <a
            class="wpforms-education-hide"
            data-plugin="wpforms-geolocation/wpforms-geolocation.php"
            data-nonce="<?php echo esc_attr$nonce_hide ); ?>">
            <span class="dashicons dashicons-no"></span>
        </a>
    </h2>


    <div class="inside">
        <div class="wpforms-geolocation-preview">
            <div class="wpforms-geolocation-map"></div>
            <ul>
                <li>
                    <span class="wpforms-geolocation-meta"><?php esc_html_e'Location''wpforms-lite' ); ?></span>
                    <span class="wpforms-geolocation-value"><span class="wpforms-flag wpforms-flag-us"></span>United States</span>
                </li>
                <li>
                    <span class="wpforms-geolocation-meta"><?php esc_html_e'Zipcode''wpforms-lite' ); ?></span>
                    <span class="wpforms-geolocation-value"><?php esc_html_e'Sign up to access''wpforms-lite' ); ?></span>
                </li>
                <li>
                    <span class="wpforms-geolocation-meta"><?php esc_html_e'Country''wpforms-lite' ); ?></span>
                    <span class="wpforms-geolocation-value">US</span>
                </li>
                <li>
                    <span class="wpforms-geolocation-meta"><?php esc_html_e'Lat/Long''wpforms-lite' ); ?></span>
                    <span class="wpforms-geolocation-value"><?php esc_html_e'Sign up to access''wpforms-lite' ); ?><?php esc_html_e'Sign up to access''wpforms-lite' ); ?></span>
                </li>
            </ul>
            <div class="overlay"></div>
            <div class="wpforms-geolocation-form">
                <h2>
                    <?php
                    esc_html_e
'Geolocation''wpforms-lite' );
                    if ( ! 
$plugin_allow ) {
                        
?>
                        <span class="badge"></span>
                    <?php ?>
                </h2>
                <p><?php esc_html_e'Geolocation allows you to quickly see where your visitors are located!''wpforms-lite' ); ?></p>
                <?php if ( $plugin_allow ) { ?>
                    <p><?php esc_html_e'You can install the Geolocation addon with just a few clicks!''wpforms-lite' ); ?></p>
                    <a
                        class="<?php echo esc_attr$install 'status-inactive' 'status-download' ); ?> wpforms-btn wpforms-btn-lg wpforms-btn-blue toggle-plugin"
                        data-type="addon"
                        data-plugin="<?php echo $install esc_attr$plugin_file ) : esc_url$plugin_url ); ?>"
                        href="#">
                        <?php
                        $install
                            
esc_html_e'Activate''wpforms-lite' )
                            : 
esc_html_e'Install & Activate''wpforms-lite' );
                        
?>
                    </a>
                <?php } else { ?>
                    <p><?php esc_html_e'Please upgrade to the PRO plan to unlock Geolocation and more awesome features.''wpforms-lite' ); ?></p>
                    <a
                        href="<?php echo esc_urlwpforms_admin_upgrade_link'geolocation' ) ); ?>"
                        class="wpforms-btn wpforms-btn-lg wpforms-btn-orange"><?php esc_html_e'Upgrade to WPForms Pro''wpforms-lite' ); ?></a>
                <?php ?>
            </div>
        </div>
    </div>

</div>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586