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
+?>