Browse code

Created repository.

DoubleBastionAdmin authored on 29/11/2024 03:10:08
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,69 @@
1
+<?php
2
+
3
+/**
4
+ * @copyright 2024 Double Bastion LLC <www.doublebastion.com>
5
+ *
6
+ * @author Double Bastion LLC
7
+ *
8
+ * @license GNU AGPL version 3 or any later version
9
+ *
10
+ * This program is free software; you can redistribute it and/or
11
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
12
+ * License as published by the Free Software Foundation; either
13
+ * version 3 of the License, or any later version.
14
+ *
15
+ * This program is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
19
+ *
20
+ * You should have received a copy of the GNU Affero General Public
21
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
+ *
23
+ */
24
+
25
+if ($_SESSION['loggedtorspanel'] == true) {
26
+
27
+?>
28
+            <div class="modal fade" id="scrollmodal" tabindex="-1" role="dialog" aria-labelledby="scrollmodalLabel" aria-hidden="true">
29
+                <div class="modal-dialog modal-lg" role="document">
30
+                    <div class="modal-content">
31
+                        <div class="modal-header">
32
+                            <h5 class="modal-title" id="scrollmodalLabel"></h5>
33
+                            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
34
+                                <span aria-hidden="true">&times;</span>
35
+                            </button>
36
+                        </div>
37
+                        <div class="modal-body">
38
+                           <div id="modal-logo"><img src="images/red-scarf-suite-panel_logo_about.svg" alt="RED SCARF Suite Panel logo" /></div>
39
+                           <div id="modal-text">
40
+                             <span class="about-paragraph">
41
+                              "RED SCARF Suite Panel is an admin panel that displays all components of "RED SCARF Suite" installed on the server, 
42
+                               specifies if any service is in a failed state, shows available storage space and real time CPU, RAM and network 
43
+                               usage, lists infected files detected by ClamAV during periodic scanning, and provides a way to access with one click 
44
+                               the customized login URL of any website or web application installed on the server.<br><br>
45
+
46
+                               Its main purpose is to provide a general view of the server's capabilities and
47
+                               health status and to facilitate access to different login pages.<br><br>
48
+
49
+                               Copyright (C) 2024  Double Bastion LLC<br><br>
50
+
51
+                               Version: 1.0.0
52
+                             </span>
53
+                           </div>
54
+                        </div>
55
+                        <div class="modal-footer">
56
+                            <button type="button" id ="modalOkButton" class="btn btn-primary" data-dismiss="modal">OK</button>
57
+                        </div>
58
+                    </div>
59
+                </div>
60
+            </div>
61
+
62
+<?php
63
+
64
+} else {
65
+     header("Location: panel-login.php");
66
+  }
67
+
68
+?>
69
+