| @@ -1,19 +1,136 @@ | ||
| 1 | -<?php defined('ABSPATH') or die("Protected By Webtotem Wordpress Security!");?> | |
| 2 | -<div class="ww-page"> | |
| 3 | - <div class="ww-page__head"> | |
| 4 | - <div class="ww-header"> | |
| 5 | - <div class="ww-header__logo"><img src="<?=wtsec_getImagePath("logo.b37d81ec.svg")?>" alt="logo"> | |
| 6 | - <div class="ww-header__version">Version <?=WTSEC_PLUGIN_INFORMATION_VERSION?></div> | |
| 1 | +<div> | |
| 2 | + <?php | |
| 3 | + $color_scheme = WTSEC_LIBRARY_App::_get('color_scheme'); | |
| 4 | + $time_zone = WTSEC_LIBRARY_App::_get('time_zone'); | |
| 5 | + $class = ($color_scheme == 'dark') ? 'wtotem_theme—dark' : 'wtotem_theme—light'; | |
| 6 | + ?> | |
| 7 | + | |
| 8 | + <script > | |
| 9 | + document.querySelector("body").classList.add("<?= $class ?>"); | |
| 10 | + var $userTimeZone = <?= $time_zone ?: 'false' ?>; | |
| 11 | + </script> | |
| 12 | + <div class="wtotem_body"> | |
| 13 | + <div class="wtotem_header wt_card"> | |
| 14 | + <div class="wtotem_container"> | |
| 15 | + <div class="wtotem_header__body"> | |
| 16 | + <div class="wtotem_version"> | |
| 17 | + <div class="wtotem_logo"></div> | |
| 18 | + <span class="wtotem_version__count">2.0</span> | |
| 19 | + </div> | |
| 20 | + <div class="wtotem_burger"> | |
| 21 | + <span class="wtotem_burger__middle-line"></span> | |
| 22 | + </div> | |
| 23 | + <nav class="wtotem_nav"> | |
| 24 | + <ul class="wtotem_nav__menu"> | |
| 25 | + <div class="wtotem_control__checkbox" id="color_scheme_toggle"> | |
| 26 | + <input type="checkbox" class="wtotem_control__input" id="control-checkbox" <?= ($color_scheme == 'dark') ? 'checked' : '' ?> /> | |
| 27 | + <label for="control-checkbox" class="wtotem_control__label"> | |
| 28 | + <span class="wtotem_control__switched-circle"></span> | |
| 29 | + </label> | |
| 30 | + </div> | |
| 31 | + | |
| 32 | + <li class="wtotem_nav__item"> | |
| 33 | + <a href="<?=wtsec_getUrl("dashboard")?>" class="wtotem_nav__link <?= wtsec_isActivePage("dashboard") ?>"> | |
| 34 | + <?= wtsec_locale("dashboard") ?> | |
| 35 | + </a> | |
| 36 | + </li> | |
| 37 | + <li class="wtotem_nav__item"> | |
| 38 | + <a href="<?=wtsec_getUrl("waf")?>" class="wtotem_nav__link <?= wtsec_isActivePage("waf") ?>"> | |
| 39 | + <?= wtsec_locale("firewall") ?> | |
| 40 | + </a> | |
| 41 | + </li> | |
| 42 | + <li class="wtotem_nav__item"> | |
| 43 | + <a href="<?=wtsec_getUrl("vc")?>" class="wtotem_nav__link <?= wtsec_isActivePage("vc") ?>"> | |
| 44 | + <?= wtsec_locale("remote_antivirus") ?> | |
| 45 | + </a> | |
| 46 | + </li> | |
| 47 | + <li class="wtotem_nav__item"> | |
| 48 | + <a href="<?=wtsec_getUrl("options")?>" class="wtotem_nav__link <?= wtsec_isActivePage("options") ?>"> | |
| 49 | + <?= wtsec_locale("settings") ?> | |
| 50 | + </a> | |
| 51 | + </li> | |
| 52 | + <li class="wtotem_nav__item"> | |
| 53 | + <a href="<?=wtsec_getUrl("reports")?>" class="wtotem_nav__link <?= wtsec_isActivePage("reports") ?>"> | |
| 54 | + <?= wtsec_locale("reports") ?> | |
| 55 | + </a> | |
| 56 | + </li> | |
| 57 | + <li class="wtotem_nav__item"> | |
| 58 | + <a href="<?=wtsec_getUrl("information")?>" class="wtotem_nav__link <?= wtsec_isActivePage("information") ?>"> | |
| 59 | + <?= wtsec_locale("information") ?> | |
| 60 | + </a> | |
| 61 | + </li> | |
| 62 | + </ul> | |
| 63 | + </nav> | |
| 64 | + </div> | |
| 7 | 65 | </div> |
| 8 | -<!-- <a class="ww-header__button" href="#">Get a service</a>--> | |
| 9 | 66 | </div> |
| 67 | + <div class="wtotem_content" style="padding:1px"> | |
| 68 | + <div class="wtotem_container"> | |
| 69 | + <div id="wtotem_notifications"></div> | |
| 70 | + <?php WTSEC_LIBRARY_Session::notifications() ?> | |
| 71 | + </div> | |
| 72 | + </div> | |
| 73 | + <div class="wtotem_content_body"> | |
| 74 | + <?php include $body;?> | |
| 75 | + </div> | |
| 76 | + | |
| 77 | + <div class="wtotem_footer"> | |
| 78 | + <div class="wtotem_container"> | |
| 79 | + <div class="wtotem_footer__first"> | |
| 80 | + <div class="wtotem_footer__caption"> | |
| 81 | + <div class="wtotem_footer__logo"></div> | |
| 82 | + <p class="wtotem_footer__text"> | |
| 83 | + <?= wtsec_locale("your_best_friend") ?> | |
| 84 | + </p> | |
| 85 | + </div> | |
| 86 | + </div> | |
| 87 | + | |
| 88 | + <div class="wtotem_footer__line"></div> | |
| 89 | + | |
| 90 | + <div class="wtotem_footer__bottom"> | |
| 91 | + <div class="wtotem_footer__left"> | |
| 92 | + <p class="wtotem_footer__text"> | |
| 93 | + © 2017-2020 <?= wtsec_locale("all_right_reserved") ?> | |
| 94 | + </p> | |
| 95 | + <a target="_blank" href="https://apps.apple.com/us/app/webtotem/id1289069562" class="wtotem_footer__store"> | |
| 96 | + <div class="wtotem_footer__app-store"></div> | |
| 97 | + </a> | |
| 98 | + <a target="_blank" href="https://play.google.com/store/apps/details?id=com.indepo.webtotem" class="wtotem_footer__store"> | |
| 99 | + <div class="wtotem_footer__play-store"></div> | |
| 100 | + </a> | |
| 101 | + </div> | |
| 102 | + <div class="wtotem_footer__soc"> | |
| 103 | + <a target="_blank" href="https://www.facebook.com/webtotem" class="wtotem_footer__soc-link"> | |
| 104 | + <img src="<?=wtsec_getImagePath("fc.svg")?>" alt="Facebook icon" /> | |
| 105 | + </a> | |
| 106 | + <a target="_blank" href="https://www.linkedin.com/company/wtotem/" class="wtotem_footer__soc-link"> | |
| 107 | + <img src="<?=wtsec_getImagePath("lk.svg")?>" alt="Linkedin icon" /> | |
| 108 | + </a> | |
| 109 | + <a target="_blank" href="https://www.youtube.com/channel/UCD-n_NIXTOmw4Nm-LcmW1XA/featured" class="wtotem_footer__soc-link"> | |
| 110 | + <img src="<?=wtsec_getImagePath("youtube.svg")?>" alt="Youtube icon" /> | |
| 111 | + </a> | |
| 112 | + </div> | |
| 113 | + <div class="wtotem_footer__payment"> | |
| 114 | + <img class="wtotem_footer__card wtotem_footer__card_visa" src="<?=wtsec_getImagePath("visa.svg")?>" alt="Visa"/> | |
| 115 | + <img class="wtotem_footer__card wtotem_footer__card_master" src="<?=wtsec_getImagePath("master-card.svg")?>" alt="Master wt_card"/> | |
| 116 | + <img class="wtotem_footer__card wtotem_footer__card_payPal" src="<?=wtsec_getImagePath("paypal.svg")?>" alt="PayPal"/> | |
| 117 | + </div> | |
| 118 | + </div> | |
| 119 | + </div> | |
| 120 | + </div> | |
| 10 | 121 | </div> |
| 11 | 122 | |
| 12 | - <div class="ww-content ww-content--top ww-grid"> | |
| 13 | - <div class="ww-grid__6"> | |
| 14 | - <?php WTSEC_LIBRARY_Session::notifications() ?> | |
| 15 | - <?php include $body;?> | |
| 16 | - </div> | |
| 17 | - <?php include $faq;?> | |
| 123 | + <div class="wt-loader-fixed wt-loader d-none" style="height: auto;"> | |
| 124 | + <img src="<?=wtsec_getImagePath("spinner.svg")?>" alt="spinner"> | |
| 125 | + <strong class="wt-text wt-text--uppercase wt-text--blue">Loading</strong> | |
| 18 | 126 | </div> |
| 19 | 127 | </div> |
| 128 | +<style> | |
| 129 | + /* wp default styles override*/ | |
| 130 | + | |
| 131 | + #wpcontent{ | |
| 132 | + padding:0!important; | |
| 133 | + } | |
| 134 | + | |
| 135 | + /* wp default styles override*/ | |
| 136 | +</style> | |