This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·79 lines (68 loc) · 2.22 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
<?php
//require 'system/system.php';
//User::register();
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MAPSTRONIK</title>
<link rel="stylesheet" href="assets/css/foundation.css" />
<link rel="stylesheet" href="assets/css/app.css" />
<link rel="stylesheet" href="assets/css/css.css"/>
</head>
<body align="center">
<div class="row">
<div class="large-12 columns">
<h1>MAPTRONIK</h1>
</div>
</div>
<div class="row">
<div class="large-4 large-centered columns">
<form method="POST" action="" class="formulario" >
<input type="text" name="usuario" value="USER" class="inputs">
<input type="text" name="password" value="PASSWORD" class="inputs">
</form>
</div>
</div>
<div
class="fb-like"
data-share="true"
data-width="450"
data-show-faces="true">
</div>
</body>
<script src="assets/js/vendor/jquery.min.js"></script>
<script src="assets/js/vendor/what-input.min.js"></script>
<script src="assets/js/foundation.min.js"></script>
<script src="assets/js/app.js"></script>
<script type="text/javascript">
function faceBookLoginCheck(object, FB){
if(object.status == "not_authorized"){
FB.login(function(response) {
console.log(response);
}, {scope: 'email,user_likes'});
}
}
window.fbAsyncInit = function() {
window.FB = FB;
FB.init({
appId : '675979259211293',
xfbml : true,
version : 'v2.5'
});
FB.getLoginStatus(function(response) {
faceBookLoginCheck(response, FB);
});
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</html>