PluginProbe
WebTotem Security / 2.3.31
WebTotem Security v2.3.31
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.31, at includes/layout.php

137 lines 6.7 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 $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 <?php if(wtsec_app()->get('waf_installed')): ?>
38 <li class="wtotem_nav__item">
39 <a href="<?=wtsec_getUrl("waf")?>" class="wtotem_nav__link <?= wtsec_isActivePage("waf") ?>">
40 <?= wtsec_locale("firewall") ?>
41 </a>
42 </li>
43 <?php endif;?>
44
45 <?php if(wtsec_app()->get('av_installed')): ?>
46 <li class="wtotem_nav__item">
47 <a href="<?=wtsec_getUrl("vc")?>" class="wtotem_nav__link <?= wtsec_isActivePage("vc") ?>">
48 <?= wtsec_locale("remote_antivirus") ?>
49 </a>
50 </li>
51 <?php endif;?>
52
53 <li class="wtotem_nav__item">
54 <a href="<?=wtsec_getUrl("options")?>" class="wtotem_nav__link <?= wtsec_isActivePage("options") ?>">
55 <?= wtsec_locale("settings") ?>
56 </a>
57 </li>
58 <li class="wtotem_nav__item">
59 <a href="<?=wtsec_getUrl("reports")?>" class="wtotem_nav__link <?= wtsec_isActivePage("reports") ?>">
60 <?= wtsec_locale("reports") ?>
61 </a>
62 </li>
63 <li class="wtotem_nav__item">
64 <a href="<?=wtsec_getUrl("information")?>" class="wtotem_nav__link <?= wtsec_isActivePage("information") ?>">
65 <?= wtsec_locale("information") ?>
66 </a>
67 </li>
68 </ul>
69 </nav>
70 </div>
71 </div>
72 </div>
73 <div class="wtotem_content" style="padding:1px">
74 <div class="wtotem_container">
75 <div id="wtotem_notifications"></div>
76 <?php WTSEC_LIBRARY_Session::notifications() ?>
77 </div>
78 </div>
79 <div class="wtotem_content_body">
80 <?php include $body;?>
81 </div>
82
83 <div class="wtotem_footer">
84 <div class="wtotem_container">
85 <div class="wtotem_footer__first">
86 <div class="wtotem_footer__caption">
87 <div class="wtotem_footer__logo"></div>
88 <p class="wtotem_footer__text">
89 <?= wtsec_locale("your_best_friend") ?>
90 </p>
91 </div>
92 </div>
93
94 <div class="wtotem_footer__line"></div>
95
96 <div class="wtotem_footer__bottom">
97 <div class="wtotem_footer__left">
98 <p class="wtotem_footer__text">
99 © 2017-2021 <?= wtsec_locale("all_right_reserved") ?>
100 </p>
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>
121 </div>
122
123 <div class="wt-loader-fixed wt-loader d-none" id="wtotem-big-loader" 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>
126 </div>
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>
137