PluginProbe
WebTotem Security / 2.3.1
WebTotem Security v2.3.1
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.1, at includes/layout.php

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