-
Notifications
You must be signed in to change notification settings - Fork 4
/
deportes.php
106 lines (93 loc) · 3.89 KB
/
deportes.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
104
105
106
<?php
session_start();
$_SESSION=array();
session_unset();
session_destroy();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Deportes UAI</title>
<link rel="stylesheet" href="css/jquery.mobile-1.4.0-alpha.1.min.css" />
<script src="js/jquery-1.10.2.min.js"></script>
<script src="js/jquery.mobile-1.4.0-alpha.1.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30603139-1']);
_gaq.push(['_setDomainName', 'salasuai.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<script>
function onSuccess(data, status)
{
$("#page").append(data).page();
}
function onError(data, status)
{
}
$(document).ready(function() {
$("#submit").click(function(){
var formData = $("#LoginForm").serialize();
$.ajax({
type: "POST",
url: "auth.php",
cache: false,
data: formData,
success: onSuccess,
error: onError
});
return false;
});
});
</script>
<body>
<div data-role="page" id="first">
<div data-role="header">
<h1>Deportes UAI</h1>
</div>
<div data-role="content" id="page">
<form id="LoginForm" action="auth.php" method="post" data-ajax="false">
<div data-role="fieldcontain">
<label for="user">Usuario:</label>
<input type="text" name="name" id="name" value=""/><br>
<label for="password">Clave:</label>
<input type="password" name="password" id="password" value="" />
<input type="submit" value="Entrar" data-theme="a"> </form>
</div>
<p style="font-weight: bold;" >Al apretar el botón 'Entrar' aceptas que cualquier problema generado por el uso de la página web es de tú responsabilidad.</font></p>
<p>Tus datos en ningún caso son guardados en el servidor, solo se ocupan para que reserves y veas tus asistencias.</p><p><font color="red" size=2>Probado solo para santiago<br>Marcha blanca</font></p>
</div>
<div data-theme="a" data-role="footer" data-position="fixed">
<div data-role="navbar" data-iconpos="top" data-id="menu">
<ul>
<li>
<a href="index.php" rel="external" data-theme="" data-icon="home"
data-transition="none">
Salas
</a>
</li>
<li>
<a id="bus" href="buses.html" rel="external" data-theme="" data-icon="info" data-transition="none">
Buses
</a>
</li>
<li>
<a href="deportes.php" data-theme="" rel"external" class="ui-btn-active ui-state-persist" data-icon="star" data-transition="none">
Deportes (beta)
</a>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>