-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
68 lines (66 loc) · 2.67 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
<?php
include "data_base_conn.php";
?>
<!-- 303557994897-gv7is313ue78kdv59lpfmpcbd31aj5f6.apps.googleusercontent.com client ID-->
<!-- _Jk4Fy6DixwtsuQO4uWPudOz client Secret -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="303557994897-gv7is313ue78kdv59lpfmpcbd31aj5f6.apps.googleusercontent.com">
<link rel="stylesheet" type="text/css" href="navBar/navBar.css">
<link rel="stylesheet" type="text/css" href="home/home.css">
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="stylesheet" type="text/css" href="message/message.css">
<link rel="stylesheet" type="text/css" href="config.css">
<link rel="stylesheet" type="text/css" href="calendar/calendar.css">
<link rel="stylesheet" type="text/css" href="songbook/songbook.css">
<link rel="manifest" href="manifest.json">
<!-- <script src="https://apis.google.com/js/platform.js" async defer></script>
<script src="https://apis.google.com/js/api:client.js"></script> -->
<title>Levi</title>
</head>
<body>
<script>
let height = window.innerHeight;
let width = window.innerWidth;
document.documentElement.style.setProperty("--vh",height/100.0+"px");
document.documentElement.style.setProperty("--vw",width/100.0+"px");
</script>
<script src="message/message.js"></script>
<?php
include "navBar/navBar.php";
?>
<div class="screen">
<?php
include "home/home.php";
?>
</div>
<script src="navBar/navBar.js"></script>
<script src="home/home.js"></script>
<script src="calendar/calendar.js"></script>
<script src="songbook/songbook.js"></script>
<script src="main.js"></script>
<!-- <script>
let client = function () {
gapi.load('auth2', function(){
auth2 = gapi.auth2.init({
client_id: '303557994897-gv7is313ue78kdv59lpfmpcbd31aj5f6.apps.googleusercontent.com',
cookiepolicy: 'single_host_origin',
});
auth2.attachClickHandler(document.getElementById('loginButton'), {},
function(googleUser) {
document.querySelector(".navBar-sandwich").click();
alert("Welcome " + googleUser.getBasicProfile().getName())
}, function(error) {
document.querySelector(".navBar-sandwich").click();
alert(JSON.stringify(error, undefined, 2));
});
});
}
</script> -->
</body>
</html>