banner.php
5 years ago
litespeed_warning.php
5 years ago
migration_error.php
5 years ago
restore_notwritable_error.php
5 years ago
timeout_error.php
5 years ago
timeout_free_error.php
5 years ago
banner.php
81 lines
| 1 | <?php |
| 2 | $banner = backupGuardGetBanner(SG_ENV_WORDPRESS, "plugin", SG_PRODUCT_IDENTIFIER); |
| 3 | |
| 4 | |
| 5 | $buttonText = "$19.95* | BUY NOW"; |
| 6 | $banerText = "You're running the Free version of the plugin.<br>If you're interested in website migration, backup to cloud, scheduled backups, mail notifications, then don't wait to buy BackupGuard Pro <b>NOW!</b>"; |
| 7 | |
| 8 | $pluginCapabilities = backupGuardGetCapabilities(); |
| 9 | if ($pluginCapabilities != BACKUP_GUARD_CAPABILITIES_FREE) { |
| 10 | $buttonText = "UPGRADE NOW"; |
| 11 | $banerText = "Your’e running the ".backupGuardGetProductName()." version of the plugin. If you’re interested in more options included in other versions, then don’t wait to upgrade your license by paying only difference between plans."; |
| 12 | } |
| 13 | ?> |
| 14 | |
| 15 | <div id="sg-banner" > |
| 16 | <div id="sg-left-column"> |
| 17 | <ul> |
| 18 | <li class="hvr-bounce-in"> |
| 19 | <a target="_blank" href="https://backup-guard.com/products/backup-wordpress/doc"> |
| 20 | <img class="sg-img-class" src="<?php echo SG_PUBLIC_URL; ?>img/user-manual.png"> User manual |
| 21 | </a> |
| 22 | </li> |
| 23 | <li class="hvr-bounce-in"> |
| 24 | <a target="_blank" href="https://backup-guard.com/wordpress/wp-login.php"> |
| 25 | <img class="sg-img-class" src="<?php echo SG_PUBLIC_URL; ?>img/full-demo.png"> Full demo</a> |
| 26 | </li> |
| 27 | <li class="hvr-bounce-in"> |
| 28 | <a target="_blank" href="https://backup-guard.com/products/backup-wordpress/faq"> |
| 29 | <img class="sg-img-class" src="<?php echo SG_PUBLIC_URL;?>img/FAQ.png"> F.A.Q.</a> |
| 30 | </li> |
| 31 | <li class="hvr-bounce-in"> |
| 32 | <a target="_blank" href="https://backup-guard.com/products/backup-wordpress/support"> |
| 33 | <img class="sg-img-class" src="<?php echo SG_PUBLIC_URL; ?>img/contact-us.png"> Contact us |
| 34 | </a> |
| 35 | </li> |
| 36 | </ul> |
| 37 | </div> |
| 38 | |
| 39 | <div id="sg-center-column"> |
| 40 | <?php if (empty($banner)): ?> |
| 41 | <p> |
| 42 | <?php echo $banerText; ?> |
| 43 | </p> |
| 44 | <p> |
| 45 | <a id="sg-buy-now" target="_blank" href="https://backup-guard.com/products/backup-wordpress#pricing"> |
| 46 | <img class="sg-img-class" src="<?php echo SG_PUBLIC_URL; ?>img/cart.png"> |
| 47 | <span id="sg-buy-now-text"><?php echo $buttonText; ?></span> |
| 48 | </a><br> |
| 49 | <?php if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_FREE): ?> |
| 50 | <span id="sg-banner-clarification">*Silver package | Lifetime license</span> |
| 51 | <?php endif; ?> |
| 52 | </p> |
| 53 | <?php else: ?> |
| 54 | <?php echo $banner; ?> |
| 55 | <?php endif; ?> |
| 56 | </div> |
| 57 | |
| 58 | <div id="sg-right-column"> |
| 59 | <div class="sg-close-free-banner"></div> |
| 60 | <ul> |
| 61 | <li class="sg-logo-li"> |
| 62 | <a id="sg-logo" target="_blank" href="<?php echo SG_BACKUP_SITE_URL; ?>"></a> |
| 63 | </li> |
| 64 | <li id="sg-social-buttons"> |
| 65 | <a class="sg-banner-social-button" id="sg-facebook" target="_blank" href="https://www.facebook.com/backupguard"></a> |
| 66 | <a class="sg-banner-social-button" id="sg-twitter" target="_blank" href="https://twitter.com/backupguard"></a> |
| 67 | <a class="sg-banner-social-button" id="sg-youtube" target="_blank" href="https://www.youtube.com/channel/UCZhNYAcWl0VKHevWeakOvwQ"></a> |
| 68 | </li> |
| 69 | <br> |
| 70 | <li id="sg-rate-us"> |
| 71 | <div id="sg-banner-test"> |
| 72 | <label class="sg-banner-rate-us-in">Rate us</label> |
| 73 | <a class="sg-banner-rate-us-in" target="_blank" href="<?php echo SG_BACKUP_GUARD_REVIEW_URL; ?>"> |
| 74 | <div id="rateYo"></div> |
| 75 | <a> |
| 76 | </div> |
| 77 | </li> |
| 78 | </ul> |
| 79 | </div> |
| 80 | </div> |
| 81 |