-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.php
102 lines (83 loc) · 2.86 KB
/
main.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
@session_start();
if (isset($_SESSION['id']) && isset($_SESSION['type'])) {
if ($_SESSION['type'] == 1) {
?>
<!DOCTYPE html>
<head>
<title>Zoom WebSDK</title>
<meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.0/css/bootstrap.css" />
<!-- <link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.0/css/react-select.css" /> -->
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<style>
#zmmtg-root {
background-color: transparent !important;
position: relative !important;
}
.sdk-select {
height: 34px;
border-radius: 4px;
}
.websdktest button {
float: right;
margin-left: 5px;
}
#nav-tool {
margin-bottom: 0px;
}
#show-test-tool {
position: absolute;
top: 100px;
left: 0;
display: block;
z-index: 99999;
}
#display_name {
width: 250px;
}
#websdk-iframe {
width: 700px;
height: 500px;
border: 1px;
border-color: red;
border-style: dashed;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
left: 50%;
margin: 0;
}
</style>
<center>
<div>
<div class="container">
<br>
<a href="createmeeting.php" class="btn btn-primary" id="createmeeting">Create meeting</a>
<hr>
<a href="index.php" class="btn btn-primary" id="createmeeting">Start Meeting</a>
<hr>
<form method="POST">
<input type="submit" class="btn btn-primary" name="btnlogout" value="logout"/>
</form>
<!--/.navbar-collapse -->
</div>
</div>
</center>
</body>
</html>
<?php
if(isset($_POST['btnlogout'])){
session_destroy();
header('location:login.php', true);
}
}
} else {
header('location:login.php', true);
// header('loaction:login.php');
}
?>