-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
103 lines (64 loc) · 1.46 KB
/
index.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
103
<!doctype html>
<html>
<?php
$loggedin = 0;
$loginUrl ="";
include "header.php";
include "login.php";
?>
</ul>
</div>
</div>
<?php
if ($loggedin==1) {
echo "
<div class='content'>
<h2 class='content-head is-center'>Select a target for Livestream</h2>
<div class='pagelist'>
<div class='infobox'
<label class='pure-form'>
You can choose to stream to you personal profile, a page or a group.
Events are not supported currently.
</label>
</div>
<a href='https://fb.cromex.org/define.php?type=Profile'>
<button class='button-page pure-button'>
<div class='button-content-main'>
<div class='page'><i class='fas fa-user'></i> Profile
</div>
</div>
</button>
</a>
<a href='https://fb.cromex.org/select.php?type=Page'>
<button class='button-page pure-button'>
<div class='button-content-main'>
<div class='page'><i class='fas fa-flag'></i> Page
</div>
</div>
</button>
</a>
<a href='https://fb.cromex.org/select.php?type=Group'>
<button class='button-page pure-button'>
<div class='button-content-main'>
<div class='page'><i class='fas fa-users'></i> Group
</div>
</div>
</button>
</a>
</div>
";
}else {
echo "
<div class='content'>
<h2 class='content-head is-center'>Login</h2>";
echo '
<a href="' . $loginUrl . '">
<button class="pure-button button-login" > <i class="fas fa-sign-in-alt"></i> Login to Facebook
</button>
</a>
';
}
?>
</div>
</body>
</html>