| 1 |
<?php defined('ABSPATH') or die("Protected By WT!");?> |
| 2 |
<?php if(!empty($arguments)):?> |
| 3 |
|
| 4 |
<div class="wtotem_content"> |
| 5 |
<div class="wtotem_container"> |
| 6 |
<div class="wtotem_holder"> |
| 7 |
<div class="wtotem_holder__content"> |
| 8 |
<div class="section-header-mb"> |
| 9 |
<h2 class="title"> |
| 10 |
<?= __( 'Options', 'wtotem' ) ?> |
| 11 |
</h2> |
| 12 |
</div> |
| 13 |
<div class="wtotem_option wt_card"> |
| 14 |
<div class="wt-spinner d-none wt-option-spinner"><img src="<?= wtsec_getImagePath("spinner.svg") ?>" alt="spinner"></div> |
| 15 |
<div class="wtotem_option__desc"> |
| 16 |
<h3 class="wtotem_option__title"> |
| 17 |
<?= __( 'Availability', 'wtotem' ) ?> |
| 18 |
</h3> |
| 19 |
<p class="wtotem_option__text"> |
| 20 |
<?= __( 'Activate our real-time protection against intrusion and attacks to your site thanks to the WT.Firewall. It will establish a barrier for automated attacks and spam bots, proactively checking incoming traffic and blocking requests of unwanted nature.', 'wtotem' ) ?> |
| 21 |
</p> |
| 22 |
</div> |
| 23 |
<div class="wtotem_option__checkbox onoff"> |
| 24 |
<input |
| 25 |
type="checkbox" |
| 26 |
class="onoff__input config_toggle" |
| 27 |
id="myonoff1" |
| 28 |
value="<?= $arguments['wa']['id'] ?>" |
| 29 |
<?= ($arguments['wa']['isActive']) ? 'checked' : ''; ?> |
| 30 |
/> |
| 31 |
<label for="myonoff1" class="onoff__label"> |
| 32 |
<span class="onoff__circle"></span> |
| 33 |
</label> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
|
| 37 |
<div class="wtotem_option wt_card"> |
| 38 |
<div class="wt-spinner d-none wt-option-spinner"><img src="<?= wtsec_getImagePath("spinner.svg") ?>" alt="spinner"></div> |
| 39 |
<div class="wtotem_option__desc"> |
| 40 |
<h3 class="wtotem_option__title"> |
| 41 |
<?= __( 'Antivirus', 'wtotem' ) ?> |
| 42 |
</h3> |
| 43 |
<p class="wtotem_option__text"> |
| 44 |
<?= __( 'Scan the site for malicious code inserts that redirect visitors coming from search engines, redirect visitors from mobile browsers, using users power for mining cryptocurrency, using user traffic to download unsolicited ads, usually of a destructive nature.', 'wtotem' ) ?> |
| 45 |
</p> |
| 46 |
</div> |
| 47 |
<div class="wtotem_option__checkbox onoff"> |
| 48 |
<input |
| 49 |
type="checkbox" |
| 50 |
class="onoff__input config_toggle" |
| 51 |
id="myonoff3" |
| 52 |
value="<?= $arguments['cms']['id'] ?>" |
| 53 |
<?= ($arguments['cms']['isActive']) ? 'checked' : ''; ?> |
| 54 |
/> |
| 55 |
<label for="myonoff3" class="onoff__label"> |
| 56 |
<span class="onoff__circle"></span> |
| 57 |
</label> |
| 58 |
</div> |
| 59 |
</div> |
| 60 |
|
| 61 |
<div class="wtotem_option wt_card"> |
| 62 |
<div class="wt-spinner d-none wt-option-spinner"><img src="<?= wtsec_getImagePath("spinner.svg") ?>" alt="spinner"></div> |
| 63 |
<div class="wtotem_option__desc"> |
| 64 |
<h3 class="wtotem_option__title"> |
| 65 |
<?= __( 'Deface scanner', 'wtotem' ) ?> |
| 66 |
</h3> |
| 67 |
<p class="wtotem_option__text"> |
| 68 |
<?= __( 'Check sites for problems and signs of hacking, in which the main page is replaced with another, usually containing advertisements, threats or callers. Sites that have been defaced, as well as system errors displayed on the page, are not credible to visitors.', 'wtotem' ) ?> |
| 69 |
</p> |
| 70 |
</div> |
| 71 |
<div class="wtotem_option__checkbox onoff"> |
| 72 |
<input |
| 73 |
type="checkbox" |
| 74 |
class="onoff__input config_toggle" |
| 75 |
id="myonoff4" |
| 76 |
value="<?= $arguments['dc']['id'] ?>" |
| 77 |
<?= ($arguments['dc']['isActive']) ? 'checked' : ''; ?> |
| 78 |
/> |
| 79 |
<label for="myonoff4" class="onoff__label"> |
| 80 |
<span class="onoff__circle"></span> |
| 81 |
</label> |
| 82 |
</div> |
| 83 |
</div> |
| 84 |
|
| 85 |
<div class="wtotem_option wt_card"> |
| 86 |
<div class="wt-spinner d-none wt-option-spinner"><img src="<?= wtsec_getImagePath("spinner.svg") ?>" alt="spinner"></div> |
| 87 |
<div class="wtotem_option__desc"> |
| 88 |
<h3 class="wtotem_option__title"> |
| 89 |
<?= __( 'Port scanner', 'wtotem' ) ?> |
| 90 |
</h3> |
| 91 |
<p class="wtotem_option__text"> |
| 92 |
<?= __( 'Monitor the status of network ports on the servers of your sites. Port Scanner will promptly report on popularly vulnerable services that are launched and opened for exploitation by attackers.', 'wtotem' ) ?> |
| 93 |
</p> |
| 94 |
</div> |
| 95 |
<div class="wtotem_option__checkbox onoff"> |
| 96 |
<input |
| 97 |
type="checkbox" |
| 98 |
class="onoff__input config_toggle" |
| 99 |
id="myonoff5" |
| 100 |
value="<?= $arguments['ps']['id'] ?>" |
| 101 |
<?= ($arguments['ps']['isActive']) ? 'checked' : ''; ?> |
| 102 |
/> |
| 103 |
<label for="myonoff5" class="onoff__label"> |
| 104 |
<span class="onoff__circle"></span> |
| 105 |
</label> |
| 106 |
</div> |
| 107 |
</div> |
| 108 |
|
| 109 |
<section class="wt_card notifications-settings"> |
| 110 |
<div class="notifications-settings__header-wrapper"> |
| 111 |
<h3 class="wt-margin-bottom-15"><?= __( 'Notifications', 'wtotem' ) ?></h3> |
| 112 |
<p class="notifications-settings__text"><?= __( 'Manage data for email notifications', 'wtotem' ) ?>.</p> |
| 113 |
</div> |
| 114 |
<div style="position: relative;"> |
| 115 |
<div class="wt-spinner d-none wt-notifications-spinner"><img src="<?= wtsec_getImagePath("spinner.svg") ?>" alt="spinner"></div> |
| 116 |
<ul class="togglers-list notifications-list"> |
| 117 |
<li class="togglers-list__item"> |
| 118 |
<p class="togglers-list__name"><?= __( 'Availability/SSL', 'wtotem' ) ?></p> |
| 119 |
<div class="wtotem_option__checkbox onoff"> |
| 120 |
<input |
| 121 |
type="checkbox" |
| 122 |
class="onoff__input notifications_toggle" |
| 123 |
id="notifications-ssl" |
| 124 |
value="<?= $arguments['wa']['service'] ?>" |
| 125 |
<?= ($arguments['wa']['notifications']) ? 'checked' : ''; ?> |
| 126 |
/> |
| 127 |
<label for="notifications-ssl" class="onoff__label"> |
| 128 |
<span class="onoff__circle"></span> |
| 129 |
</label> |
| 130 |
</div> |
| 131 |
</li> |
| 132 |
<li class="togglers-list__item"> |
| 133 |
<p class="togglers-list__name"><?= __( 'Antivirus', 'wtotem' ) ?></p> |
| 134 |
<div class="wtotem_option__checkbox onoff"> |
| 135 |
<input |
| 136 |
type="checkbox" |
| 137 |
class="onoff__input notifications_toggle" |
| 138 |
id="notifications-av" |
| 139 |
value="<?= $arguments['av']['service'] ?>" |
| 140 |
<?= ($arguments['av']['notifications']) ? 'checked' : ''; ?> |
| 141 |
/> |
| 142 |
<label for="notifications-av" class="onoff__label"> |
| 143 |
<span class="onoff__circle"></span> |
| 144 |
</label> |
| 145 |
</div> |
| 146 |
</li> |
| 147 |
<li class="togglers-list__item"> |
| 148 |
<p class="togglers-list__name"><?= __( 'Deface', 'wtotem' ) ?></p> |
| 149 |
<input |
| 150 |
type="checkbox" |
| 151 |
class="onoff__input notifications_toggle" |
| 152 |
id="notifications-dc" |
| 153 |
value="<?= $arguments['dc']['service'] ?>" |
| 154 |
<?= ($arguments['dc']['notifications']) ? 'checked' : ''; ?> |
| 155 |
/> |
| 156 |
<label for="notifications-dc" class="onoff__label"> |
| 157 |
<span class="onoff__circle"></span> |
| 158 |
</label> |
| 159 |
</li> |
| 160 |
<li class="togglers-list__item"> |
| 161 |
<p class="togglers-list__name"><?= __( 'Reputation', 'wtotem' ) ?></p> |
| 162 |
<input |
| 163 |
type="checkbox" |
| 164 |
class="onoff__input notifications_toggle" |
| 165 |
id="notifications-rc" |
| 166 |
value="<?= $arguments['rc']['service'] ?>" |
| 167 |
<?= ($arguments['rc']['notifications']) ? 'checked' : ''; ?> |
| 168 |
/> |
| 169 |
<label for="notifications-rc" class="onoff__label"> |
| 170 |
<span class="onoff__circle"></span> |
| 171 |
</label> |
| 172 |
</li> |
| 173 |
<li class="togglers-list__item"> |
| 174 |
<p class="togglers-list__name"><?= __( 'Port scanner', 'wtotem' ) ?></p> |
| 175 |
<input |
| 176 |
type="checkbox" |
| 177 |
class="onoff__input notifications_toggle" |
| 178 |
id="notifications-ps" |
| 179 |
value="<?= $arguments['ps']['service'] ?>" |
| 180 |
<?= ($arguments['ps']['notifications']) ? 'checked' : ''; ?> |
| 181 |
/> |
| 182 |
<label for="notifications-ps" class="onoff__label"> |
| 183 |
<span class="onoff__circle"></span> |
| 184 |
</label> |
| 185 |
</li> |
| 186 |
<li class="togglers-list__item"> |
| 187 |
<p class="togglers-list__name"><?= __( 'Firewall', 'wtotem' ) ?></p> |
| 188 |
<input |
| 189 |
type="checkbox" |
| 190 |
class="onoff__input notifications_toggle" |
| 191 |
id="notifications-waf" |
| 192 |
value="<?= $arguments['waf']['service'] ?>" |
| 193 |
<?= ($arguments['waf']['notifications']) ? 'checked' : ''; ?> |
| 194 |
/> |
| 195 |
<label for="notifications-waf" class="onoff__label"> |
| 196 |
<span class="onoff__circle"></span> |
| 197 |
</label> |
| 198 |
</li> |
| 199 |
</ul> |
| 200 |
</div> |
| 201 |
</section> |
| 202 |
|
| 203 |
</div> |
| 204 |
|
| 205 |
<div class="wtotem_holder__sidebar"> |
| 206 |
<div class="wtotem_item"> |
| 207 |
<div class="section-header-mb"> |
| 208 |
<h2 class="title"><?= __( 'Agents', 'wtotem' ) ?></h2> |
| 209 |
</div> |
| 210 |
<div class="wtotem_control wt_card"> |
| 211 |
<h4 class="wtotem_control__title"> |
| 212 |
<?= __( 'Agent manager control options', 'wtotem' ) ?> |
| 213 |
</h4> |
| 214 |
|
| 215 |
<a class="wtotem_button wtotem_dark_btn wtotem_reinstall " href="#"> |
| 216 |
<img src="<?= wtsec_getImagePath("reload.svg") ?>" alt=""> |
| 217 |
<span><?= __( 'Reinstall agents', 'wtotem' ) ?></span> |
| 218 |
</a> |
| 219 |
</div> |
| 220 |
</div> |
| 221 |
|
| 222 |
|
| 223 |
</div> |
| 224 |
|
| 225 |
</div> |
| 226 |
|
| 227 |
</div> |
| 228 |
</div> |
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
<?php else:?> |
| 233 |
<!-- No data block --> |
| 234 |
<section class="wtotem_reports-no-data" style="height:300px" > |
| 235 |
<h2 class="visually-hidden"><?= __( 'No data', 'wtotem' ) ?></h2> |
| 236 |
<p class="wtotem_reports-no-data__text"> |
| 237 |
<?= __( 'Has no action ready yet', 'wtotem' ) ?> |
| 238 |
</p> |
| 239 |
</section> |
| 240 |
<?php endif;?> |