PluginProbe
WebTotem Security / 2.3.24
WebTotem Security v2.3.24
3.0.2 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 All 110 releases
wt-security / includes / antivirus.php

antivirus.php in WebTotem Security 2.3.24, at includes/antivirus.php

144 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('ABSPATH') or die("Protected By WT!");?>
2 <?php if(!empty($arguments)):?>
3 <div class="wtotem_content">
4 <div class="wtotem_container">
5 <div class="wtotem_antivirus">
6 <div class="wtotem_antivirus__first section-header-mb">
7 <h2 class="title">
8 <?= wtsec_locale("remote_antivirus") ?>
9 </h2>
10
11 </div>
12 <div class="wtotem_antivirus__block wt_card">
13 <div class="wtotem_antivirus__item">
14 <div class="wtotem_antivirus__figures wtotem_antivirus__figures_green">
15 <?= $arguments["vc"]["scanned"] ?>
16 </div>
17 <div class="wtotem_antivirus__title">
18 <?= wtsec_locale("antivirus.scanned") ?>
19 </div>
20 </div>
21
22 <div class="wtotem_antivirus__item">
23 <div class="wtotem_antivirus__figures wtotem_antivirus__figures_yellow">
24 <?= $arguments["vc"]["changes"] ?>
25 </div>
26 <div class="wtotem_antivirus__title">
27 <?= wtsec_locale("antivirus.changed") ?>
28 </div>
29 </div>
30
31 <div class="wtotem_antivirus__item">
32 <div class="wtotem_antivirus__figures wtotem_antivirus__figures_black">
33 <?= $arguments["vc"]["deleted"] ?>
34 </div>
35 <div class="wtotem_antivirus__title">
36 <?= wtsec_locale("antivirus.deleted") ?>
37 </div>
38 </div>
39
40 <div class="wtotem_antivirus__item">
41 <div class="wtotem_antivirus__figures wtotem_antivirus__figures_orange">
42 <?= $arguments["vc"]["signatures"] ?>
43 </div>
44 <div class="wtotem_antivirus__title">
45 <?= wtsec_locale("antivirus.infected") ?>
46 </div>
47 </div>
48 </div>
49 </div>
50
51 <?php include 'components/_quarantine_lazy.php'?>
52
53 <div class="wtotem_state wt_card">
54
55
56 <div class="wtotem_antivirus__logs wtotem_antivirus-logs">
57 <div class="wtotem_antivirus-logs__panel">
58 <div class="wtotem_state__select-wrapper wtotem_antivirus-logs__filter">
59 <select name="file-status" id="wtotem_av_state_filter" class="wtotem_state__select">
60 <option class="wtotem_state__option" value="new"><?= wtsec_locale("antivirus.select.new") ?></option>
61 <option class="wtotem_state__option" value="scanned"><?= wtsec_locale("antivirus.select.scanned") ?></option>
62 <option class="wtotem_state__option" value="modified"><?= wtsec_locale("antivirus.select.changed") ?></option>
63 <option class="wtotem_state__option" value="deleted"><?= wtsec_locale("antivirus.select.deleted") ?></option>
64 <option class="wtotem_state__option" value="infected"><?= wtsec_locale("antivirus.select.infected") ?></option>
65 </select>
66
67 </div>
68 <div class="wtotem_antivirus-logs__permission wt-checkbox">
69 <input class="wt-checkbox__input" type="checkbox" id="wtotem_permission-changed" name="permission-changed" />
70 <label class="wt-checkbox__label" for="wtotem_permission-changed"><?= wtsec_locale("antivirus.show_permissions_changed") ?></label>
71 </div>
72 <div class="wtotem_antivirus-logs__buttons-wrapper">
73 <button class="wtotem_antivirus-logs__button wtotem_antivirus-logs__button--download" id="wtotem_av_export" type="button">
74 <span class="wtotem_antivirus-logs__button-text"><?= wtsec_locale("download") ?></span>
75 </button>
76
77 <div class="wt-margin-right-10 wt-loader wt-height-1-1 d-none" id="wtotem-rescan-loader"><img src="<?= wtsec_getImagePath("spinner.svg") ?>" alt="spinner" style="width: 45px;"></div>
78 <button class="wtotem_antivirus-logs__button wtotem_antivirus-logs__button--rescan" id="wtotem_rescan" type="button">
79 <span class="wtotem_antivirus-logs__button-text"><?= wtsec_locale("antivirus.rescan") ?></span>
80 </button>
81 </div>
82 </div>
83 </div>
84
85
86 <div class="wtotem_file-table">
87 <div class="wtotem_file-table__thead">
88 <div class="wtotem_file-table__tr">
89 <div class="wtotem_file-table__th">
90 <?= wtsec_locale("file") ?>
91 </div>
92 <div class="wtotem_file-table__th">
93 <?= wtsec_locale("antivirus.permission") ?>
94 <div class="wtotem_title-info__info wtotem-tooltip">
95 <div class="wtotem-tooltip__content">
96 <?= wtsec_locale("tooltips.permission") ?>
97 </div>
98 </div>
99 </div>
100 <div class="wtotem_file-table__th">
101 <?= wtsec_locale("antivirus.info.title") ?>
102 </div>
103 <div class="wtotem_file-table__th">
104 <?= wtsec_locale("antivirus.date") ?>
105 </div>
106 <div class="wtotem_file-table__th">
107 <?= wtsec_locale("antivirus.time") ?>
108 </div>
109 <div class="wtotem_file-table__th">
110 <?= wtsec_locale("description") ?>
111 </div>
112 </div>
113 </div>
114 <div class="wtotem_file-table__tbody" id="wtotem_data_box">
115 <?php include 'components/_antivirus_lazy.php'?>
116 </div>
117 </div>
118
119 <div class="wtotem_state__line"></div>
120
121 <div class="wtotem_state__last">
122 <div class="wtotem_state__text">
123 <?= wtsec_locale("need_more_support") ?>
124 <a target="_blank" href="https://wtotem.com/#hs-chat-open"><?= wtsec_locale("lets_talk") ?></a>
125 </div>
126 </div>
127 </div>
128 </div>
129 </div>
130 <script>
131 jQuery(document).ready(function ($) {
132 let calendar = $('.flatpickr');
133 setFlatpickr(calendar, "#secondRangeInput");
134 });
135 </script>
136 <?php else:?>
137 <!-- No data block -->
138 <section class="wtotem_reports-no-data" style="height:300px" >
139 <h2 class="visually-hidden"><?= wtsec_locale("no_data") ?></h2>
140 <p class="wtotem_reports-no-data__text">
141 <?= wtsec_locale("has_no_action_ready_yet") ?>
142 </p>
143 </section>
144 <?php endif;?>