PluginProbe
WebTotem Security / 2.3.8
WebTotem Security v2.3.8
3.0.1 3.0.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.1 2.2.2 2.2.3 2.2.4 All 109 releases
wt-security / includes / layout.php

layout.php in WebTotem Security 2.3.8, at includes/layout.php

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