Browse code

Changed majority of files.

DoubleBastionAdmin authored on 30/11/2024 06:56:40
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 /**
3
- *  Copyright (C) 2021  Double Bastion LLC
3
+ *  Copyright (C) 2022, 2024  Double Bastion LLC
4 4
  *
5 5
  *  This file is part of Roundpin, which is licensed under the
6 6
  *  GNU Affero General Public License Version 3.0. The license terms
... ...
@@ -20,20 +20,16 @@ if ($_SESSION['loggedtoroundpin'] == true) {
20 20
 
21 21
 ?>
22 22
 
23
-<script type="text/javascript">
24
-    let validateSToken = "<?php print_r($_SESSION['validate_s_access']); ?>";
25
-    let userName = "<?php print_r($_SESSION['loginname']); ?>";
26
-</script>
27
-
28 23
 <!DOCTYPE html>
29 24
 <html>
30 25
     <head>
31 26
         <title>Roundpin</title>
27
+
32 28
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
33 29
         <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
34 30
 
35 31
         <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
36
-        <meta name="HandheldFriendly" content="true">
32
+        <meta name="HandheldFriendly" content="true"/>
37 33
 
38 34
         <meta name="format-detection" content="telephone=no"/>
39 35
 
... ...
@@ -44,14 +40,16 @@ if ($_SESSION['loggedtoroundpin'] == true) {
44 40
         <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
45 41
         <meta http-equiv="Expires" content="0"/>
46 42
 
47
-        <link rel="shortcut icon" type="image/svg" href="images/favicon.svg" />
43
+        <link rel="shortcut icon" type="image/svg" href="images/favicon.svg"/>
48 44
 
49 45
         <link rel="stylesheet" type="text/css" href="css/normalize-v8.0.1.min.css"/>
50 46
         <link rel="stylesheet" type="text/css" href="css/inter.min.css"/>
47
+
51 48
         <link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css"/>
52 49
         <link rel="stylesheet" type="text/css" href="css/croppie.min.css"/>
53
-        <link rel="stylesheet" type="text/css" href="css/jeegoo-1.0.0.min.css"/>
54
-        <link rel="stylesheet" type="text/css" href="css/phone.min.css"/>
50
+        <link rel="stylesheet" type="text/css" href="css/jeegoo-1.0.0.css"/>
51
+        <link rel="stylesheet" type="text/css" href="css/phone.css"/>
52
+        <link rel="stylesheet" type="text/css" href="css/DatePickerX.css">
55 53
 
56 54
         <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
57 55
         <script type="text/javascript" src="js/Chart.bundle-2.7.2.min.js"></script>
... ...
@@ -59,51 +57,60 @@ if ($_SESSION['loggedtoroundpin'] == true) {
59 57
         <script type="text/javascript" src="js/fabric-2.4.6.min.js"></script>
60 58
         <script type="text/javascript" src="js/moment-with-locales-2.24.0.min.js"></script>
61 59
         <script type="text/javascript" src="js/croppie-2.6.4.min.js"></script>
62
-        <script type="text/javascript" src="js/jquery.jeegoopopup.1.0.0.min.js"></script>
60
+        <script type="text/javascript" src="js/jquery.jeegoopopup.1.0.0.js"></script>
61
+        <script type="text/javascript" src="js/fix-webm-duration.js"></script>
63 62
         <script type="text/javascript" src="js/crypto-js-4.1.1.min.js"></script>
64 63
         <script type="text/javascript" src="js/jsencrypt.min.js"></script>
64
+        <script type="text/javascript" src="js/DatePickerX.js"></script>
65
+
66
+        <script type="text/javascript" src="js/tiff.min.js"></script>
67
+        <script type="text/javascript" src="js/webodf.min.js"></script>
65 68
 
66 69
         <script type="text/javascript">
67 70
 
68
-            var web_hook_on_transportError = function(t, ua){
71
+            let validateSToken = "<?php print_r($_SESSION['validate_s_access']); ?>";
72
+            let userName = "<?php print_r($_SESSION['loginname']); ?>";
73
+
74
+
75
+            let web_hook_on_transportError = function(t, ua){
69 76
               //  console.warn("web_hook_on_transportError",t, ua);
70 77
             }
71
-            var web_hook_on_register = function(ua){
78
+            let web_hook_on_register = function(ua){
72 79
               //  console.warn("web_hook_on_register", ua);
73 80
             }
74
-            var web_hook_on_registrationFailed = function(e){
81
+            let web_hook_on_registrationFailed = function(e){
75 82
               //  console.warn("web_hook_on_registrationFailed", e);
76 83
             }
77
-            var web_hook_on_unregistered = function(){
84
+            let web_hook_on_unregistered = function(){
78 85
               //  console.warn("web_hook_on_unregistered");
79 86
             }
80
-            var web_hook_on_invite = function(session){
87
+            let web_hook_on_invite = function(session){
81 88
               //  console.warn("web_hook_on_invite", session);
82 89
             }
83
-            var web_hook_on_message = function(message){
90
+            let web_hook_on_message = function(message){
84 91
               //  console.warn("web_hook_on_message", message);
85 92
             }
86
-            var web_hook_on_modify = function(action, session){
93
+            let web_hook_on_modify = function(action, session){
87 94
               //  console.warn("web_hook_on_modify", action, session);
88 95
             }
89
-            var web_hook_on_dtmf = function(item, session){
96
+            let web_hook_on_dtmf = function(item, session){
90 97
               //  console.warn("web_hook_on_dtmf", item, session);
91 98
             }
92
-            var web_hook_on_terminate = function(session){
99
+            let web_hook_on_terminate = function(session){
93 100
               //  console.warn("web_hook_on_terminate", session);
94 101
             }
95 102
         </script>
96
-        <script type="text/javascript" src="js/phone.min.js"></script>
103
+        <script type="text/javascript" src="js/phone.js"></script>
97 104
     </head>
98
-    <body onbeforeunload="return closeVideoConfTab()">
99
-        <div id=Phone></div>
105
+    <body>
106
+        <div id="Phone"></div>
100 107
     </body>
101 108
 </html>
102 109
 
103 110
 <?php
104 111
 
105 112
 } else {
106
-     header("Location: roundpin-login.php");
113
+     header("Location: login.php");
107 114
 }
108 115
 
109 116
 ?>
Browse code

Created repository.

DoubleBastionAdmin authored on 26/01/2022 20:32:42
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,109 @@
1
+<?php
2
+/**
3
+ *  Copyright (C) 2021  Double Bastion LLC
4
+ *
5
+ *  This file is part of Roundpin, which is licensed under the
6
+ *  GNU Affero General Public License Version 3.0. The license terms
7
+ *  are detailed in the "LICENSE.txt" file located in the root directory.
8
+ *
9
+ *  This is a modified version of the original file "index.html",
10
+ *  first modified in 2020. The copyright notice for the original
11
+ *  content follows:
12
+ *
13
+ *  Copyright (c) 2020  - Conrad de Wet - All Rights Reserved.
14
+ *  License: GNU Lesser General Public License v3.0
15
+ */
16
+
17
+session_start();
18
+
19
+if ($_SESSION['loggedtoroundpin'] == true) {
20
+
21
+?>
22
+
23
+<script type="text/javascript">
24
+    let validateSToken = "<?php print_r($_SESSION['validate_s_access']); ?>";
25
+    let userName = "<?php print_r($_SESSION['loginname']); ?>";
26
+</script>
27
+
28
+<!DOCTYPE html>
29
+<html>
30
+    <head>
31
+        <title>Roundpin</title>
32
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
33
+        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
34
+
35
+        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
36
+        <meta name="HandheldFriendly" content="true">
37
+
38
+        <meta name="format-detection" content="telephone=no"/>
39
+
40
+        <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
41
+        <meta name="apple-mobile-web-app-capabale" content="yes"/>
42
+
43
+        <meta http-equiv="Pragma" content="no-cache"/>
44
+        <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
45
+        <meta http-equiv="Expires" content="0"/>
46
+
47
+        <link rel="shortcut icon" type="image/svg" href="images/favicon.svg" />
48
+
49
+        <link rel="stylesheet" type="text/css" href="css/normalize-v8.0.1.min.css"/>
50
+        <link rel="stylesheet" type="text/css" href="css/inter.min.css"/>
51
+        <link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css"/>
52
+        <link rel="stylesheet" type="text/css" href="css/croppie.min.css"/>
53
+        <link rel="stylesheet" type="text/css" href="css/jeegoo-1.0.0.min.css"/>
54
+        <link rel="stylesheet" type="text/css" href="css/phone.min.css"/>
55
+
56
+        <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
57
+        <script type="text/javascript" src="js/Chart.bundle-2.7.2.min.js"></script>
58
+        <script type="text/javascript" src="js/sip-0.11.6.min.js"></script>
59
+        <script type="text/javascript" src="js/fabric-2.4.6.min.js"></script>
60
+        <script type="text/javascript" src="js/moment-with-locales-2.24.0.min.js"></script>
61
+        <script type="text/javascript" src="js/croppie-2.6.4.min.js"></script>
62
+        <script type="text/javascript" src="js/jquery.jeegoopopup.1.0.0.min.js"></script>
63
+        <script type="text/javascript" src="js/crypto-js-4.1.1.min.js"></script>
64
+        <script type="text/javascript" src="js/jsencrypt.min.js"></script>
65
+
66
+        <script type="text/javascript">
67
+
68
+            var web_hook_on_transportError = function(t, ua){
69
+              //  console.warn("web_hook_on_transportError",t, ua);
70
+            }
71
+            var web_hook_on_register = function(ua){
72
+              //  console.warn("web_hook_on_register", ua);
73
+            }
74
+            var web_hook_on_registrationFailed = function(e){
75
+              //  console.warn("web_hook_on_registrationFailed", e);
76
+            }
77
+            var web_hook_on_unregistered = function(){
78
+              //  console.warn("web_hook_on_unregistered");
79
+            }
80
+            var web_hook_on_invite = function(session){
81
+              //  console.warn("web_hook_on_invite", session);
82
+            }
83
+            var web_hook_on_message = function(message){
84
+              //  console.warn("web_hook_on_message", message);
85
+            }
86
+            var web_hook_on_modify = function(action, session){
87
+              //  console.warn("web_hook_on_modify", action, session);
88
+            }
89
+            var web_hook_on_dtmf = function(item, session){
90
+              //  console.warn("web_hook_on_dtmf", item, session);
91
+            }
92
+            var web_hook_on_terminate = function(session){
93
+              //  console.warn("web_hook_on_terminate", session);
94
+            }
95
+        </script>
96
+        <script type="text/javascript" src="js/phone.min.js"></script>
97
+    </head>
98
+    <body onbeforeunload="return closeVideoConfTab()">
99
+        <div id=Phone></div>
100
+    </body>
101
+</html>
102
+
103
+<?php
104
+
105
+} else {
106
+     header("Location: roundpin-login.php");
107
+}
108
+
109
+?>