-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaces.html
177 lines (140 loc) · 7.64 KB
/
places.html
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<!--
Copyright (c) 2012-2016 Adobe Systems Incorporated. All rights reserved.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<!-- This is a wide open CSP declaration. To lock this down for production, see below. -->
<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline'; style-src 'self' 'unsafe-inline'; media-src *" />
<!-- Good default declaration:
* gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
* Disables use of eval() and inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
* Enable inline JS: add 'unsafe-inline' to default-src
* Enable eval(): add 'unsafe-eval' to default-src
* Create your own at http://cspisawesome.com
-->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: 'unsafe-inline' https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *" /> -->
<link rel="stylesheet" type="text/css" href="css/materialize.min.css"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css"/>
<title>Hello World</title>
</head>
<body>
<!--<header class="headerCon">
<div class="header">
<a class="active a-left" style="margin-right:;" href="#"><i class="fa fa-search"></i></a>
<a class="center-text">Discover</a>
<a class="active a-right" href="#"><i class="fa fa-map"></i></a>
</div>
</header>-->
<div class="navbar-fixed blue-grey">
<nav class="">
<div class="nav-wrapper">
<a href="#" class="brand-logo">Places</a>
<ul class="left"><a href="#" data-activates="slide-out" class="button-collapse"><i class="fa fa-bars"></i></a></ul>
<!--<ul class="left "><a href="#"><i class="fa fa-search"></i></a></ul>-->
<ul class="right "><a href="#"><i class="fa fa-bell"></i></a></ul>
</div>
</nav>
</div>
<ul class="collection">
<li class="collection-item avatar">
<img src="images/yuna.jpg" alt="" class="circle">
<span class="title">Title</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
</li>
</ul>
<ul id="slide-out" class="side-nav">
<li><div class="user-view">
<div class="background">
<img src="images/office.jpg">
</div>
<a href="#!user"><img class="circle" src="images/yuna.jpg"></a>
<a href="#!name"><span class="white-text name">John Doe</span></a>
<a href="#!email"><span class="white-text email">[email protected]</span></a>
</div></li>
<li><a class="waves-effect" href="index.html"><i class="fa fa-home"></i>Home</a></li>
<li><a class="waves-effect" href="profile.html"><i class="fa fa-user"></i>Account</a></li>
<li><a class="waves-effect" href="search.php"><i class="fa fa-search"></i>Search</a></li>
<li><div class="divider"></div></li>
<li><a class="subheader">Menu</a></li>
<li><a class="waves-effect" href="create.html"><i class="fa fa-pencil"></i>create</a></li>
<li><a class="waves-effect" href="friends.html"><i class="fa fa-users"></i>Friends</a></li>
<li><a class="waves-effect" href="nearby.html"><i class="fa fa-compass"></i>Nearby</a></li>
<li><a class="waves-effect" href="places.html"><i class="fa fa-building"></i>places</a></li>
<li><a class="waves-effect" href="schedule.html"><i class="fa fa-calendar"></i>Schedule</a></li>
<li><a class="waves-effect" href="settings.html"><i class="fa fa-gears"></i>Settings</a></li>
<li><div class="divider"></div></li>
<li><a class="waves-effect" onclick="logout()" href="#"><i class="fa fa-sign-out"></i>Log Out</a></li>
</ul>
<div class="aid"><a class="btn-floating btn-large swaves-effect waves-light red"><i class="fa fa-filter"></i></a></div>
<!--<footer class="footer">
<a class="active" href="index.html"><i class="fa fa-eye"></i></a>
<a class="active" href="schedule.html"><i class="fa fa-calendar"></i></a>
<a class="active" href="create.html"><i class="fa fa-plus-square"></i></a>
<a class="active" href="notification.html"><i class="fa fa-bell"></i></a>
<a class="active" href="profile.html"><i class="fa fa-user"></i></a>
</footer>-->
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/materialize.min.js"></script>
<script>
$(document).ready(function(){
// Initialize collapse button
$('.button-collapse').sideNav({
menuWidth: 300, // Default is 300
edge: 'left', // Choose the horizontal origin
closeOnClick: true, // Closes side-nav on <a> clicks, useful for Angular/Meteor
draggable: true, // Choose whether you can drag to open on touch screens,
onOpen: function(el) { /* Do Stuff*/ }, // A function to be called when sideNav is opened
onClose: function(el) { /* Do Stuff*/ }, // A function to be called when sideNav is closed
}
);
$.ajax({
type: 'get',
url: 'schedule.php',
dataType: 'html',
success: function (response) {
$('.collection').html(response);
}
});
});
function logout() {
$.ajax({
type: 'get',
//url: 'http://gothere.000webhostapp.com/logout.php',
url: 'logout.php',
success: function (response) {
if (response == "success") {
window.location.href="login.html";
}else{
alert("You were not logged out");
}
}
});
}
</script>
</body>
</html>